#header ul {
	height: 28px;
	width: 960px;
	list-style: none;
	padding: 0;
	margin: 0 0 0 10px;
	z-index: 2;
}

#header li {
	float: left;
	margin-right: 30px;
	font-size: 11px;
	margin-top: 0px !important;
}

#header a {
	display: block;
	padding: 5px 12px 0 10px !important;
			color: #005DAA;
	font-weight: bold;
}

#header li:hover, #header li.sfhover, #header li.selected {
	margin: 0px 30px 26px 0px;
	background: url('../resources/images/lcorner.gif') top left no-repeat;
}

#header li:hover a , #header li.sfhover a, #header li.selected a {
	display: block; 
	height: 20px;
	border-bottom: 1px solid #FFF;
	position: relative;
	z-index: 4;
	color: #005DAA;
	font-weight: bold;
	background: url('../resources/images/rcorner.gif') top right no-repeat;
}

#header li:hover a:hover, #header li.sfhover a:hover {
	text-decoration: underline;
	color: #005DAA;
}

#header li.selected a {
	z-index: 2;
}

#header li.selected a:hover, #header li.selected:hover, #header li.sfhover a{
	z-index: 4;
}

#header li ul { /* second-level lists */
	position: absolute;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

/*Sub menus*/
#header li:hover ul, #header li.sfhover ul { /* lists nested under hovered list items */
	z-index: 3;
	padding: 5px 0 5px 2px;
	margin: -1px 0 0 0px;
	border-top: 1px solid #b3b3b3;
	left: auto;
	height: auto;
	width: 190px;
	background: url('../resources/images/transparency.png') bottom left no-repeat;
	/*Mozilla ignores crazy MS image filters, so it will skip the following 
    filter:
		progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=crop, src='../resources/images/transparency.png');	*/
}

#header li.selected ul {
	z-index: 1;
}

#header li:hover li a, #header li.sfhover li a  {
	color: #000000;
	font-weight: normal;
	background: none;
	border: 0;
	height: 17px;
}

#header li:hover li, #header li.sfhover li {
	display: block;
	clear: both;
	width: 190px;
	padding: 0; 
	margin: 0;
}

#header li:hover li:hover, #header li.sfhover li.sfhover {
	background: none;
}