nav{
	display: table-cell;
	vertical-align:bottom;
	font-size: 16px;
	text-transform:capitalize;
}

nav ul{
	margin: 0px;
	padding: 0px;
	float:right;
}
/* Main Menu */
nav ul li{
	display:inline-block;
	cursor:pointer;
	outline:none;
	list-style-type: none;
}
nav ul li > a{
	text-transform: capitalize;
	font-weight: normal;
	display:block;
	border-top-width: 10px;
	border-top-style: solid;
	border-top-color: #FFF;
	color: #666666;
	text-shadow:1px 1px 3px #eeeeee;
	padding: 15px;
	padding-bottom: 20px;
	padding-left: 15px;
	text-decoration: none;
}
nav ul li > a:hover{
	border-top-color: #FF0000;
	color: #FF0000;
	OPACITY:1;
	border-top-left-radius:0px;
	border-top-right-radius:0px;
}
	
/*on rollover */
nav ul li:focus > .submenu{
	visibility:visible;
	opacity:1;
	
}

/* Sub Menu */
.submenu{
	opacity:0;
	position: absolute;
	background-color: #363636;
	visibility:hidden;
	overflow:hidden;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-ms-transition: all 0.5s ease;
	transition: all 0.5s ease;
	z-index: 99999;
	text-align:left;
	border-top-width: 3px;
	border-top-style: solid;
	border-top-color: #FF0000;
	padding: 10px;
	box-shadow:0px 0px 5px #333;
	background-image: url(arrow.png);
	background-repeat: no-repeat;
	background-position: 40px top;
}
.submenu > a{
	font-weight: normal;
	display: block; /*change to inline-block for multi column*/
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 10px;
	color: #cccccc;
	text-decoration: none;
}

.submenu > a:hover{
	background-color: #FF0000;
	opacity:1;
	color:#fff;
}




#toggle, #toggle + label{
	display:none;
}
#toggle + label {
	position:absolute;
	right:10px;
	top:0px;
	cursor:pointer;
}

@media only screen and (max-width: 850px) {
#toggle + label{
	display:block;
	margin-top:20px;
}

nav{
	position: fixed;
	top: 0px;
	left: -1800px;
	z-index: 9999;
	background-color: #fff;
	width:auto;
	height:100vh;
	overflow-y:scroll;
	box-shadow:0px 0px 5px #333;
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
	-ms-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
nav ul li > a{
	padding-top: 10px;
	padding-bottom: 10px;	
	border-top:none;
}
#toggle:checked ~ nav {
	left: 0px;
}
nav ul{
	float:left;
}
/* Main Menu */
nav ul li{
	display:block;
}
nav ul li > .submenu{
	position: static;
	opacity:1;
	visibility:visible;
	overflow:hidden;
}
nav .separator{
	display:none;
	}

}

