#nav{
	z-index: 1001 !important;

}
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
	margin-left:20px;
	
}

#nav a {
	display: block;
}

#nav li { /* all list items */
	float: left;
	 /* width needed or else Opera goes nuts */
}

#nav li ul { /* second-level lists */
	width:165px;
	position: absolute;
	background:#6bba3a;
	margin-top:-3px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li ul ul { /* third-and-above-level lists */
	margin: -23px 0 0 165px;
}

#nav ul.lefty { /* third-and-above-level lists */
	text-align: right;
}

#nav li ul ul.lefty { /* third-and-above-level lists */
	margin: -23px 0 0 -165px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

/* the main title - the cats - and the pages - should show all states kk 	*/
#nav a.title{
	margin: 0px 15px;
	padding:6px 5px;
	font-family: Arial,Helvetica,sans-serif;
	font-size: 14px;
	font-weight: bold;
	color: #ffffff;
	text-decoration: none;
}
#nav a.title:hover{
	background-color: transparent;
}
#nav a.sub{
	font-family: Arial,Helvetica,sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: none;
	text-decoration: none;
	width:155px;
	padding:6px 10px 6px 5px;
	background:transparent url("../img/submenu-off.gif") no-repeat 95% center;
}
#nav a.sub:hover{
	background-color:none;
	color:white;
}
#nav a.sub-page{
	font-family: Arial,Helvetica,sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #ffffff;
	text-decoration: none;
	background-color:#b0677e;
	width:155px;
	padding:6px 5px;
}
#nav a.sub-page:hover{
	background-color: #71263d;
	color:white;
}


#nav li:hover, #nav li.hover{
	position:static;
}
