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

#menucontainer { width: auto; height: 30px; margin: 0px auto; padding: 0px auto; background-color: #FFD90F; border-top: 1px solid #000; border-bottom: 1px solid #000; }

.menu {/* 6 tabs equals 776px, 7 tabs equals 905px ... 129px per tab */
width: 776px; 
margin: 0px auto; padding: 0px auto;
position:relative;
z-index:1;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding: 0px; margin: 0px;
font-size: 12px;
text-align: center;
list-style-type:none;
}
.menu ul ul {
padding: 0px; margin: 0px;
font-size: 11px;
text-align: left;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width: 125px;
margin: 0px 2px; padding: 0px;
position:relative;
}
/* style the links for the top level */
.menu li a {
display:block;
text-decoration: none; 
color:#000; 
width: 125px; 
height: auto; 
border-top: 1px solid #FFD90F; border-bottom: 1px solid #4277BC; 
background: #FFD90F url('images/navlink-bgd1.gif') repeat-x; 
padding: 0px 0px; 
margin: 4px 0px 0px 0px; 
line-height: 20px;
}
.menu li a:hover {
color:#4277BC; 
border-top: 1px solid #000; border-bottom: 1px solid #FFD90F; 
background: #FFD90F url('images/navlink-bgd2.gif') repeat-x bottom; 
}
.menu li a:active {
color:#FFD90F; 
border-top: 1px solid #000; border-bottom: 1px solid #000; 
background: #000; 
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width: 125px;
w\idth: 123px;
}

.menu li li a { line-height: 16px; }

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background: #A0BBDD;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
background: #4277BC;
}
.menu ul ul :hover > a.drop {
background: #4277BC;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#e2dfa8;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#b2ab9b;
}


/* 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: 25px;
left:0; 
width: 125px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
margin-left: -3px;
top: 24px;
t\op: 25px;
}

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

/* 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 li li a, .menu li li a:visited {
background: #A0BBDD; border-top: 1px solid #FFD90F; border-bottom: 1px solid #4277BC;
color: #000; text-decoration: none; font-weight: normal;
height: auto;  
padding: 2px 10px; margin: 0px 0px 0px -2px;
width: 105px;
w\idth: 105px;
}
.menu li li a:hover {
background: #4277BC; border-top: 1px solid #4277BC; border-bottom: 1px solid #FFD90F; 
color: #FFD90F; text-decoration: none; 
}
.menu li li a:active {
background: #000; border-top: 1px solid #000; border-bottom: 1px solid #000; 
color: #FFD90F; text-decoration: none; 
}
/* yet another hack for IE5.5 */
* html .menu ul ul a{
width: 125px;
w\idth: 105px;
}
/* style the top level hover
.menu a:hover, .menu ul ul a:hover{
color:#000; 
background:#A0BBDD;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#4277BC;
background:#FFD90F;
}
 */
/* 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;
}
