nav{
	display: table-cell;
	text-transform: capitalize;
	vertical-align:bottom;
	/*position:relative;*/

}
nav ul{
	margin: 0px;
	padding: 0px;
	text-align:right; 	
}

/* Main Menu */
nav ul li{
	display:inline-block;
	cursor:pointer;
	outline:none;
	list-style-type: none;
}
nav ul li > a{
	text-transform: uppercase;
	display:block;
	color: #000;
	padding:12px 20px 5px 20px;
	text-decoration: none;
	background-color: #EAEAEA;
}
nav ul li:hover > a, 
nav ul li > a:hover,
nav ul li:focus > a
{
	OPACITY:1;
	background-color:#e9c857;
	font-weight: bold;
	color: #FFF;	
}
nav ul li:focus > a{
background-color:#e9c857;
color:#FFF;
}
/*on rollover */
nav ul li:hover .submenu,
nav ul li:focus .submenu{
	visibility:visible;
	opacity:1;
}

/* Sub Menu */
.submenu{
	opacity:0;
	position: absolute;	
	visibility:hidden;
	-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;
	z-index: 99999;
	display:block;
	background-color:rgba(233, 233, 233, 1);
	padding:10px 30px 30px 30px;
	border-top-width: 4px;
	border-top-style: solid;
	border-top-color: #e9c857;
	box-sizing:border-box;
	white-space:nowrap;
	overflow-x:hidden;	
	margin:auto;
}

/*when screen width smaller than submenu*/
@media only screen and (max-width: 990px) {
.submenu{
	overflow-x:auto;
}
}

.submenu box{
	display:inline-block;
	vertical-align:top;
	text-align:left;
	margin-right:30px;
	}

.submenu box h6 > a{
	font-size: 15px;
	display:block;
	color: #99CC00 !important;
	margin-bottom:-20px;
	text-transform: uppercase;
	padding:0px;
}

.submenu box > a{
	font-weight: normal;
	display: block; /*change to inline-block for multi column*/
	padding:5px 10px 0px 10px;
	color: #000;
	text-decoration: none;
	text-transform: uppercase;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #CCC;
	font-size:14px;
}

.submenu box > a:hover{
	opacity:1;
	color:#FFF;
	background-color:#e9c857;

}









#toggle, #toggle + label{
	display:none;
	vertical-align:middle;
	cursor:pointer;
	float:right;
	padding:15px;
}


@media only screen and (max-width: 930px) {
#toggle + label{
	display:table-cell;
}

nav{
	position: fixed;
	top: 0px;
	left: -1000px;
	height:100vh;
	min-width:250px;
	max-width:80%;
	overflow:auto;
	-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;
	background-color:#FFF;
	padding:35px 0px;
	box-shadow:0px 0px 5px #000;
	box-sizing:border-box;
	z-index:99999;
}
#toggle:checked ~ nav {
	left: 0px;
}
nav ul{
	text-align:left;
}
/* Main Menu */
nav ul li{
	display:block;
}
nav ul li:hover > .submenu,
nav ul li:focus > .submenu{
	position: static;
	max-height:300px;
	overflow:auto;
}
.submenu{
	display:block;
	padding:0px 20px 0px 20px;
	border-top-width: 0px;
	text-align:left;	
	}
.submenu box{
	min-width:;
	margin-right:0px;
	display:block;
	}
}

