#nav{
	position: relative;
	list-style: none;
	margin:0px;
	padding: 0px;
	margin: 0px;
	z-index: 99
}

#nav ul { 
	margin:0px;
	list-style: none;
    width:9em;
    position:absolute;
    overflow:visible; 
	background: #FFF;
	min-height:2.5em;
	padding: 0px;
}

* html #nav ul { 
  height:2.5em;
}

* + html #nav ul { 
  top: 23px;
  left: 0px;
}

#nav li {
	font-size:0.8em;
    margin:0px;   
    position: relative; 
    float:left;
	width: 101px;
    display:block;
  min-height:1.8em;
}

* html #nav li {
  height: 2.5em;
}

/*here*/
#nav ul li {
	font-size:0.9em;
	background-color:#FFF;
	width: 18em;
	border: 1px black;
	border-style: none solid none solid;
}

#nav ul .top {
	border-top: 1px solid #000;
}

#nav ul .bottom {
	border-bottom: 1px solid #000;
	margin-top:1px;
}

#nav ul .onlyChild {
	border: 1px solid #000;
}

#nav ul li a{
	color: #000;
}

#nav ul ul li{
	border: 1px black;
	border-style: none solid none solid;
	width:18em;
}


 
#nav a {
	color: #000;
  text-decoration:none; 
  display:block;
  padding:0.4em 0.5em 0em 0.5em; 
	min-height:20px;
}

* html #nav a {
  height: 20px;
}

#nav .topLevel {
	text-align: center;
	padding-left: 0em;
	margin-right:1px;
	height: 18px;
	background: none;
}

#nav .topLevel:hover {
	background: #50bbff;
}

#nav a:hover, #nav li:hover {

}

#nav ul li:hover, #nav ul li a:hover {
	background-color:#50bbff;
}

#nav ul {
	display:none;
}


/*all see this */
#nav ul ul, #nav ul ul ul{
    display:none;
    position:absolute; 
    margin-top:-2.8em; 
    margin-left:17.9em;
}

/* non-IE browsers see this */
 #nav ul li>ul, #nav ul ul li>ul{
    margin-top:-2.3em; 
 }

 
#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul, #nav li:hover ul ul ul ul ul{
    display:none;
}

#nav li:hover ul, #nav ul li:hover ul, #nav ul ul li:hover ul, #nav ul ul ul li:hover ul, #nav ul ul ul ul li:hover ul{
	display:block;
}

li>ul { 
	top: auto;
	left: auto;
	text-align:left;
}
