/*------------------------------------------------------------------------
# JA Drimia 1.0 - Dec, 2007
# ------------------------------------------------------------------------
# Copyright (C) 2004-2006 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
-------------------------------------------------------------------------*/

/* Son of Suckerfish Dropdowns
---------------------------------------------------------
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.
---------------------------------------------------------*/

#nav {
	margin: 0; /* all lists */
	padding: 0;
	padding-left:18px;
	float: left;
	border-right: 1px solid #666666;
}

#nav ul {
	margin: 0; /* all lists */
	padding: 0;
}

#nav li {
	margin: 0; /* all list items */
	padding: 0;
	float: left;
	display: block;
	background: none;
	cursor: pointer;
}

#nav li ul {
	width: 16.4em;
	position: absolute; /* second-level lists */
	z-index: 99;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	height: auto;
	w\idth: 15.9em;
}

#nav li ul ul {
	margin: -1.9em 0 0 14.5em; /* third-and-above-level lists */
}

#nav li li {
	padding: 0 1em 0 0;
	margin: 0;
	width: 14.9em;
}

#nav ul a {
	width: 14.8em;
	w\idth: 10.8em;
}

#nav li:hover ul ul, #nav li:hover ul ul ul,
#nav li.  ul ul, #nav li.parent  ul ul, #nav li.parent active  ul ul, #nav li.active  ul ul,
#nav li.  ul ul ul, #nav li.parent  ul ul ul, #nav li.parent active  ul ul ul, #nav li.active  ul ul ul {
	left: -999em;
}

/* This "unhides" the sub-menus (left: -999em is what hides them) */
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul,
#nav li.  ul, #nav li.parent  ul, #nav li.parent active  ul, #nav li.active  ul,
#nav li li.  ul, #nav li li.parent  ul, #nav li li.parent active  ul, #nav li li.active  ul,
#nav li li li.  ul, #nav li li li.parent  ul, #nav li li li.parent active  ul, #nav li li li.active  ul {
	left: auto;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#nav li a {
	margin: 0;
	padding: 0 20px;
	border-left: 1px solid #666666;
	border-right: 1px solid #333333;
	display: block;
	color: #CCCCCC;
	font-size: 115%;
	line-height: 44px;
	text-decoration: none;
	font-weight: bold;
}

#nav li a:hover,
#nav li a:active,
#nav li a:focus {
	color: #FFFFFF;
}

#nav li:hover a,
#nav li.  a,
#nav li.parent  a,
#nav li.parent active  a {
	color: #FFFFFF;
	background: #666666;
}

#nav li:hover li a,
#nav li.  li a,
#nav li.parent  li a,
#nav li.parent active  li a
#nav li.active  li a{
	background: none;
}

#nav li a.active,
#nav li a.active:hover,
#nav li a.active:active,
#nav li a.active:focus {
	color: #FFFFFF;
	background: #333333;
}

/* 2nd level and above */
#nav li ul {
	border: 1px solid #666666;
	border-right: 1px solid #333333;
	border-bottom: 1px solid #333333;
	background: url(trans-bg.png);
}
* html #nav li ul {
	background: #545454;
}
#nav li ul li {
	border: none;
	color: #CCCCCC;
}

#nav li ul a {
	margin: 0;
	padding: 0 10px;
	border: none;
	white-space: nowrap;
	font-weight: normal;
	font-size: 100%;
	line-height: 30px;
}

#nav li.parent,
#nav li.parent active {
	background: url(arrow200.png) no-repeat 94% 50%;
}

#nav li ul a:hover,
#nav li ul a:active,
#nav li ul a:focus,
#nav ul li:hover,
#nav ul li. ,
#nav ul li.parent ,
#nav ul li.parent active ,
#nav ul ul li:hover,
#nav ul ul li. ,
#nav ul ul li.parent ,
#nav ul ul li.parent active  {
	color: #FFFFFF;
	background: #333333;
}

#nav ul li a.active,
#nav ul li a.active:hover,
#nav ul li a.active:active,
#nav ul li a.active:focus {
	background: none !important;
	font-weight: bold;
}



/* Show menu */
#nav li.over ul { left:auto; }
#nav li.over ul ul { left:-1000px; }
#nav li.over ul li.over ul { left:auto; }
