@font-face {
    font-family: "Open Sans";
    src: url(opensans.ttf);
}@font-face {
    font-family: "Abel";
    src: url(abel.ttf);
}
* {
	box-sizing:border-box;
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
	-webkit-padding-start:0;
}
hr {
	margin:20px 0;
}
body {
	margin:0;
	padding:0;
	font-family:"Abel", "Open Sans", "Arial";
	font-size:16px;
	color: #404040;
	overflow-x:hidden;
	background: #ebe9e7;
	background: #d0e8f2;
	//background-image: url("/img/bg.png");
	background-position: left top;
	background-size: auto;
	background-repeat: repeat;
	background-attachment: fixed;
}
p {
	margin: 0 0 20px 0;
	text-align:justify;
}
nav {
	text-align:center;
	margin-top:50px;
}
nav ul {
	-webkit-margin-before: 0;
	-webkit-margin-after: 0;
	-webkit-margin-start: 0;
	-webkit-margin-end: 0;
	-webkit-padding-start: 0;
	display: table-row;
}
nav ul li {
	list-style:none;
	text-transform:uppercase;
	color: gray;
}
nav > ul > li {
	color:white;
	text-shadow:0 0 4px black;
	display: table-cell;
	padding:0;
	margin:8px 0 4px 0;
	width:1%;
	text-align:center;
	font-size:20px;
	position:relative;
}
nav > ul > li.selected {
	color: #003366;
	text-shadow:0 0 4px white;
}
nav ul li ul {
	display:none;
}
nav ul li:hover > ul {
	left: 18px;
	display:block;
}
nav ul li:hover ul {
	background:white;
	border:4px solid gray;
	padding:6px;
	float: left;
	font-size: 16px;
	position: absolute;
	top: 24px;
	z-index: 99999;
}
nav ul li:hover > ul li {
	margin:0;
	text-align:left;
	min-width:125px;
	line-height:1em;
	padding:12px 8px;
	border-bottom:1px solid gray;
	text-shadow:none;
}
nav ul li:hover > ul li:last-child {
	border-bottom:none;
}
nav ul li:hover > ul li:hover {
	display:block;
}
nav ul li:hover > ul li:hover ul {
	left: 120px;
}
footer {
	text-align:center;
	font-size:.7em;
	margin:10px 0;
}
a, a:active, a:visited, a:hover {
	color:inherit;
	text-decoration:none;
}
a:hover {
	color: #003366;
}
h1,h2{margin:0;}
header {
	margin:0 auto;
	//padding:20px 0;
	padding:70px 20px 60px;
	background-image:url("/img/cirrus_clouds.jpg");
	background-position:50% 50%;
	background-size:cover;
	background-repeat:no-repeat;
}
header h1 {
	color: #003366;
	text-shadow: 1px 1px 0px #f6f4f2, 3px 3px 0px rgba( 0, 0, 0, 0.3 );
	font-size: 54px;
	font-weight: bold;
	text-transform: uppercase;
	//margin:0;
	margin:0 0 0 22px;
}
header h2 {
	//color: gray;
	font-size: 14px;
	line-height: 1.4;
	margin: -2px 0 10px 6px;
	font-stretch: condensed;
	font-weight: 400;
	text-transform: uppercase;
	color:white;
}
.header-logo-hero {
	float:right;
	//height: 70px;
	//margin: 10px 0 0 0;
	height:120px;
	margin:-10px 0 0 0;
}
#container, header {
	width:80%;
	//max-width:900px;
}
#container {
	margin:0 auto;
	padding:10px;
	min-height:600px;
	background:#fff;
	border: 6px solid rgba( 255, 255, 255, 0.5 );
}
#container h1 {
	color: #003366;
	font-size: 38px;
	font-weight: normal;
	letter-spacing: -0.035em;
	line-height: 1.2em;
	margin-bottom: 40px;
}
.logo-center {
	width:70%;
	margin:20px auto 40px;
	display:block;
}
#myModal {
	display:none;
	position:fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background-color:rgba(255,255,255,.8);
	z-index:999;
	padding: 100px 20%;
}
#myModal center {
	background-color:yellow;
	padding: 20px 20px 0px;
}
#myModal img {
	width:100%;
	display:block;
}
#myModal input,#myModal button {
	-webkit-appearance:none;
	height:50px;
	font-size:16px;
	border:none;
	border-radius:2px;
}
#myModal input {
	width:75%;
	padding:10px 20px;
	float:left;
	box-shadow:0 0 2px gray;
}
#myModal button {
	width:20%;
	float:right;
}
#myModal button:hover {
	background-color:lightgray;
	cursor:pointer
}
#myModal small {
	padding: 10px;
	display: block;
	margin-top: 30px;
	cursor:pointer;
}
@media only screen and (max-width: 415px){
	#container, header {
		width:98%;
	}
	.header-logo-hero {
		height:auto;
		width:100%;
	}
	header h1 {
		font-size: 46px;
	}
	header h1, header h2 {
		text-align:center;
	}
    nav > ul > li {
    	width:49%;
    	font-size:18px;
    	padding:auto 0;
    	text-align:center;
    	display: inline-block;
    }
    nav ul li:nth-child(even):hover > ul li:hover ul {
		left:-150px;
	}
    nav > ul > li:nth-child(even){
    }
}
@media print {
    /* print styles go here */
    body {
        font-size: 16px;
    }
    #container, header {
		width:100%;
    }
    #nav {
    	display:none;
    }
    header h1 {
    	font-size:20px;
    }
    .header-logo-hero {
    	height:auto;
    	width:15%;
    }
    .logo-center {
    	width:auto;
    	height:3em;
    }
}