.menu {
float: left;
width: 125px;
z-index:100;
font-size:10px;
position:relative;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
border:1px solid #A9A9AD;
border-bottom: 0px;
padding:0;
margin:0;
list-style: none;
width:125px;
}
/* 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-color:#F1F1F1;
/*height:23px;*/
border-bottom:1px solid #A9A9AD;
border-left:1px solid #A9A9AD;
border-width:0 1px 1px 0;
}

/* 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:125px;
color:#000;
text-indent: 5px;
}



/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
border:1px solid #A9A9AD;
border-left: 0;
border-bottom: 0;
visibility:hidden;
position:absolute;
left:125px;
/*width: 125px;*/
width: 100%;
border-bottom: 0;
text-align: center;
top: -1px;
line-height: 25px;
}

.menu ul ul li {
background: #E7E7E7;
}

.menu ul ul li:hover {
background: #F1F1F1;
}

.menu ul li:hover {
background: #E7E7E7;
border-left: 0px;
}

/* 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;
}
