#level_1 {
	list-style: none;
}
#level_1 li {
	float: left;
	display: block;
	z-index: 999;
	position:relative;
	margin:0 5px!important;
}
#level_1 li a {
	position: relative;
	display: block;
	text-decoration: none;
	color: #000 !important;
	zoom: 1;
	padding: 8px 14px;
	font-size: 13px;
	letter-spacing:1px;
	text-transform: uppercase; 
	webkit-transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
	-moz-transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
	transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
#level_1 li a i {
	font-size: 19px;
}
#level_1 > li > a:before {
	content:'';
	display: block;
	background:#f0f0f0;
	border-radius:25px; 
	position:absolute;
	z-index:-1;
	left:50%;
	right:50%;
	top:0px;
	bottom:0px;
	opacity:0;
	webkit-transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
	-moz-transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
	transition: all 600ms cubic-bezier(0.075, 0.82, 0.165, 1);
}
#level_1 li a.has-nav {
	position: relative;
}
#level_1 li a.has-nav::after {
 font-family: 'FontAwesome';
 color: #333;
 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:hover:before, #level_1 li a.active:before, #level_1 li a#contact:before {
	left:0%;
	right:0%;
	opacity:1;
}
#level_1 li a#contact{
	margin-left:18px;
}
#level_1 li a#contact:before {
border:1px solid #000;background:transparent;
}
#level_1 li a#contact:hover:before{
background:#000;
}
#level_1 li a#contact:hover{
color:#fff!important;
}
 
/*********************************************************************************
level 2 start
***************/
#level_1 #level_2 {
	position: absolute;
	z-index:1;
	top:35px;
	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: scaleY( 0 );
	-moz-transform: scaleY( 0 );
	-ms-transform: scaleY( 0 );
	-o-transform: scaleY( 0 );
	transform:  scaleY( 0 );
	-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 10px 20px rgba(0, 0, 0, 0.08);
	-moz-box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
	box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.08);
}
#level_1 #level_2 li {
	width: 200px;
	float: none;
	text-align: left;
	position:relative;
	white-space:nowrap;
	margin: 0px!important;
	-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:#333!important;
	padding:8px 15px;
	text-transform:inherit
}
#level_1 #level_2 li:last-child a {
	border: none;
}
#level_1 #level_2 li a:hover {
	background:#f2f2f2;
	color:#333!important;
}
/**********************************************************/
#level_1 li:hover #level_2 {
	overflow: visible;
	max-height: 3000px;
	max-width: 3000px;
	opacity: 1;
	-webkit-transform: scaleY(1);
	-moz-transform: scaleY(1);
	-ms-transform: scaleY(1);
	-o-transform: scaleY(1);
	transform: scaleY(1);
	-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 { 
	margin:0 2px!important;
}
#level_1 li a {
 padding: 8px 8px; 
 text-transform: capitalize;
}
#level_1 li a#contact{
	margin-left:0px;
}
}
 @media only screen and (min-width:992px) and (max-width:1169px) {
#level_1 li a {
 padding: 8px 10px;
} 
#level_1 li a#contact{
	margin-left:30px;
}
}
