/* CSS Document */

/* ================================================================ 
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:700px; 
font-size:0.85em;
position:relative;
z-index:100;
background-color: #ccc;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
width: 700px;
text-align: center;
border-bottom: 1px solid #a2a2a2;
}
.menu ul ul {
width:100px;
}
/* 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:100px;
position:relative;
margin: 0;
padding: 0;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
text-decoration:none;
font: bold 10px Verdana, Arial, Helvetica, sans-serif; 
color:#31349c; 
width:99px; 
height:25px;
background: #ccc; 
/* border-left: 1px solid #a2a2a2; */
border-right: 1px solid #a2a2a2;
padding:0 0 0 0; 
line-height:24px;
text-align: center;
}

.menu a.first, .menu a.first:visited {
display:block;
text-decoration:none;
font: bold 10px Verdana, Arial, Helvetica, sans-serif; 
color:#31349c; 
width:99px; 
height:25px;
background: #ccc; 
border-left: none;
border-right: 1px solid #a2a2a2;
padding:0 0 0 0; 
line-height:24px;
text-align: center;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:99px;
w\idth:99px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#d4d8bd url(../../graphics/drop.gif) bottom right no-repeat;

}
/* style the second level hover */
.menu ul ul a.drop:hover{
background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
}
.menu ul ul :hover > a.drop {
background:#c9ba65 url(../../graphics/drop.gif) bottom right no-repeat;
}
/* 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:31px;
left:0; 
width:150px;
}
/* another hack for IE5.5 
* html .menu ul ul {
top:30px;
t\op:31px;
}

/* hide the sub levels and give them a position absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:25px;
left:0; 
width:130px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:25px;
t\op:25px;
}


/* 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:#d4d8bd; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px; */
/* yet another hack for IE5.5 */
background:#f1f1f5; 
color:#31349c; 
height:auto; 
line-height:1.5em; 
padding:6px 10px; 
width:130px;
border-bottom: 1px solid #ccc;
text-align: left;
}
* html .menu ul ul a{
width:130px;
w\idth:130px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#993333; 
background:#cccccc;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#993333;
background:#cccccc;
}

/* style the top level hover current site
.menu a:hover{
color:#993333; 
background:#ccc;
border-left: 1px solid #a2a2a2;
}

.menu a.first:hover{
color:#993333; 
background:#ccc;
border-left: none;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#993333;
background:#ccc;
border-left: 1px solid #a2a2a2;
border-right: 1px solid #a2a2a2;
}
*/

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