/* 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;
width:142px;
padding-top: 4px;
padding-bottom: 4px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:142px;
w\idth:142px;
}

/* 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:28px;
left:0px;
width:142px;
z-index:1;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:38px;
t\op:26px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:142px;
top:0;
width:142px;
}
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {
left:-50px;
}

/* 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 {
background-color:#000000;
color:#000; 
height:auto;
line-height:1em;
/* yet another hack for IE5.5 */
}
.menu ul ul a, .menu ul ul a:visited[class] {
background-image:url(img/menu_bkg.png);

}

.menu a:hover, .menu ul ul a:hover{
color:#fff; 
background-image:url(img/menu_bkg_on.png);
}
.menu :hover > a, .menu ul ul :hover > a {
color:#fff;
background-image:url(img/menu_bkg_on.png);
}
* html .menu a:hover, * html .menu ul ul a:hover{
     background-color:#ffffff;

  }
/* 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;
}
