
.fixed{
	top:0;
	position:fixed;
	margin:auto;
	left:0;
	right:0;
	z-index:9999;
	}



nav{
	text-align:center;
	transition: all 0.3s ease;
	margin:auto;
	position:static;
	background: #ff6600;
	 /* background: -moz-linear-gradient(top, #ff6600 0%, #bd2e02 100%);
	  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ff6600), color-stop(100%, #bd2e02));
	  background: -webkit-linear-gradient(top, #ff6600 0%, #bd2e02 100%);
	  background: -o-linear-gradient(top, #ff6600 0%, #bd2e02 100%);
	  background: -ms-linear-gradient(top, #ff6600 0%, #bd2e02 100%);
	  background: linear-gradient(to bottom, #ff6600 0%, #bd2e02 100%);*/
}

/********************************************************** Main Menu */
nav > li{
	position: relative !important;
	display:inline-table;
	padding:15px 20px;
	outline:none;
	text-align:left;
	cursor:pointer;
	box-shadow:0px 0px 1px #B5C8CA;
	margin-left:-3px;
	}
nav > li:hover, 
nav > li:focus{
	background-color:#ffd5c8;
	

}
nav li a{
	display:block;
	text-decoration:none;
	color: #FFF;
	text-transform: uppercase;
	}
nav > li:hover a, 
nav > li:focus a{
	color: #333;
	background-color:#ffd5c8;
	}

nav > li:hover > .sub,
nav > li:focus > .sub{
	max-height:999px;
	opacity:1;
	
}




/********************************************************** Sub Menu */
.sub{
	position: absolute;
	top:45px !important;
	left:0px;
	right:0px;
	transition: all 0.5s ease;
	opacity:0;
	overflow:hidden;
	max-height:0px;
	white-space:normal;
	min-width:250px;
	z-index:9999;
	margin-top:5px;
	padding: 20px 0px;
	background-color:#ffd5c8;
	/*background-image: url(overlay.png);*/	
}

.sub > div{
	padding:7px 25px;	
	}
	

.sub > div:hover{
	opacity:0.8;
	}	

/********************************************************** Toggle */
#toggle, 
#toggle + label {
	display:none;
	background-color: #ff6600;
	cursor:pointer;
	background-image: url(nav.png);
	background-repeat: no-repeat;
	background-position: right 25px center;	
	height:44px;
	position:relative;
}
#toggle + label:after {
	content:"MENU";
	position:absolute;
	left:25px;
	top:13px;
	color:#FFF;
}

@media only screen and (max-width: 820px) {
#toggle + label{
	display:block;
	}
		
#toggle:checked ~ nav {
	display:block;
	max-height:999px;
}
.fixed{
	top:0;
	position:static;
	}
nav {
	transition: all 1s ease;
	position: static;
	display:block;
	max-height:0px;
	overflow:hidden;
}
nav > li{
	display:block;
	padding:7px 25px;

	}	
.sub{
	position: static;
	background:transparent;
	padding:0px 0px;
	margin-top:0px;
}
}
