/* reset styles */

.menu li, .menu ul {
	margin: 0;
	padding: 0;
}

/* style the outer div to give it width */
.menu {
	font-size: 12px;
	font-family: arial;
	position: relative; 
	z-index: 1;
}

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

.menu ul ul ul{
	width: 152px;
	border-top: 1px solid #034770;
}
/* 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;
	border-left: 0px solid #fff;
	border-right: 1px solid #fff;	
}

.menu ul ul li{	
	border: 1px solid #034770;
	border-top: 0px solid #034770;
}


/* style the links for the top level */
.menu a,.menu a:visited {
	display: block;
	text-decoration: none;
	height: 12px;
	line-height: 22px;
	padding: 0px 38px 0px 37px;
	height: 22px;
	color: #FFFFFF;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a,* html .menu a:visited {
	w\idth: 30px;
}
/* style the second level background */
.menu ul ul a.drop,.menu ul ul a.drop:visited {
	background: #CDDFEB;
}
/* style the second level hover */
.menu ul ul a.drop:hover {
	background: #fff;
	color: #034770;
	font-weight: bold;
}

.menu ul ul :hover>a.drop {
	background: #CCC;
	color: #FFF;
	font-weight: bold;
}

/* style the third level background */
.menu ul ul ul a,.menu ul ul ul a:visited {
	background: #CDDFEB;	
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background: #fff;
	color: #034770;
}

.menu ul ul ul :hover>a {
	background: #fff;
	color: #034770;
}

/* 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: 25px;
	top: 22px;
	left: 0;
	width: 150px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 40px;
	t\op: 41px;
}

/* position the third level flyout menu */
.menu ul ul ul {
	z-index: 1;
	left: 150px;
	top: 0;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	z-index: 1;
	left: -150px;
}

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

/* style the second level links */
.menu ul ul a,
.menu ul ul a:visited {
	background: #CDDFEB;
	color: #034770;
	height: auto;
	line-height: 1em;
	padding: 5px;
	width: 140px /* yet another hack for IE5.5 */
}

* html .menu ul ul a {
	width: 140px;
	w\idth: 140px;
}

/* style the top level hover */
.menu a:hover, 
.selected {
	background-image: url(../images/bg_menu_hover.gif);
	background-repeat: repeat-x;
	color: #9AC0D7;
	text-decoration: none;
}

.menu :hover>a, 
.selected {
	background-image: url(../images/bg_menu_hover.gif);
	background-repeat: repeat-x;
	color: #9AC0D7;
	text-decoration: none;
}

.selected {
	font-weight: bold;
}

.menu ul ul a:hover {
	background-image: none;
	background: #fff;
	color: #034770;
}

.menu ul ul :hover>a {
	background-image: none;
	background: #fff;
	color: #034770;
}

/* 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 li:hover ul ul,
.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 li:hover ul li:hover ul,
.menu ul :hover ul :hover ul {
	visibility: visible;
}

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