#headerMainmenu {
    background: #58585a;   
    z-index: 2;
    height: 25px;
}
#headerMainmenu ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
}
#headerMainmenu ul li {
    floaT: left;
    background: url(/images/general_menu_seperator.jpg) no-repeat right 9px;
}
#headerMainmenu ul ul {
    border:1px solid #737373;
    border-top:none;
    margin-top: 1px;
}
#headerMainmenu ul li a {
    display: block;
    padding: 6px 16px;  
    color: #FFFFFF;
    text-decoration: none;
}
#headerMainmenu ul li a:hover {
    background: #FFFFFF;
    color: #000000;
    text-decoration: underline;
}

/* style the sub-level lists */
#headerMainmenu ul ul ul {margin:-1px 0px 0px 0px;border:1px solid #737373;}

/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#headerMainmenu li.item, #headerMainmenu li.last {float:left;height:25px;line-height:25px;}
#headerMainmenu ul li {float:left;}

/* style the sub level list items */
#headerMainmenu ul ul li {
    background: #FFFFFF;
    display:block;
    width:16em;
}

/* style the links for the top level */
#headerMainmenu a {
    display:block;
    float:left;
    height:100%;
    font-size:1em;
    text-decoration:none;
    color:#FFFFFF;
    padding:0 1.5em 0 1.5em;
}

/* style the sub level links */
#headerMainmenu ul ul a {
    display:block;
    color:#adadad;
    width:14em;
    line-height:1.2em;
    padding-top:0.6em;
    padding-bottom:0.6em;
}

/* style the level hovers */
/* first */
* html #headerMainmenu a:hover {
    color:#000;
    position:relative;
    z-index:100;
    background:#ffffff;
}
#headerMainmenu li:hover {position:relative;}
#headerMainmenu :hover > a {
    color:#000;
    background:#ffffff;
    margin-left: -1px;
    padding-right: 17px;
    text-decoration: underline;
}
/* second */
* html #headerMainmenu ul ul a:hover{
	color:#000;
    position:relative; 
    z-index:110;
 }
#headerMainmenu ul ul li:hover {position:relative;}
#headerMainmenu ul ul :hover > a {
    color:#000;
    background: #FFFFFF url(/images/menu_mouseover.jpg) 1.5em 0.9em no-repeat;
    padding-left: 4em;
    width:10em;
    text-decoration: none;
    margin: 0px;
 }
/* hide the sub levels and give them a positon absolute so that they take up no room */
#headerMainmenu ul ul {visibility:hidden;position:absolute;height:0;top:24px;left:-2px;width:16em;z-index:21;}

/* position the third level flyout menu */
#headerMainmenu ul ul ul{left:16em;top:0;width:16em;}


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


/* style the table so that it takes no part in the layout - required for IE to work */
#headerMainmenu table {
    position:absolute;
    left:0px;
    top:0;
    width:0;
    height:0;
    z-index:-1;
}



#headerMainmenu td a:link:hover, #headerMainmenu td a:visited:hover {
    display:block;
    background: #FFFFFF url(/site_files/img/menu_mouseover.jpg) 1.5em 1em no-repeat;
    color:#000;
    padding-left:4em;
    width:11.6em;
}
