
/*-------------------- main navigation - drop-down style --------------------*/

/* ================================================================ 
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:550px;
	height:43px;
	position:relative;
	z-index:100;
	font-family:Arial, Sans-serif;
	}
	
	/* hack to correct IE5.5 faulty box model */
	* html .menu {
		width:551px;
		w\idth:550px;
		}
	
/* remove all the bullets, borders and padding from the default list styling */
.menu ul {
	padding:0;
	margin:0;
	list-style-type:none;
	}
	
.menu ul ul {
	width:110px;
	margin-top:0px; /* added to original code to shift second level list down */
	}
	
/* 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:110px;
	position:relative;
	z-index:500;
	background:transparent url(../images/main_navigation_bkgrd.png) repeat;
	}
	
/* style the links for the top level */
.menu a, .menu a:visited {
	display:block;
	font-size:1.1em;
	text-decoration:none;
	color:#93b0cf;   /* light blue */
	width:102px;
	height:43px;
	padding-top:2px;
	padding-left:8px;
	line-height:2.6em;
	font-weight:normal;
	text-align:center;
	font-size:1.2em;
	}

	/* a hack so that IE5.5 faulty box model is corrected  - add height value if not displaying properly in IE */
	* html .menu a, * html .menu a:visited {
		width:110px; 
		w\idth:100px;
		}

/*	.menu ul li {background:transparent url(../images/main_navigation_bkgrd.png) repeat;}   */
/*	.menu li#selected {background:url(../images/nav_background_selected.png) no-repeat 0 0px;}   */

	.menu li#selected {
		background:url(../images/nav_background_selected.png) no-repeat 0 0px;
		height:43px;
		}

		.menu li#selected a {
			color:white;
			}
		
/* style the second level background */
.menu ul ul a, .menu ul ul a:visited {
	background:#141243;
	}		
	
/* style the second level hover */
.menu ul ul a:hover{
	background:url(../images/nav_background_second_level_hover.png) no-repeat 0 0;
	}

/* CODE THAT HAS BEEN ADDED TO THE ORIGINAL CSS PLAY CODE */
.menu ul li:hover ul li a:hover {
	background:url(../images/nav_background_second_level_hover.png) no-repeat 0 0;
	color:white;
	width:95px;
	padding:7px 7px 7px 8px;
	} 
	
.menu ul ul li#sub-selected a {
	color:white;
	background:url(../images/nav_background_second_level_hover.png) no-repeat 0 0;
	}
	
	
/* 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;
	left:0;
	width:100px;
	}
	
	/* another hack for IE5.5 */
	* html .menu ul ul {
		top:43px;
		t\op:33px;
		}

/* style the table so that it takes no part 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 {
	color:#93b0cf;   /* light blue */
	height:auto;
	line-height:1.2em;
	padding:7px 7px 7px 8px;
	width:95px;
	border-bottom:2px solid #141243;
	text-align:left;
	font-size:1.1em;
	}
	
	/* yet another hack for IE5.5 */
	* html .menu ul ul a, * html .menu ul ul a:visited {
		width:100px;
		w\idth:90px;
		}

/* style the top level hover - ORIGINAL CSS PLAY CODE */
/*.menu a:hover, .menu ul ul a:hover{color:#fff; background:url(../images/nav_background_selected.png) no-repeat 0 0;} */
/*.menu :hover > a, .menu ul ul :hover > a {color:#fff; background:url(../images/nav_background_second_level_hover.png) no-repeat 0 0;} */

/* style the top level hover */
.menu ul li:hover {background:url(../images/nav_background_selected.png) no-repeat 0 0;}
.menu ul li:hover a.firstLevelLink {color:white;}

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

	
	
	
/* ------------------ SUBNAV Navigation ---------------------------- */


div#subnav a {
	display:block;
	padding:12px 5px;
	border-bottom:1px dotted #4ec014;
	color:#666;
	text-decoration:none;
	}
	
	div#subnav a.subnav-last {
		border-bottom:none;
		}
		
	div#subnav a.subnav-selected {
		color:black;
		}
		
div#subnav a:hover {
	color:black;
	}

