/*Author: Corey Shields*/
html {
background-color: white;
height: 100%;
text-align: center;
margin: 0;
padding: 0;
}

img {
 max-width: 75%;max-height:75%;
}

body {
color: black;
text-align: center;
margin: 0;
padding: 0;
width:100%;
}

table
{
	width: 50%;
	border-collapse: collapse;
}

table.center{
	margin-left:auto;
	margin-right:auto;
	text-align: left;
}

table.center1{
	margin-left:auto;
	margin-right:auto;
	text-align: center;
}

table caption 
{
	font-size: 225%;
	padding: 3px;/*
	font-weight: bold;*/
}

table td
{
	background: -moz-linear-gradient(bottom, #A4A4A4, white);
	background: -o-linear-gradient(bottom, #A4A4A4, white);
	background: -webkit-linear-gradient(bottom, #A4A4A4, white);
	background: linear-gradient( white, #A4A4A4); 
	border: 3px solid black;
	padding: 15px;
}

#footer
{
	background-color: white;
}

a  {
text-decoration: none;
padding: 5px;
color: #333;
}

.container {
margin-left: auto;
margin-right: auto;
margin-top: 30px;
width: 96%;
}

/* common and top level styles */
#nav span {
display: none;
}
#nav, #nav ul {
list-style: none outside none;
margin: 0;
padding: 0;
}
#nav {
background-color: white;
border-bottom: 5px solid black;
margin-left: 1%;
margin-right: 1%;
position: relative;
width: 98%;
}
#nav ul.subs {
background-color: navy;
box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
color: maroon;
display: none;
left: 0;
padding: 2%;
position: absolute;
top: 54px;
width: 96%;
}
#nav > li {
border-bottom: 5px solid transparent;
float: left;
margin-bottom: -5px;
text-align: left;
-moz-transition: all 300ms ease-in-out 0s;
-ms-transition: all 300ms ease-in-out 0s;
-o-transition: all 300ms ease-in-out 0s;
-webkit-transition: all 300ms ease-in-out 0s;
transition: all 300ms ease-in-out 0s;
}
#nav li a {
display: block;
text-decoration: none;
-moz-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
-ms-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
-o-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
-webkit-transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
transition: color 450ms ease-in-out 0s, background-color 450ms ease-in-out 0s;
white-space: normal;
}
#nav > li > a {
color: black;
display: block;
font-size: 1.3em;
line-height: 49px !important;
padding: 0 15px;
text-transform: uppercase;
}
#nav > li:hover > a, #nav > a:hover {
background-color: maroon;
color: white;
}
#nav li.active > a {
background-color: #333333;
color: #FFFFFF;
}

/* submenu */
#nav li:hover ul.subs {
    display: block;
	max-width: 225px;
}
#nav ul.subs > li {
    display: inline-block;
    float: none;
    padding: 10px 1%;
    vertical-align: top;
    width: 99%;
}
#nav ul.subs > li a {
    color: white;
    line-height: 20px !important;
	font-size: 1.2em;
}
#nav ul li a:hover {
    color: white;
	background-color: maroon;
}
#nav ul.subs > li > a {
    font-size: 1.3em;
    margin-bottom: 10px;
    text-transform: uppercase;
}
#nav ul.subs > li li {
    float: none;
    padding-left: 8px;
    -moz-transition: padding 150ms ease-out 0s;
    -ms-transition: padding 150ms ease-out 0s;
    -o-transition: padding 150ms ease-out 0s;
    -webkit-transition: padding 150ms ease-out 0s;
    transition: padding 150ms ease-out 0s;
}
#nav ul.subs > li li:hover {
    padding-left: 15px;
}



/* responsive rules */
@media all and (max-width : 980px) {
    #nav > li {
        float: none;
        border-bottom: 0;
        margin-bottom: 0;
    }
    #nav ul.subs {
        position: relative;
        top: 0;
    }
    #nav li:hover ul.subs {
        display: none;
    }
    #nav li #s1:target + ul.subs,
    #nav li #s2:target + ul.subs {
        display: block;
    }

    #nav ul.subs > li {
        display: block;
        width: auto;
    }
	#table img{
		width:100%;
	}
		
	table{
		display:inline;
		font-size: 100%;
		width:100%;
	}
	
	table caption {
	font-size: 225%;
	}
	
	.google-maps {
	position: relative;
	padding-bottom: 75%; 
	overflow: hidden;
	}
	.google-maps iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	}
	
	.video-container {
    position: relative;
    padding-bottom: 75%;
	height: 0; 
	overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
}
