.menu {
position: relative; 
z-index: 1000;
font-size: 12px;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding: 0;
margin: 0;
list-style-type: none;
width: 120px;
}
/* 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;
}

/* get rid of the table */
.menu table {position:absolute; 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: 120px;
color: #990000;
font-weight: bold;
text-indent: 5px;
border: 1px solid #fff;
border-width: 0 1px 1px 0;
padding-right: 6px;
}

/* hack for IE5.5 */
* html .menu a, 
* html .menu a:visited {
width: 120px; 
w\idth: 120px;}

/* style the link hover */
.menu a:hover{
color: #f60; 
background-color: #fff;
}

.menu li:hover a {
color: #f60; }

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul li ul {
visibility: hidden;
position: absolute;
top:0;
border-left: 1px solid #fff;
left: 126px;
width: 200px; 
text-align: left;
background-color: #f60;
}

.menu ul li ul li:hover a,
.menu ul li:hover ul li a {
color: #fff; }

.menu ul li ul li a,
.menu ul li ul li a:visited {
color: #fff;
font-weight: normal;
padding-right: 0px;
width: 200px;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :hover ul{
visibility: visible;
}

.menu ul ul li a:hover,
.menu ul ul li:hover  {
background-image: none;
background-color: #f40;
color: #fff;
}

.menu ul ul ul li a:hover {
background-color: #f00;
color: #fff;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
visibility:hidden;
left: 200px;
}
/* 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;
background-color: #f40;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul { 
visibility: visible;
}
