/* ================================================================ 
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.
=================================================================== */


#dropmenu {
width:700px; 
position:relative;
left:5px;
top:5px;
z-index:100;
font-size:0.8em;
text-align:center;
}
/* remove all the bullets, borders and padding from the default list styling */
#dropmenu ul {
padding:0;
margin:0;
list-style:none;
}
#dropmenu ul ul {
width:140px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#dropmenu li {
float:left;
position:relative;
width:145px;
}
/* style the links for the top level */
#dropmenu a, #dropmenu a:visited {
display:block;
font-size:1.2em;
text-decoration:none; 
color:#FFFF00;
font-weight:bold;
height:21px; 
padding:5px 10px 0 10px; 
border-left:1px solid #FFF;
border-left:1px solid #FFF;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html #dropmenu a, * html #dropmenu a:visited {
width:140px;
w\idth:125px;
}

#dropmenu ul li a:hover {
	background-color:#eaf660;
	color:#0b6ba1;
}

/* style the second level background */
#dropmenu ul ul a.drop, #dropmenu ul ul a.drop:visited {
background:#85b5d0 url(../../graphics/drop.gif) bottom right no-repeat;

}
/* style the second level hover */
#dropmenu ul ul a.drop:hover{
background:#85b5d0 url(../../graphics/drop.gif) bottom right no-repeat;
}
#dropmenu ul ul :hover > a.drop {
background:#85b5d0 url(../../graphics/drop.gif) bottom right no-repeat;
}
/* style the third level background */
#dropmenu ul ul ul a, #dropmenu ul ul ul a:visited {
background:#e2dfa8;
}
/* style the third level hover */
#dropmenu ul ul ul a:hover {
background:#b2ab9b;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#dropmenu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0; 
width:150px;
font-size:8px;
}
/* another hack for IE5.5 */
* html #dropmenu ul ul {
top:30px;
t\op:25px;
}

/* position the third level flyout menu */
#dropmenu ul ul ul{
left:150px; 
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
#dropmenu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#dropmenu table {position:absolute; top:0; left:0;}

/* style the second level links */
#dropmenu ul ul a, #dropmenu ul ul a:visited {
background:#85b5d0; 
color:#002d66; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:119px;
text-align:left;
/* yet another hack for IE5.5 */
}
* html #dropmenu ul ul a{
width:150px;
w\idth:119px;
}


/* style the top level hover */
#dropmenu a:hover, #dropmenu ul ul a:hover{
color:#fff; 
background:#949e7c;
}
#dropmenu :hover > a, #dropmenu ul ul :hover > a {
color:#0b6ba1;
background:#c5eaf6;
}

/* make the second level visible when hover on first level list OR link */
#dropmenu ul li:hover ul,
#dropmenu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
#dropmenu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
#dropmenu ul :hover ul :hover ul{ 
visibility:visible;
}
