/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/flyout2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the assocaited (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
.menu {
z-index:1000;
font-size:90%;
margin:25px 0 50px 15px; /* this page only */
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
width:150px;
position:relative; top:-25px; left:-30px;
}
/* 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 ul li 
{
position:relative;
background:rgb(190,190,190);
height:26px;
}

.menu ul li ul li
{
    background:rgb(190,190,190);
}

/* 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:149px;
    color:#000;
    text-indent:5px;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {background:rgb(190,190,190); width:150px; w\idth:140px;}
/* style the link hover */
* html .menu a:hover {color:#fff; background:rgb(190,190,190);}
.menu :hover > a {
color:#fff;
/*background:#949e7c;*/
background:rgb(190,190,190);
width:138px;
}

/* 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:0;
left:150px; 
}
/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul,
.menu ul a:hover ul {
color:black;
/*background:#949e7c;*/
background:rgb(190,190,190);
visibility:visible;
z-index:2000;
}

/* 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;
}
<!--[if IE 7]>
.menu li {float:left;}
<![endif]-->