/*CSS code from www.fu2k.org - In search of the One True Layout*/

#content_main
{
  float: left;
  width: 710px;
  margin-right: 10px;
  margin-left: 20px;
}
#content_bar
{
  float: right;
  width: 240px;
}
/* Start Mac IE5 filter \*/
#content_main, #content_bar
  {
  _padding-bottom: 32767px !important;
  _margin-bottom: -32767px !important; 
  }
@media all and (min-width: 0px) {
#content_main, #content_bar
  {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important; 
  }
#content_main:before, #content_bar:before
  {
  content: '[DO NOT LEAVE IT IS NOT REAL]';
  display: block;
  background: inherit;
  padding-top: 32767px !important;
  margin-bottom: -32767px !important;
  height: 0;
  }
}
/* End Mac IE5 filter */
/* IE Win can be a bit out - you might need to adjust  
bottom value by -1px or as required */
.verticalalign
  {
  position: absolute;
  bottom: 0;
  }
#content_main .verticalalign
  {
  width: 540px;
  }
#content_bar .verticalalign
  {
  width: 240px;
  }
/* hack for Opera 7+ */
@media all and (min-width: 0px){
.verticalalign
  {
  width: 100% !important;
  }
/* But Opera 9 does it right, so CSS3 hax to the max */
div[id^="content"] #content_main .verticalalign
  {
  width: 540px !important;
  }
div[id^="content"] #content_bar .verticalalign
  {
  width: 240px !important;
  }
}
/* hack for IEs of all persuasions */
* html .verticalalign
  {
  width: 100% !important;
  }
.verticalalign p
  {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 0;
  background: #996666;
  }
#content
  {
  width: 780px;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  overflow: hidden; /* This hides the excess padding in non-IE browsers */
  }
/* we need this for IE 5.01 - otherwise the wrapper does not expand to the
necessary height (unless fixed, this problem becomes even more acute 
weirdness as the method is enhanced */
#content
  {
/* Normally a Holly-style hack height: 1% would suffice but that causes 
IE 5.01 to completely collapse the wrapper - instead we float it */
  float: left;
/* NB. possibly only IE 5.01 needs to get this float value - otherwise 5.5 sometimes 
(I saw it happen many moons ago) makes the width of wrapper too small 
the float: none with the comment is ignored by 5.01,
5.5 and above see it and carry on about their business
It's probably fine to just remove it, but it's left here 
just in case that many moons ago problem rears its head again */
  float/**/: none;
  }
/* easy clearing */
#content:after
  {
  content: '[DO NOT LEAVE IT IS NOT REAL]'; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
  }
#content
  {
  display: inline-block;
  }
/*\*/
#content
{
  display: block;
}
/* end easy clearing */
#header, #footer
{
  width: 1000px;
}
/* Safari needs this - otherwise the ghost overflow, though painted 
correctly obscures links and form elements that by rights should be above it.
An unintended side-effect is that it cause such elements to vanish in IE 5.01
and 5.5, hence the child selector hack */
* > #footer, * > form, * > #notes, * > .output
{
  position: relative;
  z-index: 1000;
}

/*_______TOP MENU _________*/

#top-menu {margin-left:12px; _margin-left:7px; _padding-left:10px; width:100%; float:left; position:relative; top:-17px; _top:-20px;}
*:first-child+html #top-menu {top:-20px;}
#top-menu ul.menu_left { float: left; background:none;}
#top-menu ul.menu_right { float: right; background:none;}
#top-menu ul li { float: left; display:inline; background:none;}

#top-menu ul.menu_left li a.level_1 {
	cursor:hand;
	cursor:pointer;
	text-decoration:none;
	float:left !important;
	margin:0;
	line-height:35px;
	_line-height:30px;
	font-weight:normal;
	color:#5e9400 !important;
	font-size:20px;
	display:block;
	height:38px;
	width:auto;
}
#top-menu ul.menu_left li a.level_1:hover {
	float:left;
	margin:0;
	line-height:35px;
	_line-height:30px;
	font-weight:normal;
	color:#3D5E00 !important;
	font-size:20px;
	display:block;
	height:38px;
	width:auto;
	background: url(/images/bg_li_topmenu.gif) repeat-x left top;
}
#top-menu ul.menu_left li a.level_1.active {
	float:left;
	margin:0;
	line-height:35px;
	_line-height:30px;
	font-weight:normal;
	color:#3D5E00 !important;
	font-size:20px;
	display:block;
	height:38px;
	width:auto;
	background: url(/images/bg_li_topmenu.gif) repeat-x left top;
}
#top-menu ul.menu_left li:hover a.level_1 { background: url(/images/bg_li_topmenu.gif) repeat-x left top;}
#top-menu ul.menu_left li:hover ul.level_2 a {color:#5e9400;}
#top-menu ul.menu_left li:hover ul.level_2 a:hover {color:#3D5E00;}
#top-menu ul.menu_left li:hover ul.level_2 a.active {_color:#000 !important;}


ul.menu_left li span.mainlevel_left { float:left; display:block; height:38px; width:10px;}
ul.menu_left li span.mainlevel_right {float:left !important; display:block; height:38px; width:10px;}
ul.menu_left li span.mainlevel_middle {float:left !important; height:20px; _height:15px; border-bottom:1px solid #5E9400; padding-bottom:8px; _padding-bottom:0px;}


#top-menu ul.menu_left li:hover span.mainlevel_left, #top-menu ul.menu_left li a.level_1.active span.mainlevel_left {
	float:left;
	display:block;
	height:38px;
	width:10px;
	background: url(/images/menu_left_span_left.gif) no-repeat left top;
}
#top-menu ul.menu_left li:hover span.mainlevel_right, #top-menu ul.menu_left li a.level_1.active span.mainlevel_right {
	float:left;
	display:block;
	height:38px;
	width:10px;
	background: url(/images/menu_left_span_right.gif) no-repeat right top;
}
#top-menu ul.menu_left li:hover span.mainlevel_middle, #top-menu ul.menu_left li a.level_1.active span.mainlevel_middle {
	display:block;
	height:38px;
	border:0px solid #5E9400;
}

#top-menu ul ul {
	position: absolute;
	left:-9000px;
	height: 34px;
	background-color:#fff !important;
	background-image:none !important;
	float:left;
	margin:38px 0 0 0;
	width:980px;
	padding-left:10px;
	_padding-left:20px;
}
#top-menu ul ul.active {
	display:inline !important;
	background:0 !important;
	float:left;
	position:absolute;
	left:0;
	margin:38px 0 0 0;
	z-index:1;
	padding-left:10px;
	_padding-left:20px;
}
#top-menu ul ul.level_2 li a {
	text-decoration:underline;
	color:#5e9400;
	_color:#5e9400 !important;
	font-weight:normal;
}
#top-menu ul ul.level_2.active li a {
	text-decoration:underline;
}
#top-menu ul ul.level_2 li a:hover {
	color:#3D5E00;
	_color:#3D5E00 !important;	
}
#top-menu ul ul.level_2.active li a:hover {
	color:#3D5E00;
	_color:#3D5E00 !important;
}
#top-menu ul.active li a.active:hover {
	color:#000 !important;
	_color:#000 !important;
	text-decoration:none !important;
}
#top-menu ul ul li a.active {
	color:#000 !important;
	_color:#000 !important;
	text-decoration:none !important;
}
#top-menu ul ul.level_2 li a.active:hover {
	color:#000 !important;
	_color:#000 !important;
	text-decoration:none !important;
}
#top-menu ul ul li.active a {
	color:#000 !important;
	_color:#000 !important;
	text-decoration:none !important;
}
#top-menu ul ul.level_2 li.active a:hover {
	color:#000 !important;
	_color:#000 !important;
	text-decoration:none !important;
}

#top-menu ul ul.level_2 li {
	display:inline !important;
	font-size:14px !important;
	background:0 !important;
	height:28px !important;
	line-height:27px !important;
	_height:24px !important;
	_line-height:24px !important;
	border:0;
	padding:7px 0 0 0;
	_padding:10px 0 0 0;
	color:#000 !important;
}

#top-menu ul span.level_2_dbl ul.level_2 li {
	display:inline !important;
	font-size:14px !important;
	background:0 !important;
	height:15px !important;
	line-height:15px !important;
	_height:15px !important;
	_line-height:15px !important;
	border:0;
	padding:2px 0 0 0;
	_padding:2px 0 0 0;
	color:#000 !important;
}

*:first-child+html #top-menu ul ul li {
	height:24px !important;
	line-height:24px !important;
	padding:10px 0 0 0;
}

#top-menu ul ul li.last {border-right: solid 0px #fff;}
#top-menu ul ul li a {
	display:block !important;
	font-size:13px !important;
	background:0 !important;
	line-height:15px !important;
	padding:0 7px;
	height:15px !important;
	border-right: solid 1px #ccc;
	float:left !important;
}

#top-menu ul ul li.last a {
	border-right: none;
}

#top-menu ul.menu_right li a {
	margin:0;
	float:left;
	line-height:35px;
	font-weight:normal;
	color:#b70000 !important;
	font-size:20px;
	display:block;
	height:38px;
	width:auto;
	padding:0 5px;
	background: url(/images/bg_li_topmenu_r.gif) repeat-x left top;
}
#top-menu ul.menu_right li a:hover {
	margin:0;
	float:left;
	line-height:35px;
	font-weight:normal;
	color:#b70000;
	font-size:20px;
	display:block;
	height:38px;
	width:auto;
	padding:0 5px;
	background: url(/images/bg_li_topmenu_r.gif) repeat-x left top;
}

ul.menu_right span.mainlevel_left {float:left; display:block; height:38px; width:5px; background: url(/images/menu_right_span_left.gif) no-repeat left top;}
ul.menu_right span.mainlevel_right {float:left; display:block; height:38px; width:5px; background: url(/images/menu_right_span_right.gif) no-repeat left top;}

.clear {width:100%; clear: both; font-size: 0.1em; }


#top-menu li:hover ul ul {margin:0px 0 0 0px !important; z-index:1000000;}
#top-menu li.sfhover ul ul {  z-index:1000000; border:0; margin:0px 0 0 0px;}

#top-menu li:hover ul ul, #top-menu li:hover ul ul ul, #top-menu li.sfhover ul ul, #top-menu li.sfhover ul ul ul { z-index:1000000; left: -999em;}
#top-menu li:hover ul, #top-menu li li:hover ul, #top-menu li li li:hover ul, #top-menu li.sfhover ul, #top-menu li li.sfhover ul, #top-menu li li li.sfhover ul {z-index:1000000; left: 0px;}

#top-menu li:hover ul.level_2 a, #top-menu li:hover ul.level_2 a, #top-menu li.sfhover ul.level_2 a {color:#3D5E00;}
#top-menu li:hover ul.level_2 a.active:hover, #top-menu li.sfhover ul.level_2 a.active:hover {color:#000 !important;}
#top-menu li:hover ul li, #top-menu li.sfhover ul li {color:#000 !important;}
