html, body { 	
	background: #99a922 url(img/bodybg.jpg) no-repeat fixed;
	-o-background-size: 100% 100%, auto;
	-moz-background-size: 100% 100%, auto;
	-webkit-background-size: 100% 100%, auto;
	background-size: 100% 100%, auto;

	margin: 0; padding: 0;
	height:100%;
}





/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Layout Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.bodybox { /* Holds the page items in place */
	max-width: 1280px;	
	min-height:90%;
	margin: 0 auto 0 auto;
	padding: 0;
	background: #fff;
	box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.headerbox {width: 100%;  margin:0 0 0 0; }

.logobox, #headerpic {height: 280px;}
/*Top left*/
.logobox {width: 24.9%; float:left;  background: #fff}
a.homelink {width: 100%; height:100%; float:right;  text-align:center;}
a.homelink img {max-width:80%; max-height:100%;}
#headerpic {width: 75%; float:right; overflow:hidden; background-size: 100% auto, auto; background-position: center, center;}
.headerbox_replace {height:0; clear:both;}

/*fixed menu*/
.noheader .headerbox_replace {height: 200px;}
.noheader .headerbox {position:fixed; max-width: 1280px; margin: -110px auto 0 auto; z-index:5000;}
.noheader .headerbox .logobox, .noheader .headerbox #headerpic {height: 0px; }
.reduced .headerbox {margin: 0 auto 0 auto ! important;  transition:0.5s all;}


#topslider {width: 75%; float:right; } 
#topslider ul, #topslider li {    list-style: none; list-style-type: none; list-style-image: none; margin: 0; padding: 0;}
#topslider img {float:right; width:100%;} 


.search_box {width:25%; float:left;}

.menuebox {width: 100%; height:40px; float:left; background: #76b82a;} 
.mobileheader {display:none;}
#openrightboxswitch, #closerightboxswitch{display:none;}





/*left*/

.leftbox {
	margin-left: 0;
	width:25%;
	float:left;
	display:inline;
	min-height: 1px;
}

.leftbox .inner {margin:50px 10px 20px 10px; min-height:200px;}
.leftbox .inner img {max-width:100%; height: auto;}









.top_content {width:100%; margin: 0 0 20px 0;}
.top_content, .bottom_content {clear:both;}

.mainbox {width:75%;  float:left; display:inline;}



.maincontent { /* main content */
	width: 65%;
	float: left;
	display:inline;
	margin-left: 2%;
	padding-top:10px;
}

.mainbox .contentwide  {width:95%; margin:0 0 0 20px;}

.mainbox .maincontent img:not([class^="pic"]) { max-width:100%; height:auto ! important;}
.mainbox .maincontent p img:not([class^="pic"]) { max-width:49%; float:left; margin: 5px 2% 5px 0;}


#rightbox {
	width: 31%;	
	float: right;
	display:inline;
}
#rightbox .inner { margin: 30px 15px 0 0; font-size:0.9em; line-height:135%}
#rightbox .inner img { max-width:100%; height:auto ! important;}



.clearcontent {height:100px; clear:both; }

.footerbox {margin: -100px auto 50px auto; height:60px; max-width: 1280px;  font-size:12px; color: #999;}
.footerbox .left {width: 25%; margin:15px 0 0 0; float:left;}
.footerbox  .center {width: 75%; margin: 15px 0 0 0; float:left; }
#gototopswitch {float:right;}


/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  */
.breadcrumbs {
	height:30px;
	line-height:100%;
	margin: 0 0 0 0;
	padding: 3px 0 3px 0;
	clear:both;	
}

.innerbc {
	font-size:14px;
	margin:10px 0 0 18px;
	width: 650px;
}

.breadcrumbs .innerbc span {
	background: transparent url(img/bclink.gif) no-repeat; 
	padding: 6px 2px 0px 12px; font-weight: normal; }
	
.breadcrumbs .innerbc a {
	padding:1px;
	border-bottom: 1px dotted #217cd7;
	text-decoration: none;
}
.breadcrumbs .innerbc a:hover {border-bottom: 1px solid #b6dc3b;}
	
.breadcrumbs .innerbc .menu-current a{
	color: #000000;
}

#aprevnext {display:block; width:90px; height:27px; float:right;}
#aprevnext a {display:block; width:40px; height:27px; float:right; opacity:0.5; border:none;}
#aprevnext a.aprev {background: url(img/prev.png) no-repeat center top;  }
#aprevnext a.anext {background: url(img/next.png) no-repeat center top;  }
#aprevnext a:hover {opacity:0.8}


.body .breadcrumbs {display:none;}
.body281 .breadcrumbs {display:none;}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	####	Header Menu #####
	#######################

	Horizontal Drop-Down Menu based off :
	http://www.tanfa.co.uk/css/examples/menu/tutorial-h.asp
	
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  */


/* Remove List Formattings
~~~~~~~~~~~~~~~~~~~~  */
#nav {
	float:left;	
	height: 40px;	
	border: 0;	
	padding:0;	
}

#nav ul,  #nav2 ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
	width: auto;
	position: relative;
	z-index: 800;

}
#nav ul li,  #nav2 ul li {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}


/* Root Level Link Formatting */
#nav ul li {float: left; color: #fff; text-align: left; font-weight: normal; list-style-type: none; list-style-image: none;}
#nav ul li a {display: block; text-shadow: 1px 2px 8px #000; font-size: 16px; border-right:1px #fff solid; color: #fff; text-decoration: none; font-weight: bold; background-repeat: no-repeat;}
#nav ul li a span {display:block; padding: 10px 10px 6px 6px; }
/* Root Level link hover */
#nav ul li a:hover, #nav li a:focus, #nav li a:active, #nav ul li a.active, #nav a.menu-current, #nav a.menu-parent {color: #fff; background: #217cd7 ; }


/*Current page Customisations*/
#nav li a.menu-current,  #nav li  a.menu-parent {background-color:#217cd7;}




/* 2nd Child menu */
#nav  li ul {position: absolute; width: 200px; margin: -3px 0 0 -10000px; opacity:0.0; text-transform: none; border-bottom: 1px solid #fff; font-size: 14px; 	background: #b6dc3b url(img/glitzi.png) no-repeat right 0px; box-shadow: 0px 10px 10px -4px rgba(0, 0, 0, 0.4);}
#nav  li ul li {text-align: left; font-weight: normal; margin: 0; padding: 0; line-height: 1.2em;  }
#nav  li ul li a {width: 200px;  height:auto; text-shadow: none; margin:0; padding: 0; color: #000; border-top: 1px solid #fff; font-weight: normal; font-size: 13px; background: none;}
#nav  li ul li a span {display:block; padding:8px; }


/* 2nd Child link hover */
#nav  li ul a:hover,  #nav  li ul a.menu-current { background-color: #217cd7;  text-shadow: 1px 2px 4px #000;}
#nav  li ul a.menu-expand {background: transparent url(img/arr-right.png) no-repeat right 5px ; }
#nav  li ul a.menu-parent {background: #217cd7 url(img/arr-right.png) no-repeat right 5px; }
#nav li li a.menu-current,  #nav li li a.menu-parent {background-color:#217cd7;}

/* Show and hide */
#nav  li:hover ul, #nav  li a:focus ul{ margin: -3px 0 0 0; opacity:1; transition:0.5s opacity;}
#nav  li ul ul { margin-left: -10000px; opacity:0.0; transition:0.5s opacity;}
#nav  li:hover ul ul, #nav  li.subMenu ul ul { margin-left: -10000px; opacity:0.0; transition:0.5s opacity;}
#nav  li:hover>ul, #nav  li li:hover>ul, #nav li.tabselected ul  { opacity:1; margin-left: 0;  transition:0.5s opacity; z-index: 1000;}
#nav  ul li ul li:hover>ul {margin-left: -30%;  opacity:0.9;}

/* 3rd Child Menu Appreances */
#nav  li ul li ul	{ width: 180px; margin: 10px 0 0 -40%; z-index: 2000; }
#nav  li ul li ul li	{width: 100%;}
#nav  li ul li ul li a 	{ width: 100%;}



/* Positioning the Pop-out Drops */
#nav li {position: relative;}

#nav ul ul ul {
	position: absolute;
	top: 1px;
	left: 100%;
}



/* Better: */
#nav li:hover {
	z-index: 1000;	/* ...and here. this makes sure active item is always above anything else in the menu */
	white-space: normal;/* required to resolve IE7 :hover bug (z-index above is ignored if this is not present)
							see http://www.tanfa.co.uk/css/articles/pure-css-popups-bug.asp for other stuff that work */
}


/* end nav */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#leftmenu {margin-top:0px; background: #e4efc1;}
#leftmenu ul, #leftmenu ul li {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
	padding: 0;
}

#leftmenu li a {
	margin:0;
	display:block;
	font-size:14px;
	padding:10px 0 3px 10px;
	line-height: 120%;	
	color: #217cd7;
	text-decoration: none;
	border-bottom: 1px #fff solid;
	text-shadow: 1px 2px 8px #666; 	
}

#leftmenu li li a { font-size:13px; padding:5px 0 5px 20px; }
#leftmenu li li li  a { font-size:12px; padding:5px 0 5px 30px;}

#leftmenu a.menu-current, #leftmenu a.menu-parent, #leftmenu a:hover, #leftmenu a:focus {background-color:#217cd7; color:#fff; text-shadow: 0px 1px 1px #333; }
#leftmenu a.menu-current, #leftmenu a.menu-parent {font-weight: bold;  }


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* Search Box in header */

.search_box {	
	padding-top:10px;
}

.search_box .searchstring {
	
	width:70%;
	border: 1px solid #217cd7;
	font-size:14px;
	padding:2px;
	margin-left:10px;
}
.search_box .submitbutton {
	vertical-align: top; margin:0 0 0 10px; 
}

#suggestbox {
	z-index:1000;
	width:280px;	
	position: absolute;
	float:left;
	clear:both;		
}
#suggestbox ul {width: 280px; margin: -5px 0 0 20px;}
#suggestbox ul, #suggestbox li {
	list-style-type: none;
	list-style-image: none;	
	padding: 0 0 0 0 ;
	font-size:11px ;
	line-height: 120%;
	text-align: left;		
}
#suggestbox ul li a {
	display:block;
	padding: 5px 10px 5px 15px; 
	text-decoration: none;
	margin:0; 
	font-weight:normal;
	font-size:13px;
	line-height: 120%;
	overflow:hidden;
	color:#217cd7;
}
#suggestbox ul li {background: transparent url(img/suggestli.png) repeat-y;} 
#suggestbox ul li.suggestdivide {font-size:5px;}
	
#suggestbox ul li.suggesttop {
	height:30px;
	background: transparent url(img/suggesttop.png) no-repeat;
} 
#suggestbox ul li.suggestbottom {height:15px; background: transparent url(img/suggestbottom.png) no-repeat;} 



/* Login Box */

#showlogin {display: block; margin: 0px 0 0 10px;}
#login-box { margin-top:0px; padding:0px 5%;  font-size: 10px;}
#login-box .inputfield {		
	font-size: 10px;
	padding:2px;
	border: 1px solid #505567;
	background-color: #f2f3f8;
	width:100%;	
}
#login-box .loginsubmit { float:right;}

a.page_editlink {width:16px; height:16px; position:absolute; top:0; left:0; background:url(img/edit.gif) no-repeat; z-index:5000}



/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	Custom Classes (Re-useables)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
	
/*  Float containers fix: */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
/*  \*/
* html #clearfix {
	height: 1%;
}
/*  */

.stealth {visibility:hidden; display:none;} /* hides from normal css enabled browsers */





/* ======================================================================
Smaller Screens */
@media screen and (max-width: 1040px) {
	#nav ul li a span {padding: 11px 5px 9px 02px; }
}
/* ======================================================================
Smaller Screens */
@media screen and (max-width: 800px) {
	body {font-size: 14px;}
	.bodybox {margin-top: 0}
	.bodybox, .footerbox {width:100%; background: #fff; background-image:none;}
	.menuebox, .leftbox, .footerbox .left, .logobox {display:none;}
	.headerbox, .mainbox, .headerbox, #headerpic  {width:100%; margin: 0 0 0 0;}
	#rightheader {float:none; height:auto;}
	#headerpic  {height:80px; }
	#headerpic img {display:none;}
	
	.logobox a.logo {display:none;}
	
	.mobileheader {display:block;  height:80px;}
	.mobileheader #mobile-logo {margin:20px 0 0 10px; max-height:50%}
	
	#topslider {width: 100%; float:right; } 
	
	
	
	a.toggleMenu { float:left; width:20px; height:60px; background: url(img/menuswitch.png) no-repeat top right; margin:20px 30px 0 0;}
	
	.search_box {  width: 180px; margin-left:60px;}
	.search_box .searchstring {width: 100px;}
	
	
	
	.maincontent { width: 63%; 	 margin-left:2%; }
	.mainbox .contentwide  {width:96%; margin:0 0 0 2%;}
	#rightbox { width: 33%;}
	#rightbox .inner { margin: 0 5% 0 5%;}
	
	#suggestbox ul li a {padding: 6px 10px 6px 15px; font-size:12px;}	
	.footerbox .center{width:96%; margin: 15px 0 0 2%;}
	/*Nav*/
	
	
	
	#nav2 {width:250px; height: auto; position:absolute; left:0; top:100px; z-index:2000; }
	#nav2  {background: #b6dc3b url(img/glitzi.png) no-repeat right 0px; box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.4);}
	
	#nav2 li {width:250px;  padding: 0 0 0 0; }
	#nav2 li a {display:block; padding: 12px 0 12px 20px; font-size:18px;  color:#000; text-decoration: none; border-bottom: 1px solid #fff;}
	#nav2 li li a {padding: 10px 0 10px 30px; font-size:16px;  }
	#nav2 li li li a {padding: 8px 0 8px 40px; font-size:14px; }
	#nav2 li li li li a {padding: 6px 0 6px 50px; font-size:13px; ;}
	
	#nav2 li ul {display:none;}
	#nav2 li.menu-parent > ul, #nav2 li.menu-current > ul {display:block;}
	#nav2 li.is_opened > ul, #nav2 li.is_opened > ul {display:block;}
	
	#nav2 li a.menu-expand {background: transparent url(img/arr-down.png) no-repeat left center ;}
	#nav2 li a.menu-current { color:#fff; background-color: #217cd7;  text-shadow: 1px 2px 4px #000; font-weight:bold;}
	
	#nav2 ul li a.menu-expand.is_opened, #nav2 ul li a.menu-parent {font-weight:bold;  color:#fff; background: #217cd7 url(img/arr-right.png) no-repeat 2px center ; }
	#nav2close {display:none;  position:absolute; top:0; width:100%;  height: 900px; background-image:none;}
	
	.reduced .headerbox {display:none;}
	
	.breadcrumbs { width: 100%; height: auto; }
	.innerbc { margin: 2px 0 5px 2%; width: 96%; }
	.innerbc span  {display: block; float:left; padding: 2px 2px 2px 12px; margin: 0 0 5px 0;}
	.innerbc b  {display: none;}
	
}


/* ======================================================================
Smaller Screens */
@media screen and (max-width: 500px) {
	.maincontent {width:96%; margin:0 0 0 2%;}
	#rightbox {display:none; width:300px; border-left:none; position:absolute; right:0; top:230px; background:#f0f0f0; box-shadow: 0px 20px 30px -20px rgba(0, 0, 0, 0.4);}

	#openrightboxswitch {display:block; width: 19px; height:57px; position:absolute; right:0; top:230px;}	
	#closerightboxswitch {display:block;}
	.frontpage #openrightboxswitch {top:270px;}
	

}





