/* http://medialoot.com/blog/how-to-create-a-responsive-navigation-menu-using-only-css/ */

/*Strip the ul of padding and list styling*/
ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}

/*Create a horizontal list with spacing*/
li {
	display: inline-block;
	float: left;
	margin-right: 1px;
	border-bottom-width: thin;
	border-bottom-style: solid;
	border-bottom-color: #FFFFFF;
	width: 110px;
}

/*Main Menu*/
/*Style for menu links*/
li a {
	display: block;
	height: 50px;
	text-align: center;
	line-height: 20px;
	text-decoration: none;
	padding-bottom: 0px;
	width: auto;
	padding-top: 10px;
	background-color: #000000;
}

/*Main Menu*/
/*Hover state for top level links*/
li:hover a {
	background-color: #666666;
	color: #FFFFFF;
}

/*Subs*/
/*Style for dropdown links*/
li:hover ul a {
	color: #FFF;
	height: 30px;
	line-height: 20px;
	text-align: left;
	background-color: #999999;
	padding-top: 20px;
}

/*Subs*/
/*Hover state for dropdown links*/
li:hover ul a:hover {
	color: #2f3036;
	background-color: #999999;
}

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

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

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

/*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 {
	text-decoration: none;
	color: #FFFFFF;
	text-align: center;
	display: none;
	padding-top: 0px;
	padding-right: 0;
	padding-left: 0;
	font-weight: bold;
	padding-bottom: 20px;
	margin-bottom: -20px;
}

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

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













/*Style 'show menu' label button and hide it by default*/
.show-menu {
	text-decoration: none;
	color: #9CCEEF;
	text-align: center;
	display: none;
	background-color: #000000;
	height: 50px;
	padding-top: 15px;
	padding-right: 0;
	padding-bottom: 0px;
	padding-left: 0;
}

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

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


/*Responsive Styles*/
@media screen and (max-width : 960px){
	/*Make dropdown links appear inline*/
	ul {
	position: static;
	display: none;
	}
	/*Create vertical spacing*/
	li {
	margin-bottom: 0px;
	}
	/*Make all menu links full width*/
	ul li, li a {
	width: 100%;
	}
	/*Display 'show menu' link*/
	.show-menu {
	display: block;
	}
	/*Display 'show menu' link*/
	.show-menu {
		display:block;
	}
}
