/*Entire header*/
#header {
    /*position: relative;*/
    position: fixed;
    top: 0px;
    z-index: 1;
    width: 100%;
}

/*Header banner (logo and background)*/
#headerBanner {
    height: 150px;
    position: relative;
    z-index: 2;
}

/*Header banner background*/
.awning {
	min-width: 350px;
	height: 150px;
	width: 100%;
	position: absolute;
	background-image: url("../Images/awning.png");
	background-size: auto 100%;
}

.awning table {
  border-collapse: collapse;
  height: inherit;
  width: inherit;
}

.awning table td {
    border-size: 0px;
}

.awning table td.middle div img {
  max-height: 100px;
  width: 100%;
  vertical-align: middle;
}

.awning table td.middle div {
  max-width: 670px;
  margin: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.awning table td.top {
  height: 5%;
}

.awning table td.bottom {
  height: 30%;
}

/*Header menu bar*/
.menu {
    position: relative;
    background-color: #03582D;
    -moz-box-shadow: 0px 2px 10px gray, 0px -2px 10px gray;
    -webkit-box-shadow: 0px 2px 10px gray, 0px -2px 10px gray;
    box-shadow: 0px 2px 10px gray, 0px -2px 10px gray;
    margin-top: 15px;
    z-index: 1;
    padding-top: 25px;
    top: -50px;
    opacity: 80%;
}

/*Header menu top level buttons*/
.menuItems {
    list-style-type: none;
    margin: 0 auto;
    padding: 0px;
    display: table;
    width: 100%;
    background-color: #03582D; 
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 1.4em;
    max-width: 2000px;
}

/*Header menu individual top level buttons*/
.menuItems > .menuItem {
    display: table-cell;
    text-align: center;
    -webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	transition: background-color 0.5s; 
	min-width: 150px;
}

/*Header menu individual top level links*/
.menuItems > .menuItem > a {
    display: inline-block;
    text-decoration: none;
    color: #FFFFFF;
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
}

.dropdown {
    position: relative;
    /*display: inline-block;*/
}

/*Header menu left and right empty cells (to control width)*/
.menuItems > li:first-child,
.menuItems > li:last-child {
    display: table-cell;
    width: 20%;
}

/*Header menu dropdowns*/
.dropdown-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    width: 100%;
    background-color: #03582D;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 3;
    max-height: 0px;
    word-wrap: break-word;
    overflow-y: hidden;
    -webkit-transition: max-height 1s;
	-moz-transition: max-height 1s;
	transition: max-height 1s;  
}

/*Header menu buttons (on dropdowns)*/
.dropdown-content > a {
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
    text-decoration: none;
    width: auto;
    display: block;
    -webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	transition: background-color 0.5s; 
}

/*Handle hover/focus effects for header menu buttons (top level and dropdown) and on mobile menu buttons*/
.menuItems > .menuItem:hover,
.menuItems > .menuItem > a:focus,
.dropdown-content > a:hover,
.dropdown-content > a:focus,
.mobile-dropdown-content > a:hover,
.mobile-dropdown-content > a:focus {
    background-color: #86C18D;
}

/*Apply to show a specific header dropdown*/
#header > .menu > .menuItems > .dropdown > .dropdown-content.showDropdown {
    max-height: 1500px !important;
}

/*Header menu bar (mobile)*/
.mobileMenu {
    text-align: left;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    transition: background-color 0.5s;
    display: none;
}

/*Header menu and dropdown buttons (mobile)*/
.mobileMenu a {
    color: #FFFFFF; /*temp*/
} 

/*Header menu button (open/close) (mobile)*/
.mobileMenu > a  {
    text-decoration: none;
    display: inline-block;
    width: 25%;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 20px;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

/*Header menu button container (for open and close) (mobile)*/
.mobileMenuButton {
    font-size: 40px;
    font-weight: bold;
}

/*Header menu dropdown (mobile)*/
.mobile-dropdown-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    position: absolute;
    width: 100%;
    background-color: #03582D;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    max-height: 0px;
    word-wrap: break-word;
    overflow-y: hidden;
    -webkit-transition: max-height 0.5s;
	-moz-transition: max-height 0.5s;
	transition: max-height 0.5s;  
}

/*Header menu dropdown buttons container (mobile)*/
.mobile-dropdown-content .topLevel {
    padding-left: 20px;
    padding-right: 20px;
    -webkit-transition: background-color 0.5s;
    -moz-transition: background-color 0.5s;
    transition: background-color 0.5s;
}

/*Header menu dropdown buttons (mobile)*/
.mobile-dropdown-content .topLevel a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px; 
}

/*Header menu buttons '+' sign (for submenus) (mobile)*/
.subLevel > a > span {
    font-weight: bolder;
}

/*Handle hover effect for all mobile menu buttons (under menu)*/
.mobile-dropdown-content .topLevel:hover,
.mobile-subdropdown-content > a:hover {
    background-color: #86C18D;
}

/*Header menu buttons sub dropdowns (mobile)*/
.mobile-subdropdown-content {
    -webkit-transition: max-height 0.5s;
	-moz-transition: max-height 0.5s;
	transition: max-height 0.5s;
    overflow: hidden;
    max-height: 0px;
    word-wrap: break-word;
}

/*Header menu buttons sub dropdown buttons (mobile)*/
.mobile-subdropdown-content > a {
    padding-top: 15px;
    padding-bottom: 15px;
    color: white;
    text-decoration: none;
    display: block;
    padding-left: 30px;
    -webkit-transition: background-color 0.5s;
	-moz-transition: background-color 0.5s;
	transition: background-color 0.5s; 
}

/*Opens the header menu dropdown (mobile)*/
.showMobileDropdown {
    max-height: 1000px !important;
}

/*opens a header menu button sub dropdown (mobile)*/
.showMobileSubDropdown {
    max-height: 500px !important;
}