/*** ESSENTIAL STYLES ***/
#navv { width:255px; margin:7px auto; }
#navv2 { width:255px; margin:7px auto; }
.navv, .navv * {
	margin:			0;
	padding:		0;
	list-style:		none;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:12px;
	font-weight:bold;
	color:#fff;
}
.navv {
	line-height:	1em;
}
.navv ul {
	position:		absolute;
	top:			-999em;
	/*width:			10em;  left offset of submenus need to match (see below) */
	width:255px;
}
.navv ul li {
	width:255px;
}
.navv li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.navv li {
	float:			left;
	position:		relative;
}
.navv a {
	display:		block;
	position:		relative;
}
.navv li:hover ul,
.navv li.sfHover ul {
	left:			0;
	top:			2.5em; /* match top ul list item height */
	z-index:		99;	
}
ul.navv li:hover li ul,
ul.navv li.sfHover li ul {
	top:			-999em;
}
ul.navv li li:hover ul,
ul.navv li li.sfHover ul {
	left:			305px; /* match ul width */
	top:			0;
}
ul.navv li li:hover li ul,
ul.navv li li.sfHover li ul {
	top:			-999em;
}
ul.navv li li li:hover ul,
ul.navv li li li.sfHover ul {
	left:			255px; /* match ul width */
	top:			0;
}

/*** DEMO SKIN ***/
.navv {
	float:			left;
	margin-bottom:	1em;	
}
.navv a {
	/*border-bottom:		1px solid #676767;*/
	padding: 		.5em 1em;
	color:#fff;
	text-decoration:none;
}
.navv a, .navv a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color:#59a641;
}
.navv li {
	background:		#000;
	border-bottom:1px dotted #333;
}
.navv li li {
	/*background:		#AABDE6;*/
	background:		#444;
}
.navv li li li {
	background:		#adaeae;	
}
.navv li:hover, .navv li.sfHover,
.navv a:focus, .navv a:hover, .navv a:active {
	background:		#222;
	outline:		0;
}

/*** arrows **/
.navv a.sf-with-ul {
	padding-right: 	2.25em;
	min-width:		1px; /* trigger IE7 hasLayout so spans position accurately */
}
.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			1.05em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	/*background:		url('../../images/layout/arrows-ffffff.png') no-repeat; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
a > .sf-sub-indicator {  /* give all except IE6 the correct values */
	top:			.8em;
	background-position: 0 -100px; /* use translucent arrow for modern browsers*/
}
/* apply hovers to modern browsers */
a:focus > .sf-sub-indicator,
a:hover > .sf-sub-indicator,
a:active > .sf-sub-indicator,
li:hover > a > .sf-sub-indicator,
li.sfHover > a > .sf-sub-indicator {
	background-position: -10px -100px; /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.navv ul .sf-sub-indicator { background-position:  -10px 0; }
.navv ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.navv ul a:focus > .sf-sub-indicator,
.navv ul a:hover > .sf-sub-indicator,
.navv ul a:active > .sf-sub-indicator,
.navv ul li:hover > a > .sf-sub-indicator,
.navv ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	padding: 0 8px 9px 0;
	-moz-border-radius-bottomleft: 17px;
	-moz-border-radius-topright: 17px;
	-webkit-border-top-right-radius: 17px;
	-webkit-border-bottom-left-radius: 17px;
}
.sf-shadow ul.sf-shadow-off {
	background: transparent;
}

/*** adding sf-vertical in addition to navv creates a vertical menu ***/
.sf-vertical, .sf-vertical li {
	width:	255px;
}
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
.sf-vertical li:hover ul,
.sf-vertical li.sfHover ul {
	left:	255px; /* match ul width */
	top:	0;
}

/*** alter arrow directions ***/
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/

/* hover arrow direction for modern browsers*/
.sf-vertical a:focus > .sf-sub-indicator,
.sf-vertical a:hover > .sf-sub-indicator,
.sf-vertical a:active > .sf-sub-indicator,
.sf-vertical li:hover > a > .sf-sub-indicator,
.sf-vertical li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}