#menu {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size:0.7em;
	padding:0 0 7px 3px;
	margin:0;
/*	width:760px;
	background-color:#FFFFFF;
	background-repeat:no-repeat;*/
	z-index: 99;
}

#menu img {
	margin:0;
	padding:0;
	border:0;
	z-index: 99;
}


#menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
	height:25px;
	background:transparent;
	z-index: 99;
}


/* float the top list items to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#menu ul li {
	display:block;
	float:left;
	z-index: 99;
}

/* style the sub level list items */
#menu ul ul li {
	display:block;
	border-bottom:1px solid #3E4961;
	z-index: 99;
}
#menu ul ul.firstLevel li {
	display:block;
	border-bottom:1px solid #0099FF;
	z-index: 99;
}
#menu ul ul.secondLevel li {
	display:block;
	border-bottom:1px solid #990000;
	z-index: 99;
}

/* style the links for the top level */
#menu a, #menu a:visited {
	display:block;
	float:left;
	text-decoration:none;
	color:#0E0044;
	padding:0;
	text-align:left;
	border:0;
	z-index: 99;
}

/* style the sub level links */
#menu ul ul a, #menu ul ul a:visited {
	display:block;
	background:#f5f8fc;
	color:#0E0044;
	width:140px;
	padding:5px 10px;
	border:1px solid #3E4961;
	border-width:0 1px;
	z-index: 99;
}


#menu ul ul.firstLevel a, #menu ul ul.firstLevel a:visited {
	display:block;
	background:#FFFFFF;
	color:#0099FF;
	width:140px;
	padding:5px 10px;
	border:1px solid #0099FF;
	border-width:0 1px;
	z-index: 99;
}
#menu ul ul.secondLevel a, #menu ul ul.secondLevel a:visited {
	display:block;
	background:#FFFFFF;
	color:#990000;
	width:140px;
	padding:5px 10px;
	border:1px solid #990000;
	border-width:0 1px;
	z-index: 99;
}



* html #menu ul ul a, * html #menu ul ul a:visited  {
	width:140px;
	w\idth:140px;
	z-index: 99;
}


/* style the table so that it takes no part in the layout - required for IE to work */
#menu table {
	border-collapse:collapse;
	padding:0;
	margin:-1px;
	width:0;
	height:0;
	font-size:100%;
	z-index:99;
}


/* style the level hovers */
/* first */
* html #menu a:hover {
	color:blue;
	border:0;
	height:25px;
	position:relative;
	z-index:100;
}
#menu li:hover {
	position:relative;
}

#menu :hover > a {
	color:#0E0044;
	border:0;
	height:25px;
}

/* second */
* html #menu ul ul a:hover{
	color:#0E0044;
	background-color:#C0D1F9;
	position:relative;
	z-index:110;
	height:100%;
	border:1px solid #3E4961;
	border-width:0 1px;
}

#menu ul ul li:hover {
	position:relative;
}
#menu ul ul :hover > a {
	color:#0E0044;
	background-color:#C0D1F9;
	z-index:110;
	height:100%;
	border:1px solid #3E4961;
	border-width:0 1px;
}



* html #menu ul ul.firstLevel a:hover{
	color:#FFFFFF;
	background-color:#0099FF;
	position:relative;
	z-index:110;
	height:100%;
	border:1px solid #0099FF;
	border-width:0 1px;
}
#menu ul ul.firstLevel :hover > a {
	color:#FFFFFF;
	background-color:#0099FF;
	z-index:110;
	height:100%;
	border:1px solid #0099FF;
	border-width:0 1px;
}

* html #menu ul ul.secondLevel a:hover{
	color:#FFFFFF;
	background-color:#990000;
	position:relative;
	z-index:110;
	height:100%;
	border:1px solid #990000;
	border-width:0 1px;
}
#menu ul ul.secondLevel :hover > a {
	color:#FFFFFF;
	background-color:#990000;
	z-index:110;
	height:100%;
	border:1px solid #990000;
	border-width:0 1px;
}


/* third */
* html #menu ul ul ul a:hover {
	color:#0E0044;
	background-color:#C0D1F9;
	position:relative;
	z-index:120;
}
#menu ul ul ul :hover > a {
	color:#0E0044;
	background-color:#C0D1F9;
}



/* 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:25px;
	left:0;
	width:150px;
}


/* position the third level flyout menu */
#menu ul ul ul{
	top:-11px;
	width:150px;
}


/* make the second level visible when hover on first level list OR link */
#menu ul :hover ul {
	visibility:visible;
	height:auto;
	padding:0 30px 30px 30px;
	left:-32px;
}
#menu ul :hover ul.left {
	visibility:visible;
	height:auto;
	padding:15px 30px 30px 30px;
	left:-55px;
}


/* keep the third level hidden when you hover on first level list OR link */
#menu ul :hover ul ul{
	visibility:hidden;
}
/* keep the fourth level hidden when you hover on second level list OR link */
#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;
	left:100px;
	height:auto;
	padding:10px 30px 30px 30px;
}



#menu ul ul, #menu ul ul ul {
	overflow:visible;
	z-index:1000;
}
