/* style the outer div to give it width */
.icomenu {
width:120px;
height:20px;
font-family: Verdana;
font-size: -2;
position:relative;
left: -10px;
top: -16px;
}

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

.icomenu ul ul
{
width:150px;
}

/* float the list to make it horizontal and a relative positon so that you can control the dropdown icomenu positon */
.icomenu li
{
float:left;
width:150px;
position:relative;
}

/* style the links for the top level */
.icomenu a, .icomenu a:visited
{
display:block;
font-size: 9px;
text-decoration:none; 
color:#ccdbe6; /*###*/
width:139px; 
height:20px; 
border:1px solid #004D7B; 
/*background:#004D7a;#*/
padding-left:10px; 
line-height:19px;
}

.icomenu ul li a {
background:transparent !important;
}

.icomenu ul ul li a {
background:#004D7A !important;
}

/* a hack so that IE5.5 faulty box model is corrected */
* html .icomenu a, * html .icomenu a:visited
{
width:150px;
w\idth:139px;
}

/* style the second level background */
.icomenu ul ul a.drop, .icomenu ul ul a.drop:visited
{
color: #004D7c; /*###*/
background:#ccdbe4;   /*###*/
}

/* style the second level hover */
.icomenu ul ul a.drop:hover
{
color: #ccdbe7;   /*###*/
background:#004D7d;   /*###*/
}

.icomenu ul ul :hover > a.drop
{
color: #ccdbe3;   /*###*/
background:#004D79;   /*###*/
}

/* style the third level background */
.icomenu ul ul ul a, .icomenu ul ul ul a:visited
{
background:#004D7e;
}

/* style the third level hover */
.icomenu ul ul ul a:hover
{
color: #ccdbe2;/*###*/
background:#004D6f;/*###*/
}

.icomenu ul ul ul :hover > a
{
color: #ccdbe6;
background:#004D7f;
}

/* style the table so that it takes no part in the layout - required for IE to work */
.icomenu table {border-collapse:collapse; border:0; position:absolute; left:0; bottom:-1px;}

/* hide the sub levels and give them a positon absolute so that they take up no room */
.icomenu ul ul
{
visibility:hidden;
position:absolute;
bottom:21px;
left:0; 
width:150px;
}

* html .icomenu ul ul
{
bottom:20px;
}

/* position the third level flyout icomenu */
.icomenu ul ul ul
{
left:150px; 
bottom:0;
width:150px;
}

/* position the third level flyout icomenu for a left flyout */
.icomenu ul ul ul.left
{
left:-150px;
}


/* style the second level links */
.icomenu ul ul a, .icomenu ul ul a:visited
{
background:#004D78; 
color:#ccdbe8;   /*###*/ 
height:auto; 
line-height:1em; 
padding:5px 10px; 
width:129px
/* yet another hack for IE5.5 */
}

* html .icomenu ul ul a
{
font-size: 9px;
width:150px;
w\idth:129px;
}


/* style the top level hover */
.icomenu a:hover, .icomenu ul ul a:hover
{
color: #ccdbe9;
background:#004D77;
font-size: 9px;
}

.icomenu :hover > a, .icomenu ul ul :hover > a
{
color: #ccdbe0;
background:#004D80;
font-size: 9px;
}

/* make the second level visible when hover on first level list OR link */
.icomenu ul :hover ul
{
visibility:visible;
height:auto;
}

/* keep the third level hidden when you hover on first level list OR link */
.icomenu ul :hover ul ul
{
display:none;
}

/* keep the fourth level hidden when you hover on second level list OR link */
.icomenu ul :hover ul :hover ul ul
{
display:none;
}

/* make the third level visible when you hover over second level list OR link */
.icomenu ul :hover ul :hover ul
{ 
display:block;
bottom:0;
}

/* make the fourth level visible when you hover over third level list OR link */
.icomenu ul :hover ul :hover ul :hover ul
{ 
display:block;
bottom:0;
}
