/**
* IceMegaMenu Extension for Joomla 3.0 By IceTheme
* 
* 
* @copyright	Copyright (C) 2013 IceTheme.com. All rights reserved.
* @license		GNU General Public License version 2
* 
* @Website 	http://www.icetheme.com/Joomla-Extensions/icemegamenu.html
*

Clean Theme
added on 29 April 2013

*/

/* OpenSans Font emmbed */
@font-face {
	font-family: 'OpenSansRegular';
	src: url('../font/OpenSans-Regular-webfont.eot');
	src: url('../font/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
	url('../font/OpenSans-Regular-webfont.woff') format('woff'),
	url('../font/OpenSans-Regular-webfont.ttf') format('truetype'),
	url('../font/OpenSans-Regular-webfont.svg#OpenSansRegular') format('svg');
	font-weight: normal;
	font-style: normal;
}

.icemegamenu ul, 
.icemegamenu li {
	list-style-type: none;
	padding: 0;
	margin: 0;
} 

.collapse {
	overflow: visible;
}

/* begin mainmenu */ 
.icemegamenu > ul {
	position: relative;
	margin: 0;
	padding: 0;
	z-index: 999;
	clear: both;
	width: 100%;
}

.icemegamenu > ul > li {
	margin: 0 2px 0 0;
	position: relative;
	float: left;
}

.icemegamenu > ul > li  a.iceMenuTitle {
	position: relative;
	z-index: 9999;
	display: block;
	padding: 3px 45px 10px;
	font-size: 18px;
    letter-spacing: 1px;
    line-height: 52px;
	color: #4d464b;
	text-decoration: none;
	text-transform: lowercase;
	-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:hover > a {	
	background: #ebe9e3;
}

.icemegamenu ul > li a.iceMenuTitle:hover,

.icemegamenu ul > ul > li:hover >  a.iceMenuTitle,
ul.icesubMenu li.active a.iceMenuTitle  {	
	background: #ebe9e3;
}

.icemegamenu ul > ul > li:hover > a.iceMenuTitle,
ul.icesubMenu li.active > a.iceMenuTitle {
	background: #4d464b;
	color: white;
}

div.icemegamenu ul#icemegamenu  li.active a.icemega_active > span.icemega_title { 	
	background: #ebe9e3;
}		

/* 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 {
}

/* when is current */	
.icemegamenu > ul > li.active > a {
	background: #ebe9e3;
}

/* Submenu */
ul.icesubMenu {
	background: #ebe9e3;
	position: absolute;
	z-index: 600;
	padding: 23px 0;
	margin: 0;
    top: 54px;
	left: 0;
	visibility: visible;
	max-height: 0;
	overflow: hidden;
	opacity: 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: 50px;
}

ul.icesubMenu ul > li {
	position: relative;
}

ul.icesubMenu > li a.iceMenuTitle {
    color: #4d464b;
    font-size: 18px;
    line-height: 28px;
    padding: 0 34px;
    text-decoration: none;
}

ul.icesubMenu > li a.iceMenuTitle:hover {
	background: #4d464b;
	color: white;
}

ul.icesubMenu li.parent {
	
}

ul.icesubMenu ul > li:hover > a,
ul.icesubMenu ul > li.active > a  {
	background: #4d464b;
	color: white;
}

/* Second Level Dropdown */
ul.sub_level_2,
ul.sub_level_3,
ul.sub_level_4,
ul.sub_level_5 {
	z-index: 99999;
	box-shadow: none;
    left: auto;
    padding: 0;
    position: relative;
    top: auto;
    text-align: center;
}
ul.icesubMenu ul ul > li a.iceMenuTitle:hover {
	background: white;
	color: #4d464b;
}

ul.icesubMenu ul > li:hover > ul {
	opacity: 1;
	max-height: 1000px;
	overflow: visible;
	visibility: visible;
}

/* Modules inside dropdown */
.icesubMenu .icemega_cover_module {
	padding: 10px 15px;
	color: #666;
}

.icesubMenu .icemega_cover_module span.iceModuleTile {
	color: #555;
	font-size: 18px;
	margin-bottom: 6px;
	display: block;
}

.icesubMenu .icemega_cover_module a {

}

.ice-megamenu-toggle {
	display: none;
}

.ice_righttoleft{
	left: auto!important;
	right: 0;
}