@import url("reset.css");

/* ------ HTML5 Display Definitions ------ */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

/* ------ Global ------ */

html, body {
	background: #2d2d65;
	color: #000;
	font-family: "Gotham A", "Gotham B", Arial, sans-serif;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 32px;
	width: 100%;
}

header {
	background: #2d2d65;
	color: #fff;
	padding: 28px 0 18px 0;
	width: 100%;
}

header .content {
	align-items: center;
	display: flex;
  	justify-content: space-between;
}

header h1 {
	width: 250px;
}

header h1 img {
	width: 100%;
}

header p {
	display: inline-block;
	font-weight: 700;
	margin-top: -10px;
}

#content {
	background: #fff;
	padding-bottom: 80px;
	width: 100%;
}

#content.no-margin {
	padding: 0;
}

#splash {
	background: #a7a09e url('../images/splash.jpg?v=2') no-repeat center bottom;
	padding: 187px 0;
	width: 100%;
}

#splash #box {
	background-color:rgba(255, 255, 255, 0.9);
	width: 575px;
}

#splash #box h2 {
	font-size: 40px;
	font-weight: 700;
	line-height: 50px;
	padding: 24px 24px 0 24px;
}

#splash #box p {
	padding: 24px;
}

#splash #box p a {
	color: #3d67fe;
	font-weight: 700;
}

#splash #box p a:hover, #splash #box p a:focus {
	color: #ef3e4c;
}

.row {
	margin-top: 70px;
}

.row.top, .row.no-border {
	margin: 0;
}

.row.yellow {
	background: #f5bb45;
	padding-bottom: 80px;
}

.row .content {
	border-top: 5px solid #ef3e4c;
	column-gap: 25px;
	display: flex;
	padding-top: 70px;
}

.row.center .content {
	flex-direction: column;
}

.row.flip .content {
	flex-direction: row-reverse;
}

.row.yellow .content {
	display: block;
	text-align: center;
}

.row.top .content, .row.yellow .content, .row.no-border .content {
	border: none;
}

.row .content img {
	align-self: flex-start;
	margin-top: 10px;
	width: 438px;
}

.row .content .icon img {
	margin: 8px 25px 0 0;
	width: auto;
}

.row .content .map {
	flex-basis: 25%;
	margin: 10px 0 0 0;
	width: 35%;
}

.row.center .content .map {
	margin: 30px auto 0 auto;
	width: 50%;
}

.row .content .map a.image {
	border: 2px solid #000;
	display: block;
}

.row .content .map a:hover, .row .content .map a:focus {
	border-color: #ef3e4c;
}

.row .content .map img {
	display: block;
	margin: 0;
	width: 100%;
}

.row .content .map p {
	align-items: center;
	display: flex;
	font-size: 15px;
	justify-content: center;
	margin-top: 5px;
}

.row .content .map p img {
	display: inline-block;
	width: 40px;
}

.row .content .map a {
	color: #3d67fe;
	display: inline-block;
	font-weight: 700;
	margin-top: 1px;
}

.row .content .map a:hover, .row .content .map a:focus {
	color: #ef3e4c;
}

.row.yellow .content img {
	align-self: auto;
	display: inline-block;
	margin-top: 60px;
	width: 960px;
}

.row .text.wide {
	flex-basis: 75%;
}

.row .text.center {
	text-align: center;
}

.row .text h3, .row .text h4, .row .text h5, .row .text h6 {
	font-size: 30px;
	line-height: 42px;
	font-weight: 700;
}

.row .text h3.margin, .row .text h4.margin, .row.text h5.margin , .row .text h6.margin {
	margin-top: 60px;
}

.row.center .text h3, .row.center .text h4, .row.center .text h5, .row.center .text h6 {
	text-align: center;
}

.row.center .text {
	flex-shrink: 0;
	margin: 0 auto;
	width: 960px;
}

.row .text p {
	padding-top: 40px;
}

.row .text ul {
	column-count: 2;
	column-gap: 45px;
	padding: 40px 0 0 25px;
}

.row .text ul.single {
	column-count: 1;
}

.row .text ul.no-margin {
	padding-top: 15px;
}

.row .text ul li {
	break-inside: avoid;
	list-style-type: disc;
}

.row .text a {
	color: #3d67fe;
	font-weight: 700;
}

.row .text a:hover, .row .text a:focus {
	color: #ef3e4c;
}

.row .text .icon {
	display: flex;
	margin-top: 70px;
}

.row .text .icon p {
	padding: 0
}

footer {
	background: #2d2d65;
	padding: 70px 0;
	width: 100%;
}

footer .content {
	align-items: center;
	display: flex;
	flex-direction: column;
	text-align: center;
}

footer h5 {
	display: block;
	width: 250px;
}

footer h5 img {
	width: 100%;
}

footer h6 {
	border-top: 2px solid #99e699;
	color: #fff;
	margin-top: 40px;
	padding-top: 40px;
}

footer h6 img {
	vertical-align: middle;
	width: 20px;
}

footer p {
	color: #fff;
	margin-top: 40px;
}

footer a {
	color: #fff;
	font-weight: 700;
}

footer a:hover, footer a:focus {
	color: #99e699;
}

/* ------ Utility ------ */

.content {
	margin: 0 auto;
	width: 1400px;
}

b {
	font-weight: 700;
}

i {
	font-style: italic;
}

/* ------ Breakpoints ------ */

@media only screen and (max-width: 1440px) {
	#splash {
		background-size: cover;
		background-position: bottom left;
		padding: 130px 0;
	}
	#splash #box {
		width: 500px;
	}
	.content, .row.center .content {
		width: 90%;
	}
	.row.center .text {
		width: 100%;
	}
	.row .content img {
		width: 30%;
	}
	.row.yellow .content img {
		width: 100%;
	}
}

@media only screen and (max-width: 960px) {
	#splash {
		background-size: cover;
		padding: 60px 0;
	}
	.row .content, .row.flip .content {
		flex-direction: column;
	}
	.row .content img {
		order: 999;
		margin-top: 60px;
		width: 100%;
	}
	.row.center .content img, .row .map p img {
		order: -1;
	}
	.row.center .text {
		width: 100%;
	}
	.row .content .map {
		margin-top: 30px;
		width: 100%;
	}
	.row.center .content .map {
		width: 100%;
	}
	footer p {
		word-wrap: break-word;
		width: 100%;
	}
}

@media only screen and (max-width: 699px) {
	#splash {
		background-position: center bottom;
		padding: 50px 0;
	}
	header .content {
		align-items: center;
		flex-direction: column;
		justify-content: flex-start;
		row-gap: 25px;
		text-align: center;
	}
	header p {
		margin-top: 0;
	}
	#splash #box {
		margin: 0 auto;
		width: 90%;
	}
	#splash #box h2 {
		text-align: center;
	}
	.row .text ul {
		column-count: 1;
		column-gap: 0;
	}
}

@media only screen and (max-width: 450px) {
	* {
		word-wrap: break-word;
	}
	#splash {
		background-size: cover;
	}
	header h1, footer h5 {
		width: 80%;
	}
	.row .text .icon {
		display: block;
		text-align: center;
	}
	.row .content .icon img {
		display: inline-block;
		margin: 0;
	}
	.row .content .icon p {
		margin-top: 25px;
	}
}