-/**
 * IceMegaMenu Extension for Joomla 3.0 By CMSFARSI
 * 
 * 
 * @copyright	Copyright (C) 2012 CMSFARSI.com. All rights reserved.
 * @license		GNU General Public License version 2
 * 
 * @Website 	http://wwww.cmsfarsi.net
 *
 */
.collapse {
  overflow: visible;}
 
/* clear some styles */
.icemegamenu ul,
.icemegamenu li {
	list-style-type:none;
	padding:0;
	margin:0} 
 
 
/* begin mainmenu */ 
.icemegamenu > ul {
	position: relative;
	margin:0;
	padding:0;
	z-index: 999;
	clear: both;
	height:auto;}
	
	.icemegamenu > ul > li {
		display: block;
		float:right;
		margin: 0;
		border-left:7px solid transparent;
		padding:0;
		position:relative;
		z-index:699;}
		
		.icemegamenu > ul > li a.iceMenuTitle {
			position: relative;
			z-index: 90;
			display: block;
			font-family:"yekan", Arial, Helvetica, sans-serif;
			padding:0;
			font-size: 20px;
			color: #fff;
			text-shadow: 1px 1px 1px rgba(0,0,0,.25);
			text-decoration:none}
			
			.icemegamenu > ul > li  a.iceMenuTitle > span.icemega_title {
				padding:12px 12px 13px;
				display: block; }		
		
				
			/* subtitles */
			.icemegamenu > ul > li span.icemega_desc {
				display:none;
				font-size:12px;
				font-family:'yekan', Geneva, sans-serif;
				padding:0;
				line-height:1.25em;
				color:rgba(255,255,255,.6)!important;
				margin-bottom: 0;
				margin-top: -9px;
				margin-right: 20px;
				text-shadow:none!important}

 				/* when dont have subtitle */
				.icemegamenu > ul > li >  a.iceMenuTitle > span.icemega_nosubtitle {}
					
					
				/* when is current and hover */	
				.icemegamenu > ul > li:hover > a.iceMenuTitle span.icemega_title,
				.icemegamenu > ul > li.active > a.iceMenuTitle span.icemega_title {
					background:#6e8493;
					position:relative;}
				
				.icemegamenu > ul > li.active > a.iceMenuTitle span.icemega_title {
					color:#fff603;}
				
				
					
 /* Submenu */
ul.icesubMenu {
    position: absolute;
    z-index: 600;
    padding: 0;
	margin:0 0 0 0;
    top:45px;
	opacity:0;
	right:0;
    visibility: hidden;
	background:#6e8493;
    border: 1px solid rgba(255,255,255,.1);
	border-top:none;
	border-bottom:none;
	-webkit-transition: all .2s ease-out;
	-moz-transition: all .5s ease-out;
	-ms-transition: all .5s ease-out;
	-o-transition: all .5s ease-out;
	transition: all .2s ease-out;}
			
	#icemegamenu > li:hover > ul.icesubMenu {
		visibility: visible;
		overflow:visible;
		margin-top:0;
		opacity:1;
		margin:0;}
			
		ul.icesubMenu ul > li {
			position:relative;
			z-index:599;}
			
			ul.icesubMenu > li a.iceMenuTitle {
				height: auto;
				display: block;
				font-size: 14px;
				padding: 0 26px 0 14px;
				margin:0;
				line-height: 25px;
				border-radius: 0;
				background: url(../images/point.png) no-repeat 98% 9px;
				border-bottom: 1px dotted rgba(255, 255, 255, .2)!important;
				-webkit-transition: all .2 ease-out;
				-moz-transition: all .2s ease-out;
				-ms-transition: all .2s ease-out;
				-o-transition: all .2s ease-out;
				transition: all .2s ease-out;}
				
				#icemegamenu > li:hover > ul.icesubMenu > li a.iceMenuTitle {
					padding-top:3px;
					padding-bottom:3px}
				
				
				@media (min-width: 979px) {
				ul.icesubMenu > li ul li:last-child > a.iceMenuTitle {
					border-bottom:none!important}
				}
				
				ul.icesubMenu > li a.iceMenuTitle span {
					padding:0!important;
					margin:0!important;}
					
				ul.icesubMenu > li li.parent:hover > a.iceMenuTitle,
				ul.icesubMenu > li a.iceMenuTitle:hover {
					background-color:rgba(0,0,0,.15);}
				
				 ul.icesubMenu li.active a.iceMenuTitle  {
					 background-color:rgba(0,0,0,.15); 
					 color: #fffc1e }
 
				/* when is parent */
				ul.icesubMenu li.parent {
					background: url(../images/arrow.png) no-repeat 5% 45%;}
					
						
						.icemegamenu > ul ul li span.icemega_desc {
							display:block;
							margin-top:-5px!important;
							margin-bottom: 5px!important;}
				
				
				
				

 
/* Second Level Dropdown */
ul.icesubMenu ul > li > ul {
	top: -1px;
	right: 250px;
	z-index:99999;
	opacity: 0;
	visibility: hidden;
	box-shadow:none;
	transform: rotate(10deg);
	-ms-transform: rotate(10deg); /* IE 9 */
	-webkit-transform: rotate(10deg); /* Safari and Chrome */
	-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;
	border-top: 1px solid rgba(255,255,255,.1);
	margin: 0 20px 0 0px;}
	
	
	ul.icesubMenu ul > li:hover > ul {
		opacity: 1;
		visibility: visible;
		transform: rotate(0deg);
		-ms-transform: rotate(0deg); /* IE 9 */
		-webkit-transform: rotate(0deg); /* Safari and Chrome */
		right: 230px;}
	
 
 
 
 
 /* Toggle for responsive */					
.ice-megamenu-toggle {
	 display: none;
	 margin: 0;}

.ice-megamenu-toggle a {
	display: block;
	height: 45px;
	line-height: 45px;
	font-size:18px;
	color:#fff;
	text-shadow:1px 1px 1px rgba(0,0,0,.25);
	text-align:center;
	opacity:1;
	margin-top:0;
	margin:0;
	-webkit-transition:all .25s ease-out;
	-moz-transition:all .25s ease-out;
	-o-transition:all .25s ease-out; 
	transition:all .25s ease-out;} 
	
	.ice-megamenu-toggle a:hover {
		background-color:#5F7A8C;
		text-decoration:none;
		opacity:1}		

		

 
/* Modules inside dropdown */
.icesubMenu .icemega_cover_module {
    padding: 0 15px;
	width:auto!important;
	color:#fff;
	color:rgba(255,255,255,.7);
	margin: 10px 10px 0px;
	-webkit-transition:all .25s ease-out;
	-moz-transition:all .25s ease-out;
	-o-transition:all .25s ease-out; 
	transition:all .25s ease-out;}
	
	#icemegamenu > li:hover > ul.icesubMenu .icemega_cover_module {
		padding-top:10px;
		padding-bottom:10px;}

	.icesubMenu .icemega_cover_module span.iceModuleTile {
		color:#fff;
		font-family:"yekan", Tahoma, Helvetica, sans-serif;
		font-size:20px;
		text-shadow: 1px 1px 1px rgba(0,0,0,.3);
		margin-bottom:15px;
		display:block;}

.icesubMenu .icemega_cover_module a {
	color:#F0C237}
	
	
	.icesubMenu .icemega_cover_module .btn { 
		background:rgba(0,0,0,.15); 
		border:none; 
		color:#fff; 
		box-shadow:none;
		-webkit-transition:all .2s ease-out;
		-moz-transition:all .2s ease-out;
		-o-transition:all .2s ease-out; 
		transition:all .2s ease-out;
		border-radius:0}
		
		.icesubMenu .icemega_cover_module .btn:hover {
			background:rgba(255,255,255,.25);}
	
		
	.icesubMenu .icemega_cover_module form#login-form { margin:0}
	
	.icesubMenu .icemega_cover_module form#login-form .input-small { width:100%; border:none;}
		
		.icesubMenu .icemega_cover_module form#login-form .input-small:focus { box-shadow:none;}
	
	.icesubMenu .icemega_cover_module form#login-form .control-group { margin-bottom:12px;}
	
	.icesubMenu .icemega_cover_module form#login-form .input-prepend .add-on {
		border:none; 
		margin:0; 
		background:#333;
		background:rgba(0,0,0,.15); 
		border-radius: 0;}
		
	.icesubMenu .icemega_cover_module form#login-form ul.unstyled li a { 
		color:#fff}
	
	.ice_righttoleft{
		right:auto!important;
		margin-left:30px!important;
		margin-right:0!important;
		left:0!important;}
		
		#icemegamenu > li:hover > ul.ice_righttoleft {
			margin-left:0!important}
	
