#nav {
	padding:0;
	margin:0;
	list-style:none;
	height:28px;
	position:relative;
	z-index:500;
	font-family:Arial, Helvetica, sans-serif;
}

#nav li.top {
	display:block;
	float:left;
	padding-right:1px;
	text-align:center;
}

#nav li a.top_link {
	display:block;
	float:left;
	height:28px;
	line-height:29px;
	color:#FFF;
	text-decoration:none;
	font-size:12px;
	font-weight:bold;
	width:104px;
	cursor:pointer;
	background:url(../menuImg/restImg.png);
}

#nav li a.top_link:hover {
	color:#fff;
	background:url(../menuImg/overImg.png) no-repeat;
}

#nav li:hover > a.top_link {
	color:#fff;
	background:url(../menuImg/overImg.png) no-repeat;
}

#nav li:hover > a.top_link span { background:url(../menuImg/overImg.png) no-repeat right top; }

/* Default list styling */

#nav li:hover {
	position:relative;
	z-index:200;

}

#nav ul, #nav li:hover ul ul, #nav li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul ul {
	position:absolute;
	left:-9999px;
	top:-9999px;
	width:0;
	height:0;
	margin:0;
	padding:0;
	list-style:none;
}

#nav li:hover ul.sub {
	left:0;
	border-top:6px solid #FF0000;
	top:28px;
	background:#FF0000;
	white-space:nowrap;
	width:104px;
	height:auto;
	z-index:300;
}

#nav li:hover ul.sub li {
	display:block;
	height:20px;
	position:relative;
	float:left;
	font-weight:normal;
	border-bottom:1px solid #999;
}

#nav li:hover ul.sub li a {
	display:block;
	font-size:11px;
	height:20px;
	width:180px;
	/* you set submenu width here */
	line-height:20px;
	color:#FFF;
	text-decoration:none;
}

#nav li ul.sub li a.fly { background:#036ec6; color:#FFF;}

#nav li:hover ul.sub li a:hover {
	background:#FF0000;
	color:#fff;
}

#nav li:hover ul.sub li a.fly:hover {
	background:#FF0000;
	color:#fff;
}

#nav li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul, #nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul {
	left:90px;
	top:-4px;
	background: #fff;
	padding:3px;
	border:1px solid #3a93d2;
	white-space:nowrap;
	width:104px;
	z-index:400;
	height:auto;
}
