div.menu
{
	font-size:1.1em;
	font-weight:bold;
	/*line-height:40px;*/
	/*height:38px;*/
	
}
/* both top level and second level*/
div.menu ul
{
	background:#050707 url(../images/interface/tab_bg.gif) repeat-x scroll 0 0;
}
ul.nav
{
	position:relative;
	padding:0;
	margin:0;
	list-style:none;
	height:40px;
	z-index:1000;
}

ul.nav a
{
	display:block;
	text-decoration:none;
	padding:0px 10px;
	line-height:40px;
	border-bottom:none;
	background:#050707 url(../images/interface/tab_bg.gif) repeat-x scroll 0 0;
	border-right:1px solid #303030;
	white-space:nowrap;
}
ul.nav a:hover, ul.nav ul li a:hover
{
	color: #FFFFFF;
	background: #050707 url(../images/interface/tab_selected.gif) repeat-x scroll 0 0;
	/*border: none;*/
}
ul.nav a:focus, ul.nav a:focus {
	text-decoration:none;
	
	outline-style:none;
	outline-width:0;
}

ul.nav li
{
	float:left;
	/*width:9em;*/
	padding:0;
	margin:0;
	position:relative;
	/*height: 1%;*/
	display:inline;
}
ul.nav li.current a
{
	color:#ffffff;
}
ul.nav li ul
{
	position:absolute;
	border-right:1 px solid #333; /* stops the root nav losing right border */ 
	background: #050707 url(../images/interface/tab_selected.gif) repeat-x scroll bottom left;
	padding:0;
	margin:0;
	list-style:none;
	left:-9999px; 
	top:-9999px;
	z-index:2000;
	width:auto;
	min-width:140px;
}

ul.nav li ul li
{
	float:none;
	padding:0;
	margin:0;
	display:block;
	background-color:transparent;
	width:14em;
	height:1%;
	
}
ul.nav li ul li:hover, ul.nav li ul li.onhover
{
	background: #050707 url(../images/interface/tab_selected.gif) repeat-x scroll bottom left;
}
ul.nav li ul li a
{
	border-right:0;
	display:block;
	height:30px;
	line-height:30px;
	font-size:0.9em;
	min-width:2em;
	width:14em;
	background-color:transparent;
	background-image:none;
	zoom:1;
}
ul.nav li ul li a:hover
{
	background-color:transparent;
	background-image:none;
}
ul.nav li:hover ul, ul.nav li.onhover ul
{
	left: 0px; 
	top:38px;
	
} 

ul.nav > li:hover ul,
ul.nav > li:hover > li:hover ul
{
	left:0;
}

/* text color of sub links when root level is moused over */ 
ul.nav li:hover ul a, ul.nav li.onhover ul a
{
	/*background:transparent url(none) 0 0;*/
	/*color:#555;*/
}

/* hide from IE5 mac \ 
leave at end of file */
ul.nav li, ul.nav li ul li {width: auto;}