.menu_dropdown {width:763px; position:relative; z-index:100;}

/* remove all the bullets, borders and padding from the default list styling */
.menu_dropdown ul {padding:0; margin:0; list-style-type:none; }
.menu_dropdown ul ul {width:763px; background #c00;}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu_dropdown li {float:left; /*width:80px*/; position:relative; }

/* style the links for the top level */
.menu_dropdown a, .menu_dropdown a:visited {
	display:block;
	text-decoration:none;
	color:#fff;
	border: 1px solid #fff;
	border-width: 0 0 0 1px;
	width:89px;
	padding: 0 0 0 5px;
	line-height: 27px;
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:11px;
	font-weight:bold;
	text-align:center;
	color:white;
	background-color: #33CCFF;
	background-image: url(images/menu_bg.gif);
	background-repeat: repeat-x;
	background-position: 0 0px;
}

.menu_dropdown a:hover {display:block; text-decoration:none; color:#fff; border: 1px solid #fff; border-width: 0 0 0 1px; background:#d4d8bd url(images/menu_bg.gif) 0 0px repeat-x; width: 89px; padding: 0 0 0 5px; line-height: 27px; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px; font-weight:bold; text-align:center; color:black;}

/* style the second level background */
.menu_dropdown ul ul a.drop, .menu_dropdown ul ul a.drop:visited {background:#d4d8bd url(images/menu_bg.gif) bottom right repeat-x;}

/* style the second level hover */
.menu_dropdown ul ul a.drop:hover{background:#c9ba65 url(images/menu_bg.gif) bottom right repeat-x;}
.menu_dropdown ul ul :hover > a.drop {background:#c9ba65 url(images/menu_bg.gif) bottom right repeat-x;}

/* style the third level background */
.menu_dropdown ul ul ul a, .menu_dropdown ul ul ul a:visited {background:#e2dfa8;}
/* style the third level hover */
.menu_dropdown ul ul ul a:hover {background:#b2ab9b;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu_dropdown ul ul {visibility:hidden; position:absolute;height:0;top:27px;left:0; width:150px;}

/* position the third level flyout menu */
.menu_dropdown ul ul ul{left:152px; top:-1px; width:150px;}

/* position the third level flyout menu for a left flyout */
.menu_dropdown ul ul ul.left {left:-152px;}

/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu_dropdown table {position:absolute; top:0; left:0; border-collapse:collapse;}

/* style the second level links */
.menu_dropdown ul ul a, .menu_dropdown ul ul a:visited { color:#fff; height:auto; line-height:1em; padding:5px 10px; width:130px; border-width:1px 0 0 0; border-color: #777; background:#555; text-align:left;}

.menu_dropdown ul ul a:hover { color:#fff; height:auto; line-height:1em; padding:5px 10px; width:130px; border-width:1px 0 0 0; border-color: #777; background:#555; text-align:left;}
/* yet another hack for IE5.5 */
* html .menu_dropdown ul ul a, * html .menu_dropdown ul ul a:visited { color:#fff; height:auto; line-height:1em; padding:5px 10px; width:130px; border-width:1px 0 0 0; border-color: #777; background:#555; text-align:left;}

/* style the top level hover */
.menu_dropdown a:hover, .menu_dropdown ul ul a:hover{color:#000;  background:#0084d6;}
.menu_dropdown :hover > a, .menu_dropdown ul ul :hover > a {color:#003300; background: #0084d6}

/* make the second level visible when hover on first level list OR link */
.menu_dropdown ul li:hover ul,
.menu_dropdown ul a:hover ul{visibility:visible; }

/* keep the third level hidden when you hover on first level list OR link */
.menu_dropdown ul :hover ul ul{visibility:hidden;}
/* make the third level visible when you hover over second level list OR link */
.menu_dropdown ul :hover ul :hover ul{ visibility:visible;}