/* style the outer div to give it width */
.h4menu          { font-size: 1em; font-family: Arial, Helvetica, Geneva, Swiss, SunSans-Regular; text-align: left; padding-bottom: 0px }

/* remove all the bullets, borders and padding from the default list styling */
.h4menu ul   { background-color: black; text-align: left; list-style-type: none; margin: 0; padding: 0; height: 20px } /* top bar */

/* style the sub-level lists */
.h4menu ul ul {width:15em;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.h4menu ul li  { line-height: 20px; float: left; position: relative; z-index: 9; height: 20px }

/* style the sub level list items */
.h4menu ul ul li  { line-height: 1em; text-decoration: none; position: relative; z-index: 9; width: 15em; height: auto; display: block }

/* style the links for the top level */
.h4menu a, .h4menu a:visited     { color: #4ba737; font-size: 11px; text-decoration: none; background-color: black; float: left; padding: 0em 1em 0; height: 100%; display: block } /* main cat */

/* style the sub level links */
.h4menu ul ul a, .h4menu ul ul a:visited  { color: #fff; line-height: 1em; text-decoration: none; background-color: #4ba737; padding: 0.5em 1em; width: 12em; height: 100%; display: block } /* sub cat */
.h4menu ul table ul a, .h4menu ul table ul a:visited  {width:12em; w\idth:12em;}

/* style the table so that it takes no part in the layout - required for IE to work */
.h4menu table  { font-size: 1em; position: absolute; z-index: 9; top: 0; left: 0 }
.h4menu ul ul table {lef\t:-1px;}
.h4menu ul ul table ul.left {margin-lef\t:2px;}

/* style the third level background */
.h4menu ul ul ul a, .h4menu ul ul ul a:visited  { background-color: #4ba737 }
/* style the fourth level background */
.h4menu ul ul ul ul a, .h4menu ul ul ul ul a:visited  { background-color: #4ba737 }

/* style the level hovers */
/* first */
.h4menu a:hover    { color: #fff; text-decoration: none; background-color: #4ba737 }
.h4menu :hover > a  { color: #fff; text-decoration: none; background-color: #4ba737 }
/* second */
.h4menu ul ul a:hover   { color: #fff; text-decoration: none; background-color: #ccc }
.h4menu ul ul :hover > a   { color: #fff; text-decoration: none; background-color: #ccc }
/* third */
.h4menu ul ul ul a:hover   { background-color: #ccc }
.h4menu ul ul ul :hover > a   { background-color: #ccc }
/* fourth */
.h4menu ul ul ul ul a:hover  { background-color: #4ba737 }

/* hide the sub levels and give them a positon absolute so that they take up no room */
.h4menu ul ul  { position: absolute; z-index: 9; top: 20px; left: 0; width: 14em; height: 0; visibility: hidden }

/* position the third level flyout menu */
.h4menu ul ul ul{left:14em;top:0;width:14em;}

/* position the third level flyout menu for a left flyout */
.h4menu ul ul ul.left {left:-14em;}

/* make the second level visible when hover on first level list OR link */
.h4menu ul :hover ul{visibility:visible; height:auto; padding-bottom:3em; background:transparent url(trans.gif);}
/* keep the third level hidden when you hover on first level list OR link */
.h4menu ul :hover ul ul{visibility:hidden;}
/* keep the fourth level hidden when you hover on second level list OR link */
.h4menu ul :hover ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.h4menu ul :hover ul :hover ul{visibility:visible;}
/* make the fourth level visible when you hover over third level list OR link */
.h4menu ul :hover ul :hover ul :hover ul {visibility:visible;}