/* ================================================================ 
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.
=================================================================== */
	

/* style the top level hover */
#mainmenu a:hover, #mainmenu ul ul a:hover{ color:Black; }
#mainmenu :hover > a, #mainmenu ul ul :hover > a {  color:Black; }

	#mainmenu ul ul {
		padding: 0px 6px 6px 0px;
		background: transparent url('/images/design2/util_shadow.png') no-repeat 100% 100%;
		behavior: url(/css/iepngfix.htc);
	}

	/* 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;
	}
	
	#mainmenu LI#menu_item1, #mainmenu LI#menu_item2, #mainmenu LI#menu_item3, #mainmenu LI#menu_item4, #mainmenu LI#menu_item5 {
		width:150px;
		text-align:center;
	}
	LI#menu_item5 > a {
		border: 0px;
	}
	#mainmenu LI#menu_item1 UL {
		left:-5px;
	}	
	

		/* style the links for the top level */
		#mainmenu a, .menu a:visited {
			display:block;
			height:27px;
			line-height:25px;
			
			margin: 0px 0px 0px 0px;
			padding: 0px 20px;

			font-size:92%;
			text-decoration:none;
			color:#0c3e59;
			font-weight:900;
			
		}
		
		/* a hack so that IE5.5 faulty box model is corrected */
		* html #mainmenu a, * html #mainmenu a:visited { width:149px;}
			
				/* style the third level background */
				#mainmenu ul ul ul a, #mainmenu ul ul ul a:visited {
					background:White;
				}
				/* style the third level hover */
				#mainmenu ul ul ul a:hover {
					background:White;
				}


/* hide the sub levels and give them a positon absolute so that they take up no room */
#mainmenu ul ul {
	visibility:hidden;
	position:absolute;
	top:26px;
	left:-1px; 
}
/* another hack for IE5.5 */
* html #mainmenu ul ul {
	top:26px;
}

	/* position the third level flyout menu */
	#mainmenu ul ul ul{
		left:149px;
		top:-1px;
		width:149px;
	}

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

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

	#mainmenu ul ul li { 
		width:160px;
		background-color:White;
	}

	/* style the second level links */
	#mainmenu ul ul a, #mainmenu ul ul a:visited {
		color:#0c3e59;
		height:auto;
		line-height:1.2em;
		font-size: 90%;
		padding:5px 20px;
		border: 1px solid Black;
		font-weight:bold;
		display:block;
	}
	/* yet another hack for IE5.5 */
	* html #mainmenu ul ul a, * html #mainmenu ul ul a:visited {width:150px;}
	
	/* style the second level links */
	#mainmenu ul ul a:hover {
		color:Black;
		background-color: #d9e5eb;
	}	

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