/* ================================================================ 
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 {
position:relative;
z-index:100;
margin:0 1px 0 1px;
padding: 0;
padding-left: 10px;
height: 25px;
text-align: center;
border-bottom:1px solid #5687AF;
background:#C1D9EA; /* Background color */
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
font-size:13pt;
padding:0;
margin:0;
list-style-type:none;
font-weight:bold;
}
.menu ul ul {
width:100px;
font-weight:normal; /* Unbold subitems??? */
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
font-size:10pt;
width:95px;
position:relative;
}
/* style the links for the top level */
.menu ul a, .menu ul a:visited {
display:block;
font-size:12pt;
text-decoration:none;
color:#00174A; 
width:84px; 
height:25px;

line-height:24px;
background:#C1D9EA; /* Background color */
}
.menu ul ul a, .menu ul ul a:visited {
display:block;
font-size:10pt;
text-decoration:none;
color:#000746; 
width:84px; 
height:25px;

line-height:24px;
background:#C1D9EA; /* Background color */
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:100px;
}


/*
 * Sub menu stuff below
 */
/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
text-align: left;
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0; 
width:100px;
border-top:1px solid #5687AF;
}
/* another hack for IE5.5 */
* html .menu ul ul {
left:5px;
top:24px;
}

/* 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 background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#9EC3DE;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#5E98C6;
}
.menu ul ul :hover > a.drop {
background:#5E98C6;
}
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
background:#9EC3DE;
color:#000077; 
height:auto;
font-weight:bold;
line-height:1em; 
padding:5px 10px; 
width:100px
}
.menu ul ul li {
border-bottom:1px solid #5687AF;
border-right:1px solid #5687AF;
border-left:1px solid #5687AF;
width:120px;
}
/* yet another hack for IE5.5 */
* html .menu ul ul a{
width:100px;
w\idth:89px;
}


/* style the top level hover */

.menu a:hover, .menu :hover > a{
color:#559CD4;
background:#C1D9EA;
}

.menu ul ul a:hover, .menu ul ul :hover > a {
color:#3D80B5;
background:#D6E7F3
}


/**
 * This part is what makes CSS menus possible. Don't worry about this stuff
 */
/* 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; 
}
/* keep the third level hidden when you hover on first level list OR link */
.menu 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;
}
