/* ================================================================ 
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:628px; 
position:relative;
z-index:100;
padding: 6px 0 0 0;
margin: 0 0 0 130px;
background-image:url(menu_bg1.gif); background-position: 0 6px; background-repeat:repeat-x;
}
* html .menu {
margin: 0 0 0 127px;
}
/* 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;
position:relative;
text-align:center;
background-image:url(menu_sep.gif); background-repeat:no-repeat; background-position:right;
}
/* style the links for the top level */
.menu a, .menu a:visited {
padding:0 9px 0 9px;
color:#fff;
display:block;
text-decoration:none; 
border-right:1px solid #3B5E80; 
border-left:1px solid #5F7F9C;
border-width:0 1px 0 1px; 
line-height:30px;
background-image:url(menu_bg1.gif);
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#fff url(arrow1.gif) bottom right no-repeat;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background-color:#7297BB ;
}
.menu ul ul :hover > a.drop {
background-color:#7297BB;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#fff;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#fff;
}


/* 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:30px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:29px;
t\op:30px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:150px; 
top:0;
width:150px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-150px;
}

/* 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 {
text-align:left;
background:#7297BB; 
border:1px solid #7297BB;
color:#fff; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:169px;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
text-align:left;
width:150px;
w\idth:169px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover, .menu a#active {
color:#fff; 
background:#7297BB;

}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background:#7297BB;
}
.menu ul ul a:hover{
color:#7297BB; 
background:#D8EAFA;
}
.menu ul ul :hover > a {
color:#7297BB;
background:#D8EAFA;
}


/* 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;
}
