li.sub_menu_1 ul a { width: 200px;}
li.sub_menu_2 ul a {width: 95px;}
li.sub_menu_3 ul a {width: 232px;}
li.sub_menu_4 ul a {width: 200px;}
li.sub_menu_5 ul a { width: 122px;}
/* remove all the bullets, borders and padding from the default list styling */.menu ul {
padding:0;
margin:0;
list-style-type:none;
}

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

.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:37px;
left: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:#E7F0FF;
color:#2155A0;
height:auto !important;
line-height:1em;
padding:5px 10px 5px 10px;border: 1px solid #A3C0E8;border-top:none;
}.menu ul ul a:hover{background:#fff;color:#2155A0;height:auto !important;line-height:1em;padding:5px 10px 5px 10px;border: 1px solid #A3C0E8;border-top:none;}

/* style the top level hover */
.menu a:hover {
height:auto !important;
}
.menu :hover > a, .menu ul ul :hover > a {
color:#2155A0;
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;
}