/* ================================================================ 
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 {
width:100%; 
font-size:0.85em;
position:relative;
top: -9px;
left:-1px; /*position from left layer edge*/
z-index:100;
}

/* a hack so that IE5.5 position from left layer edge is corrected */
* html .menu {
left:25px;
l\eft:25px;
}

/* 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:122px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
position:relative;
float:right;
top:5px;
left:0px; /*drop down box position in relation to top level*/
width:125px;
/*border-right:3px solid #FFFFFF;*/
/*margin: 0 0.15em;*/
}

/* a hack so that IE5.5 drop down box position in relation to top level is corrected */
* html .menu li {
left:-5px;
l\eft:-5px;
border-right:0px solid #DDEDEF;
b\order-right:0px solid #DDEDEF;
}

/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
margin-top: 2px;
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
text-decoration:none; 
color: #FFFFFF; 
width:118px; 
height:50px; /* covers gaps  was 20px */
background: url(images/button.gif) top left no-repeat;
padding-left:8px;
padding-top: 4px; 
line-height:15px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:115px;
w\idth:115px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background: url(images/button.gif) #fff bottom left repeat;

}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:19px; 
width:125px; /* increase this on a float right for firefox */
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:19px;
t\op:19px;
}


/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {position:absolute; top:0; left:0;}

/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
height:19px;
color:#FFFFFF; 
padding-left:8px;
padding-top: 4px; 
width:118px

/* yet another hack for IE5.5 */
}

* html .menu ul ul a{
width:118px;
w\idth:118px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#FFFFFF; 
background: url(images/button_ov.gif) top left no-repeat;
}

.menu :hover > a, .menu ul ul :hover > a {
color:#FFFFFF;
background: url(images/button_ov.gif) top left no-repeat;
}

/* 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; 
}