/* ================================================================ 
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 {
padding:0;
margin:0px auto;
font-size:0.85em;
position:relative;
z-index:100;
border-left: #ffffff 1px solid; 
border-right: #ffffff 1px solid; 
border-top: #000000 0px solid; 
border-bottom: #000000 1px solid;
background-image: url(images/button-bg.gif); 
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
height:30px; 
line-height:30px; 
padding:0px;
margin:0;
list-style-type:none;
}
.menu ul ul {
width: 197px; 
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
margin-right: 1px;  /* creates a 1px separator to the right */
width: 197px; 
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none; 
font-size: 10pt; 
color: #000; 
font-family: arial; 
font-weight: bold;
width: 197px; 
height:30px; 
background: #939905; 
background-image: url(images/button-bg.gif);
line-height:30px;
border-right: 1px #000 solid;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:197px; 
w\idth: 197px; 
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#ddd url(images/drop.gif) bottom right no-repeat;
}
/* style the second level hover */
.menu ul ul a.drop:hover{
background: #939905 url(images/drop.gif) bottom right no-repeat;
}
.menu ul ul :hover > a.drop {
background: #939905 url(images/drop.gif) bottom right no-repeat;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background: #ddd;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background: #939905;
}

/* 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: 197px; 
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
t\op:30px;
}

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

/* 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 {
background:#ddd; 
color:#000; 
height:auto; 
line-height:30px; 
padding:0px; 
width: 197px; 
border: 1px solid #777;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width: 197px; 
w\idth: 197px; 
}


/* style the top level hover */
.menu a:hover {
color:#000; /* top level text hover color for IE6 */ 
background: ;  
background-image: url(images/button-bg.gif);
}

.menu ul ul a:hover{
color:#fff;
background: #444455;
}
.menu :hover > a {
color:#000;
background: #bbb;
background-image: url(images/button-bg.gif);
}

.menu ul ul :hover > a {
color:#fff;
background: #444455;
}

/* 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;
}
