/* ================================================================ 
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-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
.menu {
width:100%;
height:50px;
position:relative;
z-index:100;
margin:0 auto;
}

.menu ul {
width:900px;
list-style:none;
line-height:normal;
margin:0 auto;
padding:10px 0 0 0;
}

/* 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:28px;
left:0;
width:200px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
position:relative;
}

.menu a,.menu a:visited {
display:block;
float:left;
height:25px;
text-transform:lowercase;
text-decoration:none;
font-size:14px;
font-weight:700;
color:#FFF;
margin:0 24px;
padding:5px 20px 0;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a,* html .menu a:visited {

}

/* style the second level background */
.menu ul ul a.drop,.menu ul ul a.drop:visited {
background-color:#666;
}

/* style the third level background */
.menu ul ul ul a,.menu ul ul ul a:visited {
background-color:#e2dfa8;
}

/* style the third level hover */
.menu ul ul ul a:hover {
background-color:#512773;
}

/* another hack for IE5.5 */
* html .menu ul ul {
top:31px;
}

/* position the third level flyout menu */
.menu ul ul ul {
left:149px;
top:-1px;
width:149px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-149px;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {
position:absolute;
top:0;
left:0;
border-collapse:collapse;
}

/* style the second level links */
.menu ul ul a,.menu ul ul a:visited {
background-color:#666;
color:#fff;
height:auto;
line-height:1em;
padding:5px 10px;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a,* html .menu ul ul a:visited {
width:128px;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul {
visibility:hidden;
}

.menu ul ul .current_page_item a {
color:#990033;
background-color:#FFF;
}

.menu .current_page_item a {
color:#CCFF33;
font-weight:700;
background-color:#FFF;
}

.menu ul .current_page_item ul a {
color:#FFF;
font-weight:400;
background-color:#000;
}

.menu ul .current_page_item ul a:hover {
background-color:#666;
}

.menu .current_page_item a:hover {
background:#FFF;
}

.menu ul ul a.drop:hover,.menu ul ul :hover > a.drop {
background:#c9ba65 url(http://www.cssplay.co.uk/menus/breadcrumbs/blue-arrow.gif) no-repeat 130px center;
}

.menu a:hover,.menu ul ul a:hover,.menu :hover > a,.menu ul ul :hover > a {
color:#fff;
background:#512773;
}

.menu ul li:hover ul,.menu ul a:hover ul,.menu ul :hover ul :hover ul {
visibility:visible;
}