/*
#------------------------------------------------------------------------
  JA Purity II for Joomla 1.5
#------------------------------------------------------------------------
#Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
#@license - GNU/GPL, http://www.gnu.org/copyleft/gpl.html
#Author: J.O.O.M Solutions Co., Ltd
#Websites: http://www.joomlart.com - http://www.joomlancers.com
#------------------------------------------------------------------------
*/
 

.ja-megamenu { 
margin: 0; 
background: url(../../images/menu-left.png) no-repeat;
padding-left: 7px;
height: 63px;
}

/* lv - 0
-----------------------------------*/
/* Styling ---*/
ul.level0 {
	float: left;
	margin: 0;
	padding: 0;
	background: url(../../images/menu-right.png) no-repeat 100% 0;
	height: 63px;
	display: inline-block;
	width: 100%;
}

ul.level0 li.mega {
	background: none;
	float: left;
	display: block;
	margin: 0 5px;
	/*padding: 0 0 0 6px;*/
	height: 63px;
}

ul.level0 li.mega a.mega {
	color: #fff;
	display: block;
	font-weight: normal;
	line-height: normal;
	margin: 0;
	padding: 18px 15px 0 15px;
	text-decoration: none;
	color: #0d5469;
	height: 45px;
}

ul.level0 li.mega .has-image {
	padding-left: 25px;
	display: block;
	background-repeat: no-repeat;
	background-position: left top;
}

ul.level0 li.mega span.menu-title { display: block; font-size: 14px; }

ul.level0 li.mega span.menu-desc {
	display: block;
	font-weight: normal;
	font-size: 92%;
	color: #23788F;
}

ul.level0 li.mega.over a.mega.over,
ul.level0 li.mega.active a.mega.active span,
ul.level0 li.over span.menu-desc, ul.level0 li.active span.menu-desc{
	color: #fff;
}

ul.level0 li.mega a img {
	float: left;
	padding-right: 5px;
}

ul.level0 li.over, ul.level0 li.haschild-over {

}

ul.level0 li.haschild a.mega span.menu-title,
ul.level0 li.haschild-over a.mega span.menu-title {
	background: url(../../images/arrow3.png) no-repeat left center;
	padding-left: 12px;
}

ul.level0 li.haschild a.mega span.menu-desc,
ul.level0 li.haschild-over a.mega span.menu-desc {
	padding-left: 12px;
}

ul.level0 li.over,
ul.level0 li.active {
background: url(../../images/menu-active-left.gif) no-repeat top left;
/*padding-left: 6px;*/
}

.ja-megamenu a.over, .ja-megamenu a.active { 
color: #fff; 
background: url(../../images/menu-active-right.gif) no-repeat top right;
}

/* lv - 1 and below
-----------------------------------*/
/* Layout ---*/
.ja-megamenu li.mega .childcontent { display: block; height: auto; position: absolute; }

.ja-megamenu li.mega .childcontent,
.ja-megamenu li.haschild-over li.mega .childcontent,
.ja-megamenu li.mega li.haschild-over li.mega .childcontent ,
.ja-megamenu li.mega li.mega li.haschild-over li.mega .childcontent, 
.ja-megamenu li.mega li.mega li.mega li.haschild-over li.mega .childcontent, 
.ja-megamenu li.mega li.mega li.mega li.mega li.haschild-over li.mega .childcontent { left: -999em; /*hide the menu*/ }

.ja-megamenu li.haschild-over .childcontent,
.ja-megamenu li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.mega li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.mega li.mega li.mega li.haschild-over .childcontent { left: auto; /*show on parent:hover*/ }

.ja-megamenu li.mega .right,
.ja-megamenu li.haschild-over li.mega .right,
.ja-megamenu li.mega li.haschild-over li.mega .right ,
.ja-megamenu li.mega li.mega li.haschild-over li.mega .right, 
.ja-megamenu li.mega li.mega li.mega li.haschild-over li.mega .right, 
.ja-megamenu li.mega li.mega li.mega li.mega li.haschild-over li.mega .right { right: auto; /*hide the menu*/ }

.ja-megamenu li.haschild-over .right
{ right: 0; /*show on parent:hover*/ }
.ja-megamenu li.mega li.haschild-over .right,
.ja-megamenu li.mega li.mega li.haschild-over .right,
.ja-megamenu li.mega li.mega li.mega li.haschild-over .right,
.ja-megamenu li.mega li.mega li.mega li.mega li.haschild-over .right,
.ja-megamenu li.mega li.mega li.mega li.mega li.mega li.haschild-over .right 
{ right: 12em; /*show on parent:hover*/ }

ul.level1 li.mega { float: none; }

ul.level1 .childcontent { margin: -2em 0 0 160px; }

 /* Columns ---*/
.megacol { 
float: left;
}

.megacol ul.megamenu {}

/* Styling ---*/
ul.level1 li.mega { 
height: auto;
margin: 0;
padding: 0;
/* background: url(../../images/dpd-separator.gif) repeat-x top left; */
background: none;
}

ul.level1 li.mega.first {background: none;}

ul.level1 li.first { border-top: 0; }

ul.level1 li.mega a.mega {
	background: none;
	border: 0;
	color: #fff;
	font-weight: normal;
	padding: 5px 12px;
	line-height: 28px;
	font-size: 0.91em;
	text-transform: uppercase;
	height: auto;
	text-shadow: 1px 1px 1px #758025;
}

ul.level1 li.mega a.mega span.menu-title { background: none; padding: 0; font-size: 12px; }

ul.level1 li.haschild {
	background: url(../../images/arrow-white.png) no-repeat 95% center !important;
	padding: 0;
}
ul.level1 li.mega.active a.mega.active span,
ul.level1 li.over a.over span {/* color: #677603; */color: #000; text-shadow: 1px 1px 1px #c8e451;}
ul.level1 li.haschild-over { background: url(../../images/arrow_white.png) no-repeat 95% center; }

ul.level1 li.group, .active ul.level1 li.group { background: none; }

 /* CHILD CONTENT
-----------------------------------*/
.childcontent {
	z-index: 999;
}

.childcontent-inner {
	color: #fff;
	background: #b7c83c url(../../images/dpd-bg.gif) repeat-x bottom left;
	border: 1px solid #9ab920;
	-moz-border-radius: 7px;
	margin-top: 5px;
	min-height:auto !important;
}
.childcontent .ja-moduletable {
	color: #fff;
	border-bottom: 0;
	line-height: 1.5;
	margin: 10px 0;
	padding: 0;
}

.childcontent .ja-moduletable h3 {
	color: #fff;
	margin-left: 10px;
	margin-right: 10px;
	text-indent: 5px;
	text-transform: none;
}

.childcontent .ja-moduletable .ja-box-ct {
	padding: 0 5px;
}

.childcontent .ja-moduletable a {
	color: #fff;
	text-decoration: none;
}

.childcontent .ja-moduletable a:hover,
.childcontent .ja-moduletable a:focus,
.childcontent .ja-moduletable a:active {
	text-decoration: underline;
}

.childcontent .ja-moduletable ul:first-child {
	margin-top: 0 !important;
}

.childcontent .ja-moduletable li {}

/* Grouped --- */
.group {}

.group-title {
	border-bottom: 1px solid #444;
	overflow: hidden;
}

.group-title .menu-title {
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 115%;
}

.group-title .menu-desc {
	color: #999;
	padding-left: 0 !important;
}

.group-content .ja-moduletable,
.group-content ul.megamenu  {
	margin: 10px; /* Group-content's gutter*/
}

/* reset --- */
.childcontent ul.megamenu .ja-moduletable {
	padding: 0;
}

.childcontent ul.megamenu .ja-moduletable h3 {
	margin-left: 0;
	margin-right: 0;
}

