ul#nav li a {
	color: #fff;
	display: block;
	text-decoration: none;
}
ul#nav li ul li a {
	color: #666;
	text-transform: capitalize;
	text-decoration: none;
}
ul#nav a:hover {
    text-decoration: none;
}
ul#nav, 
ul#nav * {
    font-size: 12px;
    margin: 0px;
    padding: 0px;
    list-style: none;
}
ul#nav {
	position: absolute;
	bottom: 0px;
	left: 20px;
}
ul#nav li { /*make list horizontal*/
	float: left;
	display: block;
	position: relative;
	padding: 6px 5px;
	color: #fff;
	text-indent: 0px;
    z-index: 10;
}
ul#nav li ul { /*style of all navigation lists*/
	display: none;
	border: 1px solid #bbb;
	background: #fff !important;
	position: absolute;
	top: 25px;
	left: 1px;
	z-index: 10;
}
ul#nav li:hover {
    z-index: 20;
}
ul#nav li:hover > ul {
    display: block;
    z-index: 20;
}
ul#nav li ul li { /*second level*/
	width: 130px;
	background: url(../images/menudiv.gif) repeat-x left top;
	text-align: left;
}
ul#nav li ul li:hover { /*highlighting current selection*/
	background: #f1f1f1 url(../images/menudiv.gif) repeat-x left top;
}
ul#nav li ul li:first-child {
	background: #fff;
    background-image: none;
}
ul#nav li ul li:first-child:hover {
	background: #f1f1f1 !important;
}
ul#nav li ul li:hover > a {
	color: #000;
}
li.submenu > a {
	background: url(../images/navmenupointer1.gif) no-repeat 98% 7px;
}
li.submenu > a:hover  {
	background: #f1f1f1 url(../images/navmenupointer1.gif) no-repeat 98% 7px;
}

/* third level */
ul#nav li ul li ul {
	display: none;
	position: absolute;
	background: #fff;
	top: 4px;
	left: 70px;
}

li.level0 {
    padding-right: 20px !important;
    background: url(../images/pointer-level0.gif) no-repeat right center !important;
}
li.level0-empty {
    padding-left: 10px !important;
    padding-right: 15px !important;
    background: url(../images/pointer-level0-empty.gif) no-repeat right center !important;
}