

.nav, .nav *
{
	margin: 0;
	padding: 0;
	list-style: none;
}


.nav
{
	line-height: 1.0;
}

.nav ul
{
	position: absolute; /* remove from flow and allow positioning */
	top: -999em; /* hide submenu in screen-reader and search-engine friendly way */
	left: 17.45em;
	z-index: 5px;
	width: 9.45em; /* VARIABLE. Must have a width for menu items to inherit. Use ems so font scaling does not break design*/
	color: Red;
}


/*.nav ul li a,*/
.nav li a
{
	/* this affects top level anchors too */ /*width: 100%;/* stretch submenu items to width of submenu ul width (see .nav ul rules above). When link text runs over more than one line, use padding and an explicit width for the anchor instead of width:100% and text-indent. Example below in the SKIN section */
}
.nav ul li, .nav a
{
	/* this affects top level anchors too */
	width: 100%; /* stretch submenu items to width of submenu ul width (see .nav ul rules above). When link text runs over more than one line, use padding and an explicit width for the anchor instead of width:100% and text-indent. Example below in the SKIN section */
}

.nav li
{
	float: left; /* must float all li elements. Vertical submenu items are restrained by parent ul width (see .nav ul rules above) */
	position: relative; /* make child submenu ul position relative to parent li */
	z-index: 99; /* ensure submenus appear above other page items. Increase if needed, but do not exceed thickbox overlay z-index! */
}


.nav a
{
	display: block; /* make IE6 obey width when text-indent is used */
}


.nav li:hover ul, /* this pure CSS hover is overridden by the .superfish rules below which are applied only when JavaScript is available. This way, the menu degrades to regular CSS dropdown when JavaScript is unavailable */ ul.nav li.sfHover ul /* this is the familiar IE6 hover support. With Superfish, all browsers use this rule when JS is available. This is because the JS needs to be able to control hide and reveal delays and animations without the pure CSS rule intruding. Note the tag selector ul.nav instead of just .nav - this gives it the most specificity of all and makes it trump all other positioning rules, including the .superfish overrides below */
{
	left: 0px; /* position first submenu directly under parent li */
	top: 2.5em; /* VARIABLE. This is calculated by adding 1em text height to top and bottom anchor element padding (original skin: .75em top + .75em bottom + 1em text height = 2.5em) */
}

.nav li:hover li ul, .nav li.sfHover li ul
{
	top: -999em; /* hide submenu in screen-reader and search-engine friendly way */
	left: 17.23em;
}


.nav li li:hover ul, /* this pure CSS hover is overridden by the .superfish rules below which are applied only when JavaScript is available. This way, the menu degrades to regular CSS dropdown when JavaScript is unavailable */ ul.nav li li.sfHover ul /* this is the familiar IE6 hover support. With Superfish, all browsers use this rule when JS is available. This is because the JS needs to be able to control hide and reveal delays and animations without the pure CSS rule intruding. Note the tag selector ul.nav instead of just .nav - this gives it the most specificity of all and makes it trump all other positioning rules, including the .superfish overrides below */
{
	left: 17.23em; /* VARIABLE. Offset subsequent submenus to the right by the amount you set for the submenu widths (see .nav ul rules above) */
	top: 0px; /* position subsequent submenus horizontally aligned to parent li */
}

.nav li li:hover li ul, .nav li li.sfHover li ul
{
	top: -999em; /* hide submenu in screen-reader and search-engine friendly way */
	left: 17.23em;
}

.nav li li li:hover ul, ul.nav li li li.sfHover ul
{
	left: 18.75em; /* VARIABLE. Offset subsequent submenus to the right by the amount you set for the submenu widths (see .nav ul rules above) */
	top: -0px; /* position subsequent submenus horizontally aligned to parent li */
}

.nav li li li:hover ul, ul.nav li li li.sfHover ul, ul.nav li li li.sfHover ul
{
	left: 18.75em; /* VARIABLE. Offset subsequent submenus to the right by the amount you set for the submenu widths (see .nav ul rules above) */
	top: -0px; /* position subsequent submenus horizontally aligned to parent li */
}


.superfish li:hover ul, .superfish li li:hover ul, .superfish li li li:hover ul
{
	top: -999em; /* hide submenu in screen-reader and search-engine friendly way */
	left: 17.23em;
}

/* A quick note about issues with submenus appearing under Flash animations. Some say that setting wmode="opaque" or  wmode="transparent" on the embed or object tag is sufficient. This does fix many issues but I find it sometimes helps to also add this CSS: */
embed, object
{
	position: relative;
	z-index: 0;
}


.nav
{
	/* if you want to change font-size, do it here as opposed to setting it on deeper nested anchor elements for example,  so that the em unit is the same size for all elements in the menu */
	float: left; /* necessary if you don't want this element to collapse */
	margin-bottom: 1.5em; /* add space beneath nav. Purely cosmetic */
}
.nav li
{
	/*background:#BDD2FF; /* default background colour */ /*border-left:1px solid #fff; 	border-top:1px solid #CFDEFF;*/
	width: auto; /* affects top level menu items only, as nested li elements have width 100% of their ul parent (see .nav ul rules above)*/
	left: -1px;
	height: 20px;
	padding-top: 8px;
	padding-left: 18px;
	padding-right: 15px;
	text-align: left;
}
.nav li a
{
	color: #4B494A;
	font-family: Verdana;
	font-size: 12px;
	width: auto; /*padding: 10px 8px; /* note that the top and bottom padding will affect the 'top' value (marked with the word "VARIABLE") of the second tier of nav (see "essential rules" above and alter accordingly) */
	text-decoration: none;
	text-align: left;
}


/* if link text runs over two or more lines, you will want padding in the anchor element instead of relying on text-indent to provide space. The following disabled rule shows how to style the submenu links in this case. Note that the width plus left and right padding must equal the width set above for the submenu (.nav ul) */

.nav ul a
{
	width: 99%; /*padding-left:9px;	*/
	color: black;
	font-size: 11px;
	margin-bottom: 0px;
	text-indent: 0;
}




.nav li ul
{
	width: 18.65em; /*padding-right: 1em;*/
	text-indent: 0;
}


.nav li:hover, .nav li.sfHover
{
	/*background:#7A7B6D; /* hover highlight */
	background-image: url(  "../images/menubgover.gif" );
	color: white;
}

.nav ul li:hover, .nav ul li.sfHover
{
	/* background: #e3e4d4; /* hover highlight */
	font-family: Verdana;
	font-size: 12px;
	color: white;
	text-decoration: none;
}

.nav ul li
{
	height: 20px;
}

.nav li li
{
	background: #7A7B6D; /* slightly darker shade for nested submenus */
	padding-left: 0px;
	padding-right: 0px;
	border-right: solid 1px white;
	border-bottom: solid 1px white;
	border-left: solid 1px white;
}
.nav li li li
{
	background: #7A7B6D; /* slightly darker shade for nested submenus */
	color: white;
	padding-left: 0px;
	padding-right: 0px;
}






