/*
 * ------------------------------------------------------------------------
 * JA ores template for Joomla 3.x
 * ------------------------------------------------------------------------
 * Copyright (C) 2004-2018 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; /* all lists */
	padding: 0;
}

ul.megamenu { margin: 10px; /* menu's gutter */ } 

/* lv - 0
-----------------------------------*/
/* Styling ---*/
ul.level0 {
	margin: 0;
	padding: 0;
}

ul.level0 li.mega {
	margin: 0; /* all list items */
	padding: 0;
	float: left;
	display: block;
	background: none;
	cursor: pointer;
}

ul.level0 li.mega a.mega {
	font-size: 100%;
	padding: 20px 15px 15px !important ;
	display: block;
	color: #757575;
	font-weight: bold;
	line-height: normal;
	text-decoration: none;
	cursor: pointer;
}

ul.level0 li.mega a.last { }

ul.level0 li.mega a.mega .has-image {
	padding-left: 25px;
	background-repeat: no-repeat;
	background-position: left 6px;
	font-size: 100%;
}

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.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.active { }

ul.level0 li.mega a:hover,
ul.level0 li.mega a:active,
ul.level0 li.mega a:focus,
ul.level0 li.mega a.sfhover {
	color: #C5C5C5;
}

ul.level0 li:hover,
ul.level0 li.sfhover,
ul.level0 li.over,
ul.level0 li.havechildsfhover,
ul.level0 li.havechild-activesfhover {
	background: url(../../images/mainnav-hover.gif) repeat-x left 5px !important;
}

ul.level0 li.mega a.active,
ul.level0 li.mega a.active:hover,
ul.level0 li.mega a.active:active,
ul.level0 li.mega a.active:focus {
	background-color: #303030;
	background-image: none;
	color: #C5C5C5;
}

/* 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;}
/*
.cols1 .megacol { width: 100px }
.cols2 .megacol { width: 50%; }
.cols3 .megacol { width: 33.3%; }
.cols4 .megacol { width: 25%; }
.cols5 .megacol { width: 20%; }
.cols6 .megacol { width: 16.6%; }
.cols7 .megacol { width: 14.2%; }
.cols8 .megacol { width: 12.5%; }
.cols9 .megacol { width: 11.1%; }
.cols10 .megacol { width: 10%; }


.ja-megamenu .cols1 { width: 200px; }
.ja-megamenu .cols2 { width: 400px; }
.ja-megamenu .cols3 { width: 600px; }
.ja-megamenu .cols4 { width: 800px; }
.ja-megamenu .cols5 { width: 1000px; }
.ja-megamenu .cols6 { width: 1200px; }
.ja-megamenu .cols7 { width: 1400px; }
.ja-megamenu .cols8 { width: 1800px; }
.ja-megamenu .cols9 { width: 2000px; }
.ja-megamenu .cols10 { width: 2200px; }
*/

/* Styling ---*/
ul.level1 li.mega { border-top: 1px dotted #303030; }

ul.level1 li.first { border-top: 0; }

ul.level0 li.mega ul.level1 li.mega a.mega {
	border: 0;
	font-weight: normal;
	margin: 0;
	padding: 0 5px !important;
	line-height: 27px;
}

ul.level0 li.mega ul.level1 li:hover,
ul.level0 li.mega ul.level1 li.sfhover,
ul.level0 li.mega ul.level1 li.over,
ul.level0 li.mega ul.level1 li.havechildsfhover,
ul.level0 li.mega ul.level1 li.havechild-activesfhover {
	background: none !important;
}


ul.level1 li.mega a.mega span.menu-title { background: none; padding: 0; }

ul.level1 li.haschild {
	background: url(../../images/arrow-01.png) no-repeat 100% 12px;
	padding: 0;
}

ul.level1 li.over, ul.level1 li.haschild-over { background: none !important; }

ul.level1 li.over a.over, ul.level1 li.haschild-over a.over {
	color: #C5C5C5 !important;
}

ul.level1 li.active a.active {
	color: #C5C5C5 !important;
}

ul.level1 li.group { background: none; border-top: 0px; }

 /* CHILD CONTENT
-----------------------------------*/
.childcontent { z-index: 999; }

.childcontent-inner {
	background: #101010 !important;
	border: 1px solid #202020;
	color: #757575;
}

.childcontent .ja-moduletable {
	color: #757575;
	border-bottom: 0;
	line-height: 1.5;
	margin: 10px 0;
	padding: 0;
}

.childcontent .ja-moduletable h3 {
	background: none;
	color: #C5C5C5;
	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 {
	text-decoration: none;
	border-bottom: 1px dotted #303030;
}

.childcontent .ja-moduletable a:hover,
.childcontent .ja-moduletable a:focus,
.childcontent .ja-moduletable a:active {
	text-decoration: none;
}

.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 {
	border-bottom: 1px solid #444;
	overflow: hidden;
}

.ja-megamenu ul.level1 li.mega .group-title a {
	color: #999;
}

.group-title .menu-title {
	text-transform: uppercase;
	font-weight: bold;
}

.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;
}

.ja-megamenu .ja-box-ct input {
	font-weight: normal !important;
}

ul.level1 li.mega a.over, ul.level1 li.mega a.active { 
	border-bottom: 0px;
 }
 
ul.level0 li.haschild-over a.over { 
	border-bottom: 0px !important;
}

