/* ================================================================ 
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.stunicholls.com/menu/skeleton_up.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
#nav, 
#nav ul {
	padding:0 0 5px 0;
	margin:0;
	list-style:none;
	position:relative;
	z-index:200;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.75em;
	color: #B1BB1E;
	text-decoration: none;
	background-color: #E5E5A9;
	float:right
		}

#nav {
	height:25px; 
	padding:0;}

#nav li {
	float:left;
	}
#nav li li {
	float:none; 
	background:#E5E5A9;
	}
/* a hack for IE5.x and IE6 */
* html #nav li li {
	float:left;
	}

#nav li a {
	display:block; 
	float:left; 
	color:#333; 
	margin:0 20px 0 10px; 
	height:25px; 
	line-height:25px; 
	text-decoration:none; 
	white-space:nowrap;
	}
	
	
#nav li li a {
	height:20px; 
line-height:20px; 
float:none;

}

#nav li:hover {
	position:relative;
	z-index:300;
	}

#nav li:hover ul {
	left:0;
	bottom:21px;
	top:auto;
	color: #900;
}

/* another hack for IE5.5 and IE6 */
* html #nav li:hover ul {
	left:10px;
	color: #F00;
	}

#nav ul {
	position:absolute; 
	left:-9999px; 
	top:-9999px;
	}

/* yet another hack for IE5.x and IE6 */
* html #nav ul {
	width:1px;
	}
/* it could have been this simple if all browsers understood */
/* show next level */

ul.MenuBarHorizontal    {
	left:-15px; 
	margin-left:100%; 
	bottom:-7px; 
	top:auto;}

/* keep further levels hidden */

#nav li:hover > ul ul {
	position:absolute; 
	left:-9999px; 
	top:-9999px; 
	width:auto;}

/* show path followed */
#nav li:hover > a {
	text-decoration:underline; 
	color:#57b;
	}


/* but IE5.x and IE6 need this lot to style the flyouts and path followed */
/* show next level */
#nav li:hover li:hover ul,
#nav li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover ul,
#nav li:hover li:hover li:hover li:hover li:hover ul
{
	left:-15px;
	margin-left:100%;
	bottom:-7px;
	top:auto;
	color: #F00;
}

/* keep further levels hidden */
#nav li:hover ul ul,
#nav li:hover li:hover ul ul,
#nav li:hover li:hover li:hover ul ul,
#nav li:hover li:hover li:hover li:hover ul ul
{position:absolute; left:-9999px; top:-9999px;}

/* show path followed */
#nav li:hover a,
#nav li:hover li:hover a,
#nav li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover a,
#nav li:hover li:hover li:hover li:hover li:hover li:hover a
{text-decoration:none; color: #990;;}

/* hide futher possible paths */
#nav li:hover li a,
#nav li:hover li:hover li a,
#nav li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li a,
#nav li:hover li:hover li:hover li:hover li:hover li a
{text-decoration:none; color:#333; font-size:1.2em;}
