html, body { 	
	background: #e0e3ed url(img/bodybg.jpg) repeat-x 0 0;
	margin: 0; padding: 0;
	height:100%;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
	Layout Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.bodybox { /* Holds the page items in place */
	width: 980px;	
	min-height:90%;
	margin: 20px auto 0 auto;
	padding: 0;
	background: #fff url(img/mainbg.gif) repeat-y;
	box-shadow: 0px 20px 40px -20px rgba(0, 0, 0, 0.4);
}

.headerbox {width: 980px; height:220px; margin:0 0 0 0; background: #e0e3ed url(img/header.jpg) no-repeat center center;}

/*Top left*/
.logobox {width: 210px; height:220px; float:left;  background: transparent url(img/grbg.png)}
.logobox a.logo {width: 210px; height:183px; display:block; font-weight: normal; font-size:18px; color: #fff; text-decoration: none; overflow:hidden;}
.logobox a.logo span {display:block; height:auto; margin:30px 0 0 10px; }

/* Search Box in header */



.search_box {	
	margin-left:10px;
}

.search_box .searchstring {
	margin-top:5px;
	width:140px;
	border: 1px solid #505567;
	background-color: #f2f3f8;
	font-size:14px;
	padding:2px;
}
.search_box .submitbutton {
	vertical-align: top; margin:0 0 0 0; 
}



.menuebox {width: 770px; height:220px; float:left; } 
.toggleMenu {display:none;}
#openrightboxswitch, #closerightboxswitch{display:none;}






/*left*/

.leftbox {
	margin-left: 0;
	width:210px;
	float:left;
	display:inline;
}

.leftbox .inner {margin: 60px 10px 20px 10px; min-height:200px;}


#leftmenu {margin-top:3px; border-top: 2px #505567 solid;}
#leftmenu ul  {margin:0; padding:0;}
#leftmenu ul li {margin:0; list-style-type: none; list-style-image: none;}
#leftmenu ul li a {
	margin:0;
	display:block;
	font-size:12px;
	padding:2px 0 3px 10px;
	line-height: 160%;
	font-weight: bold;
	color: #505567;
	text-decoration: none;
	border-bottom: 1px #505567 solid;
	background-color:#e0e3ed;
	
}

#leftmenu ul li ul li a { background-color:#f2f3f8}
#leftmenu ul li a:hover, #leftmenu ul .menu_current a {color:#000; background-color:#fff; text-shadow: 0px 1px 1px #666; }






.top_content {width:100%; margin: 0 0 20px 0;}

.mainbox {width:770px;  float:left; display:inline;}



.maincontent { /* main content */
	width: 490px;
	float: left;
	display:inline;
	margin-left: 20px;
}
.mainbox .content p img { max-width:100%; height:auto ! important;}
.mainbox .contentwide  {width:95%; margin:0 0 0 20px;}


#rightbox {
	width: 245px;	
	float: right;
	display:inline;
	border-left:1px #666 solid;
}
#rightbox .inner { margin: 0 15px 0 15px; font-size:0.9em; line-height:135%}
#rightbox .inner p img { max-width:100%; height:auto ! important;}



.clearcontent {height:60px; clear:both; }

.footerbox {margin: -60px auto 50px auto; height:60px; width: 980px;  font-size:11px; color: #999;}
.footerbox .left {width: 200px; margin:15px 0 0 10px; float:left;}
.footerbox  .center {width: 730px; margin: 15px 0 0 20px; 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 #505567;
	text-decoration: none;
}
.breadcrumbs .innerbc a:hover {border-bottom: 1px solid #505567;}
	
.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}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	####	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: 220px;	
	border: 0;	
	padding:0;
	border-left:1px #fff solid;
}
#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; text-shadow: 1px 4px 4px #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: 191px 30px 10px 12px; }
/* 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: transparent url(img/atopbg.png) ; }


/*Current page Customisations*/
#nav a.menu-current		{font-weight: bold;}



/* 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: 13px; 	background: #ffcc00 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: #ff9900;  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: #ffb545 url(img/arr-right.png) no-repeat right 5px; }

/* Show and hide */
#nav  li:hover ul, #nav  li a:focus ul, #nav li.tabselected 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 { 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;}

#nav li a:focus {background-color:#e00 ! important; color: #000;}

/* 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 menu */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

#suggestbox {
	z-index:1000;
	width:180px;	
	position: absolute;
	float:left;
	clear:both;		
}
#suggestbox ul {width: 180px; 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: 0 10px 0 15px; 
	text-decoration: none;
	margin:0; 
	font-weight:normal;
	font-size:11px;
	line-height: 120%;
	overflow:hidden;
}
#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: 20px 0 0 10px;}
#login-box { margin-top:30px; padding:10px; border-top: 2px #505567 solid; 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;}





/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
	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: 800px) {
	body {font-size: 14px;}
	
	.bodybox, .footerbox {width:96%; background: #fff; background-image:none;}
	.menuebox, .leftbox, .footerbox .left {display:none;}
	.headerbox, .mainbox {width:100%; margin: 0 0 0 0;}
	.headerbox, .logobox {height:160px;}
	.logobox a.logo {width: 210px; height:100px; margin-bottom:20px;}
	
	.toggleMenu {display:block; float:left; width:20px; height:50px; background: url(img/menuswitch.png) no-repeat top right; margin:-5px 0 0 4%;}
	
	.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: #ffcc00 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: #ff9900;  text-shadow: 1px 2px 4px #000;}
	
	#nav2 ul li a.menu-expand.is_opened, #nav2 ul li a.menu-parent {font-weight:bold; background: #ffb545 url(img/arr-right.png) no-repeat 2px center ; }
	#nav2close {display:none;  position:absolute; top:0; width:100%;  height: 900px; background-image: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:240px; 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;}

}





