/*
	Color Palette
	#7fc2dc - Light soft Blue/Gray
	#0085ba - Soft Blue/Gray
	#0073aa - Dark soft Blue/Gray
	#006799 - Darker soft Blue/Gray
	#00527a - Darkest soft Blue/Gray
	#eaeaea - Extra Light Gray
	#bbbbbb - Light Gray
	#aaaaaa - Dark Light Gray
	#f9fbfc - Very Very Off white
*/


html
{
	height: 100%;
	box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body 
{
	font-family: Verdana, sans-serif; 
	font-size: 0.8em;
	background-color: #aaaaaa;
	min-height: 100%;
	position: relative;
	margin: 0;
}

p
{
	overflow-wrap: break-word;
	word-wrap: break-word;
}

main
{
	display: block;
	/* margin-top: 135px; */
}

code
{
	/* border: 3px solid #e5e5e5; */
	border-left: 3px solid #e5e5e5;
	border-top: 3px solid #e5e5e5;
	box-shadow: 3px 3px 3px #a2a2a2;
	border-radius: 10px;
	padding: 30px;
	margin-bottom: 20px;
	font-size: 1.25em
}

#bodyHeaderSpace
{
	min-height: 130px;
}

#popMenu
{
	display: none;
	float: right; 
	positon: absolute; 
	top: 0; 
	margin-top: -35px; 
	background-color: #ffffff; 
	border-radius: 18px; 
	width: 36px; 
	height: 36px; 
	text-align: center; 
	font-size: 20px; 
	color: #000000;
	box-shadow: 3px 3px 3px #0f0f0f;
	vertical-align: middle;
	padding: 2px;
}

#popMenu img
{
	position: relative;
	height: 18px;
	width: 18px;
	top: 6px;
}

header
{
	border: 0px solid grey; 
	background-color: #003d5b;
	vertical-align: middle;
	color: #eaeaea;
	padding-left: 20px;
	padding-right: 20px;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 80px;
	z-index: 100;
	opacity: .85;
	box-shadow: 0px 5px 5px #0f0f0f;
}

div.header_Main
{
	font-size: 2.5em;
	font-weight: bold;
	margin: 0;
	padding-top: 5px;
	text-shadow: 5px 5px 3px #0a0a23;
}

div.header_Sub
{
	font-size: 1em;
	font-weight: normal;
	font-style: italic;
	margin: 0;
	text-shadow: 3px 3px 3px #0a0a23;
}

.SiteLogo
{
	position: absolute;
	top: 4;
	right: 50px;
	display: none; /* Don't display logo as we haven't designed one yet */
}

nav
{
	border: 0px solid #aaaaaa;
	padding-top: 5px;
	padding-bottom: 8px;
	padding-left: 20px;
	padding-right: 20px;
	position: fixed;
	top: 80;
	left: 0;
	width: 100%;
	z-index: 110;
	opacity: .95;
	background-color: #005c89;
	box-shadow: 0px 5px 5px #888888;
	min-height: 25px;
}

nav ul 
{
	margin: 0;
	padding: 0;
}

nav ul li 
{
	display: inline;
	position: relative;
	float: left;
	/* height: 100%; */
	padding: 5px;
}

nav ul li:hover
{
	border-radius: 10px;
	background-color: 003d5b;
	box-shadow: 4px 4px 5px #0a0a23;
}

nav ul li.showMenu
{
	display: none;
}

nav ul li ul
{
	display: none;
	position: absolute;
	/* margin: 15; */
	margin-top: 13;
	padding: 0;
	background-color: #003d5b;
	border-top-right-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	padding-bottom: 10px;
	padding-top: 10px;
	box-shadow: 4px 4px 5px #0a0a23;
	color: #badef4;
	left: 0;
}

nav ul li ul li
{
	display: inline-block;
	margin: 0;
	width: 200px;
}

nav ul li ul li:hover
{
	border-radius: 10px;
	background-color: #005c89;
	transition: 0.3s ease-in-out;
	opacity: 1;
}

nav ul li:hover ul
{
	display: inline-block;
}

#modal_Cover, #modal_ImageCover {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

#imgFullHolder
{
	display: none;
	height: 100%;
	width: 100%;
	margin: auto;
	margin-top: 0px;
	overflow: auto;
	text-align: center;
	color: #ffffff;
	font-weight: bold;
	font-size: 18px;
	cursor: pointer;
}

#imgFullScaleTitle, #imgFullScaleClose
{
	border: 2px solid #005c89;
	border-radius: 10px;
	padding: 2px;
	background-color: #005c89;
	width: 50%;
	font-size: 1em;
	font-weight: bold;
	color: #ffffff;
	text-shadow: 3px 3px 5px #000000;
	box-shadow: 3px 3px 5px #000000;
	-webkit-font-smoothing: antialiased;
	display: block;
	margin: 0 auto;
	cursor: pointer;
}

#imgFullHolder a
{
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
}

#imgFullScale
{
	display: block;
	margin: 0 auto;
}

#menu_Popout
{
	display: none;
}

footer
{
	border-top: 8px solid #005c89;
	background-color: #003d5b;
	color: #eaeaea;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 10px;
	padding-bottom: 0px;
 	width: 100%;
	height: 50px;
/* 	position: fixed;
	bottom: 0;
	left: 0; */
	margin: 0;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
}

.FooterSpacer
{
	height: 100px;
	width: 100%;
}

.SectionWrapper
{
	width: 100%;
	display: flex;
	justify-content: center;
}

.SideBySide
{
	border: 1px solid grey; 
	padding: 15px;
	border-radius: 10px;
	background-color: #f9fbfc;
	float: left;
	width: 33%;
	margin: 5px;
	box-shadow: 5px 5px 5px #888888;
}

.NormalLayout
{
	border: 1px solid grey; 
	padding: 15px;
	border-radius: 10px;
	background-color: #f9fbfc;
	float: left;
	width: 100%;
	margin: 5px;
	box-shadow: 5px 5px 5px #888888;
}

.NormalSection
{
	border: 1px solid grey; 
	padding: 8px;
	border-radius: 10px;
	background-color: #ffffff;
	width: 100%;
	display: block;
}

#main_Menu a 
{
    text-decoration: none;
	padding: 10px;
	color: #eaeaea;
}

#main_Menu a.Menu_Link:hover 
{
    text-decoration: none;
}

#main_Menu a.sub_Menu_Link
{
	line-height: 25px;
}

#main_Menu a.sub_Menu_Link:hover
{
	text-decoration: none;
}

footer a
{
	text-decoration: none;
	padding: 10px;
	color: #eaeaea;
}

a
{
	text-decoration: none;
	color: #0000FF;
}

a:hover, active
{
    text-decoration: underline;
}

a:visited
{
	text-decoration: none;
}

@-webkit-keyframes dropFromTop_Animation {
    from {top:-300px; opacity:0} 
    to {top:5%; opacity:1}
}

@keyframes dropFromTop_Animation {
    from {top:-300px; opacity:0}
    to {top:5%; opacity:1}
}

@-webkit-keyframes Nav_Animation {
    from {opacity:0} 
    to {opacity:1}
}

@keyframes Nav_Animation {
    from {opacity:0}
    to {opacity:1}
}

@media screen and (max-width: 1050px)
{
	nav ul li
	{
		display: none;
	}
	
	nav ul li.showMenu
	{
		display: inline;
	}
	
	.NoShowMenu
	{
		display: none;
	}
	
	.ShowMenu
	{
		display: block;
	}
	
	#imgFullScaleTitle, #imgFullScaleClose
	{
		width: 80%;
	}
	
	#main_Menu
	{
		display: none;
	}
	
	#bodyHeaderSpace
	{
		min-height: 85px;
	}
	
	#popMenu
	{
		display: block;
	}
}

@media screen and (max-width: 1050px)
{
	#modal_Cover.responsive
	{
		display: block;
	}

	#menu_Popout.responsive
	{
		display: block;
		position: relative;
		top: 5%;
		width: 60%; 
		margin: 0 auto; 
		background-color:#005c89;
		z-index: 999;
		box-shadow: 4px 4px 5px #0a0a23;
		border-radius: 10px;
		-webkit-animation-name: dropFromTop_Animation;
		-webkit-animation-duration: .6s;
		animation-name: dropFromTop_Animation;
		animation-duration: .6s
	}
	
	#menu_Popout ul
	{
		list-style: none;
		padding: 20px;
	}
	
	#menu_Popout ul li
	{
		padding: 5px;
	}
	
	#menu_Popout ul li a
	{
		text-decoration: none;
		color: #eaeaea;
	}
	
	nav ul.responsive
	{
		position: static;
		max-width: 120px;
		display: block;
		width: 100%;
	}
	
	nav ul.responsive li
	{
		display: block;
	}
}

@media screen and (max-width: 1050px)
{
	.SectionWrapper
	{
		flex-wrap: wrap;
	}
	
	.SideBySide
	{
		width: 100%;
	}
}

@media screen and (max-width: 700px)
{
	.SiteLogo
	{
		display: none;
	}
}

@media screen and (max-height: 600px), screen and (max-width: 700px)
{
	footer
	{
		display: none;
	}
}

@media screen and (max-width: 500px)
{
	header
	{
		height: 70px;
	}
	
	div.header_Main
	{
		font-size: 2em;
	}
}

@media screen and (max-width: 350px)
{
	header
	{
		height: 60px;
	}
	
	div.header_Main
	{
		font-size: 1.5em;
	}
}