
/* Kill margin and padding on all elements - because different browsers have different defaults */
*{
	margin:0;
	padding:0;
}
.clearfix:after {
   content: "."; 
   display: block; 
   height: 0; 
   clear: both; 
   visibility: hidden;
   }

* html>body .clearfix {
   display: inline; 
   width: 100%;
   }

* html .clearfix {
   /* Hides from IE-mac \*/
   height: 1%;
   /* End hide from IE-mac */
   }


html{
/* Fixes background nastiness when a sidebar is open in Firefox */
	min-width:800px;
}

body{
/* Use backgound image as opposed to colour so that site is still functional if images are off */
	background:black url(../candy/bbg.jpg) 0 0 repeat-x;
/* Shove all content to the center of the screen for Internet Explorer 5 */
	text-align:center;
}

/*=====[ Set up container divs and add background tiles ]=====*/

#pageheadContainer,
#contentContainer,
#footContainer{
/* 100% so we can create the fullscreen width backgrounds */
	width:100%;
}

#pageheadContainer{
	background:transparent url(../candy/bbg.jpg) 0 100% repeat-x;
}

#contentContainer{
	background:#ffffff url(../candy/bcontainer.jpg) 50% 100% repeat-y;
/* Float left to prevent floated child divs(#article & #subContent) overflowing . aka the FnE method http://www.orderedlist.com/articles/clearing_floats_fne */
	float:left;
}

#footContainer{
	background:transparent url(../candy/bbotfooter.jpg) 0 0 repeat-x;
	clear:both;
}

ul.sidenav
{
list-style-type: none;
}

#pagehead,
#content,
#foot{
/* Set widths for "sub" container divs and center on the screen . fluid you say? I think not sir, you are quite mad! */
	width:800px;
	margin:0 auto;
/* Position relative so we can position children absolutley but keep them relative to their parents and not the document root - confused? Me too! */
	position:relative;
/* Shove the content back where it should be now we have convinced IE5 that center aligned websites are, infact, groovy (see body{}) */
	text-align:left;
}

#pagehead{
	height:162px;
}

#foot{
	height:112px;
}

/* More backgounds, we need more backgrounds! */
#pagehead{
	background:transparent url(../candy/bheader.jpg) 0 100% repeat-x;
}

#content{
/* Add drop shadow/fading backgound to top of content area . doesn't work on IE5/MAC . oh the shame! */
	/*background:transparent url(../candy/bcontainer.jpg) 0 0 no-repeat;*/
/* Ensure this background tile is never cut short, min-height for Firefox and pals, _height 'hack' for Internet Exploiter */
	min-height:300px;
	_height:300px;
}

#foot{
	background:transparent url(../candy/bfooter.jpg) 100% 0 no-repeat;
}

/*=====[ Set up two column layout for articles and subcontent ]=====*/

#article{
	width:450px;
	w\idth:500px;
	float:left;
	padding:0px 0 0px 0;
	margin-left:0px;
}

#leftcolumn {
/* Fix double margin bug in IE on floats using display:inline */
   float: left;
   display: inline;
   width: 110px;
   padding-bottom: 10px;
   margin-left: 36px;
   padding-right: 0px;
   padding-top: 2px;
}

#rightcolumn {
/* Fix double margin bug in IE on floats using display:inline */
   float: left;
   display: inline;
   width: 535px; /* 800 minus 20px 20px 20px 20px */
   color: #ffffff; /*font color*/
   padding-top: 10px;
   padding-bottom: 10px;
   padding-left: 0px; /* was 20px*/
   padding-right: 10px;
   margin-left: 65px;
}

#subContent{
/* Fix double margin bug in IE on floats using display:inline */
	display:inline;
	width:120px;
	float:left;
	padding:10px 0 0px 0;
	margin-left:30px;
	color:#616463;
	font-size:.9em;
}

/* ====== Navigation ====== */

.sidenav {
   float: left;
   width: 110px;


}

.sidenav h2 {
   color: #0081C5; 
   font-size: 1em;
   line-height: 30px;
   margin: 0;
   padding-left: 12px;
}

.sidenav ul {
   padding: 0;
   background: #8D0A13;
   color: #ffffff; /*F1D692;  B0908E*/
   border-top: 1px solid #0081C5; 
   text-decoration: none;

}

.sidenav li {
   border-bottom: 1px solid #0081C5; 
/*list-style-type: none; don't need now that ul.sidenav defines this on top*/
} 

.sidenav li a {
   font-size: 0.9em;
   color: #000080; /*#A16B0C;*/
   display: block;
   padding: 1px 0 1px 5%;
   text-decoration: none;
   width: 95%;

}
.sidenav li a:hover {
   background: #A9CBDC;
   color: #000080;	
}

#leftcolumn ul {
   margin: 0;
   padding: 0;
list-style: none;
}

#leftcolumn li {
   margin-bottom: 1px;
   color: #0081C5;
display:block;
	width:110px;
	margin-left:3px;
list-style-type: none;  /* this one controls the list type*/
}

#leftcolumn li li {
   margin-bottom: 0;
   padding-left: 0px;
}

#leftcolumn a {
   background: #C5DDE2;
   color: #0081C5;
	height:20px;
	text-align:center;
	line-height:20px;
display:block;
   border-bottom: 1px solid #0081C5; 
}

#leftcolumn li a:hover {
   background: #A9CBDC;
   color: #000000;	
}

ul{
	margin:0.8em 0 0.6em 1em;
	padding-left:1em;
	/*list-style-type:square;*/
}


/* ====== Navigation End ====== */

/*=====[ Navigations ]=====*/

#pagehead h1 a{
/* Create blank hit area for logo/signature - PNG here would have been nice but hey, this is IE land we live in!  */
	display:block;
	text-indent:-9999px;
	width:230px;
	height:150px;
	text-decoration:none;
/* Float to make hit area work in... yup, you gussed it ayyyeee 5! */
	float:left;
}

#pagehead a:hover{
/* prevent background colour used on site wide anchors */
	background:transparent;
}

#pagehead h1{
/* Position blank hit area over background logo/signature */
	position:absolute;
	top:0;
	left:0;
}

/* Main navigation list */

#pagehead ul{
	display:block;
	position:absolute;
	top:105px;
	left:248px;
/*was  left:330px: */
}

#pagehead li{
	display:block;
	float:left;
	width:80px;
	margin-left:3px;
}

#pagehead li a{
	display:block;
	height:20px;
	text-align:center;
	color:#4B271B;
	font-size:1.2em;
	font-weight:bold;
/* Line height same as height, which puts the text vertically centered, hoorah! */
	line-height:20px;
	text-decoration:none;
	text-transform:lowercase;
}


#pagehead li.odd a{
	background:#ad9f70;
}

#pagehead li.even a{
	background:#cdb283;
}

#pagehead a:hover{
	color:#FFE;
}

/* Foot navigation and FIR */

#foot ul{
	position:absolute;
	top:0px;
}

#foot li{
/* hide bullets */
	list-style-type:none;
}

#foot #foot1{
/* width to solve odd problem with Opera 7.5 */
	width:500px;
	position:absolute;
	left:230px;
	top:65px;
color: #ffffff;
text-align:center;
}

#foot #foot2{
/* width to solve odd problem with Opera 7.5 */
	width:500px;
	top:85px;
	position:absolute;
	left:230px;
color: #ffffff;
text-align:center;
}

/* This is the anchor top button at bottom of page */
#foot #pageTop{
	position:absolute;
/* This position worked out using a highly technical formula: left a bit, right a bit, no left a bit... bingo! */
	left:487px;
	top:-40px;
}

#foot #pageTop a{
	display:block;
	width:26px;
	height:26px;
	text-indent:-9999px;
	text-decoration:none;
	background:transparent url(../candy/pageTop.png) 0 0 no-repeat;
/* Float to make hit area work in... yup, you guessed it again Internet Exploder 5 */
	float:left;
}

/*=====[ General params and typography ]=====*/

body{
/* relative font sizing to allowing scaling in Internet Exfoliator - http://www.clagnut.com/blog/348/*/
	font:normal 62.5%/1.8em Arial, Helvetica, sans-serif;
}

/* #content ul used to prevent main navigation, within #pagehead, list breaking */
#content ul{
	margin:0.8em 0 0.6em 1em;
	padding-left:1em;
	list-style-type:square;
}

ol{
	margin:0.8em 0 0.6em 2em;
	padding-left:1em;
	list-style-type:lower-roman;
}

blockquote{
	margin:0.8em 0 0.6em 1em;
	padding-left:1em;
	font-style:italic;
	border-left:4px solid #E2D7CF;
}

/* Frame images */
img{
	padding:2px;
	border:1px solid #F2F2F2;
}



/*Set font size for content area */
#content{
	font-size:1.2em;
}

p{
	margin:0.3em 0 0.6em 0;
}

a{
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
}

a:hover{
	background:#006FB7;
	color:#C9E9F3;
}

#article{
	line-height:1.7em;
	color:#000000;/*006FB7;*/
}

/*--------------- Another UL ----------------*/


#leftcolumn1 ul {
	margin-left: 15px;
	padding: 0;
	list-style: none;
	font-size: 1.5em;
	color: #8C7C1B;
}

#leftcolumn1 li {
	margin-bottom: 1px;
	color: #8C7C1B; /*524311; #F7EBBB;*/
	font-size: 1.5em;
}

#leftcolumn1 a:hover {
	background:#9D6141;
	color:#FFE;
}


#leftcolumn1 a  {
	color: #000000; /*E6DCC1;*/
	font-size: 1.2em;
	color: #8C7C1B;
}

/* --------------------- 2nd UL --------------------- */

#leftcolumn2 ul {
	margin-left: 15px;
	padding: 0;
	list-style: none;
	font-size: 1.5em;
	color: #8C7C1B;
}

#leftcolumn2 li {
	margin-bottom: 1px;
	color: #8C7C1B; /*524311; #F7EBBB;*/
	font-size: 1.5em;
}

#leftcolumn2 a:hover {
	background:#9D6141;
	color:#FFE;
}


#leftcolumn2 a  {
	color: #000000; /*E6DCC1;*/
	font-size: 1.2em;
	color: #8C7C1B;
}

/*--------------- END Another UL ----------------*/

h1,
h2,
h3,
h4
h5
h6{
 font-family:Georgia, Times New Roman, Times, serif;
}

h2{
	color:#006FB7;
	margin-bottom:.5em;
	line-height:1.5em;
	font-size:1.5em;
}

h3{
	color:#000000;
	margin:0.8em 0 0.6em 0;
	font-size:1.2em;
}

h4{
	margin:0.8em 0 0.6em 0;
	font-size:1.0em;
}

h5{
	color:#000000;
	margin:0.8em 0 0.6em 0;
	font-size:.9em;
}

h6{
	color:#000000;
	margin:0.8em 0 0.6em 0;
	font-size:0.8em;
}

.img {
		border:1px solid #996;
		margin:0 auto;
		padding:2px;
  float:right;
		width:256px;
}

.img150 {
		border:1px solid #996;
		margin:0 auto;
		padding:2px;
		width:150px;
}

/* Sub Content */

#subContent h2{
	font-size:1.3em;
}

#subContent h3{
	font-size:1.1em;
}