/*Strip the ul of padding and list styling*/


#menu  a.menu:link, a.menu:visited, a.menu:active  {
	color: #fefefe;
	font-weight:bold;
	text-decoration: none;
}

#menu  a.menu:hover {
	text-decoration: underline overline;
	color: #333333;
	font-size:11px;
}

#menu  ul {
	list-style-type:none;
	margin:0;
	padding:0;
	position: absolute;
}

/*Create a horizontal list with spacing*/
#menu li {
	display:inline-block;
	float: left;
	margin-right: 1px;
}

/*Style for menu links*/
#menu  li a {
	display:block;
	min-width:110px;
	height: 30px;
	text-align: center;
	line-height: 30px;
	color: #fefefe;
	background: #1674a7;
	text-decoration: none;
}

/*Hover state for top level links*/
#menu li:hover a {
	background: red;
}

/*Style for dropdown links*/
#menu li:hover ul a {
	background: #1674a7;
	color: #fefefe;
	height: 40px;
	line-height: 40px;
}

/*Hover state for dropdown links*/
#menu li:hover ul a:hover {
	background: red;
	color: #fefefe;
}

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

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

/*Prevent text wrapping*/
#menu li ul li a {
	width: auto;
	min-width: 100px;
	padding: 0 20px;
}

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

/*Style 'show menu' label button and hide it by default*/
.show-menu {
	
	text-decoration: none;
	color: #fefefe;
	background: #1674a7;
	text-align: center;
	padding: 10px 0;
	display: none;
}

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

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


/*Responsive Styles*/

@media screen and (max-width : 760px){
	/*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: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}