﻿/* style the outer div to give it width */
.menu {
width:739px; 
font-size:12px;
padding-bottom:0px;
}
/* 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:80px;
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
float:left;
width:70px;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:10px;
font-weight:bold;
font-family:Verdana;
text-decoration:none;
text-align: center;
color:#5288B3; 
width:70px; 
height:20px; 
border:0px solid #fff; 
border-width:0px 0px 0 0; 
background-image: url(../images/bg-button.gif);
background-repeat: no-repeat;
padding-left: 0; 
line-height:20px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:80px;

}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
width:200px; 
background-image: url(../images/bg-button-129.gif);
}
/* style the second level hover */
.menu ul ul a.drop:hover{
width:200px; 
background-image: url(../images/bg-button-129.gif);
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background-image: url(../images/bg-button-129.gif);
}
/* style the third level hover */
.menu ul ul ul a:hover {
background-image: url(../images/bg-button-129.gif);
color:#5288B3;
}

/* 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:20px;
left:0; 
width:70px;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:30px;
}

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

/* style the table so that it takes no ppart 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 {
color:#5288B3; 
height:auto;
width:200px;
line-height:1em; 
padding:5px 5px; 
width:200px;
background-image: url(../images/bg-button-129.gif);
text-align: left;
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:200px;
}

/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color: #930;
}

/* make the second level visible when hover on first level list OR link */
.menu ul :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;
}

