/* style the outer div to give it width */
.menu {
	font-size: 12px;
	font-family: arial;
	font-weight: bold;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	list-style-type: none;
	margin: 0;
	list-style-image: none;
}
.menu ul ul {
	width: 150px;
}
/* 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 #dd0000;
	border-right: 0px solid #4EC3E6;
}

.menu ul ul li {
	border-left: none;
	border-right: none;
}

/* style the links for the top level */
.menu a,.menu a:visited {
	display: block;
	text-decoration: none;
	height: 12px;	
	padding: 0px 15px 0px 15px;	
	height:30px;
	line-height:30px;
	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: #EEE;	
}
/* style the second level hover */

.menu ul ul a.drop:hover {
	background: #CCC;
	color: #FFF;
}

.menu ul ul :hover>a.drop {
	background: #6fa9c6;
	color: #FFF;
}

/* style the third level background */
.menu ul ul ul a,.menu ul ul ul a:visited {
	background: #DED;
}

/* style the third level hover */

.menu ul ul ul a:hover {
	background: #CCC;
	color: #FFF;
}

.menu ul ul ul :hover>a {
	background: #CCC;
	color: #FFF;
}

/* 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: 30px;
	left: 0;
	width: 150px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 25px;
	t\op: 26px;
}

/* position the third level flyout menu */
.menu ul ul ul {
	z-index: 1;
	left: 169px;
	top: 0;
	width: 150px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	z-index: 1;
	left: -169px;
}

/* 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 li {
/*	background: url(../images/menu_lvl2_bg.png) repeat-y; */
	background: #052445;
}

.menu ul ul a,.menu ul ul a:visited {
/*	background: #DDD;*/
	color: #fff;
	height: auto;
	line-height: 1em;
	padding: 5px 10px;
	width: 149px /* yet another hack for IE5.5 */
}

* html .menu ul ul a {
	width: 150px;
	w\idth: 149px;
}

/* style the top level hover */
.menu a:hover {
	background-image: url(../images/bg_menu_hover.gif);
	background-repeat: repeat-x;
}

.menu ul ul a:hover {
	background-image: none;
	background: #6fa9c6;
}

.menu :hover>a {
	background-image: url(../images/bg_menu_hover.gif);
	background-repeat: repeat-x;
}

.menu ul ul a {
	border-bottom: 1px solid #072e57;
}

.menu ul ul :hover>a {
/*	background-image: none;
	background: #6fa9c6;	*/
	background: #005B90;
	background-image: url(../images/bg_menu.gif);	
	color: #fff;
}

/* 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;
}

/* 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;
}

/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
	visibility: visible;
}