.menu {
width:760px;
background-color: #d8e297;
/* width is actually 580px but I added 1pixel border-right to the menu top level links, and the left nav bar end graphic. */
/*760 (total width) - 20 (right nav end) + 1 pxl space to the right of the left nav end and each button therefore +6 = 746*/
font-size:0.85em;
position:relative;
z-index:100;
margin:0;
height:32px;
/*background:#ffffff url(../images/navbg.jpg) top left repeat-x; clear:both;*/
}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	display: block;
float:  left;
padding:0;
list-style-type:none;
width: auto;
margin:  0 0 0 10px;
border:1px solid #eeeeee;
border-width:0px 0px 0px 1px;
}
.menu ul ul {
width:143px;
}

/* 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:90px;*/
text-align:center;
position:relative;
}
/* style the links for the top level */
.menu a, .menu a:visited {
display:block;
font-size:11px;
text-decoration:none; 
color:#232b06; 
width:auto; /* Removed this so that we can set the width of top level nav items independently */
height:32px; 
border:1px solid #eeeeee;
border-width:0px 1px 0px 0px;
background:#d8e297 url(../images/navbg.jpg) top left repeat-x; 
line-height:29px;
padding:0px 4px 0px 4px;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {
width:90px;
w\idth:90px;
}

/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {
background:#00a4e8 url(../images/rightarrow.gif) no-repeat right center;

}
/* style the second level hover */
.menu ul ul a.drop:hover{ /* IE only it seems */
background:#d8e297 url(../images/rightarrow.gif) no-repeat right center;
}
.menu ul ul :hover > a.drop { /* Non-IE browsers */
background:#00a4e8 url(../images/rightarrow.gif) no-repeat right center;
}
/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {
background:#d8e297;
}
/* style the third level hover */
.menu ul ul ul a:hover {
background-color:#00a4e8; 
}

/* 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:auto;
top:32px;
left:0; 
width:143px;
/* SECOND LEVEL DROP DOWN MENU BORDER COLOUR */
border:1px solid #7f962a;
}
/* another hack for IE5.5 */
* html .menu ul ul {
top:32px;
t\op:32px;
}

/* position the third level flyout menu */
.menu ul ul ul{
left:149px; 
top:0;
width:149px;
}
/* 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 drop down menu */
.menu ul ul a, .menu ul ul a:visited {
/* bg colour */
background:#d8e297; 
/* text colour */
color:#1a1a1a; 
height:auto; 
/* width of all spacing and sizing */
line-height:1em; 
padding:7px 10px; 
width:123px
/* yet another hack for IE5.5 */
}
* html .menu ul ul a{
width:100px;
w\idth:129px;
}


/* style the top level hover */
.menu a:hover { /*IE*/
color:#ffffff; 
background:#7f962a url(../images/navbgover.jpg) top center repeat-x; 
}
.menu :hover > a { /*Non-IE*/
color:#ffffff;
background:#7f962a url(../images/navbgover.jpg) top center repeat-x; 
}

/* Style the first sub-level links*/
.menu ul li ul li a:hover{ /*IE*/
color:#ffffff; 
background:#7f962a; 
}
.menu ul li ul li a:hover > a { /*Non-IE*/
color:#ffffff;
background:#7f962a; 
}

.menu ul ul a:hover{ /*IE*/
color:#ffffff; 
background-color:#d8e297;
}
.menu ul ul :hover > a { /*Non-IE*/
color:#ffffff;
background-color:#7f962a; 
}

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

/* make the third level visible when you hover over second level list OR link */
.menu ul :hover ul :hover ul{ 
visibility:visible;
}

.menu ul li ul li {
text-align:left;;
}

.navend { width:19px; height:32px; overflow:hidden; background:#d8e297;  url(../images/navend.jpg) top left no-repeat;}
.navend2 { width:19px; height:32px; overflow:hidden; background:#d8e297 url(../images/navend2.jpg) top left no-repeat; border:0px solid #d8e297; border-width:0px 1px 0px 0px;}
