/* CSS Document */

/* HORIZONTAL DROP DOWN MENU */



#menu {
position: absolute;
right: 0; 
top: 55px;
width: 500px; /* set width of entire menu here */
z-index:1;

}
#menu ul {
list-style: none;
margin: 0;
padding: 0;
/*width: 150px;   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 */

}

 /* alternatively, if each item is a different width, set width of each menu item here */
#menu .item1 { width: 50px; }
#menu .item2 { width: 50px; }
#menu .item3 { width: 50px; }
#menu .item4 { width: 90px; }
#menu .item5 { width: 65px; }
#menu .item6 { width: 65px; }
#menu .item7 { width: 65px; }
#menu .item8 { width: 65px; }


/*  COLOURING ETC */

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


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

#menu h2 a, #menu h3 a {

}

#menu h2 a {
font-size: 11px;
text-transform: lowercase;
text-align: center;
color: #594F4A;
border-right: 1px solid #989089;
padding-top:17px;
padding-bottom: 3px;
font-weight: normal;
}

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


#menu h3 a {
font-size: 10px;
text-transform: lowercase;
text-align: left;
border: 1px solid #594F4A;
border-bottom: none;
background-color:#dedad5;
color: #726963;
font-weight: normal;
padding:3px;
width: 100px;
}

#menu h3 a.last {
border-bottom: 1px solid #594F4A;
width: 100px;
}


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

#menu h3 a:hover  {
text-decoration: none;
color: #726963;
background-color: #efedea;

}

/*   -------- 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(http://www.piperstreet.com.au/csshover.htc);
}

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