.menu{
	position:relative;
	z-index:100;
}

/* hack to correct IE5.5 faulty box model */
* html .menu{
	width:530px;
	w\idth:529px;
}

/* 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;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .menu ul ul a, * html .menu ul ul a:visited{
	width:173px;
	w\idth:157px;
}

.menu ul ul{
	width:177px;
	height:auto ! important;
	text-align:left;
	border:1px solid #bbb;
}

/* 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:40px;
	left:0;
	width:177px;
}

/* another hack for IE5.5 */
* html .menu ul ul{
	top:39px;
	t\op:40px;
}

/* 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:#d3e2fb;
	color:#5880c7;
	height:auto ! important;
	padding:9px;
	width:157px;
	border:1px solid #fff;
	font-size:11px;
}

/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited{
	width:180px;
	w\idth:158px;
}

.menu ul ul :hover > a{
	background:#c5d6f3;
	color:#375ea3;
}

/* 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;
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited{
	background:#c5d6f3;
}

/* style the third level hover */
.menu ul ul ul a:hover{
	color:#fff;
	background:#375ea3;
}

/* position the third level flyout menu */
.menu ul ul ul{
	left:179px;
	top:-1px;
	width:179px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left{
	left:-179px;
}

/* keep the third level hidden when you hover on first level list OR link */
.menu 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;
}
