/* ================================================================ 
This copyright notice must be untouched at all times.
 
The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/final_drop.html
Copyright (c) 2005-2008 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
 
.menu {
/*  width:740px; */
  position:relative; 
  z-index:100; 	
	height: 25px;
}
/* hack to correct IE5.5 faulty box model */
* html .menu {width:742px; w\idth:745px;}
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {

  position: relative;
  /*
  float: left;
  left: 50%;
*/
/*  width: 100%;*/
  padding:0;
  margin:0 auto; 
  list-style-type:none;
}
  
 
.menu ul ul {
  width:120px;  
  
 
  border-bottom: 1px solid #6BAD4A;
  
}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.menu li {
/*  display:block; */
  float:left; 
  
  
  /*stu nicholls is a god */
  /*right: 50%; */

  /*
  width: 50px;
  */
  
  /*width:105px; */
  
  position:relative; 
  text-align: center;
}


/* CHANGE THE COLOR HERE TO CHANGE THE STD FONT COLOUR ???? */

/* style the links for the top level */
.menu a, .menu a:visited {
  display:block;
  font-size:12px;
  text-decoration:none; 
  background:#fff; 
  color:#003300; 
  width:auto; 
  height:25px; 
  
  
  
  padding-left:15px;
  padding-right: 15px;
  
  margin: 0;
  line-height:24px; 
  font-weight:bold;
}
/* a hack so that IE5.5 faulty box model is corrected */
* html .menu a, * html .menu a:visited {width:100px; w\idth:100px;}
 
/* style the second level background */
.menu ul ul a.drop, .menu ul ul a.drop:visited {}

/* style the second level hover */
.menu ul ul a.drop:hover{  
  background:#6BAD4A; 
  color:#fff; 
}
.menu ul ul :hover > a.drop {  
  background:#6BAD4A; 
  color:#fff; 
}

/* style the third level background */
.menu ul ul ul a, .menu ul ul ul a:visited {background:#fff;}
/* style the third level hover */
.menu ul ul ul a:hover {background:#6BAD4A;}
 
/* 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:25px; /* this is what makes the sub-level border go OVER the menu border, to make a GATE into the currently visible drop-down menu !!!!!!!  */
  left:0; 
  
 
  /* THESE ALLOW US TO PUT THE GREEN BORDER-BOTTOM ON THE UL, GIVING US A BORDER ON THE BOTTOM ELEMENT !*/
  width:242px;  
  height: auto;
  
  
}
/* another hack for IE5.5 */
* html .menu ul ul {top:30px;t\op:31px;}


/* THIRD LEVEL FLYOUT POSITION AND SIZE */ 
/* position the third level flyout menu */
.menu ul ul ul{
  left:242px; 
/*  padding-left: 1px; LOOKS BETTER BUT IT'S POSSIBLE TO KILL THE FLYOUT WHEN THE MOUSE HITS THE GAP */
  top:1px;
  width:242px;
  
  border-bottom: 1px solid #6BAD4A;
}
 
/* position the third level flyout menu for a left flyout */
.menu ul ul ul.left {left:-100px;}
 
/* 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; border-collapse:collapse;;}
 
/* style the second level links */
.menu ul ul a, .menu ul ul a:visited {
  background:#fff; 
  color:#6BAD4A; 
  height:auto; 
  line-height:1em; 
  padding:3px 10px; 
  width:220px;    /* WIDTH OF THE FLYOUTS*/
  font-weight:normal;
  text-align: left;
  border-left: 1px solid #6bad4a;  
  border-right: 1px solid #6bad4a;  
  
  border-top: 1px solid #e8d9b5;	
/*	margin-top: 1px; */
}
/* yet another hack for IE5.5 */
* html .menu ul ul a, * html .menu ul ul a:visited {width:100px;w\idth:128px;}
 
/* style the top level hover */
.menu a:hover {color:#6BAD4A; background:#fff;} 
.menu :hover > a {color:#CE9B21; background:#fff;}
/* original hover colour: TOO BRIGHT !! #FFD700 */

/* AND THESE BITS WERE TIED IN WITH THE TOP LEVEL HOVER .. WHY???? THIS IS WHY THE 2ND LEVEL HOVER COLOUR WASN'T WORKING .. IT WAS SET TO THE SAME COLOUR AS THE TOP LEVEL !!!! 
NOW THAT WE'VE SEPARATED THESE FROM THE TOP LEVEL RULES, WE WILL GET A HOVER COLOUR !!!!! */
.menu ul ul a:hover{color:#fff; background:#6BAD4A;}

.menu ul ul :hover > a {color:#fff; background:#6BAD4A;}
 
/* 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;}