#HeaderMenu {
	width: auto;
	position: relative;
	z-index: 10;
}

.open {
     display: block;   
}

nav label {
    cursor: pointer;   
}

/*Strip the ul of padding and list styling*/
nav ul {
	list-style-type:none;
	margin: 0 auto;
	padding: .2em 0 .6em 1px;
}

/*Create a horizontal list with spacing*/
nav li {
	display:inline-block;
	margin-left: .8em;
}
nav li:last-of-type {
	margin-right: 0;
}

/*Style for menu links*/
nav li a {
	display:block;
	height: 1.2em;
	text-align: center;
	color: #02346a;
	text-decoration: none;
}

/*Hover state for top level links*/
nav li:hover a {
	color: #5388b9;
}

/*Style for dropdown links*/
nav li:hover ul a {
	color: #5388b9;
	height: 2.5em;
	line-height: 130%;
}

/*Hover state for dropdown links*/
nav li:hover ul a:hover {
	color: #5388b9;
}

/*Hide dropdown links until they are needed*/
nav li ul {
	display: none;
}

/*Make dropdown links vertical*/
nav li ul li {
	display: block;
	float: none;
}

/*Prevent text wrapping*/
nav li ul li a {
	width: auto;
	min-width: 6.25em;
	padding: 0 1.2em;
}

/*Display the dropdown on hover*/
nav ul li a:hover + .hidden, .hidden:hover {
	display: block;
}

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	text-decoration: none;
	text-align: center;
	padding: .6em 0;
	display: none;
}

/*Hide checkbox*/
input[type=checkbox]{
    display: none;
}

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

}


/*Responsive Styles* up to 48em (768px) */

@media screen and (max-width : 47.9999em){
	/*Make dropdown links appear inline*/
	nav ul {
		position: static;
		display: none;
}
	/*Create vertical spacing & larger text*/
	nav li {
		margin-bottom: .5em;
		font-size: 110%;
		margin-left: 0;
	}
	/*Make all menu links full width*/
	nav ul li, li a {
		width: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
	.search-box {
	background: #fff url(../images/search-icon-blue.png) no-repeat 50% 2px;
    }
    .search-expand {
         display: none;
    }
    #HeaderMenu {
	width: auto;
	position: absolute;
	z-index: 10;
	background: #fff;
    }
}