/* ================================================================ 
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:800px; 

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 .2em 0 0;
list-style-type:none;
float:right;
}

.dropdown ul ul {
width:108px;
}
/* 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:108px;
position:relative;
font-size: 85%;
}


/* style the links for the top level */
.dropdown a, .dropdown a:visited {
display:block;
text-decoration:none; 
color:#73173F;
height:14px; 
padding: 0px 0 2px 0; 
text-align:center;
margin: 5px 0 4px 0;
border-left:solid 1px #ccc;
}


.dropdown ul a:hover {
border-right: none;
margin: 5px 0 4px 0;
padding: 0px 0 2px 0; 
}

.dropdown .last a {
border-bottom:solid 1px #aaa;
}

.dropdown ul li img {
z-index:100;
position:absolute;
top:-4px;
left:5px;
width:108px;
height:4px;
}

.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:108px;
w\idth:108px;
}

/* style the second level background */
.dropdown ul ul a.drop, .dropdown ul ul a.drop:visited {
background:#F6F0D6;
background:#E8E1C5;

}
/* style the second level hover */
.dropdown ul ul a.drop:hover{
background:#F6F0D6;
background:#E8E1C5;
}

.dropdown ul ul :hover > a.drop {
background:#F6F0D6;
background:#E8E1C5;
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:26px;
left:0px; 
width:107px;
}

/* another hack for IE5.5 */
* html .dropdown ul ul {

top:26px;
left:0px; 
t\op:26px;
}

/* 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:#F6F0D6;
background:#E8E1C5;
color:#73173F; 
height:auto; 
border-right:solid 1px #ccc;
border-left:solid 1px #ccc;
padding: 2px 8px 4px 8px;
width:160px;
text-align: left;

margin: 0;

/* yet another hack for IE5.5 */
}
* html .dropdown ul ul a{
width:160px;
w\idth:160px;
}


/* style the top level hover */
.dropdown a:hover, .dropdown li:hover{
color:#000;

margin:0px;
}

.dropdown ul ul a:hover{
color:#000;
background-color:#EFE9D0;
margin: 0;
padding: 2px 8px 4px 8px;
border-right: 1px solid #ccc;
}

.dropdown :hover > a, .dropdown ul ul :hover > a {
color:#000; 

border-color:#ccc;
}

#last_top {
border-right:none;
margin-right:3px;
}

#last_top a {
border-right:none;
}

#first_top {
border-left:none;
}

#first_top a {
border-left:none;
}

#first_top ul li a {
border-left: 1px solid #ccc;
}

/* 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; 
}




<!---------------->

.predropdown {
width:800px; 

position:relative;
z-index:100;
vertical-align:bottom;
}

html .predropdown ul a img {
}

/* remove all the bullets, borders and padding from the default list styling */
.predropdown ul {
padding:0;
margin:0;
list-style-type:none;
}

.predropdown ul ul {
width:108px;
}
/* float the list to make it horizontal and a relative positon so that you can control the predropdown menu positon */
.predropdown li {
float:right;
width:108px;
position:relative;
font-size: 85%;
}


/* style the links for the top level */
.predropdown a, .predropdown a:visited {
display:block;
text-decoration:none; 
color:#73173F;

height:14px; 
padding: 0px 0 2px 0; 
text-align:center;
margin: 5px 0 4px 0;
font-size: 95%;
border-left:solid 1px #ccc;
}


.predropdown ul a:hover {
border-right: none;
margin: 5px 0 4px 0;
padding: 0px 0 2px 0; 
}

.predropdown .last a {
border-bottom:solid 1px #aaa;
}

.predropdown .first img {
z-index:100;
position:absolute;
top:-4px;
left:5px;
width:108px;
height:4px;
}

.predropdown a#active {
color:#045;
font-weight: bold;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .predropdown a, * html .predropdown a:visited {
width:108px;
w\idth:108px;
}

/* style the second level background */
.predropdown ul ul a.drop, .predropdown ul ul a.drop:visited {
background:#F6F0D6;
background:#E8E1C5;

}
/* style the second level hover */
.predropdown ul ul a.drop:hover{
background:#F6F0D6;
background:#E8E1C5;
}

.predropdown ul ul :hover > a.drop {
background:#F6F0D6;
background:#E8E1C5;
background-image: none;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.predropdown ul ul {

visibility:hidden;
position:absolute;
height:0;
top:26px;
left:0px; 
width:107px;
}

/* another hack for IE5.5 */
* html .predropdown ul ul {

top:26px;
left:0px; 
t\op:26px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.predropdown table {position:absolute; top:0; left:0;}

/* style the second level links */
.predropdown ul ul a, .predropdown ul ul a:visited {
border: 0;
background:#F6F0D6;
background:#E8E1C5;
color:#73173F; 
height:auto; 
border-right:solid 1px #ccc;
border-left:solid 1px #ccc;
padding: 2px 8px 4px 8px;
width:160px;
text-align: left;

margin: 0;

/* yet another hack for IE5.5 */
}
* html .predropdown ul ul a{
width:160px;
w\idth:160px;
}


/* style the top level hover */
.predropdown a:hover, .predropdown li:hover{
color:#000;

margin:0px;
}

.predropdown ul ul a:hover{
color:#000;
background-color:#EFE9D0;
margin: 0;
padding: 2px 8px 4px 8px;
border-right: 1px solid #ccc;
}

.predropdown :hover > a, .predropdown ul ul :hover > a {
color:#000; 

border-color:#ccc;
}

#last_top {
border-right:none;
margin-right:3px;
}

#last_top a {
border-right:none;
}

#first_top {
border-left:none;
}

#first_top a {
border-left:none;
}

#first_top ul li a {
border-left: 1px solid #ccc;
}

