.menu {
	height:30px;
	position:relative;
	z-index:100;
	font-family:arial, sans-serif !important;
	padding:4px 0 2px 0;	
}


/* hack to correct IE5.5 faulty box model */
* html .menu {}


/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
}


/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
	float:left;
	position:relative;
}
.menu li li {}


/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:14px;
	text-decoration:none;
	color:#000;
	font-weight:bold;
}
.menu a span {
	display:block;
	padding:6px 10px 7px 10px;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
	float:left;
}


/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
	color:#993333;
	background:#e8e7e7 url(../images/grey-arrow.gif) no-repeat 220px center;
}


/* style the second level hover */
.menu ul ul a.drop:hover {
	background:#CC6666 url(../images/blue-arrow.gif) no-repeat 220px center;
	color:#fff;
}
.menu ul ul :hover > a.drop {
	background:#CC6666 url(../images/blue-arrow.gif) no-repeat 220px center;
	color:#fff;
}


/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
	background:#5098e0;
	color:#00588c;
	display:block;
}


/* style the third level hover */
.menu ul ul ul a:hover {
	color:#ffffff;
	background:#00588c;
}


/* hide the sub levels and give them a positon absolute so that they take up no room */
.menu ul ul {
	visibility:hidden;
	position:absolute;
	height:0;
	top:28px;
	left:0;
}


/* another hack for IE5.5 */
* html .menu ul ul {
	top:28px;

}


/* position the third level flyout menu */
.menu ul ul ul {
	left:238px;
	top:-1px;
	width:238px;
}


/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left:-238px;
}


/* style the table so that it takes no ppart in the layout - required for IE to work */
.menu table {
	position:absolute;
	top:0;
	left:0;
	border-collapse:collapse;
}


/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
	background:#5098e0;
	color:#00588c;
	height:auto;
	line-height:1em;
	padding:7px 10px;
	width:265px;
	text-align:left;
	border:0px;
}


/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {
	width:265px;

}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover {
	color:#fff;
	background:url(../images/bg_menu.gif) no-repeat left top;
}
.menu a:hover span, .menu ul ul a:hover span {
	color:#fff;
	background:url(../images/bg_menu_right.gif) no-repeat right top;
}
.menu :hover > a, .menu ul ul :hover > a {
	color:#fff;
	background:url(../images/bg_menu.gif) no-repeat left top;	
}
.menu :hover  > a span, .menu ul ul :hover > a {
	color:#fff;
	background:url(../images/bg_menu_right.gif) no-repeat right top;
}
.menu ul ul a:hover {
	color:#ffffff;
	background:#00588c;
}
.menu ul ul :hover > a {
	color:#ffffff;
	background:#00588c;
}


/* make the second level visible when hover on first level list OR link */
.menu ul li:hover ul, .menu ul a:hover ul {
	visibility:visible;
}


/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul {
	visibility:hidden;
}
.menu ul :hover ul :hover ul ul {
	visibility:hidden;
}


/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul {
	visibility:visible;
}
.menu ul :hover ul :hover ul :hover ul {
	visibility:visible;
}

