/*------------------------------------------------------------------------
# JA Drimia 1.0 - Dec, 2cssmenu007
# ------------------------------------------------------------------------
# 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;
	float: right;
	border-left: 1px solid #B0B1B3;
}

#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.sfhover ul ul, #nav li.havechildsfhover ul ul, #nav li.havechild-activesfhover ul ul, #nav li.activesfhover ul ul,
#nav li.sfhover ul ul ul, #nav li.havechildsfhover ul ul ul, #nav li.havechild-activesfhover ul ul ul, #nav li.activesfhover 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.sfhover ul, #nav li.havechildsfhover ul, #nav li.havechild-activesfhover ul, #nav li.activesfhover ul,
#nav li li.sfhover ul, #nav li li.havesubchildsfhover ul, #nav li li.havesubchild-activesfhover ul, #nav li li.activesfhover ul,
#nav li li li.sfhover ul, #nav li li li.havesubchildsfhover ul, #nav li li li.havesubchild-activesfhover ul, #nav li li li.activesfhover ul {
	left: auto;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#nav li a {
	margin: 0;
	padding: 0;
	border-left: 1px solid #00436E;
	border-right: 1px solid #B0B1B3;
	display: block;
	color: #FFFFFF;
	font-family: "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 30px;
	text-decoration: none;
	font-weight: bold;
	overflow: hidden;
	text-align: center;
	width: 150px;
}

#nav li a:hover,
#nav li a:active,
#nav li a:focus {
	color: #FFFFFF;
	background-color: #4F5559;
}

#nav li:hover a,
#nav li.sfhover a,
#nav li.havechildsfhover a,
#nav li.havechild-activesfhover a {
	color: #FFFFFF;
	background-color: #B0B1B3;
}

#nav li:hover li a,
#nav li.sfhover li a,
#nav li.havechildsfhover li a,
#nav li.havechild-activesfhover 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;
}

/* 2nd level and above */
#nav li ul {
	border: 1px solid #404040;
	border-right: 1px solid #404040;
	border-bottom: 1px solid #404040;
	background: transparent url(common-trans-bg.png);
	width: 150px;
	z-index: auto;
}

#nav li ul li {
	width: 150px;
	border: none;
	color: #CCCCCC;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#nav li ul a {
	margin: 0;
	padding: 0;
	border: none;
	white-space: nowrap;
	font-family: "Lucida Grande", Tahoma, Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 12px;
	line-height: 27px;
}

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

#nav li ul a:hover,
#nav li ul a:active,
#nav li ul a:focus {
	color: #FFFFFF;
	background: none;
}
#nav ul li:hover,
#nav ul li.sfhover,
#nav ul li.havesubchildsfhover,
#nav ul li.havesubchild-activesfhover,
#nav ul ul li:hover,
#nav ul ul li.sfhover,
#nav ul ul li.havesubchildsfhover,
#nav ul ul li.havesubchild-activesfhover {
	color: #FFFFFF;
	background: #404040;
}

#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;
}

/* Support for the "iehover-fix.js" */

ul.nav iframe {
	position: absolute;
	left: -0.25em;
	top: -0.25em;
	z-index: -1;
	filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}

* html ul.nav li { z-index: 201; }

