header {
	display: block;
	position: fixed;
    top: 0;
    z-index:999;
	width: 100%;
    background-color: #0e5ea9;
    padding: 20px 0 0 0;
}
.desktop_logo {
    text-align: center;
}
#menu {
	width: 100%;
     background-color: #0e5ea9;
}
/*Strip the ul of padding and list styling*/
ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
}
/*Create a horizontal list with spacing*/
li {
	display:inline-block;
	float: left;
	margin-right: 0;
    width: 16.6%;
}
/*Style for menu links*/
li a {
	display:block;
	min-width:140px;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-family: 'Open Sans', Arial, sans-serif;
    text-transform: uppercase;
	font-size: 0.9em;
	font-weight: 400;
	color: #fff;
	text-decoration: none;
	padding: 0 20px 0 20px;
    background-color: #0e5ea9;
}
/*Hover state for top level links*/
li:hover a {
	background: transparent;
}
/*Style for dropdown links*/
li:hover ul a {
	background: #f3f3f3;
	color: #2f3036;
	height: 40px;
	line-height: 40px;
	width: 100%;
}
/*Hover state for dropdown links*/
li:hover ul a:hover {
	color: #2f3036;
	background-color: #D8D8D8;
}
/*Hide dropdown links until they are needed*/
li ul {
	display: none;
}
/*Make dropdown links vertical*/
li ul li {
	display: block;
	float: none;
    width: 100%;
}
/*Prevent text wrapping*/
li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
	text-align: left;
}
/*Display the dropdown on hover*/
ul li a:hover + .hidden, .hidden:hover {
	display: block;
}
/*Style 'show menu' label button and hide it by default*/
.show-menu {
	font-family: 'Open Sans', Arial, sans-serif;
	font-size: 0.9em;
	text-decoration: none;
	color: #fff;
	text-align: center;
	display: none;
	background-color: #0e5ea9;
	padding: 10px;
	height: 60px;
}
/*Hide checkbox*/
header input[type=checkbox] {
	display: none;
	-webkit-appearance: none;
}

/*Show menu when invisible checkbox is checked*/
header input[type=checkbox]:checked ~ #menu {
 display: block;
}


/*Responsive Styles*/

@media screen and (max-width: 767px) {
/*Hide Desktop Logo for Mobile*/
.desktop_logo {
	display: none;
	visibility: hidden;
}
/*Show Mobile Logo and Sandwich Bar*/
header .logo {
	width: 180px;
	height: auto;
    float: left!important;
}
/*Make dropdown links appear inline*/
	ul {
	position: static;
	display: none;
}
/*Create vertical spacing*/
	li {
	margin-bottom: 1px;
}
/*Make all menu links full width*/
	ul li, li a {
	width: 94%;
	text-align: left;
}
/*Display 'show menu' link*/
	.show-menu {
	display: block;
	height: 60px;
}
}
