@charset "utf-8";
#nav {
	text-align:right;
	float:right;
	font-spacing:1px;
	font-size:14px;
	margin: 80px 0 0 0;
	width:670px;
	height:31px;
}
#nav ul { /* all lists */
	padding: 0;
	margin:0;
	list-style: none;
	line-height: 1;
	z-index:600;
}

#nav a {
	display:inline-block;
	padding:0 10px;
	text-decoration:none;
	color:#FFF;
	outline:none;
	border-top:1px solid transparent;
	line-height:30px;
	height:30px;
}
/* all links */
#nav a:hover{
	line-height:30px;
	border-top:1px solid #00AEEF;
	background:url(../img/menu-hover-transp.png) 0 0 repeat;
	height:30px;
}

/* main LIs */
#nav li:hover, #nav li.sfhover{
}

/* all submenu LIs */
#nav li:hover li, #nav li.sfhover li{
	padding:2px 0;
}

#nav li:hover li:hover, #nav li.sfhover li.sfhover{
	background:none;
}

/* link and all sublinks of current hovered menu item */
#nav li:hover a, #nav li.sfhover a, #nav a:hover{
	color:#FFF;
	text-decoration:none;
	background:none;
}
/* sublinks of current hovered menu item - use to reset unwanted styles */
#nav li:hover li a, #nav li.sfhover li a{
	text-decoration:none;
	color:#00AEEF;
	font:normal 12px/20px Verdana,Tahoma,Arial;
}
/* hovered sublink of current hovered menu item */
#nav li:hover li a:hover, #nav li.sfhover li a:hover{
	text-decoration:none;
	border:none;
	background:none;
	color:#fff;
}

#nav li { /* all list items */
	display:inline-block;
}

#nav li ul { /* second-level lists */
	position: absolute;
	padding:0;
	text-align:left;
    background:url(../img/menu-hover-transp.png) 0 0 repeat;
    border-bottom:1px solid #00AEEF;
    padding-top:10px;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li ul, #nav li ul li{ /* second-level width, not including padding */
	text-transform:none;
	width:280px;
}

/* subnav links */
#nav li ul a{
	color:#00AEEF;
	background:none;
	border:none;
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
}

/* Opera hack */
html:first-child #nav li, html:first-child #nav a{
	width: 10em; /* width needed or else Opera goes nuts */
}