/* CSS Document */

/* HORIZONTAL DROP DOWN MENU */

#menu {
position: relative;
margin: 0 auto;
width: 800px;
height: 45px;
background-image: url(Image/menu-background.jpg);
background-repeat: repeat-x;
z-index: 500;
}


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

#menu ul ul {
background-color: #54bb46;  /* you need to set a background color on the drop down or IE wont hover properly */

}


 /*  alternatively you can set width of each menu item here if they are each different */
#menu .item1 { width: 80px; }
#menu .item2 { width: 120px; }
#menu .item3 { width: 120px; }
#menu .item4 { width: 120px; }
#menu .item5 { width: 80px; }


/*  COLOURING ETC */

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


#menu h2, #menu h3 {
margin: 0;
}

#menu h2 a, #menu h3 a {
font-family: arial, helvetica, sans-serif;
color: #FFFFFF;
text-decoration: none;
text-align: center;
}


#menu h2 a{
font-size: 10pt;
font-weight: bold;
border-right: 2px solid #ffffff;
padding: 3px;
margin-top: 3px;
}

#menu ul.item5 h2 a {
border-right: none;
}

#menu h3 a{
font-size: 9pt;
font-weight: bold;
border-top: 1px solid #ffffff;
padding: 6px;
text-transform: lowercase;
}

#menu h3.first a{
margin-top: 5px;
background-image: url(Image/sub-menu-background.jpg);
background-repeat: repeat-x;
border-top: none;
}

#menu h2 a:hover  {
text-decoration: none;
color: #c0f686;
}


#menu h3 a:hover  {
text-decoration: none;
background-color: #3e9931;
color: #c0f686;
}

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

#menu ul ul ul {
top: 0;
left: 100%;
}

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

