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

/* note to whoever edits this: styles added to the top level will trickle down
to each level, so be sure to overwrite the styles of the level above when
trying to customize the appearance of a certain level of links. */

.menu {
width:760px; 
font-size:0.80em;
position:relative;
z-index:100;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding:0;
margin:0;
list-style-type:none;
font-variant: small-caps;
}
.menu ul ul {
width:152px;
font-variant: normal;
}
/* 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:152px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
background-color: #333;
display:block;
font-size:11px;
text-decoration:none; 
color:#fff; 
width:141px; 
height:30px; 
border-width:1px 1px 0 0; 
background-color: #333;
padding: 0 5px; 
line-height:30px;
text-align:center;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:152px;
w\idth:141px;
}

/* 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:30px;
left:0; 
width:152px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
t\op:30px;
}
/* style the top level hover */
.menu a:hover {
color:#fd3;
background:#333 url(menu_bg_top.gif) no-repeat 0 0;
}
.menu :hover > a {
color:#fd3;
background:#333 url(menu_bg_top.gif) no-repeat 0 0;
}

/* 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 {
color:#ccc; 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:131px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a {
width:152px;
w\idth:131px;
}

/* style the 2nd level hover */
.menu ul ul a:hover {
background:#333 url(menu_bg_item.gif) repeat-y 0 0;
color:#fff;
}
.menu ul ul :hover > a {
background:#333 url(menu_bg_item.gif) repeat-y 0 0;
color:#fff;
}

.menu ul ul a:active {
color:#fd3;
}
.menu ul ul :active > a {
color:#fd3;
}

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

/* add styling to the last item in each submenu */
.menu ul ul .last a {
background: transparent url(menu_bg_last.gif) no-repeat bottom center;
padding-bottom: 10px;
}

