.menu {
z-index:1000;
font-size:10px;
}
/* remove all the bullets, borders and padding from the default list
styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
width:20px;
}

/* hack for IE5.5 */
* html .menu ul {margin-left:-20px;
ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
.menu li {
position:relative;
background: transparent;
height:165%;
margin: 0;
}
.menu li ul {
background: #e7e7e7;
width:150px;
}
/* get rid of the table */
.menu table {
position:absolute; 
border-collapse:collapse;
border:none;
top:0px; 
left:0; 
z-index:100; 
font-size: 1em;
}
.menu table td{
border:none;
}

/* style the links */
.menu a, .menu a:visited {
display:block; 
text-decoration:none;
height:164%;
line-height:164%;
width:20px;
color: #000000;
text-indent:3px;
font-size:10px;
margin: 0;
}
.menu ul a, .menu ul a:visited {
display:block; 
text-decoration:none;
height:164%;
line-height:164%;
width:20px;
color: #000000;
text-indent:3px;
font-size:10px;
margin: 0;
}
.menu li ul a, .menu li ul a:visited {
display:block; 
text-decoration:none;
height:164%;
line-height:164%;
width:150px;
color: #000000;
text-indent:3px;
font-size:10px;
margin: 0;
}


/* style the link hover */
* html .menu a:hover {
font-size:10px;
color: #555555; 
background: #fdfdfd;
margin: 0;
width:20px;
w\idth:20px;
}
.menu :hover > a {
color: #555555;
font-size:10px;
background: transparent;
width:20px;
}
.menu li ul :hover > a {
color: #555555;
font-size:10px;
background: #d7d7d7;
width:150px;
}
/* hide the sub levels and give them a positon absolute so that they take
up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
top:15px;
left:-125px; 
z-index:999;
}
.menu ul ul ul{
 top:0;
 left:-150px;
 }
*:first-child+html #first_ul { top:55px; }
* html #first_ul {
 top:55px;
 left:-125px; 
}
* html .menu ul ul {
left:-125px; 
}
* html .menu ul ul ul{
left:-150px;
}
/* make the second level visible when hover on first level list OR link
*/
.menu ul :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;
}
* + html .menu li.sub {margin-bottom:-2px;}

