.main-menu-header{
	position: relative;
	padding-bottom: 2px;
}

.main-menu-header:after{
	width: 100%;
	border-style: solid;
	border-width: 0 0 1px;
	width: 100%;
	position: absolute;
	content: "";
	height: 2px;
	bottom: 1px;
	left: 0;
	border-color: inherit;
}

.layout-boxed .fixed,
.fixed{
	position: fixed;
	z-index: 1000;
	width: 100%;
	max-width: 100%;
	background: rgba(255, 255, 255, .95);
}

.toggleMenu {
    color: #898989;
    display: none;
    font-size: 38px;
    line-height: 46px;
    padding: 0 10px;
}

.toggleMenu:hover,
.toggleMenu:focus,
.toggleMenu:active{
	
}

.nav > li.menu-item-has-children > a{
	position: relative;
	padding-right: 10px;
}



.nav {
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: 9em;
}
.nav li {
    position: relative;
}

.nav > li > a:focus {
	color: #fff;
}





.nav > li {
    float: left;
    border-width: 0 0 0 1px;
    border-style: solid;
    margin: 0;
    overflow: visible;
   
}

.nav  li .desc{
	margin-bottom: 0;
	font-size: 11px;
	line-height: 12px;
	text-transform: none;
	display: block;
	padding-bottom: 8px;
	margin-top: -8px;
	color: #808080;
	max-width: 200px;
}

.nav > li > a {
    display: block;
}

.navbar-nav > li:last-child {
	border-width: 0 1px 0 1px;	
}

.navbar-nav > li > a {
	margin: 0 24px;
	text-transform: uppercase;
	font-size: 14px;
	line-height: 46px;
	padding: 0;
}

.home-icon i{
	font-size: 22px;
}

.navbar-nav > .current-menu-item a,
.navbar-nav li:hover > a {
	position: relative;
}

.navbar-nav > .current-menu-item a > span:before,
.navbar-nav li:hover > a > span:before{
	position: absolute;
	content: "";
	width: 100%;
	height: 4px;
	top: -4px;
}

.navbar-nav .current-menu-item li a,
.navbar-nav li li:hover a {
	background: none;
	margin-top: 0;
	padding-top: 0;
}

.subtitle{
	line-height: normal;
	font-size: 10px;
	background-color: red;
	color: #fff;
	padding: 0 5px;
	margin: 0 0 0 10px;
	position: relative;
	display: inline-block;
}

.subtitle:before{
	left: -7px;
	position: absolute;
	content: '\f503';
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    font: normal 8px/1 'Genericons';
    vertical-align: middle;
    color: red;
    top: 3px;
}

.nav li ul {
	background-color: #fff;
	position :absolute;
	z-index: 99999;
	min-width: 230px;	
	-o-border-radius: 0;
	-webkit-border-radius: 0;
	-ms-border-radius: 0;
	border-radius: 0;
	-o-box-shadow: none;
	-webkit-box-shadow: none;
	-ms-box-shadow: none;
	box-shadow: none;
	border-width: 1px;
	border-style: solid;
	padding: 0 0 10px;
	left: -9999px;
	margin-top: 0px;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	-webkit-animation-duration: .5s;
	   -moz-animation-duration: .5s;
	     -o-animation-duration: .5s;
	        animation-duration: .5s;
	-webkit-animation-fill-mode: both;
	   -moz-animation-fill-mode: both;
	     -o-animation-fill-mode: both;
	        animation-fill-mode: both;
	-webkit-animation-name: fadeOut;
  	animation-name: fadeOut;        
}

.nav li ul li{
  position: relative;
  border-bottom: none;
  padding: 7px 10px;
}

.nav > li > a:hover, 
.nav > li > a:focus,
.nav a:hover,
.nav a:focus {
	background-color: transparent;
}

.nav li.hover ul,
.nav li.focus ul {
	margin-top: 0px;
	-webkit-animation-name: fadeIn;
  	animation-name: fadeIn;
}

.nav > li.hover > ul {
    left: 0;	
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    position: relative;
    z-index:100;
	color: #898989;
}

.megamenu > ul > li > a,
.thumb-details .desc a {
	font-size: 15px;
	color: #626262;
}

.megamenu > ul > li > ul{
	margin-left: 10px;
}

.nav li li a:hover {
	color: #626262;
}

.nav li li li a {
    z-index:200;
}

.megamenu ul li p {
	font-size: 13px;
}



.nav .genericon{
	line-height: 22px;
	display: inline-block;
	margin-right: 5px;
}

.nav .single-content-small .image-wrap {
	    margin-right: 10px;
	}

	.nav .single-content-small{
		padding-bottom: 7px;
		margin-bottom: 7px;
	}
/*megamenu-container*/


@media screen and (min-width: 999px) {
	
	.megamenu > ul{
		visibility: hidden;
		padding-top: 30px;
	}

	.nav .megamenu > ul > li{
		border-bottom: none;
		padding-bottom: 20px;
	}

	.nav .megamenu > ul h4{
	    position: relative;
	}

	.nav .megamenu > ul li ul{
		position: relative;
		width: 100%;
		border: none;
		margin-top: 0;
		left: 0;
	}

	.nav .megamenu ul {
		padding: 20px 10px;
	}

	.nav .megamenu ul ul {
		padding: 0;
	}

	.nav .megamenu > ul a{
		padding: 0 0 10px;
	}

	.nav .megamenu ul a.dropdown-toggle {
		text-transform: uppercase;
		font-size: 15px;
	}

	.nav > li.menu-item-has-children > a:after {
		content: '\f431';
		display: inline-block;
		-webkit-font-smoothing: antialiased;
		font: normal 16px/1 'Genericons';
		vertical-align: middle;
		right: -10px;
		position: absolute;
		top: 16px;
	}

	.navbar-nav > .current-menu-item:after, 
	.navbar-nav > li:hover:after{
		content: "";
		position: absolute;
		height: 2px;
		background: #eaeaea;
		bottom: -3px;
		left: 0;
		width: 100%;
	}

	.megamenu.hover > ul{
		visibility: visible;
	}

	.nav  .megamenu > ul .parent{
		background-image: none;
		font-weight: bold;
	}

	.nav  .megamenu > ul .bx-controls a{
		padding: 0;
	}

	.nav  .megamenu > ul iframe{
		width: 100%;
	}

	.nav  .megamenu > ul .bx-wrapper{
		margin-bottom: 20px;
	}

	.nav  .megamenu > ul i{
		padding-right: 0;
	}

	.megamenu .post-meta-info p,
	.megamenu .post-meta-info{
		margin-bottom: 0;
	}

	.nav .single-content-small .right-desc a{
		margin: 0;
	}

	.nav .recent-posts{
		margin: 0;
		padding: 10px;
	}

	.nav .megamenu .recent-posts{
		padding: 0;
	}

	.nav .megamenu .recent-posts > li{
		padding: 0;
	}

	
	.nav .megamenu ul ul {
		margin-left: 0;
	}

	.nav .megamenu ul li > .sub-menu > li{
		padding-left: 20px;
		padding-bottom: 0;
		padding-top: 0;
	}

	.rtl .nav .megamenu ul li > .sub-menu > li{
		padding-right: 20px;
		padding-left: 0;
	}

	.nav .megamenu ul li > .sub-menu > li:before{
		content: "\f501";
		font: normal 8px/23px 'Genericons';
		position: absolute;
		left: 0;
	    font-style: normal;
	    font-weight: normal;
	}

	.navbar-nav  .megamenu li:hover:after{
		background: transparent;
	}

	.rtl .nav .megamenu ul li > .sub-menu > li:before{
		left: auto;
		right: 0;
	}
}

@media screen and (max-width: 1000px) {
   
   .layout-boxed .fixed,
	.fixed{
		position: relative;
		z-index: 9999;
		width: 100%;
		max-width: 100%;
	}
	
	.nav.navbar-nav {
		margin-top: 0;
		min-width: 280px;
		width: 100%;
	}
	
   .navbar-header{
	   	padding-bottom: 0;
   }

   .toggleMenu{
	   	margin-top: 0;
	   	border-left: 1px solid #EAEAEA;
    	border-right: 1px solid #EAEAEA;
   }
	.active {
        display: block;
    }
	
	#header .nav{
		/*border: 1px solid #e9e9e9 !important;
		border-bottom: none !important;*/
		display: none;
	}
	
	#header .nav li ul {
		border-top: 1px solid #E9E9E9 !important;
	}
	
	.nav li ul {
		padding-bottom: 0;
	}

	.nav  li .desc{
		display: none;
	}
	
	.nav li a {
		padding: 0 0 0 5px!important;
	}

	.navbar-nav > .current-menu-item a > span,
	.navbar-nav li:hover > a > span{
		position: relative;
		display: inline-block;
	}
	
	.navbar-nav > .current-menu-item a,
	.navbar-nav li a:hover,
	.navbar-nav li a:focus {
		color: #626262;
	}
	
	.navbar-nav > .current-menu-item a,
	.navbar-nav li:hover > a {
		margin-top: 0;
		color: #626262;
	}
	
	.navbar-nav > li > a {
		line-height: 30px;
		margin: 0;
	}
	
	.nav li li a {
		text-transform: uppercase;
	}
	
	.nav li a{
		background: #fff !important;
	}
	
	.nav li ul,
	.nav{
		margin: 0;
		width: 100%;
		border: none !important;
	}
	
	.nav li ul li {
		border-top: 1px solid #eaeaea;
		border-left: 1px solid #eaeaea;
	}

	.single-content-small .right-desc{
		border-bottom: none;
	}
	
	.navbar-nav > li {
    	border: 1px solid #eaeaea;
		border-bottom: none;
	}
	
	.navbar-nav > .current-menu-item a,
	.navbar-nav li a:hover {
		margin-top: 0;
	}
	
    .nav > li {
        float: none;
    }
	/*.nav > li > .parent {
        background-position: 95% 50%;
    }*/
  
    .nav > li > .parent {
   		background-image: none; 
  	}

    .nav .menu-item-has-children .more {
        border-left: 1px solid #E9E9E9;
    	cursor: pointer;
	    font-size: 20px;
	    line-height: 30px;
	    margin: 0;
	    padding: 0;
	    position: absolute;
	    right: 0;
	    text-align: center;
	    top: 0;
	    width: 12%;
	    z-index: 200;
    }

    .nav .menu-item-has-children li .more{
    	line-height: 30px;
    }

    .nav .single-content-small .more,
    .thumb-details .more{
    	display: none;
    }

    .nav .megamenu > ul li ul{
    	position: relative !important;
    	left: 0 !important;
    }

    .nav .megamenu > ul h4{
    	padding-bottom: 0;
    	margin-bottom: 0;
    	font-size: 13px
    }

    .nav .single-content-small{
    	padding: 5px;
    	margin: 0;
    	border: none;
    }

    .nav > li.menu-item-has-children > a:after{
    	background: none;
    }
	
    .nav ul {
        display: block;
        width: 100%;
    }

   .nav > li.hover > ul , 
   .nav li li.hover ul {
        position: relative;
        visibility: visible;
    }
	
	/*megamenu*/
	.nav .megamenu > ul{
		padding-top: 0;
	}
	
	.nav .megamenu ul{
		padding: 0;
		width: 100% !important
	}
	
	.nav .megamenu ul li {
		padding: 0;
		width: 100%;
	}
	
	.nav .megamenu ul li a {
		padding-left: 15px!important;
		line-height: 30px;
	}
	
	.nav li li li a {
		line-height: 20px;
	}
	
	.megamenu > ul > li > ul {
    	margin-left: 0;
	}
	
	.nav .megamenu > ul i {
    	padding-right: 0;
	}
	
	.megamenu > ul > li > a, 
	.thumb-details .desc a {
		font-size: 14px;
	}
   
   .nav li .megamenu-container > li{
	   border-bottom: 1px solid #E9E9E9;
	   padding-bottom: 0;
   }
   
   .nav li .megamenu-container > li > a{
	   padding-left: 0 !important;
   }
   
   .nav li .megamenu-container h4{
	   border-bottom: none;
	   margin: 0;
	   padding-bottom: 0;
   }
   
   .nav li .megamenu-container > li ul li:last-child{
	   border-bottom: none;
   }
   
   .nav li .megamenu-container > li:last-child{
	   border-bottom: none;
   }
   
   .nav .megamenu > ul li ul{
	   position: absolute;
	   left: -9999px;
   }
   
   .nav .megamenu > ul .hover ul{
	   position: static;
   }
   
   .nav .megamenu .more{
	   
   }
   
  .nav .megamenu .thumb-details .image a {
	   padding: 10px 10px 0 10px !important;
   }
   
   .thumb-details .desc span {
	   display: none;
   }

   .navbar-nav > li:last-child{
   	border-width: 1px 1px 0 1px;
   }

}