/* ================================================================ 
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:absolute;
width:920px;
height:24px;
font-size:0.85em;
background-image:url('images/rollover2.gif');
margin: 0 auto 0 auto;
right:12px;
z-index:100;
text-align:center;
}

/* 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:90px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
left:41px;
width:90px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none; 
color:#fff; 
width:90px; 
height:24px; 
background-image:url('images/rollover3.gif'); 
padding-left:0px; 
line-height:24px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:90px;
w\idth:90px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#4D99E6;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#4D99E6;
}
.menu ul ul :hover > a.drop {
background:#4D99E6;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#4D99E6;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#4D99E6;
}


/* 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:24px;
left:-41px; 
width:90px;
z-index:100;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:23px;
t\op:24px;
}

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

/* style the table so that it takes no part 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 {
background:#4D99E6; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 0px; 
width:90px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:90px;
w\idth:90px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#fff; 
background:#4D99E6;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#3C76B2;
}

/* 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;
}
.menu ul :hover ul :hover ul{ 
visibility:visible;
}

/*make the ends prettier with rounded images*/

div#menu-left{
 position:absolute;
 float:left;
 width:12px;
 height:24px;
 top:0px;
 left:-12px;
 background-image:url('images/menu-left.gif');
 z-index:98;
 }
div#menu-right{
 position:relative;
 float:right;
 width:12px;
 height:24px;
 top:0px;
 right:-12px;
 background-image:url('images/menu-right.gif');
 z-index:98;
 }
