/* 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;
	padding: 0;
	margin-top: 0;
	margin-bottom: 0px;
	position: absolute;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

/*Create a horizontal list with spacing*/
li {
	display: inline-block;
	float: left;
	width: 150px;
	height: 50px;
	margin-left: 0px;
}

/*Main Menu*/
/*Style for menu links*/
li a {
	display: block;
	height: 50px;
	line-height: 20px;
	text-decoration: none;
	text-align: center;
	width: 150px;
	float: left;
	margin-top: 0px;
}

/*Main Menu*/
/*Hover state for top level links*/
li:hover a {
	color: #FFF;
}

/*Subs*/
/*Style for dropdown links*/
li:hover ul a {
	line-height: 10px;
	text-align: left;
	background-color: #85C45B;
	padding-top: 0px;
	width: 160px;
	border-top-width: 0.1px;
	border-top-style: outset;
	border-top-color: #CAC6C7;
	padding-bottom: 0px;
	border-bottom: thin solid #FFFFFF;
}

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

/*Hide dropdown links until they are needed*/
li ul {
	display: none;
	padding-left: 0px;
}

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

/*Prevent text wrapping*/
li ul li a {
	padding-top: 0;
	padding-right: 20px;
	padding-left: 5px;
	padding-bottom: 0;
	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: left;
	display: none;
	padding-top: 5px;
	padding-right: 0;
	padding-left: 0;
	font-weight: bold;
}

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

/*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: #FFFFFF;
	text-align: center;
	display: none;
	background-color: #000000;
	height: 20px;
	padding-top: 5px;
	padding-right: 0;
	padding-bottom: 10px;
	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:1100px){
	/*Make dropdown links appear inline*/
	ul {
	position: static;
	display: none;
	}
	/*Create vertical spacing*/
	li {
	padding-left: 0px;
	margin-right: 0px;
	background-color: #516475;
	float: left;
	height: auto;
	padding-top: 10px;
	}
	/*Make all menu links full width*/
	ul li, li a {
	float: left;
	text-align: left;
	display: list-item;
	clear: left;
	width: 100%;
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
	}
	/*Display 'show menu' link*/
	.show-menu {
	display: block;
	width: 69px;
	height: 50px;
	background-image: url(../images/website/menu.png);
	background-repeat: no-repeat;
	margin-bottom: 16px;
	margin-left: 28px;
	}
}
