/* CSS Document */

/* HORIZONTAL DROP DOWN MENU */



#menu {
margin-top: 63px;
margin-left: 100px;
width: 700px; /* set width of entire menu here */
float: right; /* this makes the first UL horizontal */
z-index: 500;
}

#menu ul {
list-style: none;
margin: 0;
padding: 0;
width: 115px; /*  set width of each menu item here - when multiplied by no of menu-items should equal width above */
float: left; /* this makes the first UL horizontal */
}

#menu ul ul {
background-color: #FFFFFF; 
width: 110px;
margin-left: 5px;
margin-right: 5px;

}


/*  COLOURING ETC */

#menu a {
text-decoration: none;
display: block;
}


#menu h2 {
margin: 0;
margin-left: 5px;
margin-top: 5px;
}

#menu h3 {
margin: 0;
margin-top: 3px;

}

#menu h2 a, #menu h3 a {
font-family: arial, helvetica, sans-serif;
font-size: 11px;
text-transform: lowercase;
text-align: right;
color: #8f9c46;
border: 1px solid #d5d18f;
padding: 5px;
background-color: #FFFFFF;
}

#menu h2 {
font-weight: bold;
}

#menu h3 {
font-weight: normal;
}

#menu h2 a:hover, #menu h3 a:hover  {
text-decoration: none;
color: #71863D;
background-color: #e4e0bb;

}





/*   -------- positioning the SUBMENUS --------------

The position: relative; on the <li> elements establish containing blocks for the descendant <ul> elements.

All secondary levels and deeper are given position: absolute; and a high z-index in order to make them appear, drop down above following content. the third level and deeper lists are the ones we want to move so "offset" positioning co-ordinates only required to be input onto them.
*/

#menu li {
position: relative; }

#menu ul ul {
position: absolute;
z-index: 500;
top: 100%;
left: 0;
}



/*   -------- HIDING AND REVEALING --------------*/

div#menu ul ul,
div#menu ul li:hover ul ul,
div#menu ul ul li:hover ul ul
{display: none;}

div#menu ul li:hover ul,
div#menu ul ul li:hover ul,
div#menu ul ul ul li:hover ul
{display: block;}



/* FIX FOR IE  */
body {
behavior: url(csshover.htc);
font-size: 100%;
}

#menu ul li {float: left; width: 100%;}
#menu ul li a {height: 1%;} 
