﻿#menu {
    width: 100%;
    height: 23px;
	margin: 0 auto;
	margin:-10px 0px 0px 635px;
	background: transparent url(./img/content_back.gif) repeat-x top;
	border-bottom: 0px solid #000;	
	text-align: left;
	z-index: 9999;
}

#nav, #nav ul{
margin:0;
padding:0;
list-style-type:none;
list-style-position:outside;
position:relative;
bottom: 0;
line-height:1.5em;
}

#nav ul li {
}

#nav a{
display:block;
color:#fff;
text-decoration:none;
background: transparent /*url('./img/background_menu_selected_items.gif') repeat-x top*/;
padding:2px 10px 3px 7px;
margin: 0;
}

#nav a:hover{ color: #222; background: #f3f3f3; text-decoration: underline; }

#nav li{
float:left;
position:relative;
}

#nav ul {
position:absolute;
display:none;
width:12em;
top: 24px;
}

#nav li ul a{
width:12em;
height:auto;
float:left;
top: -1px;
color: white;/*#222;*/
background: #272525; /* #cccccc url(/Content/img/ui-bg_gloss-wave_35_afafaf_500x100.png) 50% 50% repeat-x;*/
border: 1px solid #272525; /*#aaa;*/
border-top: 0;
padding-left: 7px;
}

#nav ul ul{
top:auto;
}	

#nav li ul ul {
left:12em;
margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
display:none;
}
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
display:block;
}

#nav li.ChildSelected a, #nav li.Selected a {
color: #333344;
background: White;
}

#nav li.ChildSelected > ul li a {
background: #cccccc url(/Content/img/ui-bg_gloss-wave_35_afafaf_500x100.png) 50% 50% repeat-x;
}

#nav li.ChildSelected > ul li.Selected a {
color: #333344;
background: White;
}

#nav .topBorderFix {
border-top: 1px solid #999;
}