/* ================================================================ 
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.
=================================================================== */

.dropdown {
/*width: 78em;*/
width: 84em;
height:4.5em;
float: left;
position: relative;
top: 0.3em;
margin-left: 0em;
z-index:100;
text-align: left;
}

/* remove all the bullets, borders and padding from the default list styling */
.dropdown ul {
padding:0;
margin:0;
list-style-type:none;
}
.dropdown ul ul {
width:95px;
position: absolute;
}
.dropdownhome {
width: 10px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.dropdown li {
float:left;
width: 13em;
position:relative;
}
/* style the links for the top level */
.dropdown a, .dropdown a:visited {
display:block;
font-size:0.9em;
text-decoration:none; 
color:#FFFFFF; 
width: 13.6em;
height:2.99em; 
/*border:0.2em solid #FFFFFF; */
border-width: 0.1em 0.1em 0 0; 
background:#17386D; 
padding-left:1em;
line-height:3em;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .dropdown a, * html .dropdown a:visited {
/*width:95px;*/
/*width:139px;*/
}

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

}
/* style the second level hover */
.dropdown ul ul a.drop:hover{
background:#17386D url(drop.gif) bottom right no-repeat;
}
.dropdown ul ul :hover > a.drop {
background:#17386D url(drop.gif) bottom right no-repeat;
}
/* style the third level background */
.dropdown ul ul ul a, .dropdown ul ul ul a:visited {
background:#17386D;
}
/* style the third level hover */
.dropdown ul ul ul a:hover {
background:#004890;
}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.dropdown ul ul {
visibility:hidden;
position:absolute;
height:0;
top:2.7em;
left:0; 
width:12em;
}
/* another hack for IE5.5 */
* html .dropdown ul ul {
top:30px;
/*top:31px;*/
}

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

/* style the table so that it takes no ppart in the layout - required for IE to work */
.dropdown table {position:absolute; top:0; left:0;}

/* style the second level links */
.dropdown ul ul a, .dropdown ul ul a:visited {
background:#17386D; 
color:#FFFFFF; 
height:auto; 
line-height:1.3em; 
padding: 0.6em 1em; 
width: 12.5em;
/*border:0.2em solid #FFFFFF; */
border-width:0 0.1em 0.1em 0.1em;
/* yet another hack for IE5.5 */
}
* html .dropdown ul ul a{
width:195px;
}


/* style the top level hover */
.dropdown a:hover, .dropdown ul ul a:hover{
color:#fff; 
background:#004890;
}
.dropdown :hover > a, .dropdown ul ul :hover > a {
color:#fff;
background:#004890;
}

/* make the second level visible when hover on first level list OR link */
.dropdown ul li:hover ul,
.dropdown ul a:hover ul{
visibility:visible; 
}
/* keep the third level hidden when you hover on first level list OR link */
.dropdown ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
.dropdown ul :hover ul :hover ul{ 
visibility:visible;
}

