
body {
	background-color: #57b7df; 
}

/* preload background images */
body::after{
	position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
	content:url('ns_images/banner-1.jpg') url('ns_images/banner-2.jpg') url('ns_images/banner-3.jpg') url('ns_images/banner-4.jpg') url('ns_images/banner-5.jpg');
}

.color_blue { color: #57b7df; }
.color_orange { color: #e25400; } 

.clear { clear:both; }

@font-face {
	font-family: 'MetropolisRegular';
	src: url('ns_fonts/Metropolis-Regular.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'MetropolisLight';
	src: url('ns_fonts/Metropolis-Light.woff2') format('woff2');
	font-weight: lighter;
	font-style: normal;
}


div.header, div.footer {
	background-color:#57b7df;
	padding:10px;
}
div.header { height: 75px; }
div.header img.logo {
	margin:0 40px;
}
div.under_development {
	padding:15px 25px;
	font-family: Arial, Helvetica, sans-serif;
	font-size:30px; text-align: center;
	background-color:#f1fbff;
	border-top:2px solid black; border-bottom:2px solid black;
}

div.main_panel_container {
	position:relative;
	overflow:hidden;
}

div.main_panel {
	position:relative;
	padding:10px;
	/*
	background-color:white;
	background-image:url('images/banner-1.jpg');
	background-repeat:no-repeat;
	background-size:cover;
	transition: background-image 2s linear, background-position 30s linear;
	*/
}
div.main_panel_image {
	position:absolute;
	width:100%; height:100%;
}
div.main_panel_image div.background_image {
	width:100%; height:100%;
}
div.main_panel_image div.background_image img {
	position:absolute;
	top:0; left:0;
	min-width:100%; min-height:100%;
	/*
	width:100%; height:100%;
	object-fit: cover;
	object-position:0% 100%; */ /* left and bottom */
	transition: opacity 2s linear, bottom 20s linear, left 20s linear, top 20s linear;
}


div.main_page_left_panel {
	float:left;
	width:400px;
	margin-left:40px;
}

p.main_page_title {
	font-family: MetropolisRegular;
}
p.main_page_title span.top {
	font-size:28px;
}
p.main_page_title span.bottom {
	font-size:52px;
}


p.main_page_text {
	font-family: Arial, Helvetica, sans-serif;
}


div.main_page_right_panel {
	float:left;
	position:relative;
	width:calc(100% - 475px);
	height:250px;
	padding-left:25px;
}
div.main_page_right_panel img {
	height:100%;
	width:100%;
	object-fit:cover;
	border:3px solid black;
}
div.main_page_right_panel p {
	position: absolute;
	top: 25px;
	left: 55px;
	color: white;
	font-weight: bold;
	font-size: 36px;
	font-family: 'MetropolisRegular';
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;	
}

div.button_panel_container {
	background-color:white;
	padding-bottom:25px;
}

div.button_panel {
	padding-top:25px;
	text-align:center;
}

div.button_panel div.button {
	display:inline-block;
	width:160px; height:40px;
	padding:5px 10px 20px 10px; margin:10px 12px 0 12px;
	text-align:center;
	font-size:24px;
	line-height:28px;
	font-family: MetropolisRegular;
	border:2px solid black;
	background-color:white;
	color:black;
	transition: background-color 300ms linear;
}
div.button_panel div.button:hover {
	cursor:pointer;
	background-color:#277292;
	color:white;
}
div.button_panel div.button.disabled {
	color:#777;
	background-color:#ccc;
	border-color:#777;
	cursor:default;
}

div.button_panel div.button.wide {
	margin-top:25px;
	width:300px;
}



div.child_page_main_container {
	background-color:white;
	margin:0; padding:10px 50px 10px 50px;
}
div.child_page_main_container p.headline {
	margin:0;
	font-family: MetropolisRegular;
	font-size:28px;
}
div.child_page_main_container p.body {
	margin:10px 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size:16px;
	line-height:22px;
}
div.child_page_main_container p.question {
	margin:10px 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size:22px;
	line-height:26px;
}
div.child_page_main_container p.body a {
	text-decoration:none;
	color:#333;
	border-bottom:1px dashed black;
}
div.child_page_main_container p.body a:hover {
	color:#b64400;
	border-bottom:1px solid #b64400;
}

div.divider {
	border-top:1px solid black;
}

div.child_page_main_container div.form_container {
	border-top:1px solid black;
	padding-top:20px;
}

div.child_page_main_container div.form_container_halfwidth {
	float:left;
	width:50%;
}

div.child_page_main_container p.caption {
	margin:0;
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
}
div.child_page_main_container div.textinput input {
	font-size:20px;
	font-family: Arial, Helvetica, sans-serif;
	padding:5px 10px;
	width:calc(100% - 30px); max-width:450px;
	border:1px solid black;
	margin-bottom:15px;
}
div.child_page_main_container div.textarea textarea {
	font-size:20px; line-height:26px;
	font-family: Arial, Helvetica, sans-serif;
	padding:5px 10px;
	width:calc(100% - 20px);
	height:200px;
	border:1px solid black;
	margin-bottom:15px;
	resize:none;
}
div.child_page_main_container div.formsubmission {
	float:left;
	width:80px; height:20px;
	padding:10px; margin-right:10px;
	text-align:center;
	font-size:18px;
	line-height:22px;
	font-family: MetropolisRegular;
	border:2px solid black;
	background-color:white;
	color:black;
	transition: background-color 300ms linear;
	
}
div.child_page_main_container div.formsubmission:hover {
	cursor:pointer;
	background-color:#277292;
	color:white;
}

div.child_page_main_container div.formfinished {
	float:left; 
	font-size:20px;
	font-family: MetropolisRegular;
	padding-top:10px;
	color:green;
}

div.resource_container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
}

div.resource_card {
	flex-grow:1;
	margin-right:10px;
	margin-bottom:10px;
	width:300px;
	
	border:2px solid black;
	padding:10px;
	transition: box-shadow 0.3s ease-in-out;
}
div.resource_card:hover {
	box-shadow: 0 0 15px 2px #57b7df;
	cursor:pointer;
}
div.resource_card p.title {
	margin:10px;
	font-family: MetropolisRegular;
	font-size:22px;
	text-align:center;
}
div.resource_card p.body {
	font-family: Arial, Helvetica, sans-serif;
	font-size:16px;
	line-height:22px;
}

div.resource_card p.helplinecaption {
	font-family: Arial, Helvetica, sans-serif;
	font-size:18px;
	margin: 0;
	text-align: center;
	font-size: 18px;
	color: #888;	
}

div.footer { padding:10px 50px; }
div.footer p {
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	margin:0;
	color:white;
}

@media only screen and (max-width: 600px) {
	
div.main_page_left_panel {
	width: 250px;
}
div.child_page_main_container {
	padding:10px 20px 10px 20px;
}
div.footer { padding:10px 20px; }
	
	
div.child_page_main_container div.form_container_halfwidth {
	float:left;
	width:100%;
}	

div.child_page_main_container div.textinput input {
	width:calc(100% - 20px); max-width:100%;
}

}