/* http://www.cssplay.co.uk/menus/final_drop4.html */
/* Colours in this css are red, yellow, green etc to make them stand out so we can see what we are doing more clearly when defining colours */

/**************************/
/* THIS IS THE MAIN STUFF */
/**************************/

/* style the outer div to give it width */
.navigation_header {font-size:0.85em; font-weight: bold;}
/* remove all the bullets, borders and padding from the default list styling */
.navigation_header ul {padding:0;margin:0;list-style-type:none; height:2.5em; background-color:white;border-top: solid 1px #AF85AA; border-bottom: solid 1px #AF85AA;}
/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.navigation_header ul li {float:left;position:relative;height:2.5em;line-height:2.5em;}
/* style the table so that it takes no part in the layout - required for IE to work */
.navigation_header table {position:absolute; left:0; top:0; width:0; height:0; font-size:1em;}

/****************************/
/* THIS IS STUFF FOR LEVEL 1 */
/****************************/

/* style the links for level 1 */
.navigation_header a, .navigation_header a:visited {display:block;float:left;height:100%;font-size:1em;text-decoration:none;color:#999999;background-color:white;padding:0 1em 0 1em;}
/* hover text and background colours */
.navigation_header a:hover {color:#666666;background-color:white;}
.navigation_header :hover > a {color:#666666;background-color:white;}

/****************************/
/* THIS IS STUFF FOR LEVEL 2 */
/****************************/

/* style the level 2 links */
.navigation_header ul ul a, .navigation_header ul ul a:visited {display:block;background-color:yellow; color:blue;width:12em;height:100%;line-height:1em; padding:0.5em 1em;}
* html .navigation_header ul ul a, * html .navigation_header ul ul a:visited  {width:14em; w\idth:12em;}
/* hide level 2 and give it a positon absolute so that they take up no room */
.navigation_header ul ul {visibility:hidden;position:absolute;height:0;top:2.5em;left:0;width:14em;}
/* style the level 2 list items */
.navigation_header ul ul li {display:block;width:12em;height:auto;position:relative;line-height:1em;}
/* make level 2 visible when hover on level 1 list OR link */
.navigation_header ul :hover ul{visibility:visible; height:auto; padding-bottom:3em; background:transparent url(images/trans.gif);}
/* style the level 2 background which has a menu coming from it */
.navigation_header ul a.hover a.sub1 {background-color:purple;}
/* level 2 hover text and background colours */
.navigation_header ul ul a:hover{color:white;background-color:black;}
.navigation_header ul ul :hover > a {color:white;background-color:black;}

/****************************/
/* THIS IS STUFF FOR LEVEL 3 */
/****************************/

/* position the level 3 flyout menu */
.navigation_header ul ul ul{left:14em;top:0;width:14em;}
/* keep level 3 hidden when you hover on level 1 list OR link */
.navigation_header ul :hover ul ul{visibility:hidden;}
/* make level 3 visible when you hover over level 2 list OR link */
.navigation_header ul :hover ul :hover ul{visibility:visible;}
/* style the level 3 background */
.navigation_header ul ul ul a, .navigation_header ul ul ul a:visited {background-color:orange;}
/* level 3 hover text and background colours */
.navigation_header ul ul ul a:hover {color: yellow; background-color:pink;}
.navigation_header ul ul ul :hover > a {color: yellow; background-color:pink;}

/****************************/
/* THIS IS STUFF FOR LEVEL 4 */
/****************************/

/* position the level 3 flyout menu for a left flyout */
.navigation_header ul ul ul.left {left:-14em;}
/* keep level 4 hidden when you hover on a level 2 list OR link */
.navigation_header ul :hover ul :hover ul ul{visibility:hidden;}
/* make level 4 visible when you hover over a level 3 list OR link */
.navigation_header ul :hover ul :hover ul :hover ul {visibility:visible;}
/* style the level 4 background */
.navigation_header ul ul ul ul a, .navigation_header ul ul ul ul a:visited {background-color:red;}
/* level 4 hover text and background colours */
.navigation_header ul ul ul ul a:hover {color: pink; background-color:brown;}

/******************************************************/
/* NOT SURE WHERE THIS STUFF GOES OR WHAT IT DOES */
/******************************************************/

/* style the level 2 background */
.navigation_header ul ul :hover a.sub2 {background-color:green;}
/* style the level 2 lists HOWEVER THIS DOESNT SEEM TO DO ANYTHING */
.navigation_header ul ul {width:15em;}

/************************/
/* THIS IS STUFF FOR IE 6 */
/************************/

<!--[if lte IE 6]>
.navigation_header ul ul {left:-1px; margin-left:-1px;}
.navigation_header ul ul ul.left {margin-left:1px;}
<![endif]-->

