/* ==========================================================================
   footer.css — contact CTA strip, pre-footer (offices, hours, logo, social)
   and the site footer.
   Source: imageworks Drupal theme (style.css).
   ========================================================================== */

/* ---------- Contact CTA strip (#cta) ---------- */

#cta {
	background-color: #f4f5f5;
	padding: 60px 0;
	text-align: center;
}

#cta .section {
	width: 93%;
}

#cta p {
	font-size: 1.8em;
	margin: 0;
}

#cta .divide {
	padding: 0 45px;
}

/* ---------- Pre-footer (#pre-footer) ---------- */

#pre-footer {
	background: #00497b;
	color: #fff;
	padding: 55px 0;
}

#pre-footer .section {
	width: 100%;
	max-width: 93%;
	text-align: center;
}

#pre-footer p {
	margin: 0;
	font-size: 20px;
}

#pre-footer h2, #pre-footer h4 {
	color: #fff;
	margin: 0 0 10px;
	font-size: 20px;
	font-weight: 600;
	padding-bottom: 10px;
	border-bottom: 1px solid #fff;
	font-family: 'Montserrat', sans-serif;
}

.region-prefooter > div {
	display: inline-block;
	vertical-align: top;
	max-width: 100%;
	margin-right: 10%;
	width: 17%;
	text-align: left;
	font-family: 'Montserrat', sans-serif;
}

.region-prefooter #block-alexandriaoffice {
	margin-right: 0;
}

/* Logo + social icons row */

.region-prefooter #block-footersocial {
	width: 100%;
	display: block;
	text-align: left;
	margin-right: 0 !important;
	padding-top: 50px;
	border-top: 1px solid #fff;
	margin-top: 50px;
}

#block-footersocial .social a {
	font-size: 24px;
	margin-left: 30px;
}

#block-footersocial .logo {
	display: inline-block;
}

#block-footersocial .social {
	float: right;
}

/* ---------- Footer (#footer) ---------- */

#footer {
	color: #fff;
	background-color: #2e3a3d;
	text-align: center;
	padding: 30px 0 50px;
	font-family: 'Montserrat', sans-serif;
}

#footer p {
	font-size: 18px;
}

#footer p em {
	color: #bcc4c6;
	font-weight: 300;
	display: block;
	margin: 0 0 30px;
}

#block-copyright {
	padding-top: 15px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 1500px) {

	#pre-footer {
		background: #00497b;
	}

}

@media screen and (max-width: 1023px) {

	#cta .divide {
		display: block;
		margin: 0 auto 10px;
		padding: 0;
		border: none;
	}

	.region-prefooter > div {
		display: block;
		margin: 0 auto 30px !important;
		text-align: center;
		width: 100%;
	}

	#pre-footer h2, #pre-footer h4 {
		border: none;
		padding: 0;
	}

}

@media screen and (max-width: 767px) {

	#block-copyright .divide {
		display: block;
		margin: 0 auto 10px;
		padding: 0;
		border: none;
	}

	#cta .divide {
		margin: 0 auto 30px;
	}

	#cta {
		padding: 30px 0 5px;
	}

	#footer p, #pre-footer p {
		font-size: 14px;
	}

	#block-footersocial .social {
		float: none;
		margin-top: 20px;
	}

	#block-footersocial .social a {
		font-size: 20px;
		margin: 0 10px 10px;
	}

	.region-prefooter #block-footersocial {
		text-align: center;
	}

}
