#mainmenu {	position:relative;top:0px;left:0px;float:right; font-family:verdana; border-bottom:1px solid #d2dbe8; width:593px; margin-top:-4px; margin-bottom:0;}

#mainmenu ul { position:relative; padding:0px; margin:0px; cursor: pointer;	list-style-type: none; white-space: nowrap; width:auto; height:auto; border:0px solid #ffffff;}

#mainmenu ul ul { 
	padding: 0px; /* stops the usual indent from ul */ 
	margin: 0px; /* Opera 7 final's margin and margin-box model cause problems */ 
	width:auto; /* width set! */
}

#mainmenu ul li {
	display: inline;		/* block -> display horizontal | inline -> display vertical */
	list-style-type: none;  /* removes the bullet points */
	margin: 0px;            /* Opera 7 puts large spacings between li elements */
	position: relative;     /* makes the menu blocks be positioned relative to their parent menu item the lack of offset makes these appear normal, 
							but it will make a difference to the absolutely positioned child blocks */
	color: #CCCCCC;            /* sets the default font colour to white */
	
border:0px solid #ff0000;

}

/* 
using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
#mainmenu ul li > ul {             
	display: none; 			/* hides child menu blocks - one of the most important declarations */
	position: absolute; 	/* make child blocks hover without leaving space for them */
	top: 19px; 				/* position slightly lower than the parent menu item */
	left: 0px; 				/* this must not be more than the width of the parent block, or 
					the mouse will have to move off the element to move between blocks, and the menu will close */
	z-index:1;
	border-bottom:0px solid #fff ;
	
}

/* using the > selector prevents many lesser browsers (and IE - see below) hiding child ULs */
#mainmenu ul li > ul li > ul {             
	display: none; 			/* hides child menu blocks - one of the most important declarations */
	position: absolute; 	/* make child blocks hover without leaving space for them */
	top: 0px; 				/* position slightly lower than the parent menu item */
	left: 150px; 			/* this must not be more than the width of the parent block, or the mouse will
							have to move off the element to move between blocks, and the menu will close */
	z-index:1;
	
}

/* #mainmenu ul li:hover, #mainmenu ul li:hover a, #mainmenu ul li.CSStoHighlight, #mainmenu ul li.CSStoHighlight a { */
#mainmenu ul li:hover a, #mainmenu ul li.CSStoHighlight a {
	background-color: #ffffff;	/* gives the active menu items a backgroundcolor */
	color: #0C3479;				/* makes the active menu item text black */
	top: 0px;
	
}

/* must not be combined with the next rule or IE gets confused */
#mainmenu ul ul.CSStoShow { 
	display: block; 		/* specially to go with the className changes in the behaviour file */
}

/* 
one of the most important declarations - the browser must detect hovering over arbitrary elements
the > targets only the child ul, not any child uls of that child ul */
#mainmenu ul li:hover > ul { 
	display: block;			/* makes the child block visible - one of the most important declarations */
	}

#mainmenu ul li li {
	display: block;				/* NEEDED! */
	width:170px; /* gives the last item a width */
	top:0px;
	padding:0px;
	
}

/* and some link styles */
#mainmenu ul li a {
	padding:4px 6px 5px 7px;
	font-size:8pt;
	font-weight:normal;
	color: #0C3479;
	text-decoration:none;
	border-left:1px solid #d2dbe8;


	}

#mainmenu ul li li a {
	display: block;			/* NEEDED! */
	width:140px; 			/* set width of dropdown */
	padding:0px 10px 0px 10px;
	font-size:8pt;
    font-weight:normal;
	text-align:left;
	border-top:0;
	border-bottom:1px solid #d2dbe8;
	border-left:1px solid #d2dbe8;
	border-right:1px solid #d2dbe8;
		
}
#mainmenu ul li a:hover
{
	background-color:#fc7C00;
	color: #fff;
	text-decoration:none;

}
#mainmenu ul li li a:hover,
#mainmenu ul li ul li a.CSStoHighLink {
	background-color:#fc7C00;
	color: #fff;
	text-decoration:none;

}
#mainmenu ul li li:hover > a {		/* supports links in branch headings - must not be display: block; */
	background-color:#fc7C00;
	color: #fff;

}