/*** ESSENTIAL STYLES ***/
#nav, #nav * {
	margin:			0;
	padding:		0;
	list-style:		none;
	zoom: 1;
}
/*#nav ul {position:absolute;}*/
#nav ul ul {
	position:absolute;
	left:-999em;
	display: block;
	z-index: 200;
	margin-left: -5px;
	border: 1px none #c8b89f;
	zoom: 1;
	background-color:transparent;
}
#nav ul li {width:100%;	float:left;	position:relative;}
#nav li:hover {visibility:inherit; /* fixes IE7 'sticky bug' */}
#nav li li a {
	display:block;
	position:relative;
	color: #FFF;
	padding-right: 10px;
	padding-left: 10px;
	margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	font-weight: bold;
	background-image: url(../images/nav-sub-bg.png);
	background-repeat: repeat-y;
	background-position: left top;
	font-family: Arial, Helvetica, sans-serif;
}

#nav li:hover ul, #nav li.sfHover ul {z-index:200;}
ul#nav li:hover li ul, ul#nav li.sfHover li ul {top:-999em;	z-index: 200;
}
ul#nav li li:hover ul, ul#nav li li.sfHover ul {
	left:210px;
	top:0;
}
ul#nav li li:hover li ul, ul#nav li li.sfHover li ul {top:-999em;}
/*** DEMO SKIN ***/
#nav ul ul li a {
	text-decoration:none;
	padding-top: 8px;
	padding-right: 5px;
	padding-left: 10px;
	font-size: 12px;
	outline: 0;
	height:25px;
	margin: 0px;
	line-height: normal;
}
#nav li li {	/*background-color:#b8d8e3;*/	color:#FFF;}

/*#nav ul ul li:hover, #nav ul ul li.sfHover, */#nav ul ul a:hover, #nav ul ul a:active, #nav ul li ul li.last a:hover {
	outline: 0;
	color: #FFC;
	background-image: url(../images/nav-sub-bg.png);
	background-repeat: no-repeat;
	background-position: left bottom;
}
/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
#nav ul ul li {
	width:	166px;

}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
#nav li:hover ul, #nav li.sfHover ul {
	left:	210px; /* match ul width */
	top:	0;
	color:#FFF;
}
.sfHover {display:block; z-index:300;zoom: 1;}
#nav ul ul .first {
	background-image: url(../images/nav-sub-top.png);
	background-repeat: no-repeat;
	background-position: left top;
	padding-top: 12px;
}
#nav ul ul .last {
	background-image: url(../images/nav-sub-base.png);
	background-repeat: no-repeat;
	background-position: left bottom;
	padding-bottom: 20px;
}
