/* ================================================================ 
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') no-repeat top left;
	margin-bottom: 10px;
	position: relative;
	z-index: 100;
	height: 30px
}
#nav a {
	color: #f3a58c;
	text-decoration: 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 ul {
	padding:0;
	margin:0;
	list-style-type:none;
}
#nav ul li {
	position: relative;
	float: left
}
#nav ul a {
	font-weight: bold;
	display: block;
	float: left;
	line-height: 30px;
	height: 30px;
	padding: 0px 30px;
}
#nav ul ul {
	width:151px;
	background: url('/images/bg_dropdown_top.png') no-repeat top left;
	padding-top: 19px;
	visibility: hidden;
	position: absolute;
	height: 0;
	top: 25px;
	left: 15px;
}
/* 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;
	position:relative;
	background: url('/images/bg_dropdown_middle.png') repeat-y
}
#nav ul ul li.last {
	background: url('/images/bg_dropdown_bottom.png') no-repeat bottom left;
	padding-bottom: 5px
}
/* style the links for the top level */
#nav ul ul a, #nav ul ul a:visited {
	display:block;
	color:#f3a58c;
	width:141px;
	height:32px;
	padding-left:10px;
	line-height:29px;
}



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

/* style the second level links */
#nav ul ul a, #nav ul ul a:visited {
	height:auto;
	line-height:1em;
	padding:5px 10px;
	width:128px;
	font-size: 0.9em;
	font-weight: normal;
}
#nav ul ul a:hover {
	color: #fff31d
}

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

/* 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{
	visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
#nav ul :hover ul :hover ul{
	visibility:visible;
}

#subnav {
	background: #c4cec7 url('/images/bg_subnav.jpg') no-repeat bottom right;
	width: 140px;
	float: left;
	margin: 0px 20px 0px -20px;
	padding: 0px 10px 0px 0px;
}
#subnav ul#subnavlinks {
	background: url('/images/bg_subnavlinks.jpg') no-repeat top right;
}
#subnav ul a {
	color: #df0822
}
#subnav ul {
	padding: 10px 0px 10px 10px;
	margin: 0px;
	list-style-type: none;
	font-weight: bold
}
#subnav ul ul {
	padding: 3px 0px 3px 0px;
	font-weight: normal;
	font-size: 0.9em
}
#subnav ul ul a {
	color: white;
	line-height: 1.6em
}
#subnav ul ul ul {
	padding-left: 15px
}