/* ================================================================ 
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.
=================================================================== */

#menucontainer {
width: 100%;
background:#fff;
margin-top: 5px;
text-align: right;
z-index:20;
}

#mainmenu {
width:790px; 
height: 31px;
margin: 0 auto;
font:normal normal bold 11px Tahoma, Helvetica, Arial, sans-serif;
position:relative;
z-index:1000;
}
/* remove all the bullets, borders and padding from the default list styling */
#mainmenu ul {
padding:0;
margin:0;
list-style-type:none;
}
#mainmenu ul ul {
width:114px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown mainmenu positon */
#mainmenu li {
float:left;
position:relative;
}
/* style the links for the top level */
#mainmenu a, #mainmenu a:visited {
display:block;
width:144px; 
font-size:11px;
text-decoration:none; 
background:#5F512C;
padding: 9px 0;
vertical-align: baseline;
font:normal normal bold 11px Tahoma, Helvetica, Arial, sans-serif;
color:#f8f0e2;
border:0; 
overflow: hidden;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#mainmenu ul ul {
visibility:hidden;
position:absolute;
height:0;
top:31px;
left:0; 
width:114px;
}

/* style the table so that it takes no ppart in the layout - required for IE to work */
#mainmenu table {position:absolute; top:0; left:0;}

/* style the top level hover */
#mainmenu a:hover, #mainmenu ul ul a:hover{
text-decoration:none; 
background:#4D1E04;
color:#f8f0e2;
}
#mainmenu :hover > a, #mainmenu ul ul :hover > a {
text-decoration:none; 
background:#4D1E04;
color:#f8f0e2;
}


/* style the second level links */
#mainmenu ul ul a, #mainmenu ul ul a:visited {
text-decoration:none; 
background:#5F512C; 
font-size: 11px;
color:#f8f0e2; 
padding: 3px 3px 3px 10px;
border-left: #f8f0e2 1px solid;
border-right: #f8f0e2 1px solid;
border-bottom: #f8f0e2 1px solid;
}

#mainmenu ul ul a.top, #mainmenu ul ul a.top:visited {
border-top: #f8f0e2 1px solid;
}

/* style the second level background */
#mainmenu ul ul a.drop, #mainmenu ul ul a.drop:visited {
text-decoration:none; 
background:#5F512C;
}
/* style the second level hover */
#mainmenu ul ul a.drop:hover, #mainmenu ul ul a:hover{
text-decoration:none; 
background:#4D1E04;
color:#f8f0e2;
}
#mainmenu ul ul :hover > a.drop {
text-decoration:none; 
background:#4D1E04;
color:#f8f0e2;
}


/* make the second level visible when hover on first level list OR link */
#mainmenu ul li:hover ul,
#mainmenu ul a:hover ul{
visibility:visible; 
}

#li1 ul, #li2 ul, #li3 ul, #li4 ul, #li5 ul, #li6 ul, #li7 ul, #li8 ul {
  text-align: left;
}

#li1 a, #li1 a:visited {
  width: 144px;
}

#li2 a, #li2 a:visited {
  width: 102px;
}

#li3 a, #li3 a:visited {
  width: 116px;
}

#li4 a, #li4 a:visited {
  width: 90px;
}

#li5 a, #li5 a:visited {
  width: 124px;
}

#li6 a, #li6 a:visited {
  width: 54px;
}

#li7 a, #li7 a:visited {
  width: 80px;
}

#li8 a, #li8 a:visited {
  width: 78px;
}

#li1 ul a, #li2 ul a, #li3 ul a, #li4 ul a, #li5 ul a, #li6 ul a, #li7 ul a, #li8 ul a {
  width: 200px;
}
#li1 ul a:visited, #li2 ul a:visited, #li3 ul a:visited, #li4 ul a:visited, #li5 ul a:visited, #li6 ul a:visited, #li7 ul a:visited, #li8 ul a:visited {
  width: 200px;
}


#mainmenu a.hi, #mainmenu a.hi:visited {
background:#4D1E04;
text-decoration:none;
}
