/* ================================================================ 
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/dd_valid.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 {font-family: arial, sans-serif; width:800px; position:relative; top: 4px; margin:0; font-size:11px; margin:0px 0 0px 0; z-index:100; float: left}
.menu ul li a, .menu ul li a:visited {background:#D8DB56; display:block;  text-decoration:none; font-weight: bold; color:#7F7F7F; float: left; height:21px; text-align:center; color:#fff; line-height:20px; font-size:10pt; overflow:hidden;}
.menu ul {padding:0; margin:0;list-style-type: none; }
.menu ul li {float:left; margin-right:1px; position:relative;}
.menu ul li ul {display: none;}


.menu ul li:hover a {color:#7F7F7F; font-weight: bold;background-color:#D8DB56;}
.menu ul li:hover ul {display:block; position:absolute; top:21px; left:0; width:105px; text-align: left;}
.menu ul li:hover ul li a.hide {color:#fff;}
.menu ul li:hover ul li:hover a.hide {background:#D8DB56;font-weight: bold; color:#000;border:1px solid #7F7F7F;}
.menu ul li:hover ul li ul {display: none;}
.menu ul li:hover ul li a {display:block; width: 150px; color: white;background:#D8DB56;border-top:1px solid #7F7F7F;border-left:1px solid #7F7F7F;border-right:1px solid #7F7F7F; text-align: left;}
.menu ul li:hover ul li a.bottom {display:block; color: white;background:#D8DB56;border-bottom:1px solid #7F7F7F;}
.menu ul li:hover ul li a:hover {background:#D8DB56;color: #7F7F7F;}
.menu ul li:hover ul li:hover ul {display:block; position:absolute; left:105px; top:0;}
.menu ul li:hover ul li:hover ul.left {left:-105px;}

*/

.menu {
width:800px; 
font-size:10pt;
position:relative;
z-index:100;
padding-left: 30px;
float: left;
}
/* 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 {

}
/* 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;
display:inline;margin:0;padding:0;

}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:10pt;
font-weight: bold;
text-decoration:none; 
color:#fff; 
/* width:139px;  */
height:27px; 
display:inline;margin:0;padding:0;
/*
border:1px solid #fff; 
border-width:1px 1px 0 0;
*/ 
background:#D8DB56; 

line-height:27px;
}

.menu ul ul a, .menu ul ul a:visited {
display:block;
font-size:10pt;
font-weight: bold;
text-decoration:none; 
color:#fff; 
/* width:139px;  */
height:27px; 


border:1px solid #D8DB56; 
border-width:1px ;
 
background:#D8DB56; 

line-height:26px;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
/* width:150px;
w\idth:139px; */
float: left;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#D8DB56;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#D8DB56;
}
.menu ul ul :hover > a.drop {
background:#D8DB56;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#D8DB56;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background:#D8DB56;
}


/* 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:26px;
left:0; 
/* width:150px; */
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:26px;
t\op:27px;
}

/* 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 {
background:#D8DB56; 
color:#fff; 
height: auto; 

padding: 0px 4px 0 4px;
width:129px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:150px;
w\idth:129px;
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#7F7F7F; 
background:#D8DB57;
}
.menu :hover > a, .menu ul ul :hover > a {

color:#7F7F7F; font-weight: bold;background-color:#D8DB56;
}

/* 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;
}

.borderstyle
{
border-top: 1px solid #7F7F7F;
border-left: 1px solid #7F7F7F;
border-right: 1px solid #7F7F7F;
}

.borderstylebottom
{
border: 1px solid #7F7F7F;
}

li .highlight
{
font-weight: bold;
color: #7F7F7F;
}