li.sub_menu_1 ul a { width: 105px;}
li.sub_menu_2 ul a {width: 150px;}
li.sub_menu_3 ul a {width: 201px;}
li.sub_menu_4 ul a {width: 97px;}
li.sub_menu_5 ul a { width: 84px;}
li.sub_menu_5 ul a { width: 89px;}

/* 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:0;
	margin:0;
}
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	text-decoration:none;
	color:#fff;
	height:29px;
	border:none;
	line-height:29px;
}

.menu ul ul :hover > a.drop {
	background:#A3C0E8;
}

/* 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:29px;
	left:0;
	padding:0;
	margin:0;
}

/* 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:#fff;
	color:#415079;
	height:auto !important;
	line-height:12px;
	padding:5px 10px 5px 10px;
	border: 1px solid #d4d4d4;
	border-top:none;
	float:left;
}
.menu ul ul a:hover{
	background:#415079;
	color:#fff;
	height:auto !important;
	line-height:12px;
	padding:5px 10px 5px 10px;
	border: 1px solid #d4d4d4;
	border-top:none;
	float:left;
}

/* style the top level hover */
.menu a:hover {
	height:auto !important;
}
.menu :hover > a, .menu ul ul :hover > a {
	color:#fff;
	height:auto !important;
}

/* 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 !important;
	background:#fff !important;
}
/* keep the third level hidden when you hover on first level list OR link */
.menu ul :hover ul ul{
	visibility:hidden !important;
}
/* keep the fourth level hidden when you hover on second level list OR link */
.menu ul :hover ul :hover ul ul{
	visibility:hidden !important;
}
/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{
	visibility:visible !important;
}
/* make the fourth level visible when you hover over third level list OR link */
.menu ul :hover ul :hover ul :hover ul {
	visibility:visible !important;
}