/* COLORS */
/*
#f2f2f2
#262626
#2ca3ff
#37a6e0
#6db960
#162c41

*/

body {
	position: relative;
	background: #0c3d59 url(../images/headers/bg.jpg) no-repeat top center;
	color: #262626;
	font-family: 'Lato', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 24px;
	min-height: 100vh;
	min-width: 320px;
	/*overflow: -moz-scrollbars-vertical;*/
	overflow-y: scroll;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-overflow-scrolling: auto;
}
@media (min-width: 1600px) {
	body {
		background-size:100% auto;
	}
}

body.seed_1 { background-image: url(../images/headers/bg_1.jpg); }
body.seed_2 { background-image: url(../images/headers/bg_2.jpg); }
body.seed_3 { background-image: url(../images/headers/bg_2.jpg); }
body.seed_4 { background-image: url(../images/headers/bg_4.jpg); }

.subpage h1, .subpage h2, .subpage h3, .subpage h4 {
	border: 0;
	margin: 0;
	margin-bottom: 1em;
	padding: 0;
}
.subpage h1 {
	color: #162b40;
	font-size: 28px;
	font-weight: 400;
	line-height: 36px;
}
.subpage h2 {
	color: #162b40;
	font-size: 24px;
	font-weight: 400;
	line-height: 30px;
}
.subpage h3 {
	color: #162b40;
	font-size: 20px;
	font-weight: 400;
	line-height: 24px;
}
.subpage h4 {
	/*border-bottom: 1px dashed #ccc;*/
	color: #162b40;
	font-size: 14px;
	font-weight: 900;
	line-height: 18px;
	/*text-transform: uppercase;*/
	padding-bottom: 10px;
}

@media only screen and (min-width : 1200px) {
	.menu-backdrop {
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;

		background-image: url('../images/nav_bg_gradient.png');
		background-repeat: no-repeat;
		background-position: 0 0;
		width: 200px;
		/*z-index: -2;*/
	}
}

a {
	transition: background-color .2s, color .2s;
}

.subpage-sidebar {
	border-top:1px solid rgba(255,255,255,0.5);
	/*background: rgba(1, 25, 40, .80);*/
	color:white;
}

/* RELATED LINKS */
.related-links {
	padding: 10px 30px;
}
.related-links h3 {
	color: white;
	border-bottom: 1px solid rgba(255,255,255,0.5);
	/*height: 55px;*/
	font-size: 30px;
	font-style: normal;
	font-weight: 300;
	line-height: 55px;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	text-align: center;
}
.related-links h3 span {
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}
.related-links ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.related-links ul li {
	/*border-bottom: 1px dashed rgba(255, 255, 255, .35);*/
}
.related-links ul li:last-child {
	border-bottom-width: 0px;
}

.related-links ul li a {
	border-bottom: 1px dashed rgba(255,255,255,0.5);
	color: inherit;
	display: block;
	font-size: 20px;
	font-style: italic;
	font-weight: 300;
	/*height: 40px;*/
	line-height: 20px;
	padding: 15px 0;
}
.related-links ul li:first-child a {
	padding-top: 20px;
}
.related-links ul li:last-child a {
	border-width: 0;
}
.related-links ul li a:link, .related-links ul li a:visited {
	color: inherit;
}
.related-links ul li a:hover, .related-links ul li a:active, .related-links ul li a:focus {
	color: inherit;
	text-decoration: none;
}

@media only screen and (min-width : 1200px) {
	.subpage-sidebar {
		position: relative;
		top: -40px;
		/*right: 0px;*/
		/*bottom: 0;*/
		/*min-height: calc(100% + 40px);*/
		
		display: block;
		width: 399px;
		float: right;
	}
	.subpage-sidebar-psuedo {
		display: block;
		/* background: rgba(1, 25, 40, .80); */
		position: absolute;
		top: -40px;
		bottom: 0;
		right: 0;
		width: 399px;
	}

	.subpage-sidebar-inner {
		background: rgba(1, 25, 40, .80);
		border-bottom: 1px solid #b0cbed
	}
	.page_newsletter-signup .subpage-sidebar {
    top: -160px;
	}
}


/* MAIN */
main {
	position: relative;
	/*background-color: rgba(0, 255, 0, 0.5);*/
	margin: 0 auto;
	max-width: 970px;
	padding: 20px;
}
@media only screen and (min-width : 1200px) {
	main {
		max-width: 1140px;
		padding: 0;
	}
}@media only screen and (min-width : 1420px) {
	main {
		max-width: 1370px;
		padding: 0;
	}
}

/* FOOTER */
footer {
	position: relative;
	background-color: #262626;
	color: white;
	font-size: 16px;
	margin: 0;
	padding: 50px 0;
}
footer>* {
	margin: 0 auto;
	max-width: 970px;
	padding: 0 20px;
}
@media only screen and (min-width : 1200px) {
	footer {
		/*max-width: 1030px;*/
		padding: 20px 30px 50px;
		/*position: absolute;
		bottom: 0;
		left: 0;
		right: 0;*/
	}
}
footer a, footer a:link, footer a:visited {
	color: inherit;
}
footer a:hover, footer a:active, footer a:focus {
	color: #47c0ff;
	text-decoration: none;
}
footer .footer-links {
	display: none;
}
ul.footer-links-items {
	display: block;
	/*border-top: 1px solid #a0a0a0;*/
	font-size: 0;
	line-height: 0;
	margin: 0;
	padding: 0;
	/*padding-top: 20px;*/
	text-align: center;
	text-transform: uppercase;
}
ul.footer-links-items li {
	display: inline-block;
	*display: inline;
	zoom: 1;
}
ul.footer-links-items li+li::before {
	content: ' | ';
	color: inherit;
	display: inline-block;
	font-size: 16px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	width: 3em;
}
footer ul.footer-links-items li a.footer-link {
	display: inline-block;
	font-size: 16px;
	line-height: 50px;
	height: 50px;
}
@media (min-width: 768px) {
	footer .footer-links {
		display: block;
	}
}

footer .footer-contact {
	text-align: center;
}
footer .footer-contact .seperator {
	display: none;
}
@media (min-width: 768px) {
	footer .footer-contact div {
		display: inline;
	}
	
	footer .footer-contact .seperator {
		display: inline;
		padding:0 15px;
	}
}


/* SUBPAGE */
.page-head {
	/*background-color: rgba(0, 0, 0, 0.65);*/
	background-color: #ce0505;

	margin-bottom: 0;
	padding: 15px 20px 15px;
}
@media (min-width: 768px) {
	.page-head {
		padding: 15px 40px 15px;
	}
}
.page-head h1 {
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	letter-spacing: 1.5px;
	line-height: 24px;
	/*height: 24px;*/
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
}

/*
Cookie Crumb:   16px,   color: rgba(255,255,255,.65),   text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
Cookie Crumb a:hover:  color: rgba(255,255,255,1),
*/
.page-info {
	padding: 15px 20px;
	text-align: center;
	border-bottom:1px solid rgba(0,0,0,0.2);
}
@media (min-width: 768px) {
	.page-info {
		padding: 15px 40px;
	}
}
.page-info ul {
	color: inherit;
	font-size: 16px;
	font-weight: 300;
	line-height: 20px;
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
}
.page-info ul>li {
	display: inline-block;
	margin: 0;
	padding: 0;
}
.page-info .cookie-crumbs li:before {
	content: " / ";
	display: inline;
}
.page-info .cookie-crumbs li:first-child:before {
	display: none;
}
.page-info ul>li a, .page-info ul>li a:link, .page-info ul>li a:visited {
	color:  inherit;
}
.page-info ul>li a:hover, .page-info ul>li a:active, .page-info ul>li a:focus {
	color:  #ce0505;
	cursor: pointer;
	text-decoration: none;
}


/*.subpage .content-wrapper {
	background-color: #fff;
	border-radius: 3px;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, .25);
	margin-bottom: 15px;
	padding: 20px;
	overflow: hidden;
}
@media only screen and (min-width : 768px) {
	.subpage .content-wrapper {
		padding: 40px;
	}
}*/

/*@media only screen and (min-width : 768px) {
	article.post>.content {
		-webkit-column-count: 2;
		-moz-column-count: 2;
		column-count: 2;
		-webkit-column-gap: 20px;
		-moz-column-gap: 20px;
		column-gap: 20px;
	}
}*/


.subpage {
	padding-bottom: 30px;
}
.subpage-content {
	background: white;
}

@media (min-width:1200px) {
	.subpage {
		padding-bottom: 60px;
	}
	.subpage:before, .subpage:after {
		content: "";
		display: table;
	}
	.subpage:after { clear:both; }
	.subpage .subpage-content {
		float: left;
		width: 710px;
	}
	.subpage .content-wrapper {
		min-height: 400px;
	}
}
@media (min-width:1420px) {
	.subpage .subpage-content {
		width: 910px;
	}
}

.pagegroup {
	padding: 20px;
	/*overflow: hidden;*/
}
@media only screen and (min-width : 768px) {
	.pagegroup {
		padding: 40px;
	}
}
.pagegroup .pagegroup-title {
	border-bottom: 1px solid rgba(0, 0, 0, .15);
	margin: 0;
}
.pagegroup .pagegroup-title h2 {
	color: #333;
	margin: 0;
}

/*.pagegroup:first-of-type .pagegroup-title {
	margin-bottom: 20px;
	padding-bottom: 25px;
}*/

.pagegroup .pagegroup-title {
	display: flex;
	justify-content: center;
	align-items: center;

	background-color: #fafafa;
	height: 60px;
	/*line-height: 60px;*/
	margin: -20px;
	margin-bottom: 20px;
	padding: 0 20px;
	padding-bottom: 0px;
}
.pagegroup .pagegroup-title h2 {
	/*height: 60px;*/
	/*line-height: 60px;*/
	padding: 0 20px;
	/*text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);*/
}
.pagegroup .pagegroup-title::before, .pagegroup .pagegroup-title::after {
	content: " ";

	border-bottom: 1px solid #d6d6d6;
	flex-grow: 1;
	height: 1px;
}

@media (min-width: 768px) {
	.pagegroup .pagegroup-title {
		height: 80px;
		/*line-height: 80px;*/
		margin: -40px;
		margin-bottom: 20px;
		padding: 0 40px;
	}
	.pagegroup .pagegroup-title h2 {
		/*height: 80px;*/
		/*line-height: 80px;*/
	}
}

.post .embed-responsive {
	margin-bottom: 20px;
}
.recordList .media .embed-responsive {
	margin: 20px;
}

/* bootstrap updates */
p {
	margin: 0 0 25px;
}
.embed-responsive {
	background-color: #f8f8f8;
	position: relative;
	display: block;
	height: 0;
	padding: 0;
	overflow: hidden;
}
/* home-featured image size: 460h / 650w = 0.70769 */
.embed-responsive-feature {
	padding-bottom: 70.75%;
}
.embed-responsive-16by9 {
	padding-bottom: 56.25%;
}
.embed-responsive-4by3 {
	padding-bottom: 75%;
}
.embed-responsive-1by1 {
	padding-bottom: 100%;
}
.embed-responsive .embed-responsive-item, .embed-responsive embed, .embed-responsive iframe, .embed-responsive object, .embed-responsive video {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.embed-responsive .video-play-btn {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;

	background-image: url(../images/trans-1by1-play.png);
	background-position: center;
	background-size: cover;
	cursor: pointer;
}

/* plyr overrides */
.plyr .plyr__play-large {
	opacity: 0;
}

.subpage-content img {
	max-width: 100%;
    height: auto !important;
}

/* Site Search */
.element_developeractions #results, .element_developeractions #search-term {
	font-size: 16px;
}

@media only screen and (min-width: 768px) {
	.element_developeractions #results, .element_developeractions #search-term {
		font-size: 18px;
	}
}