/**
 * IceMegaMenu Extension for Joomla 3.0 By IceTheme
 * 
 * 
 * @copyright	Copyright (C) 2012 IceTheme.com. All rights reserved.
 * @license		GNU General Public License version 2
 * 
 * @Website 	http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
 *
 */
 
/* clear some styles */
.icemegamenu ul, 
.icemegamenu li {
	list-style-type: none;
	padding: 0;
	margin: 0;
}
.collapse {
	overflow: visible!important;
}
  
/* begin mainmenu */ 
.icemegamenu > ul {
	position: relative;
	margin: 0;
	padding: 0;
	z-index: 999;
	clear: both;
	width: 100%;
}
.icemegamenu > ul > li {
	position: relative;
	display: block;
	float: left;
	border-left: 1px solid #FFF;
}
.icemegamenu > ul > li:last-child {
    border-right: 1px solid #FFF;
}
.icemegamenu > ul > li  a.iceMenuTitle {
	position: relative;
	z-index: 9999;
	display: block;
	padding: 14px 31px 10px;
	color: #FFF;
	text-decoration: none;
	-webkit-transition: all .25s ease-out;
	-moz-transition: all .25s ease-out;
	-ms-transition: all .25s ease-out;
	-o-transition: all .25s ease-out;
	transition: all .25s ease-out;
}
.icemegamenu > ul > li:last-child a {
	padding: 14px 33px 10px 33px;
}
.icemegamenu ul > li  a.iceMenuTitle:hover,
.icemegamenu ul > li:hover > a.iceMenuTitle,
.icemegamenu ul > ul > li:hover >  a.iceMenuTitle,
ul.icesubMenu li.active a.iceMenuTitle {
	background: rgb(70, 146, 202);
}
div.icemegamenu ul#icemegamenu  li.active a.icemega_active > span.icemega_title {
}		
				
/* subtitles */
.icemegamenu > ul > li span.icemega_desc {
	display: block;
	font-size: 12px;
	font-family: Verdana, Geneva, sans-serif;
	padding: 0;
	line-height: 1.25em;
	color: #999!important;
	margin-bottom: 7px;
	margin-top: -8px;
	text-shadow: none!important;
}

/* when dont have subtitle */
.icemegamenu > ul > li >  a.iceMenuTitle > span.icemega_nosubtitle {
	display: block;
}

/* when is current */	
.icemegamenu > ul > li.active {
}
.icemegamenu > ul > li.active:first-child {
}
.icemegamenu > ul > li.active:first-child a {
	padding: 14px 36px 10px 35px;}
.ice-megamenu-toggle {
	float: right;
}
.ice-megamenu-toggle {
	display: none;
}
.ice-megamenu-toggle a {
	background: url("../images/mobile_menu_btn.png") no-repeat scroll 0 0 transparent;
	display: block;
	height: 30px;
	margin-top: 20px;
	text-indent: -9999px;
	width: 30px;
	cursor: pointer;
}					

/* Submenu */
ul.icesubMenu {
	position: absolute;
	z-index: 600;
	margin: 0;
	top: 80px;
	left: -1px;
	visibility: visible;
	max-width: 100%;
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	background: #222;
	background: -moz-linear-gradient(#444, #111);
	background: -webkit-linear-gradient(#4692CA, #176FB0);
	background: -o-linear-gradient(#4692CA, #176FB0);
	background: -ms-linear-gradient(#4692CA, #176FB0);
	background: linear-gradient(#4692CA, #176FB0);
	border: 1px solid #FFF;
	border-top: 0;
	-webkit-transition: all .25s ease-out;
	-moz-transition: all .25s ease-out;
	-ms-transition: all .25s ease-out;
	-o-transition: all .25s ease-out;
	transition: all .25s ease-out;
}
#icemegamenu > li:hover > ul.icesubMenu {
	opacity: 1;
	max-height: 1000px;
	overflow: visible;
	top: 42px;
}
ul.icesubMenu ul > li {
	position: relative;
	padding: 0 14px;
}
ul.icesubMenu > li a.iceMenuTitle {
	height: auto;
	display: block;
	font-size: 14px;
	margin: 0;
	padding: 5px 32px;
	border-radius: 0;
	border-top: 1px dotted rgba(255, 255, 255, 0.3);
}
ul.icesubMenu > li:hover a.iceMenuTitle {
	background: rgb(90, 165, 221);
}
ul.icesubMenu > li:first-child a.iceMenuTitle {
    border-top: 0;
}
/* when is parent */
ul.icesubMenu li.parent {
	background: url(../images/arrow.png) no-repeat 93% 45%;
}

/* Second Level Dropdown */
ul.sub_level_2,
ul.sub_level_3,
ul.sub_level_4,
ul.sub_level_5 {
	top: -1px;
	left: 100%;
	margin-left: 15px;
	z-index: 99999;
	box-shadow: none;
	border: 1px solid #444;
	border-top-color: #555;
}
ul.icesubMenu ul > li:hover > ul {
	opacity: 1;
	max-height: 1000px;
	overflow: visible;
	visibility: visible;
	margin-left: -25px;
}

/* Modules inside dropdown */
.icesubMenu .icemega_cover_module {
	padding: 10px 15px;
	color: #999;
}
.icesubMenu .icemega_cover_module span.iceModuleTile {
	color: #fff;
	font-size: 18px;
	text-shadow: 1px 1px 1px #000;
	margin-bottom: 6px;
	display: block;
}
.icesubMenu .icemega_cover_module a {
	color: #F0C237;
}
.ice_righttoleft {
	left: auto!important;
	right: 0;
}