/* ================================================================ 
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/dropmenus/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.
=================================================================== */

#navlist ul li a#current
{
text-decoration: underline;
/*background: url("../img/menu_hover.gif")/*#949e7c*/;
}

.dropmenu ul li a#current
{
text-decoration: underline;
background: url("../img/menu_hover.gif")/*#949e7c*/;
}

.dropmenu ul li ul li a#current
{
text-decoration: underline;
background-color: #949e7c;
background-image: none;
}

.dropmenu {
width: 100%;
color: black;
border-top: 1px solid white;
margin-bottom: 16px;
font-size:0.85em;
position: relative;
clear: both;
float: left;
z-index: 5;
background: url("../img/menu.gif") /*black*/;
}
/* remove all the bullets, borders and padding from the default list styling */
.dropmenu ul {
padding:0;
margin:0;
list-style-type:none;
}
.dropmenu ul ul {
width:150px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown dropmenu positon */
.dropmenu li {
float:left;
width:80px; /* 150 */
position:relative;
}

/* style the links for the top level */
.dropmenu ul li a, .dropmenu ul li a:visited {
display:block;
font-size:11px;
font-weight: bold;
text-decoration:none; 
/*text-align: left;*/
color: black; 
width:79px; /* 139 */
height:21px; 
border-right:1px solid white /*#AA1415*/; 
border-width:1px 1px 0px 0px; 
/*padding-left:10px;*/
line-height:19px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .dropmenu a, * html .dropmenu a:visited {
width:80px;
w\idth:79px;
}

.dropmenu ul li a {
 text-align: center;
}

.dropmenu ul li ul li a {
 border-right:1px solid black /*#AA1415*/;
 text-align: left;
}

/* style the second level background */
.dropmenu ul ul a.drop, .dropmenu ul ul a.drop:visited {
/*background:#d4d8bd url(../images/drop.gif) bottom right no-repeat;*/

background: #C3D4DF url("../images/arrow-right.gif") no-repeat right center;

}
/* style the second level hover */
.dropmenu ul ul a.drop:hover{
background:#385C72 url("../images/arrow-right-w.gif") no-repeat right center;
}
.dropmenu ul ul :hover > a.drop {
background:#385C72 url("../images/arrow-right-w.gif") no-repeat right center;
}
/* style the third level background */
.dropmenu ul ul ul a, .dropmenu ul ul ul a:visited {
background:#e2dfa8;
}
/* style the third level hover */
.dropmenu ul ul ul a:hover {
background:#b2ab9b;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.dropmenu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:21px;
left:0; 
width:150px;
}
/* another hack for IE5.5 */
* html .dropmenu ul ul {
top:20px;
t\op:21px;
}

/* position the third level flyout dropmenu */
.dropmenu ul ul ul{
left:160px; 
top:0;
width:150px;
}
/* position the third level flyout dropmenu for a left flyout */
.dropmenu ul ul ul.left {
left:-150px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.dropmenu table {position:absolute; top:0; left:0;}

/* style the second level links */
.dropmenu ul ul a, .dropmenu ul ul a:visited {
border-right:1px solid black /*#AA1415*/;
background:#d4d8bd; 
color:#000; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:139px
}

/* yet another hack for IE5.5 */
* html .dropmenu ul ul a{
width:150px;
w\idth:139px;
}


/* style the top level hover */
.dropmenu a:hover {
color:black; 
background: url("../img/menu_hover.gif")/*#949e7c*/;
}

.dropmenu ul ul a:hover {
 background: red;
}

.dropmenu ul ul :hover > a {
 color:#fff; 
 background: gray;
}

.dropmenu :hover > a {
color:black;
background: url("../img/menu_hover.gif")/*#949e7c*/;
}

/* make the second level visible when hover on first level list OR link */
.dropmenu ul li:hover ul,
.dropmenu ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.dropmenu ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.dropmenu ul :hover ul :hover ul{ 
visibility:visible;
}
