/* JA Rave
---------------------------------------------------------
Originally developed by Patrick Griffiths and Dan Webb
http://www.htmldog.com/articles/suckerfish/dropdowns/
---------------------------------------------------------
NOTE: After a deep research, we decide to divide this
CSS into 2 parts. The first part will define the layout.
The second part will define the visual look for this menu.
---------------------------------------------------------*/
/*
# ------------------------------------------------------------------------
# JA Rave template for Joomla 1.5.x
# ------------------------------------------------------------------------
# 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.
# ------------------------------------------------------------------------
*/

/* COMMON STYLE
--------------------------------------------------------- */
.ja-megamenu {
	margin-left: 11px;
	height: 56px;
}

.ja-megamenu ul.level0 li.mega {
	margin-right: 5px;
}

.ja-megamenu ul.level0 li.mega a.mega {
	text-transform: uppercase;
	color: #999;
	height: 52px;
	line-height: 52px;
	padding: 0px;
	font-weight: normal;
}

.ja-megamenu ul.level0 li.mega a.mega span.menu-title,
.ja-megamenu ul.level0 li.haschild a.mega span.menu-title {
	background: none;
	padding: 0px 16px;
}

.ja-megamenu ul.level0 li.mega.active a.active,
 .ja-megamenu ul.level0 li.active.haschild a.active.haschild{
	background: url(../../images/navtab-l.png) no-repeat left top;
	padding-left: 5px;
}

.ja-megamenu ul.level0 li.mega.active a.mega.active span.menu-title,
.ja-megamenu ul.level0 li.active.haschild a.active.haschild span.menu-title {
	background: url(../../images/navtab-r.png) no-repeat right top;
	color: #fff;
	padding: 0px 16px 0px 11px;
}

.ja-megamenu ul.level0 li.mega.over a.mega.over, 
.ja-megamenu ul.level0 li.mega.active.over a.mega.active.over,
.ja-megamenu ul.level0 li.haschild-over a.haschild.over ,
.ja-megamenu ul.level0 li.active.haschild-over a.active.haschild.over {
	background: url(../../images/navtab-l-hover.png) no-repeat left top;
	padding-left: 5px;
}

.ja-megamenu ul.level0 li.mega a.mega.over span.menu-title, 
.ja-megamenu ul.level0 li.mega.active.over a.mega.active.over span.menu-title, 
.ja-megamenu ul.level0 li.haschild-over a.mega span.menu-title,
.ja-megamenu ul.level0 li.haschild-over a.haschild.over span.menu-title,
.ja-megamenu ul.level0 li.active.haschild-over a.active.haschild.over span.menu-title {
	background: url(../../images/navtab-r-hover.png) no-repeat right top;
	color: #555;
	padding: 0px 16px 0px 11px;
}

/* lv - 1 and below
-----------------------------------*/
/* Styling ---*/
.ja-megamenu ul.level1 li.haschild, .ja-megamenu ul.level1 li.haschild-over {
	background: none;
}

.ja-megamenu ul.level1 li.mega { border-bottom: 1px dotted #ddd; }

.ja-megamenu ul.level1 li.first { border-top: 0; }

.ja-megamenu ul.level1 li.mega a.mega {
	text-transform:none;
	color: #555;
	background:none;
	height: auto;
	line-height: normal;
	padding: 7px 5px;
}

.ja-megamenu ul.level1 li.mega a.mega.over,
.ja-megamenu ul.level1 li.mega.over a.mega.over,
.ja-megamenu ul.level1 li.haschild-over a.haschil,
.ja-megamenu ul.level1 li.haschild-over a.haschil.over,
.ja-megamenu ul.level1 li.active.over a.mega,
.ja-megamenu ul.level1 li.active.over a.mega.over {
	color: #9A2016;
	background: none;
	padding: 7px 0px;
}
.ja-megamenu ul.level1 li.mega a.mega span.menu-title  {
	padding: 0px;
	background: none;
}

.ja-megamenu ul.level1 li.mega a.mega.over span.menu-title,
.ja-megamenu ul.level1 li.mega.over a.mega.over span.menu-title,
.ja-megamenu ul.level1 li.active.over a.mega span.menu-title,
.ja-megamenu ul.level1 li.active.over a.mega.over span.menu-title {
	padding: 5px;
	background: none;
	color: #9A2016;
}

.ja-megamenu ul.level1 li.mega.active a.mega.active {
	color: #9A2016;
	background: none;
	font-weight: bold;
	padding: 7px 0px;
}
.ja-megamenu ul.level1 li.mega.active a.mega.active span.menu-title {
	background: none;
	padding: 0px;
	color: #9a2016;
}

.ja-megamenu ul.level1 li.haschild a.mega span.menu-title, 
.ja-megamenu ul.level1 li.haschild-over a.mega span.menu-title{
	background: url(../../images/arrow5.png) no-repeat 98% center;
}

.ja-megamenu ul.level1 li.haschild.over a.mega.over span.menu-title, 
.ja-megamenu ul.level1 li.haschild-over.over a.mega.over span.menu-title,
.ja-megamenu ul.level1 li.active.haschild a.mega.active span.menu-title, 
.ja-megamenu ul.level1 li.active.haschild-over a.mega.active.over span.menu-title,
.ja-megamenu ul.level1 li.haschild-over.over a.mega.active span.menu-title,
.ja-megamenu ul.level1 li.haschild-over a.haschil.over span.menu-title{
	background: url(../../images/arrow9.png) no-repeat 98% center;
	color: #9a2016;
}


.ja-megamenu ul.level1 li.mega.over, .ja-megamenu ul.level1 li.mega.active {
	background: none;
	padding: 0px;
}

.ja-megamenu ul.level1 li.mega.active.over  {
	background: none;
	padding: 0px;
}

.ja-megamenu ul.level1 li.mega.active.over a.mega.active.over span.menu-title{
	background: none;
	padding: 0px;
}

.ja-megamenu ul.level1 li.mega.active.over a.mega.active.over {
	background: none;
	padding: 7px 0px;
}


.ja-megamenu ul.level1 .childcontent {
	margin-left: 173px;
}


.ja-megamenu li.active.haschild-over ul.level2 li.mega a.mega, 
.ja-megamenu li.active.haschild-over ul.level2 li.mega a.mega span.menu-title {
	color: #555;
}

.ja-megamenu li.active.haschild-over ul.level2 li.mega a.mega.over, 
.ja-megamenu li.active.haschild-over ul.level2 li.mega a.mega.over span.menu-title {
	color: #9a2016;
}

 /* CHILD CONTENT
-----------------------------------*/
.ja-megamenu .childcontent-inner {
	background: #fff;
	border: 1px solid #ddd;
	border-top: 0;
	color: #333;
	margin-left: 4px;
}

.ja-megamenu .level1 .childcontent-inner { border-top: 1px solid #ddd; }

.ja-megamenu .childcontent .ja-moduletable { color: #333; }

.ja-megamenu .childcontent .ja-moduletable h3 {
	background: none;
	border-bottom: 1px dotted #ddd;
	text-transform: uppercase;
}

.ja-megamenu .childcontent-inner .childcontent-inner {
	border: solid 1px #ddd
}

/* Grouped --- */
.ja-megamenu .group-title {
	border-bottom: solid 5px #ddd;
	cursor: none;
}

.ja-megamenu .group-title a {
	background: none !important;
	padding-bottom: 10px !important;
}

.ja-megamenu .group-title .menu-title {
	color: #555;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 100%;
	padding-left: 0px !important;
}

.ja-megamenu .group-title .menu-desc {
	color: #999;
	padding-left: 0 !important;
}

.ja-megamenu .group-content .ja-moduletable {
	margin: 10px 0px !important;
}

.ja-megamenu .megacol.column2 ul.megamenu  {
	margin-left: 0px;
}

.ja-megamenu .group-content ul.megamenu li.mega {
	margin-right: 0px !important;
}

.ja-megamenu ul.level1 li.mega.group {
	border: none;
} 

.megacol  .level1 {
	margin: 10px 5px 10px 15px;
}

.ja-megamenu ul.level1 li.mega .group-content ul {
	margin: 10px 0px;
}

.ja-megamenu ul.level1 li.haschild ul li a.mega span.menu-title, 
.ja-megamenu ul.level1 li.haschild-over ul li a.mega span.menu-title,
.ja-megamenu ul.level1 li.haschild.over ul lia.mega.over span.menu-title, 
.ja-megamenu ul.level1 li.haschild-over.over ul li a.mega.over span.menu-title,
.ja-megamenu ul.level1 li.haschild.active ul li a.mega.active span.menu-title, 
.ja-megamenu ul.level1 li.haschild-over.over ul li a.mega.active span.menu-title {
	background: none;
}
