#level_1 {
 list-style: none;
 float: right;
}
#level_1 li {
 float: left;
 display: block;
 z-index: 999;
 margin: 0px!important;
 position:relative;
}
#level_1 li a {
 position: relative;
 display: block;
 text-decoration: none;
 color: #222 !important;
 zoom: 1;
 padding: 14px 20px 13px 20px;
 font-size: 13px;
 font-weight:600;
 text-transform: capitalize;
 border-bottom:4px solid transparent;
 -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.has-nav {
 position: relative;
}
#level_1 li a.has-nav::after {
 font-family: 'FontAwesome';
 color: #222;
 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    ";
 font-weight: normal;
}
#level_1 li a#contact {
 background:#fdc30a;
 color: #222!important;text-transform: uppercase;
}
#level_1 li a:hover, #level_1 li a.active {
 color: #fdc30a !important;
}
/*********************************************************************************
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: 50% 50%;
 -moz-transform-origin: 50% 50%;
 -ms-transform-origin: 50% 50%;
 -o-transform-origin: 50% 50%;
 transform-origin: 50% 50%;
 -webkit-transform: perspective( 600px ) rotateX( 40deg );
 -moz-transform: perspective( 600px ) rotateX( 40deg );
 -ms-transform: perspective( 600px ) rotateX( 40deg );
 -o-transform: perspective( 600px ) rotateX( 40deg );
 transform: perspective( 600px ) rotateX( 40deg );
 -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;
 -webkit-box-shadow: 0px 15px 28px rgba(0, 0, 0, 0.1);
 -moz-box-shadow: 0px 15px 28px rgba(0, 0, 0, 0.1);
 box-shadow: 0px 15px 28px rgba(0, 0, 0, 0.1);
}
#level_1 #level_2 li {
	width: 220px;
	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 #f0f0f0 solid;
	border-top:0px;
	background:#fff;
	color:#666 !important;
	padding-top:12px;
	padding-bottom:12px;
	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: 13px 7px 9px 7px;
	font-weight: normal;
}
}
 @media only screen and (min-width:992px) and (max-width:1169px) {
#level_1 li a {
 padding: 14px 16px 13px 16px;
}
}
