/*----------------------------------------------------------------------------------------

TABLE OF CONTENTS:
1. Menu
2. Mega Menu

----------------------------------------------------------------------------------------*/

/*----------------------------------------------------------------------------------------
1. Menu
----------------------------------------------------------------------------------------*/

#thmlvHeaderMenu ul ul {
	display: none;
}

#thmlvHeaderMenu ul li:hover > ul {
	display: block;
}

#thmlvHeaderMenu > ul > li.menu-item-has-children {
	margin-right:10px;
	padding-right:2px;
}

#thmlvHeaderMenu ul ul li.menu-item-has-children a {
	margin-right:40px;
}

#thmlvHeaderMenu ul li.menu-item-has-children > a:after {
	content: "\f105";
	display: block;
	font-family: FontAwesome;
	height: 30px;
	position: absolute;
	right: 20px;
	line-height:12px;
	text-align:left;
	top: .9em;
	width: 10px;
}

#thmlvHeaderMenu > ul > li.menu-item-has-children > a:after {
	content: "\f107";
	height: auto;
	line-height: 13px;
	margin-top: -5px;
	right: 3px;
	top: 50%;
	
}

#thmlvHeaderMenu ul {
	list-style: none;
	margin:0;
	padding: 0;
	position: relative;
}

#thmlvHeaderMenu ul:after {
	clear: both;
	content: "";
	display: block;
}

#thmlvHeaderMenu ul li {
	display:inline-block;
	position:relative;
	white-space:nowrap;
}

#thmlvHeaderMenu ul li:hover {
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

#thmlvHeaderMenu > ul > li > a {
	opacity: 1;
	-webkit-transition: opacity 0.3s;
	-moz-transition: opacity 0.3s;
	-o-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

#thmlvHeaderMenu > ul > li:hover > a {
	opacity: 0.6;
}
	
#thmlvHeaderMenu ul li a {
	display: inline-block;
	padding-left: 15px;
	padding-right: 15px;
}


@-webkit-keyframes main_nav_anim {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@-moz-keyframes main_nav_anim {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@-o-keyframes main_nav_anim {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

@keyframes main_nav_anim {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

#thmlvHeaderMenu ul ul {
	-webkit-animation-duration: .3s;
	-moz-animation-duration: .3s;
	-o-animation-duration: .3s;
	animation-duration: .3s;
	
	-webkit-animation-fill-mode: both;
	-moz-animation-fill-mode: both;
	-o-animation-fill-mode: both;
	animation-fill-mode: both;
			
	-webkit-animation-name: main_nav_anim;
	-moz-animation-name: main_nav_anim;
	-o-animation-name: main_nav_anim;
	animation-name: main_nav_anim;
	
	background: #fff;
	box-shadow: 0px 0px 5px rgba(0,0,0,0.20);
	left:-15px;
	line-height: 23px;
	min-width:250px;
	padding: 15px 0;
	position: absolute;
	top: 100%;
	z-index: 99999;
}

#thmlvHeaderMenu ul ul li {
	border-top: 0px solid #ccc;
	display:block;
	float: none;
	position: relative;
	text-align:left;
	z-index: 99999;
}

#thmlvHeaderMenu ul ul li:last-child {
	border-bottom: 0px solid #ccc;
}
	
#thmlvHeaderMenu ul ul li a {
	border-bottom: 2px solid transparent;
	color: #000 !important;
	font-size: 0.875rem;
	margin: 3px 30px;
	padding:0;
	text-transform: none;	
}
			
#thmlvHeaderMenu ul ul li a:hover {
	border-bottom-width:2px;
	border-bottom-style:solid;
	-webkit-transition: all 0.3s ease-out;
	-moz-transition: all 0.3s ease-out;
	-o-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

#thmlvHeaderMenu ul ul ul {
	position: absolute;
	left: 100%;
	top:-15px;
}

#thmlvHeaderMenu ul ul ul li a {
	display: inline-block;
}

/*----------------------------------------------------------------------------------------
2. Mega Menu
----------------------------------------------------------------------------------------*/

#thmlvHeaderMenu .thmlvMegaMenu ul .sub-menu {
	display: block;
    position: static;
}

#thmlvHeaderMenu .thmlvMegaMenu li.menu-item-has-children a:after {
	display:none;
}

#thmlvHeaderMenu .thmlvMegaMenu ul ul {
	background:none;
	box-shadow: 0px 0px 0px rgba(0,0,0,0);
}

#thmlvHeaderMenu .thmlvMegaMenu > ul {
	padding:20px 0 0 0;
	position:absolute;
	margin:0;
}

#thmlvHeaderMenu .thmlvMegaMenu > ul.with_bg_image {
	background-position:top right;
	background-repeat:no-repeat;
	background-size:cover;
	padding:20px 150px 0 0;
}

#thmlvHeaderMenu .thmlvMegaMenu > ul ul {
	margin:0;
	padding:5px 0 20px 0;
}

#thmlvHeaderMenu .thmlvMegaMenu > ul ul ul {
	margin:0;
	padding:5px 0 0 0;
}

#thmlvHeaderMenu .thmlvMegaMenu > ul > li {
	display:table-cell;
	min-width: 250px;
	width:250px;
}

#thmlvHeaderMenu .thmlvMegaMenu > ul > li > a {
	font-weight: bold;
}

#thmlvHeaderMenu sup {
    font-size: 9px;
    /*font-weight: 900;*/
}

#thmlvHeaderMenu .fa {
	font-size: 14px;
	margin-right: 3px;
}

#thmlvHeaderMenu sup .fa {
    font-size: 9px; 
    margin-left: 3px;
}