/*--CSS FOR THE MAIN NAVIGATION (HORIZONTAL), INCLUDING DROP-DOWN MENUS--*/

.menu {
/*width:700px; */
width:auto;
padding-left: 0;
font-size:0.85em;
position:relative;
z-index:10;
}

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

/* 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;
font-family:Arial, Helvetica, sans-serif;
/*letter-spacing:1px;*/
font-size:12px;
text-transform:uppercase;
text-decoration:none;
color:#4f4038;
padding-left: 25px;
padding-right: 0px;
padding-bottom: 6px;
}

/* hide the sub levels and give them a position absolute so that they take up no room */
.menu ul ul {
visibility:hidden;
position:absolute;
height:0;
width:200px;
top:18px;
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 {
color:#567A27;
font-size:10px;
text-decoration:none;
height:10px; 
line-height:1em; 
padding:3px 2px 3px 25px; 
width:200px;
background:url(../images/nav_bg.png);
}


/* style the top level hover */
.menu a:hover, .menu ul ul a:hover{
color:#4f4038;
text-decoration:none;
background:url(../images/nav_bg.png);
}

.menu :hover > a{
color:#4f4038;
text-decoration:none;
background:url(../images/nav_bg.png);
}

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

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:url(../images/nav_bg.png);

}
/* style the second level hover */
.menu ul ul a.drop:hover, .menu ul ul :hover > a{
color:#1F698F;
background:url(../images/nav_bg.png);
}
.menu ul ul :hover > a.drop {
color:#1F698F;
background:url(../images/nav_bg.png);
}
