/* remove all the bullets, borders and padding from the default list styling */
#menu_level2 ul {padding:0;margin:0;list-style-type:none;}
#menu_level2 ul ul {width:12.5em;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#menu_level2 li {float:left;position:relative; padding:0px; margin-right:5px;}
/* style the links for the top level */
#menu_level2 a, #menu_level2 a:visited {text-decoration:none; color:#fff; display:block;background:url(../images/button-left-1.gif) no-repeat left; line-height:30px; padding:0px 15px;}

#menu_level2 a span { width:15px; height:30px; background:url(../images/button-right-1.gif) no-repeat right; position:absolute; right:-1px; top:0px;}

#menu_level2 a:hover span{ background:url(../images/button-right-1.2.gif) no-repeat right;}
#menu_level2 :hover > a span{ background:url(../images/button-right-1.2.gif) no-repeat right;}

/* style the second level background */
#menu_level2 ul a.dropact, #menu_level2 ul a.dropact:visited {background:#004D8C url(../images/button-left-1.2.gif) no-repeat left bottom;}
#menu_level2 ul a.dropact span {background:url(../images/button-right-1.2.gif) no-repeat right;}
/* style the second level hover */
#menu_level2 ul ul a.drop:hover{background: url(../images/drop.gif) bottom right no-repeat;}
#menu_level2 ul ul :hover > a.drop {background: url(../images/drop.gif) bottom right no-repeat;}
/* style the third level background */
#menu_level2 ul ul ul a, #menu_level2 ul ul ul a:visited {font-size:0.92em;background:#FFFFFF;}
/* style the third level hover */
#menu_level2 ul ul ul a:hover {background:#004D8C;}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#menu_level2 ul ul {visibility:hidden;position:absolute;height:0;top:30px;left:0; width:12.5em; border-top:1px solid #4C86AC;}
/* style the table so that it takes no ppart in the layout - required for IE to work */
#menu_level2 table {position:absolute; top:0; left:0; border-collapse:collapse; border:none;}

#menu_level2 ul ul li{float:none; margin-bottom:0px;}
/* style the second level links */

#menu_level2 ul ul a, #menu_level2 ul ul a:visited {font-size:0.92em;background:#296993; color:#FFFFFF; height:1em; line-height:1em; padding:0.4em 0.8em; display:block; border:1px solid #4C86AC; border-width:0px 1px 1px 1px; margin-bottom:0px; float:none;}
/* yet another hack for IE5.5 */
* html #menu_level2 ul ul a, * html #menu_level2 ul ul a:visited {width:12.5em;}

/* style the top level hover */
#menu_level2 a:hover, #menu_level2 ul ul a:hover{color:#fff;background:#004D8C url(../images/button-left-1.2.gif) no-repeat left bottom;}
#menu_level2 :hover > a, #menu_level2 ul ul :hover > a{color:#fff;background:#004D8C url(../images/button-left-1.2.gif) no-repeat left bottom;}

/* make the second level visible when hover on first level list OR link */
#menu_level2 ul li:hover ul,
#menu_level2 ul  li a:hover ul{visibility:visible; }
/* keep the third level hidden when you hover on first level list OR link */
#menu_level2 ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
#menu_level2 ul :hover ul :hover ul{ visibility:visible;}