/* style the outer div to give it width */
.menu {
width:500px;
height:25px;
font-size:0.85em;
position:relative;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
}
.menu ul ul {
width:94px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:100px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none; 
color:#fff; 
text-align:center;
width:99px; 
height:25px;
border-width:0px; 
/*background:#758279; */
padding-left:0px; 
line-height:29px;
font-weight:bold;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:100px;
w\idth:99px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {border-collapse:collapse; border:0; position:absolute; left:0; bottom:-1px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
bottom:25px;
left:0;
width:95px;
border-top:2px solid #444;
border-left:2px solid #444;
border-right:2px solid #999;
text-align:left;
}
* html .menu ul ul {
bottom:25px;
border-top:2px solid #444;
border-left:2px solid #444;
border-right:2px solid #999;
width:74px;
}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#ffffff;
-moz-opacity:.8;
filter:alpha(opacity=80);
color:#000; 
height:auto; 
line-height:1em; 
padding:3px 10px; 
width:71px;
border:2px solid #fff;
border-width:0px 2px 0px 2px;
margin-bottom:-1px;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:95px;
w\idth:76px;
}
*html .menu ul ul a:visited{
width:76px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
/*color:#5b6777;*/
color:#649fcd;
text-decoration:none;
border:2px solid #00132b;
border-width:0px 0px 0px 0px;
/*background:#949e7c;*/
}
.menu :hover > a, .menu ul ul :hover > a {
color:#649fcd;
text-decoration:none;
/*background:#949e7c;*/
}

/* style the top level hover */
.menu ul ul a:hover{
/*color:#5b6777;*/
border:2px solid #649fcd;
border-width:0px 2px 0px 2px;
/*background:#949e7c;*/
}

/* 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;
height:auto;
}