@import url('http://fonts.googleapis.com/css?family=Lato');

*, .top-bar-section > ul > li > a {
	font-family: "Lato";
}

.content ul {
	list-style: circle;
}

/* NAV */

.logo {
	height: 45px;
	max-width: 133px;
	vertical-align: top;
}

.tab-bar, .top-bar, .top-bar-section > ul > li:not(.has-form) > a:not(.button) {
	background: #020A0B;
}

.right-small {
	border-left: solid 1px #6D6E71;
}

ul.side-nav {
	text-align: right;
	padding: 0;
	list-style: none;
}

ul.side-nav > li:first-child {
	border-top: 1px solid #fff;
}

ul.side-nav > li:last-child {
	border-bottom: 1px solid #fff;
}

.side-nav > li {
	border-right: 1px solid #fff;
	border-bottom: 1px solid #ddd;
	margin-bottom: 0px;
}

ul.side-nav li a:not(.button):visited {
	background: #f7f7f7;
}

ul.side-nav > li:last-child:hover {
	border-bottom: 1px solid #ddd;
}

ul.side-nav > li:first-child:hover {
	border-top: 1px solid #ddd;
}

.side-nav > li:hover {
	background: #f7f7f7;
	border-right: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

.side-nav > li > a {
	font-size: 1.15rem;
}

.side-nav li a:not(.button), .side-nav li a:not(.button):hover, .side-nav li a:not(.button):visited {
	color: #020A0B;
}

/* GRID */

.row {
	max-width: 85rem;
}

/* CONTENT */

.off-canvas-wrap, .inner-wrap, .main-section {
	min-height: calc(100% - 130px);
}

.main-section {
	padding-top: 4%;
}

.show-title {
	border-bottom: 1px solid #ddd;
	padding: 0;
}

.contact-content p {
	margin-bottom: 0;
}

[class*="block-grid-"] {
	margin-top: 50px;
}

.contact-cards img {
	height: 100%;
	width: 100%;
}

.contact-card-back {
	width: 100%;
	height: 100%;
	border: 2px solid #5f5f5f;
	background: #f7f7f7;
}

.contact-card-title, .contact-card-info {
	padding: 10px;
	padding-top: 15px;
	text-align: center;
}

.contact-card-info p, .contact-card-info a {
	font-size: 12px;
}

.carrier-grid img {
	vertical-align: center;
}


/* flip container start */

/* entire container, keeps perspective */
.flip-container {
	perspective: 1000;
	transform-style: preserve-3d;
}
	/*  UPDATED! flip the pane when hovered */
.flip-container:hover .back {
	transform: rotateY(0deg);
}
.flip-container:hover .front {
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
	width: 180px;
	height: 180px;
}

/* flip speed goes here */
.flipper {
	transition: 0.6s;
	position: relative;
}

/* hide back of pane during swap */
.front, .back {
	backface-visibility: hidden;
	transition: 0.6s;
	transform-style: preserve-3d;

	position: absolute;
	top: 0;
	left: 0;
}

/*  UPDATED! front pane, placed above back */
.front {
	z-index: 2;
	transform: rotateY(0deg);
}

/* back, initially hidden pane */
.back {
	transform: rotateY(-180deg);
}
/* flip container end */

/* FOOTER */

footer {
	width: 90%;
	height: 80px;
	border-top: 1px solid #ccc;
	padding-top: 10px;
	margin: 40px 5% 0 5%;
}

.footer-contact {
  display: block;
  float: left;
}

.footer-address {
  display: block;
  float: right;
}