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

.spacer {
padding-top: .5em;
}


.menu {
top:0;
padding-left: 0;
margin-left: 0;
background-color: transparent;
color: #242314;
float: left;
font-family: verdana, helvetica, sans-serif;
font-size:11px;
font-weight: bold;
width: 100%;
height: 100%;
text-align:center;
z-index: 100;
}

/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
padding: 0;
margin:0;
list-style-type:none; 
background-color: transparent;
}

.menu ul li a:hover{
background-color:transparent;
color: #ffffff;
}


/* style the sub-level lists */
.menu ul ul {
width:11em;
}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu ul li {
float:left;
height: 3.5em;
}

/* style the sub level list items - length of the 2nd level boxes*/
.menu ul ul li {
display:block;
width:12em;
height:auto;
position:relative;
top:.6em;
background-color:#CAC7A2;
border-bottom:.1em solid #A5A162;
}


/* style the links for the top level  - length of the top level navigation area */
.menu a, .menu a:visited {
display:block;
float:left;
height:100%;
width: 11.9em;
font-size:1em;
text-decoration:none;
color:#FCF8E3;
padding-left: .1em;
text-align: center;
}

/* style the sub level links  - length of rollover for 2nd level in IE7 */
.menu ul ul a, .menu ul ul a:visited {
display:block;
color:#000000;
width:11.1em;
height:100%;
padding-top: .5em;
padding-bottom: .5em;
}


/*  TABLE FOR IE6 */
.menu ul table ul a, .menu ul table ul a:visited  {width:11.95em; w\idth:11.95em;}


/* style the table so that it takes no part in the layout - required for IE to work */
.menu table {position:absolute; left:0; top:0; z-index:-1;}
.menu ul ul table {lef\t:1px; left:-1px;}
.menu ul ul table ul.left {margin-lef\t:0px; margin-right:0px;}

.menu li:hover {position:relative;}

/* rollover top level in IE6 */
* html .menu a:hover {position:relative; width:11.9em;}
* html .menu ul li ul li a:hover{width:11.1em;}



/* style the third level background  with no sub links*/
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#CAC7A2; 
width:11em; 
border-left:.1em solid #A5A162;
padding-left: .5em;
}

/* style the fourth level background */
.menu ul ul ul ul a, .menu ul ul ul ul a:visited {background:#CAC7A2; width:11em}
/* style the sub level 1 background */
.menu ul :hover a.sub1 {background:#CAC7A2; width:11.7em; left:1px;}
/* style the sub level 2 background */
.menu ul ul :hover a.sub2 {background:#CAC7A2;width:11em;}

/* style the level hovers */
/* first */
.menu a:hover {color:#CAC7A2;background-color:transparent;}
.menu :hover > a {color:#fff;background-color:transparent;}
/* second */
.menu ul ul a:hover{color:#fff;background:#CAC7A2;}
.menu ul ul :hover > a {color:#fff;background:#CAC7A2;}
/* third */
.menu ul ul ul a:hover {background:#CAC7A2;padding-left: .5em;}
.menu ul ul ul :hover > a {background:#CAC7A2;padding-left: .5em;}
/* fourth */
.menu ul ul ul ul a:hover {background:#CAC7A2;}


/* 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:3.1em;
left:0;
}

/* position the third level flyout menu */
.menu ul ul ul{
top:-.6em;
left:12em;
width:12em;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-12em;}


/* 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; height:auto;}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover 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;}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {visibility:visible;}
