/*** Main Nav Styles, Document version 1.1 ***/
/* Based on Superfish Jquery plugin 



/*** ESSENTIAL STYLES ***/
.sf-menu, .sf-menu * {
	margin:			0;
	padding:		0;
	list-style:		none;
}
.sf-menu {
	line-height:	1.2em;
}
.sf-menu ul {
	position:		absolute;
	top:			-999em;
	width:			19em; 		/* left offset of submenus need to match (see below) */
}

	.sf-menu ul.last {
		position:		absolute;
		top:			-999em;
		width:			17em; 	/* left offset of submenus decreased for last dropdown only */
	  	text-align:right; /* */
		}
	.sf-menu ul.last a {
		padding-right: 10px !important; /* if using text-align:right above, this then lines up links  */
		}
	
	
.sf-menu ul li {
	width:			100%;
}
.sf-menu li:hover {
	visibility:		inherit; /* fixes IE7 'sticky bug' */
}
.sf-menu li {
	float:			left;
	position:		relative;
}
.sf-menu a {
	display:		block;
	position:		relative;
}
.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	left:			0;
	top:			35px; /* match top ul list item height */
	z-index:		99;
}

	.sf-menu li:hover ul.last,     /* last menu only, make dropdown from rhs to avoid horizontal scroll */
	.sf-menu li.sfHover ul.last {
		left:			auto;
		right			:0;   /* use -21px; to be flush with the rhs of the screen */
		top:			35px; /* match top ul list item height */
		z-index:		99;
}

ul.sf-menu li:hover li ul,
ul.sf-menu li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li:hover ul,
ul.sf-menu li li.sfHover ul {
	left:			19em; /* match ul width */
	top:			0;
}
ul.sf-menu li li:hover li ul,
ul.sf-menu li li.sfHover li ul {
	top:			-999em;
}
ul.sf-menu li li li:hover ul,
ul.sf-menu li li li.sfHover ul {
	left:			19em; /* match ul width */
	top:			0;
}




/*** SKIN STYLES ***/
.sf-menu {
	float:			left;
	font-size:		0.92em;
	background: 	#0066b2;	/*  blue !!!! */
	}

.sf-menu a.nav_img {
	border-left:	none;
	border-right:	none;
	border-top:		3px solid white;  	/* commeting out this line and.... */
	padding: 		0 !important;
	padding-top:	0px !important; 	/*... setting this to 3px provided a nice black bar effect above the nav on hovver */
	border-bottom:	none;
	margin-right:	0px !important;    	/* set to zero here since we're not using drop arrows on top nav */
	overflow:hidden;
	color: #333333 !important;
	}





/* rhs problem fix  */ 
.sf-menu a.nav_img:focus, .sf-menu a.nav_img:hover, .sf-menu a.nav_img:active {
	background: #000000 !important;
	outline:		0;
	}



.sf-menu a {
	border-left:	1px solid #222222; 
	border-bottom:	1px solid #222222;
	padding: 		.65em 1em;
	padding-right: 20px !important;
	text-decoration:none;
	color:#FFFFFF !important;
	font-weight:normal !important;
	text-decoration:none !important;

}
.sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
	color: #fff;
}

/*  need to include these otherwise ie6 throws a 'sticky' wobbley */
.sf-menu li {
	background:		#fff;  	/*top level nav bg color: blue 0066b2*/
}
.sf-menu li li {
	background:		#000000;	/*flyout nav bg color: black */
}
.sf-menu li li li {
	background:		#000000;	/*flyout nav bg color: black */
}


		/* attempted fix to one pixel see through problem */
		
		.sf-menu li ul {
			background:		#000000;	/*flyout nav bg color: black */
		}
		.sf-menu li ul li ul {
			background:		#000000;	/*flyout nav bg color: black */
		}
		/* end fix attempt */




.sf-menu li:hover, .sf-menu li.sfHover,  /*           since lhs and rhs images are now in the list */
.sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
	background: #626161 url("../images/nav/bg_hover.gif") bottom repeat-x !important;
	outline:		0;
}

/*** arrows **/

/** bg positions
	  0	0		right arrow
	-10	0		right arrow selected
	  0	100		down arrow
	-10 100		down arrow selected
**/


.sf-menu a.sf-with-ul {
	padding-right: 	0;  	/* default is 2.25em to leave clear room for auto down arrows on top nav */
	min-width:		1px; 	/* trigger IE7 hasLayout so spans position accurately */
}

.sf-sub-indicator {
	position:		absolute;
	display:		block;
	right:			.75em;
	top:			0.92em; /* IE6 only */
	width:			10px;
	height:			10px;
	text-indent: 	-999em;
	overflow:		hidden;
	background:		url('../images/nav/arrows.png') no-repeat -10px -50px;  /* 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 -50px;  /* 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 -50px;  /* arrow hovers for modern browsers*/
}

/* point right for anchors in subs */
.sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
.sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
/* apply hovers to modern browsers */
.sf-menu ul a:focus > .sf-sub-indicator,
.sf-menu ul a:hover > .sf-sub-indicator,
.sf-menu ul a:active > .sf-sub-indicator,
.sf-menu ul li:hover > a > .sf-sub-indicator,
.sf-menu ul li.sfHover > a > .sf-sub-indicator {
	background-position: -10px 0; /* arrow hovers for modern browsers*/
}

/*** shadows for all but IE6 ***/
.sf-shadow ul {
	background: #000000;
	border-bottom: 2.2em solid #111111;	/*272727*/
	padding: 0 0 0 0;
	-moz-border-radius-bottomleft: 12px;
	-moz-border-radius-topright: 12px;
	-webkit-border-top-right-radius: 12px;
	-webkit-border-bottom-left-radius: 12px;
}
.sf-shadow ul.sf-shadow-off {
	background: #000000;
}

.sf-menu ul ul {
	border-top: 1.2em solid #272727;  
	}

