#level_1 {
	list-style: none;
	float:right;
	margin: 10px 0 0!important;
}
#level_1 li {
	float: left;
	display: block;
	z-index: 999;
	margin: 0 0 0 2px!important;
	position:relative;
}
#level_1 li a {
	position: relative;
	font-weight: 600;
	display: block;
	text-decoration: none;
	color: #162f79 !important;
	zoom: 1;
	padding: 8px 24px;
	font-size: 14px;
	line-height:24px;
	text-transform:capitalize;
	overflow: hidden;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-ms-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}

#level_1  li  a:before {
    content: '';
    display: block;
    border-bottom: 2px solid #a68244;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0px;
    bottom: 0;
    width: 0;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-out;
}
/* #level_1 li a:before { */
	/* transform: translateX(100%); */
	/* content: ''; */
	/* position: absolute; */
	/* bottom: 0; */
	/* left: 0; */
	/* width: 99.5%; */
	/* height: 2px; */
	/* border-bottom: 1px solid transparent; */
	/* border-left: 1px solid transparent; */
/* } */
/* #level_1 li a:after { */
	/* transform: translateX(-100%); */
	/* content: ''; */
	/* position: absolute; */
	/* top: 0; */
	/* left: 0; */
	/* width: 99.5%; */
	/* height: 2px; */
	/* border-top: 1px solid transparent; */
	/* border-right: 1px solid transparent; */
/* } */
#level_1 li a.has-nav{
	position: relative;
}
#level_1 li a.has-nav:after  {
	font-family: 'FontAwesome';
	font-size: 14px;
	color: #a68244;
	margin-left: 10px;
	text-align: center;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-ms-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
	content: "\f0d7      ";
	float: right;
	margin-top: 0px;
}
#level_1 li:hover a {
	color:#FFF !important;
	background:#f87805;
}

/* #level_1 >   li > a:hover:before, #level_1 li a.active:before { */
/* transition: .2s transform linear, .2s height linear .2s; */
	/* transform: translateX(0); */
	/* height: 100%; */
	/* border-color: #a68244; */
/* } */
/* #level_1 > li > a:hover:after, #level_1 li a.active:after { */
/* transition: .2s transform linear .4s, .2s height linear .6s; */
	/* transform: translateX(0); */
	/* height: 100%; */
	/* border-color:#a68244; */
/* } */
/*********************************************************************************
level 2 start
***************/
#level_1 #level_2 {
	position: absolute;
	z-index:1;
	top:45px;
	display: block;
	max-height: 0px;
	max-width: 0px;
	opacity: 0;
	overflow: hidden;
	webkit-transform-origin: 0% 0%;
	-moz-transform-origin: 0% 0%;
	-ms-transform-origin: 0% 0%;
	-o-transform-origin: 0% 0%;
	transform-origin: 0% 0%;
	-webkit-transform: perspective( 600px ) rotateX( -90deg );
	-moz-transform: perspective( 600px ) rotateX( -90deg );
	-ms-transform: perspective( 600px ) rotateX( -90deg );
	-o-transform: perspective( 600px ) rotateX( -90deg );
	transform: perspective( 600px ) rotateX( -90deg );
	-webkit-transition: -webkit-transform 0.5s ease, opacity 0.6s ease, max-height 0.6s step-end, max-width 0.6s step-end, padding 0.6s step-end;
	-o-transition: -o-transform 0.5s ease, opacity 0.6s ease, max-height 0.6s step-end, max-width 0.6s step-end, padding 0.6s step-end;
	transition: transform 0.5s ease, opacity 0.6s ease, max-height 0.6s step-end, max-width 0.6s step-end, padding 0.6s step-end;
}
#level_1 #level_2 li {
	width: 200px;
	float: none;
	text-align: left;
	position:relative;
	white-space:nowrap;
	-webkit-transition: all 0.4s ease-out;
	-moz-transition: all 0.4s ease-out;
	-ms-transition: all 0.4s ease-out;
	-o-transition: all 0.4s ease-out;
	transition: all 0.4s ease-out;
}
#level_1 #level_2 a {
	border-bottom: 1px #f5f5f5 solid;
	border-top:0px;
	background:#fff;
	color:#0c0c0c!important;
	padding-top:8px;
	padding-bottom:8px;
	padding:8px 15px;
	text-transform:inherit
}
#level_1 #level_2 li:last-child a {
	border: none;
}
#level_1 #level_2 li a:hover {
     background: #f5f5f5;
    color: #666!important;
}
/**********************************************************/
#level_1 li:hover #level_2 {
	overflow: visible;
	max-height: 3000px;
	max-width: 3000px;
	opacity: 1;
	-webkit-transform: perspective( 600px ) rotateX( 0deg );
	-moz-transform: perspective( 600px ) rotateX( 0deg );
	-ms-transform: perspective( 600px ) rotateX( 0deg );
	-o-transform: perspective( 600px ) rotateX( 0deg );
	ransform: perspective( 600px ) rotateX( 0deg );
	-webkit-transition: -webkit-transform 0.5s ease, opacity 0.2s ease, max-height 0s step-end, max-width 0s step-end, padding 0s step-end;
	-o-transition: -o-transform 0.5s ease, opacity 0.2s ease, max-height 0s step-end, max-width 0s step-end, padding 0s step-end;
	transition: transform 0.5s ease, opacity 0.2s ease, max-height 0s step-end, max-width 0s step-end, padding 0s step-end;
}
}
#level_1 li:hover #level_2 li {
	width: 200px;
	float: none;
	text-align: left;
	position:relative;
}
/**********************************************************/




 @media only screen and (min-width:320px) and (max-width:767px) {
 #level_1 {
 display:none;
}
}
 @media only screen and (min-width:768px) and (max-width:991px) {
	#level_1 li a {
		padding: 6px 8px !important;
		font-size: 12px;
		line-height:20px;
	}
	#level_1 {
			margin: 0px 0 0!important;
	}
}
 @media only screen and (min-width:992px) and (max-width:1169px) {
	 #level_1 {
		margin: 15px 0 0 !important;
	}
	 #level_1 li a {
		 padding: 6px 14px;
		 text-transform:capitalize
	}
}
