/* ================================================================ 
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:795px; 
position:relative;
z-index:100;
vertical-align:bottom;
}

html .dropdown ul a img {

}

/* 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:85px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.dropdown li {
float:right;
width:85px;
position:relative;
}


/* style the links for the top level */
.dropdown a, .dropdown a:visited {
display:block;
text-decoration:none; 
color:#000; 
width:83px; 
height:17px; 
padding: 5px 1px; 
text-align:center;
margin: 0;
font-size: .75em;
border-right:solid 1px #fff;
border-left:solid 1px #fff;
}


.dropdown ul a:hover {
border-right:solid 1px #aaa;
border-left:solid 1px #aaa;
}


.dropdown .last a {
border-bottom:solid 1px #aaa;
}



.dropdown .first img {
z-index:100;
position:absolute;
top:-5px;
left:1px;
width:85px;
height:10px;
}


.dropdown a#active {
color:#045;
font-weight: bold;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .dropdown a, * html .dropdown a:visited {
width:83px;
w\idth:83px;
}

/* style the second level background */
.dropdown ul ul a.drop, .dropdown ul ul a.drop:visited {
background:#fff

}
/* style the second level hover */
.dropdown ul ul a.drop:hover{
background:#fff;

}

.dropdown ul ul :hover > a.drop {
background:#fff;
background-image: none;
}


/* 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:27px;
left:0px; 
width:85px;
border-top:solid 1px #aaa;
}

/* another hack for IE5.5 */
* html .dropdown ul ul {
border-top:solid 1px #aaa;
top:27px;
left:0px; 
t\op:27px;
}

/* 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 {
border: 0;
background:#fff; 
color:#000; 
height:auto; 
border-right:solid 1px #aaa;
border-left:solid 1px #aaa;
padding: 3px 8px 6px 8px;
width:160px;
text-align: left;
font-size:.9em;
/* yet another hack for IE5.5 */
}
* html .dropdown ul ul a{
width:160px;
w\idth:160px;
font-size:1.2em;
}


/* style the top level hover */
.dropdown a:hover, .dropdown li:hover{
color:#000; 
background-color:#fff;
margin-left:0px;
}

.dropdown ul ul a:hover{
color:#000; 
background:#fff;

}

.dropdown :hover > a, .dropdown ul ul :hover > a {
color:#8F2D34; 
border-color:#aaa;
}

#last_top {
border-right:none;
margin-right:3px;
}

#last_top a {
border-right:none;

}

/* 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; 
}