nav{
	display:block;
	text-transform: capitalize;
	position:absolute;
	right:0px;
	top:98px;
	-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;
}
.shrink_nav{
	top:15px;
	}

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;
	position:relative;
	text-align:left;
}
nav ul li > a{
	transition: 0.3s ease;
	color: #FFF;
	font-size: 14px;
	text-decoration: none;
	text-transform: uppercase;
	text-decoration: none;
	background-size: 100% 200%;
	background-image: linear-gradient(to bottom, transparent 50%, #dfb406 50%);
	-webkit-transition: background-position 0.2s;
	-moz-transition: background-position 0.2s;
	transition: background-position 0.2s;
	-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;
	padding-top: 10px;
	padding-right: 8px;
	padding-bottom: 10px;
	padding-left: 8px;	
}
nav ul li:hover > a, 
nav ul li > a:hover,
nav ul li:focus > a
{
	color: #FFF;
	background-position: 0 -100%;		
	/*for the font color change slower than bg transition*/
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}
}
/*on rollover */
nav ul li:hover submenu,
nav ul li:focus submenu{
	max-height:400px;
	z-index:999;
	margin-top:12px;
	overflow:auto;
	padding:20px 0px;
}
nav ul li:hover > submenu,
nav ul li:focus > submenu{
	max-height:888px;
	}
/* Sub Menu */
submenu{
	position: absolute;
	max-height:0px;
	overflow:hidden;
	width:300px;
	transition: 1s ease;
	background-color:rgba(0,0,0,0.8);
	margin-top:16px;
	padding:0px 0px;
}


submenu > a{
	font-weight: normal;
	display: block; /*change to inline-block for multi column*/
	padding: 15px 25px;
	color:#fff;
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #666;

}
submenu > a:hover{
	color:#e5b8b3;
}








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


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

nav{
	position: fixed;
	top: 60px;
	right: -1000px;
	height:100vh;
	min-width:250px;
	max-width:80%;
	-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:#122028;
	padding:35px 0px;
	box-sizing:border-box;
	z-index:99999;
}
.shrink_nav{
	top:60px;
	}
#toggle:checked ~ nav {
	right: 0px;
}
nav ul{
	text-align:left;
}
/* Main Menu */
nav ul li{
	display:block;
	padding: 5px;
}

nav ul li > a{
  

}

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;
		font-size:12px;
	}
}

