/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

#nav {
	background: url('/images/bg_navigation.png') repeat-x;
	height: 29px;
	margin: 0px;
	padding: 0px;
	position: relative;
	z-index: 100;
	list-style-type: none;
}
#nav table {
	position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
}
/* remove all the bullets, borders and padding from the default list styling */
#nav li {
	position: relative;
	float: left;
	border-right: 1px solid #7f8080
}
#nav a {
	color: #4f4f4f;
	text-decoration: none;
	font-weight: normal;
	display: block;
	float: left;
	line-height: 29px;
	height: 29px;
	padding: 0px 20px;
}
#nav a.active, #nav a:hover, #nav :hover > a {
	background: url('/images/bg_navigation_hover.png') repeat-x;
	color: white
}
#nav ul {
	margin: 0px;
	width:151px;
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 29px;
	left: 0px;
	padding: 0px
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav ul li {
	display: block;
	width:151px;
	position:relative;
	border: 1px solid #8c8e8f;
	border-width: 0px 1px 1px 1px;
	background: #dee0e0;
}
/* style the links for the top level */
#nav ul a, #nav ul a:visited {
	display:block;
	width:141px;
	height:32px;
	padding-left:10px;
	line-height:29px;
}

/* position the third level flyout menu */
#nav ul ul {
	left:149px;
	top:-1px;
	width:149px;
}
/* position the third level flyout menu for a left flyout */
#nav ul ul.left {
	left:-149px;
}

/* style the second level links */
#nav ul a, #nav ul a:visited {
	height:auto;
	line-height: 22px;
	padding: 2px 10px;
	width:131px;
	font-size: 0.9em;
	font-weight: normal;
}

/* style the top level hover */
#nav a:hover, #nav ul a:hover, #nav :hover > a, #nav ul :hover > a {
	color: white;
}
#nav ul a:hover, #nav ul :hover > a {
	background: #afb0b3;
}

/* make the second level visible when hover on first level list OR link */
#nav li:hover ul, #nav a:hover ul{
	visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
#nav :hover ul ul{
	visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
#nav :hover ul :hover ul{
	visibility:visible;
}