/* ================================================================ 
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 {
	list-style:none;
	z-index:200;
	float: left;
	position: relative;
	
}

#nav {
	padding:0;
	margin-left: 264px;
	
	margin-top: -35px;
	height: 34px;
}

#nav li {
	float:left;
	text-align: center;
	padding: 8px 20px 9px 20px;
	border-right:1px dotted
#ccc;

}
#nav li.first {
	float:left;
	text-align: center;
	padding: 8px 20px 8px 20px;
	border-right:1px dotted
#ccc;
}
#nav li.firston {
	float:left;
	text-align: center;
	padding: 9px 20px 9px 20px;
	border-right:1px dotted
#ccc;
	background-color: #06C;
}

#nav li.end:hover {
	border-right: 0px dotted #ccc;
	padding: 9px 20px 9px 20px;
	background-color: #666;
}
#nav li.last:hover {
	border-right: 0px dotted #ccc;
	padding: 13px 5px 15px 0;
	background-color: transparent;
}
#nav li.selected {
	background-color: #06C;
	padding: 8px 20px 9px 20px;
}
#nav li.selected a{
	color: #fff;
}

#nav li li {
	float:none;
	padding: 13px 5px 13px 0;
	background: transparent;
	border-bottom: 1px dotted #fff;
	margin: 0;
	position:relative;
	margin-left: -10px;
}
#nav li li.last {
	float:none;
	position: relative;
	padding: 13px 5px 15px 0;
	border-bottom: 0px solid #fff;
	border-right: 0px dashed #ccc;
	margin-left: -10px;
}
#nav li ul {
	background:#333;
	filter: alpha(opacity=80);
	opacity: 0.8;
	height: 210px;
	margin-bottom: 8px;
	
	width: 200px;
}
/* a hack for IE5.x and IE6 */
* html #nav li li {
	float:left;
}

#nav li a {
	display:block;
	color:#036;
	text-decoration:none;
	font-size: 14px;
	text-align: center;
}
#nav li li a {
	
	text-align: left;
	font-size: 13px;
	color: #fff;
}

#nav li:hover {
	position:relative;
	z-index:300;
	background-color: #666;
	color: #FFF;
	padding: 9px 20px 9px 20px;
}
#nav li li:hover {
	position:relative;
	z-index:300;
	color: #FFF;
	padding-top: 13px;
	padding-right: 5px;
	padding-bottom: 13px;
	padding-left: 0px;
	background-color: transparent;
}
#nav li:hover ul {
	left:0;
	top:auto;
	bottom: 26px;
}
/* another hack for IE5.5 and IE6 */
* html #nav li:hover ul {
	left:-15px;
}

#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 */
#nav li:hover li:hover > ul {
	left:0px;
	margin-left:100%;
	bottom:0px;
	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:none;
	color:#fff;
}


/* 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:0px;
	top:auto;
}

/* 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:#FFF;
}

/* 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:#9CF;
}
