/* style the outer div to give it width */
.menu {
	height:20px;
	background: #E5EFFF;
	font-size: 11px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}
.menu ul ul {
	width: 118px;
}
/* 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;
	padding: 0px 0px 0px 0px;
	list-style-image : none;
	list-style-type : none;
	margin-left : 0; 
	font-size: 11px;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-weight: bold;
}
/* style the links for the top level */
.menu a,.menu a:visited {
	display: block;
	text-decoration: none;
	/*
	height: 30px;
	border-right: 1px solid #CC0001;
	*/
	line-height: 22px;
	font-weight: bold;
	color: #000;
	
	/*
	background-image: url(../images/v_line.jpg);
	background-repeat: no-repeat;
	*/
	
	padding: 0px 20px 0px 20px; /* padding: top, right, bottom, left*/
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a,* html .menu a:visited {
	w\idth: 118px;
}
/* style the second level background */
.menu ul ul a.drop,.menu ul ul a.drop:visited {
	background: #FFF;
}
/* style the second level hover */
.menu ul ul a.drop:hover {
	background: #E5EFFF;
}

.menu ul ul :hover>a.drop {
	background: #E5EFFF;
}

/* style the third level background */
.menu ul ul ul a,.menu ul ul ul a:visited {
	background: #E5EFFF;
}

/* style the third level hover */
.menu ul ul ul a:hover {
	background: #0066FF;
	/*
	background-image: url(../images/menu_bg_sel.jpg);
	background-repeat: repeat-x;
	*/
}

.menu ul ul ul :hover>a {
	background: #0066FF;
	/*
	background-image: url(../images/menu_bg_sel.jpg);
	background-repeat: repeat-x;
	*/
}

/* 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: 22px;
	left: 0;
	width: 118px;
}

/* another hack for IE5.5 */
* html .menu ul ul {
	top: 22px;
	t\op: 22px;
}

/* position the third level flyout menu */
.menu ul ul ul {
	left: 118px;
	top: 0;
	width: 118px;
}

/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
	left: -118px;
}

/* 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 {
	
	border-right: 1px solid #CCC;
	border-left: 1px solid #CCC;
	
	background: #E5EFFF; /* sub-bk */
	color: #000000;
	height: auto;
	line-height: 1em;
	padding: 4px 5px;
	width: 107px /* yet another hack for IE5.5 */
}

* html .menu ul ul a {
	width: 118px;
	w\idth: 107px;
}

/* style the top level hover */
.menu a:hover,.menu ul ul a:hover {
	color: #000000;
	/*
	background: #FFF;
	background-image: url(../images/menu_bg_sel.jpg);
	background-repeat: repeat-x;
	*/
}

.menu :hover>a,.menu ul ul :hover>a {
	color: #FFFFFF;/* top level */
	background: #0066FF;
	/*
	background-image: url(../images/menu_bg_sel.jpg);
	background-repeat: repeat-x;
	*/
}
.menu ul ul :hover>a {
	color: #FFFFFF;
	font-weight:bold;
	background: #0066FF;
}

/* 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;
}