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

/*Strip the ul of padding and list styling*/
ul {
	width: auto;
	margin-top: 0;
	margin-bottom: 0;
	float: none;
}

/*horizontal list*/
/*box border001s*/
li {
	display: inline-block;
	float: left;
	width: 115px;
	border001-left: 0.3px solid #464646;
	border001-right: 0.3px solid #464646;
	margin-left: 5px;
	margin-right: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

/*Main Menu*/
/*Style for menu links*/
/*Style for background color*/
li a {
	display: block;
	height: 50px;
	line-height: 20px;
	text-decoration: underline;
	background-color: #000000;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	float: none;
	z-index: 1;
	width: 100%;
	padding-top: 10px;
}

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

/*Subs*/
/*Style for dropdown links*/
li:hover ul a {
	height: 90px;
	line-height: 20px;
	text-align: left;
	background-color: #CF1F22;
	width: 100%;
}

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

/*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 {
	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: 20px;
	padding-right: 0;
	padding-left: 0;
	font-weight: bold;
	height: 40px;
}

/*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:1040px){
	/*Make dropdown links appear inline*/
	ul {
	display: none;
	}
	/*Create vertical spacing*/
	li {
	width: auto;
	margin-left: auto;
	margin-right: auto;
	}
	/*Make all menu links full width*/
	ul li, li a {
	width: 100%;
	border001-top: 0.3px solid #464646;
	border001-bottom: 0.3px solid #464646;
	height: 40px;
	}
	/*Display 'show menu' link*/
	.show-menu {
	display: block;
	z-index: 1;
	}
}
