/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/pro_drop_2.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

body {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #000000;
}
#container {
	width: 90%;  /* this will create a container 90% of the browser width */
	background: #FFFFFF;
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
}
#header {
	text-align: center;
}
#footer {
	text-align: center;
	margin-top: 30px;
}
.preload1 {
	background: url(three_1.gif);
}
.preload2 {
	background: url(three_1a.gif);
}

#nav {
	padding:0;
	margin:0;
	list-style:none;
	height:43px;
	position:relative;
	z-index:500;
	font-family:Verdana, Arial, Helvetica, sans-serif;
}
#nav li.top {
	display:block;
	float:left;
	height:43px;
	margin-right: -5px;
}
#nav li a.top_link {
	/*Top tier buttons - no dropdown*/
	display:block;
	float:left;
	height:43px;
	line-height:47px;
	color:#0000FF;
	text-decoration:none;
	font-size:14px;
	font-weight:bold;
	padding:0 0 0 0px;
	cursor:pointer;
	background: url(three_0.gif);
}
#nav li a.top_link_down {
	/*Top tier buttons - with a dropdown. Different background image*/
	display:block;
	float:left;
	height:43px;
	line-height:47px;
	color:#0000FF;
	text-decoration:none;
	font-size:14px;
	font-weight:bold;
	padding:0 0 0 0px;
	cursor:pointer;
	background: url(three_0a.gif);
}
#nav li a.top_link span {
	/*The spans contain the link text.  The margin allows us to shift the text over*/
	float:left;
	display:block;
	padding:0 8px 0 4px;
	/*height:35px;*/
	height:43px;
	margin-left:35px;
	background: url(three_0.gif) right top no-repeat;
}
#nav li a.top_link_down span {
	float:left;
	display:block;
	padding:0 8px 0 4px;
	height:43px;
	margin-left:35px;
	background: url(three_0a.gif) no-repeat right top;
}
#nav li:hover a.top_link {
	/*The hovers will change the text color and background images*/
	color:#FF0000;
	background: url(three_1.gif) no-repeat;
}
#nav li:hover a.top_link_down {
	/*color:#fff;*/
	color:#FF0000;
	background: url(three_1a.gif) no-repeat;
}
#nav li:hover a.top_link span {
	background:url(three_1.gif) no-repeat right top;
}
#nav li:hover a.top_link_down span {
	background:url(three_1a.gif) no-repeat right top;
}
#nav li:hover {
	position:relative;
	z-index:200;
}
#nav li:hover ul.sub {
	/*This is the overall box holding the sub-header hover*/
	left:21px;
	top:38px;
	background: #EFEFEF;
	padding:3px;
	border:1px solid #000099;
	white-space:nowrap;
	/*Change width to accomodate wider sub-menu text items (below also)*/
	width:136px;
	height:auto;
	z-index:300;
}
#nav li:hover ul.sub li {
	display:block;
	height:20px;
	position:relative;
	float:left;
	/*Change width to accomodate wider sub-menu items (above also)*/
	width:136px;
	font-weight:normal;
}
#nav li:hover ul.sub li a {
	/*The link text will be contained by these settings*/
	display:block;
	font-size:12px;
	height:18px;
	/*Should be 2 less than the overall width above*/
	width:134px;
	line-height:18px;
	text-indent:5px;
	color:#000;
	text-decoration:none;
	/*border:1px solid #bbd37e;*/
	border:1px solid #DFDFFF;
}
#nav li ul.sub li a.fly {
	background:#E0E1EF url(arrow.gif) 136px 6px no-repeat;
}
#nav li:hover ul.sub li a:hover {
	/*background:#6a812c;*/
	background:#0000FF;
	color:#fff;
	border-color:#fff;
}
#nav li:hover ul.sub li a.fly:hover {
	background:#FF0000 url(arrow_over.gif) 190px 6px no-repeat;
	color:#fff;
}
#nav li:hover li:hover ul, #nav li:hover li:hover li:hover ul, #nav li:hover li:hover li:hover li:hover ul, #nav li:hover li:hover li:hover li:hover li:hover ul {
	/*This is the overall box holding the fly-out hover list*/
	left:114px;
	top:1px;
	background: #EFEFEF;
	padding:3px;
	border:1px solid #000099;
	white-space:nowrap;
	width:230px;
	z-index:400;
	height:auto;
}
#nav li:hover li:hover ul li a {
	/*Width should be 2 less than above*/
	width:228px;
}
#nav ul, #nav li:hover ul ul, #nav li:hover li:hover ul ul, #nav li:hover li:hover li:hover ul ul, #nav li:hover li:hover li:hover li:hover ul ul {
	position:absolute;
	left:-9999px;
	top:-9999px;
	width:0;
	height:0;
	margin:0;
	padding:0;
	list-style:none;
}
#nav li:hover li:hover a.fly, #nav li:hover li:hover li:hover a.fly, #nav li:hover li:hover li:hover li:hover a.fly, #nav li:hover li:hover li:hover li:hover li:hover a.fly {
	background:#EFEFEF url(arrow_over.gif) 80px 6px no-repeat;
	color:#000000;
	border-color:#000099;
}
#nav li:hover li:hover li a.fly, #nav li:hover li:hover li:hover li a.fly, #nav li:hover li:hover li:hover li:hover li a.fly {
	background:#bbd37e url(arrow.gif) 80px 6px no-repeat;
	color:#000;
	border-color:#bbd37e;
}

