/*
# ------------------------------------------------------------------------
# JA Rasite Template for Joomla 1.6
# ------------------------------------------------------------------------
# Copyright (C) 2004-2009 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
# @license - Copyrighted Commercial Software
# Author: J.O.O.M Solutions Co., Ltd
# Websites:  http://www.joomlart.com -  http://www.joomlancers.com
# This file may not be redistributed in whole or significant part.
# ------------------------------------------------------------------------
*/

.ja-megamenu { margin: 0; padding: 0; }
.ja-megamenu a.over, .ja-megamenu a.active { color: #57222b; }

ul.megamenu { margin: 10px; /* menu's gutter */ } 

/* lv - 0
-----------------------------------*/
/* Styling ---*/
ul.level0 {
	float: left;
	margin: 0;
	padding: 0;
}

ul.level0 li.mega {
	background: none;
	display: block;
	float: left;
	margin: 0;
	padding: 0;
}

.ja-megamenu ul.level0 li.mega a.mega {
	color: #ccc;
	display: block;
	font-weight: bold;
	font-size: 92%;
	line-height: normal;
	margin: 0  10px 0 0;
	padding: 0 0 0 10px;
	text-decoration: none;
	text-transform: uppercase;
}

ul.level0 li.mega a.mega span {
	padding: 3px 10px 18px 0;
}

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; }

ul.level0 li.mega span.menu-desc {
	display: block;
	font-weight: normal;
	font-size: 92%;
	color: #999;
}

ul.level0 li.mega a img {
	float: left;
	padding-right: 5px;
}

ul.level0 li.over, ul.level0 li.haschild-over {}

ul.level0 li.mega a.over, ul.level0 li.haschild-over a.over {
	background: url(../../images/mainnav-hover.gif) no-repeat left top;
	color: #fff;
}
.ja-megamenu ul.level0 li.haschild a.mega span.menu-title, .ja-megamenu ul.level0 li.haschild-over a.mega span.menu-title {
    background: none;
    padding-left: 0px;
}
ul.level0 li.mega a.over span.menu-title,
ul.level0 li.haschild-over a.over span.menu-title {
	background: url(../../images/mainnav-hover.gif) no-repeat 100% 0px;
}

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.active a.mega,
ul.level0 li.active a.over {
	background: url(../../images/mainlevel-active.gif) no-repeat left top #57222B;
	color: #fff;
}

ul.level0 li.active a.mega span,
ul.level0 li.active a.over span.menu-title {
	background: url(../../images/mainlevel-active.gif) no-repeat right top;
}

/* 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*/ }

.ja-megamenu ul.level1 li.mega { float: none; }

.ja-megamenu ul.level1 .childcontent { margin: -32px 0 0 160px; }

 /* Columns ---*/
.ja-megamenu .megacol { float: left;  }
/* Styling ---*/
.ja-megamenu ul.level1 li.mega { border-top: 1px solid #4D4D4D; }

.ja-megamenu ul.level1 li.first { border-top: 0; }

.ja-megamenu ul.level1 li.mega a.mega {
	background: none;
	border: 0;
	color: #999;
	font-weight: normal;
	padding: 7px 5px;
	text-transform: none;
}

.ja-megamenu ul.level1 li.mega a.mega span.menu-title { background: none; padding: 0; }

.ja-megamenu ul.level1 li.haschild {
	background: url(../../images/arrow.png) no-repeat 95% center;
	padding: 0;
}

.ja-megamenu ul.level1 li.over, ul.level1 li.haschild-over { background: #444; }

.ja-megamenu ul.level1 li.over a.over, ul.level1 li.haschild-over a.over {
	color: #fff;
}

.ja-megamenu ul.level1 li.active a.active {
	color: #fff;
	font-weight: bold;
}

.ja-megamenu ul.level1 li.group { background: none; }

.ja-megamenu ul.level1 .childcontent .tl {
	background-image: url(../../images/mega-corner2.png);
}

 /* CHILD CONTENT
-----------------------------------*/
.childcontent { z-index: 999; padding-left: 10px; }

.childcontent-inner { color: #ccc;}

.childcontent .ja-moduletable {
	color: #ccc;
	border-bottom: 0;
	line-height: 1.5;
	margin: 0;
	padding: 0;
}

/* Top ---*/

.childcontent-inner-wrap {
    background: url(../../images/mega-tb.png) repeat-x left top;
}

.childcontent .top {
	background: url(../../images/mega-corner3.png) no-repeat 0px top;
	margin: 0 13px 0 0px;
	padding: 0;
	height: 14px;
	position: relative;
}

.childcontent .childcontent  .top {
	background-image: none;	
}

.childcontent .tl {
	background: url(../../images/mega-corner.png) no-repeat left top;
	width: 10px;
	height: 14px;
	position: absolute;
	left: -10px;
	top: 0;
}

.childcontent .tr {
	background: url(../../images/mega-corner.png) no-repeat right top;
	width: 10px;
	height: 14px;
	position: absolute;
	right: -23px;
	top: 0;
}

/* Middle ---*/
.childcontent .ml {
	background: url(../../images/mega-mid-l.png) no-repeat left bottom;
	width: 10px;
	height: 100%;
	position: absolute;
	top: 0;
	left: -10px;
}

.childcontent .mid {
	position: relative;
	z-index: 10;
}

.childcontent .childcontent-inner {
	background: url(../../images/mega-mid-bot.png) repeat-x left bottom;
}

.childcontent .mr {
	background: url(../../images/mega-mid-r.png) no-repeat right bottom;
	width: 10px;
	height: 100%;
	position: absolute;
	top: 0;
	right: -10px;
}

/* Bottom ---*/
.childcontent .bot {
	background: url(../../images/mega-tb.png) repeat-x left bottom;
	margin: 0 13px 0 45px;
	padding: 0;
	height: 23px;
	position: relative;
}

.childcontent .bl {
	background: url(../../images/mega-corner.png) no-repeat left bottom;
	width: 55px;
	height: 23px;
	position: absolute;
	left: -55px;
	top: 0;
}

.childcontent .br {
	background: url(../../images/mega-corner.png) no-repeat right bottom;
	width: 23px;
	height: 23px;
	position: absolute;
	right: -23px;
	top: 0;
}

.childcontent .ja-moduletable h3 {
	background: none;
	color: #fff;
	border-bottom: 1px dotted #444;
	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: #ccc;
	text-decoration: none;
	border-bottom: 1px dotted #ccc;
}

.childcontent .ja-moduletable a:hover,
.childcontent .ja-moduletable a:focus,
.childcontent .ja-moduletable a:active {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
}

.childcontent .ja-moduletable ul:first-child {
	margin-top: 0 !important;
}

.childcontent .ja-moduletable li {
	background: url(../../images/bullet2.gif) no-repeat 2px 7px !important;
	margin-bottom: 5px;
}

/* Grouped --- */
.group {}

.group-title {
	background: #414141;
	border: 1px solid #4D4D4D;
	overflow: hidden;
}

.group-title .menu-title {
	color: #ccc;
	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;
}

