/* ================================================================ 
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/final_drop.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 {
font-size:10px;
position:relative;
z-index:100;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
height :20px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
position:relative;
color:#fff; 
background:#518DC9; 
height: 20px;
}

/* a hack so that IE5.5 float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */

* html .menu li{
position:relative;
color:#fff; 
background:#518DC9; 
height: 20px;
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none; 
color:#fff; 
margin-right:10px; 
padding-left:2px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
display:block;
font-size:11px;
text-decoration:none; 
color:#fff; 
margin-right:10px; 
padding-left:2px;
}



/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
width: 330px;
height: 20px;
position:absolute;
top:40px;
left:0; 
color:#fff; 
background:#518DC9; 
}
/* another hack for IE5.5 */
* html .menu ul ul {
width: 330px;
height: 20px;
position:absolute;
top:26px;
color:#fff; 
background:#518DC9; 
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:30; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
width: 330px;
background:#518DC9; 
color:#fff; 
height:auto; 
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#ccc;
background:#518DC9;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#ccc;
background:#518DC9;
}

/* 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; 
}
