.menu {
z-index:1000;
font-size: 15px;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
	width:224px;
	background:#D9D9D9;
}
/* hack for IE5.5 */
* html .menu ul {margin-left:-16px; ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
.menu li {
	position:relative;
	background:#D9D9D9;
	height:26px;
}

/* get rid of the table */
.menu table {
	position:absolute;
	border-collapse:collapse;
	top:0;
	left:0;
	z-index:100;
	font-size:1em;
}

/* style the links */
.menu a, .menu a:visited {
	display:block;
	text-decoration:none;
	height:25px;
	line-height:25px;
	width:223px;
	color:#000;
	text-indent:25px;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {
	background:#D9D9D9;
	width:224px;
	w\idth:223px;
}
/* style the link hover */
* html .menu a:hover {
	color:#fff;
	background:#999999;
}
.menu :hover > a {
	color:#fff;
	background:#999999;
}




/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	width: 180px;
	color:#999999;
	border:1px solid #999999;
	background:#FFFFFF;
	visibility:hidden;
	position:absolute;
	top:0;
	left:224px;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 12px;
}
.menu ul ul ul {
	left:180px;
}
.menu ul ul li {
	background:#FFFFFF;
}


/* style the links */
.menu ul ul a, .menu ul ul a:visited {
	display:block;
	text-decoration:none;
	height:25px;
	line-height:25px;
	width:180px;
	color:#000;
	text-indent:5px;
}
/* hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	background:#FFFFFF;
	width:180px;
	w\idth:179px;
}
/* style the link hover */
* html .menu ul ul a:hover {
	color:#fff;
	background:#999999;
}
.menu ul ul :hover > a {
	color:#fff;
	background:#999999;
}




/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
	visibility:visible;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
	visibility:hidden;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility:visible;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
	visibility:visible;
}

.menu li {float:left;}