#pad {
	height:140px;
}

#menu {
	padding:0; 
	margin:0; 
	list-style:none; 
	height:40px; 
	position:relative; 
	z-index:1000; 
	font-family:arial, verdana, sans-serif;
	
}

#menu li {
	float:left; 
	margin-right: 1px;
}

#menu li a {
	display:block; 
	float:left; 
	height:40px; 
	line-height:40px; 
	background:#333; 
	color:#aaa; 
	text-decoration:none; 
	font-size:12px; 
	font-weight:bold; 
	padding:0 10px 0 10px;
}

#menu table {
	border-collapse:collapse; 
	width:0; 
	height:0; 
	position:absolute; 
	top:0; left:0;
}

/* Default link styling */

/* Style the list OR link hover. Depends on which browser is used */

#menu li a:hover {
	z-index:1000; 
	position:relative;
	color:#fff; 
	/*background-color:#c60;*/
}

#menu li:hover {
	position:relative; 
	z-index:1000;
}

#menu li:hover > a {
	color:#aaa; 
	/*background:#c60;*/
}

#menu li:hover > a.sub {
	color:#aaa; 
	
}

#menu li.current a {
	color:#aaa; 
	background:#FFF;
}

#menu li a.sub {
	background:  url(line.gif) no-repeat left center;
}
#menu li.current a.sub {
	color:#fff; 
	background:#840 url(line.gif) no-repeat left center;
}

#menu :hover ul {
	left:0; 
	top:40px; 
	width:120px; 
	background:#444;
}

/* keep the 'next' level invisible by placing it off screen. */
#menu ul, 
#menu :hover ul ul {
	position:absolute; 
	left:-9999px; 
	top:-9999px; 
	width:0; 
	height:0; 
	margin:0; 
	padding:0; 
	list-style:none;
}

#menu ul  li.top{
	border-top:1px solid #666;	
}

#menu ul  li.mid{
	border-top:1px dashed #666;	
}

#menu ul  li.bottom{
	border-top:1px dashed #666;	
	border-bottom:1px solid #666;	
}

#menu :hover ul :hover ul
{
	left:120px; 
	top:-1px; 
	background:#222; 
	white-space:nowrap; 
	width:100px; 
	z-index:1000; 
	height:auto;
}

#menu :hover ul li {
	margin:0; 
	border-left:1px solid #666;	
	border-right:1px  solid #666;
}



#menu :hover ul li a {
	width:180px; 
	padding:0px; 
	text-indent:20px; 
	background:#f6f6f6; 
	color:#aaa; 
	height:30px; 
	line-height:30px;
	background:#f6f6f6 url(right-arrow_b.gif) 5px no-repeat ;
}

#menu :hover ul :hover {
	background:#f6f6f6 url(right-arrow.gif) 5px no-repeat ;
	background-color:#ffcc00;
	color:#fff;
}

#menu :hover ul li.currentsub a {
	background:#840; 
	color:#fff;
}

#menu :hover ul :hover ul li a {
	width:100px; 
	padding:0; 
	text-indent:10px; 
	background:#3e3e3e; 
	color:#ccc;
}

#menu :hover ul :hover ul :hover {
	background-color:#d70; 
	color:#fff;
}