/* CSS Document */

/* HORIZONTAL DROP DOWN MENU */



#menu {
width: 570px;
height: 25px;
background-color: #D59696;
}

#menu ul {
list-style: none;
margin: 0;
padding: 0;
 /*width: 75px;  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 */
background-color: #D59696;

}

 /* alternatively, if each item is a different width, set width of each menu item here */
#menu .item1 { width: 70px; }
#menu .item2 { width: 100px; }
#menu .item3 { width: 100px; }
#menu .item4 { width: 100px; }
#menu .item5 { width: 100px; }
#menu .item6 { width: 100px; }





/*  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;
text-transform: lowercase;
color: #FFFFFF;
padding: 4px;
font-weight: normal;
}

#menu h2 a{
font-size: 11pt;
text-align: center;
line-height: 12.5pt;
}

#menu h3 a{
border-top: 1px solid #ffffff;
font-size: 8pt;
text-align: left;
}

#menu h2 a:hover {
text-decoration: none;
border-left: none;
color: #D1232A;
}

#menu h3 a:hover  {
text-decoration: none;
background-color: #F0C8C8;
color: #D1232A;

}


/*   -------- DOWN STATE -------------- */

#home #nav-home h2 a, 
#health #nav-health h2 a,
#goodeating #nav-goodeating h2 a, 
#active #nav-active h2 a, 
#search #nav-search h2 a, 
#about #nav-about h2 a {
color: #D1232A;
}


/*   -------- 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;
}


/*   -------- 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%;} 


