/* ================================================================ 
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 top left;
	position: relative;
	height: 40px
}
#nav a {
	color: #333300;
	text-decoration: none;
	font-family: "Lucida Sans", sans-serif;
	font-size: 1.1em
}
#nav table {
	position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
}
/* remove all the bullets, borders and padding from the default list styling */
#nav ul {
	padding:0;
	margin:0;
	list-style-type:none;
}
#nav ul li {
	position: relative;
	float: left
}
#nav ul li a {
	font-weight: bold;
	display: block;
	float: left;
	line-height: 40px;
	height: 40px;
	padding: 0px 25px;;
	border-right: 1px solid #e06c00
}
#nav ul ul {
	width:151px;
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 35px;
	left: 0px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#nav ul ul li {
	float:left;
	width:151px;
	height: 25px;
	position:relative;
	background: white;
	border: 1px solid #888;
	border-width: 0px 1px
}
#nav ul ul li.first {
	border-top: 1px solid #888;
	padding-top: 10px
}
#nav ul ul li.last {
	border-bottom: 1px solid #888;
	padding-bottom: 10px
}
/* style the links for the top level */
#nav ul ul a, #nav ul ul a:visited {
	display:block;
	width:130px;
	height: 25px;
	line-height: 25px;
	padding: 0px 10px;
	font-size: 0.9em;
	font-weight: normal;
	border: none
}
#nav ul ul a:hover {
	background-color: #fff0e6
}

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

/* style the top level hover */
#nav a:hover, #nav ul ul a:hover, #nav :hover > a, #nav ul ul :hover > a {
	color: #944a00;
}

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