/*  Menu-base from http://www.cssplay.co.uk/  */


#MAINMENU {
	position:relative;
	z-index:100;
	margin: 0 0 0 270px;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
	background-color: #FFFFFF;
}

/* remove all the bullets, borders and padding from the default list styling */
#MAINMENU ul {
padding:0;
margin:0;
list-style-type:none;
}

/*#MAINMENU ul ul {
width:150px;
}*/

/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
#MAINMENU li {
float:left;
position:relative;
}

/* style the links for the top level */
#MAINMENU a/*, #MAINMENU a:visited*/ {
	display:block;
	color:#000000;
	height:30px;
	padding:0 12px 0 9px;
	line-height:29px;
	text-decoration: none;
	border-top: 1px solid #FFF;
}

#MAINMENU li.current a {
	color: #1E996B;
}

#MAINMENU li.current li a {
	color: #000;
}

/* style the links for the top level */
#MAINMENU li a.last {
	background:url(none);
}

#MAINMENU a.nowrap, #MAINMENU a:visited.nowrap {
white-space:nowrap;
}

#MAINMENU li.nowrap a{
white-space:nowrap;
}


#MAINMENU li.nowrap li a{
white-space:normal;
}


/* a hack so that IE5.5 faulty box model is corrected */
* html #MAINMENU ul a, * html #MAINMENU ul a:visited {
w\idth: 1px;
}

/* style the second level background 
#MAINMENU ul ul a.drop, #MAINMENU ul ul a.drop:visited {
background:#d4d8bd url(drop.gif) bottom right no-repeat;
}*/

/* style the second level hover 
#MAINMENU ul ul a.drop:hover{
background:#c9ba65 url(drop.gif) bottom right no-repeat;
}*/

/*#MAINMENU ul ul :hover > a.drop {
background:#c9ba65 url(drop.gif) bottom right no-repeat;
}*/


/* style the third level background 
#MAINMENU ul ul ul a, #MAINMENU ul ul ul a:visited {
background:#e2dfa8;
}*/

/* style the third level hover 
#MAINMENU ul ul ul a:hover {
background:#b2ab9b;
}*/


/* hide the sub levels and give them a positon absolute so that they take up no room */
#MAINMENU ul ul {
visibility:hidden;
position:absolute;
height:0;
top:31px;
/* left:0; */
width:200px;
opacity:0.85;
-moz-opacity:0.85;
}

* html #MAINMENU ul ul {
filter:Alpha(opacity=80);
}

/* another hack for IE5.5 */
* html #MAINMENU ul ul {
top:31px;
t\op:31px;
}

/* position the third level flyout menu 
#MAINMENU ul ul ul{
left:150px; 
top:0;
width:150px;
}*/

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

/* style the table so that it takes no ppart in the layout - required for IE to work */
#MAINMENU table {
position:absolute; 
top:0; 
left:0;
}

/* style the second level links */
#MAINMENU ul ul a, #MAINMENU ul ul a:visited {
	color:#000000;
	height:auto;
	line-height:1em;
	padding:5px 10px;
	width:200px;
	border-top: none;
	font-weight: normal;
	background-color: #FFFFFF;
}

* html #MAINMENU ul ul a, * html #MAINMENU ul ul a:visited {
	padding:5px 10px 5px 5px;
}


/* yet another hack for IE5.5 */
* html #MAINMENU ul ul a{
width:200px;
w\idth:200px;
}


/* style the top level hover */
#MAINMENU a:hover, #MAINMENU a:hover.nowrap {
color:#000; 
float:none;
}

#MAINMENU ul ul a:hover{
	color: #1E996B;
}



#MAINMENU :hover > a {
	color:#1E996B;
}

#MAINMENU ul ul :hover > a {
	color:#1E996B;
}



/* make the second level visible when hover on first level list OR link */
#MAINMENU ul li:hover ul,
#MAINMENU ul a:hover ul{
visibility:visible; 
z-index: 100;
}

/* keep the third level hidden when you hover on first level list OR link */
#MAINMENU ul :hover ul ul{
visibility:hidden;
}

/* make the third level visible when you hover over second level list OR link */
#MAINMENU ul :hover ul :hover ul{ 
visibility:visible;
z-index: 100;
}

