.menu {
position:relative; 
z-index:1000;
margin: 0;
padding: 0;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding: 0;
margin: 0;
list-style-type:none;
width: auto;
text-align: left;
}
/* hack for IE5.5 */
* html .menu ul {margin-left: 0; ma\rgin-left:0;}
/* position relative so that you can position the sub levels */
.menu li {
position:relative;
margin: 0;
}

/* 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;
width:144px;
padding: 5px 15px;
color:#FFF;
background:#002168;
border:1px solid #00aeef;
border-width: 0 0 1px;
}
/* hack for IE5.5 */
* html .menu a, * html .menu a:visited {width:144px; w\idth:144px;}
/* style the link hover */
.menu a:hover{
color:#00aeef; 
background:#002168;
}

/* style the flyout links */
.menu ul ul a, .menu ul ul a:visited {
color:#002168;
background:#00aeef;
border:1px solid #FFF;
border-width: 0 0 1px;
}
/* hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:144px; w\idth:144px;}
/* style the link hover */
.menu ul ul a:hover{
color:#FFF; 
background:#00aeef;
}
.menu ul ul li.last a, .menu ul ul li.last a:visited {
border-width: 0;
}


/* uncomment this code to make submenu's wider
.menu ul li ul li, .menu ul li ul li a {
 width:180px;
}
*/


/* 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: 0px;
left: 175px; 
}
*html .menu ul ul {
left: 175px;
}
/* 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;
}
