#menu {
	padding: 0;
	margin: 0;
	height: 103px;
	width: 100%;
	overflow: hidden;
}

#nav {
	position: relative;
	top: 23px;
	height: 80px;
	width: 100%;
	right: 40px;
	overflow: hidden;
}

#nav li ul, #nav li ul {
	margin: 0;
	padding: 0;
	float: right;
}

#nav li { /*float the main list items*/
	margin: 0;
	display: block;
	padding: 0 7px 0 0;
	_padding: 0 0 0 7px;
	float: right;
	text-align: center;
	font-size: 15px;
	font-weight: bold;
	color: #fff;
}

#nav li ul { display: none; }

#nav li ul  { /*put the subnav below*/
	position: absolute;
	top: 25px;
	padding: 5px 0 3px 0;
	height: 16px;
	width: 100%;
	margin: 0;
	right: 0px;
	overflow: hidden;
}

#nav li ul li { font-size: 13px; }


#nav li.off ul { display: none !important; }
#nav li.on ul { 
	display: block !important;
	z-index: 6001;
}

#nav li.on ul { 
	background: #00aef2;
	border-bottom: 1px solid #333;
}

#nav li a {
	font-weight: normal;
	display: block;
	width: 93px;
	height: 26px;
	color: #fff;
	text-indent: -3px;
	padding-top: 3px;
	background: url(../images/header-tabs-inactive.gif) no-repeat;
}

#nav li.on a { color: #fff; }

#nav li.on ul a, #nav li.off ul a {
	border: 0;
	float: left; /*ie doesn't inherit the float*/
	color: #fff;
	width: auto;
	margin-right: -6px;
}

#nav li.on ul {
	display: block;
	float: right;
	width: 100% !important;
}

#nav li ul li a {
	display: block;
	position: relative;
	height: 14px;
	bottom: 5px;
}

#nav li.on a { background: url(../images/header-tabs-active.gif) no-repeat; }

/*hover states*/

#nav > li:hover, #nav > li a:hover { background: url(../images/header-tabs-hover.gif) no-repeat; }

/*subnav formatting*/

#nav li.on ul a {
	display: block;
	background: transparent;
	color: #fff;
	font-size: 1em;
	margin-right: 10px !important;
}

ul.subnav { float: right; }

ul.subnav li {
	padding: 0;
	margin: 0;
	width: auto;
	text-indent: 10px;
	float: right;
}

/* Subnav hover */
#nav li.on ul li a:hover { text-decoration: underline; }