/*=====[ January 2005 . Author John Oxton (joshuaink.com) ]=====*/


/* Kill margin and padding on all elements - because different browsers have different defaults */
*{
	margin:0;
	padding:0;
}

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

body{
/* Use backgound image as opposed to colour so that site is still functional if images are off */
	/*background:white url(http://www.acharlesstewart.com/candy/background.png) 0 0 repeat;*/
/* Shove all content to the center of the screen for Internet Explorer 5 */
	text-align:center;
	margin-top:15px;
	background-color: #212D9C;
}

/*=====[ 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(http://www.acharlesstewart.com/candy/pageheadBackground.png) 0 100% repeat-x;
}

#contentContainer{
	background:#F7F7F7 url(http://www.acharlesstewart.com/candy/contentBackground2.png) 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(http://www.acharlesstewart.com/candy/footBackground.png) 0 0 repeat-x;
	clear:both;
}

#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:770px;
	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:130px;
}

#foot{
	height:150px;
}

/* More backgounds, we need more backgrounds! */
/*#pagehead{
	background:transparent url(http://www.acharlesstewart.com/new2/candy/pageheadBackground2.png) 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(http://www.acharlesstewart.com/candy/contentBackground.png) 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(http://www.acharlesstewart.com/candy/footBackground2.png) 100% 0 repeat-x;
}

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

#article{
	width:450px;
	float:left;
	padding:40px 0 20px 0;
	margin-left:50px;
}

#articleHome{
	width:450px;
	float:left;
	padding:40px 0 20px 0;
	margin-left:50px;
}

#subContent{
/* Fix double margin bug in IE on floats using display:inline */
	display:inline;
	width:180px;
	float:left;
	padding:40px 0 20px 0;
	margin-left:30px;
	margin-top: 50px;
	color:#000;
	font-size:.9em;
}

#subContentHome{
/* Fix double margin bug in IE on floats using display:inline */
	display:inline;
	width:180px;
	float:left;
	padding:75px 0 20px 0;
	margin-left:30px;
	margin-top: 50px;
	color:#000;
	font-size:.9em;
}


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

#pagehead h1 {

        display:block;

        width:530px;

        height:94px;

        float:left;

        background-image:  url(http://www.acharlesstewart.com/candy/logo.gif);

        background-repeat: no-repeat;

}

#pagehead h1 a{

        display:block;

        text-indent:-9999px;

        width:530px;

        height:94px;

        text-decoration:none;

        float:left;

}

#pagehead h1 a:hover{

        display:block;

        text-indent:-9999px;

        width:530px;

        height:94px;

        text-decoration:none;

        float:left;

        background: none;

}

#pagehead h1{

        position:absolute;

        left:0;

        top: 0;

}

/* Main navigation





/* Main navigation list */

#pagehead ul{
	display:block;
	position:absolute;
	top:104px;
	left:268px;
}

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

/* Hover menus CSS starts here */

#pagehead {
	z-index: 99;
}

#pagehead li {
	position: relative;
}

#pagehead li ul {
	display: none;
	position: absolute;
	top: 20px;
	left: -3px;
	list-style: none;
}

#pagehead li:hover ul, ul.over {
	display: block;
	z-index: 99;
}

#pagehead li ul li {
	float: none;
	/*padding-top: 2px;*/
	border-top: 2px solid #fff;
	width: 163px;
}

/* Hover menus CSS ends here */

#pagehead li a{
	display:block;
	height:20px;
	text-align:center;
	color:#fff;
	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:#CBA181;
}

#pagehead li.even a, #pagehead li.even_sub a {
	/*background-color: #9999CC;*/
	background-color: #B8AD8C;
}

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

/* Foot navigation and FIR */

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

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

#foot #foot1{
/* width to solve odd problem with Opera 7.5 */
	width:200px;
	position:absolute;
	left:300px;
}

#foot #foot2{
/* width to solve odd problem with Opera 7.5 */
	width:200px;
	position:absolute;
	left:550px;
}

/* 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:482px;
	top:-40px;
}

#foot #pageTop a{
	display:block;
	width:26px;
	height:26px;
	text-indent:-9999px;
	text-decoration:none;
	background:transparent url(http://www.acharlesstewart.com/candy/pageTop.png) 0 0 no-repeat;
/* Float to make hit area work in... yup, you gussed it again Internot 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:disc;
}

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.4em;
}

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

a{
	color:#9D6141;
	font-weight:bold;

}

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

a:hover{
	text-decoration: none;
}


#article{
	line-height:1.7em;
	color:#000;
	font-size: 1.0em;
}


#articleHome{
	line-height:1.7em;
	color:#000;
	font-size: 1.0em;
	padding-top: 80px;
}


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

h1{
	color:#585136;
	margin-bottom:.5em;
	line-height:1.7em;
	font-size:1.7em;
}

h2{
	color:#98533B;
	margin-bottom:.5em;
	line-height:1.7em;
	font-size:1.5em;
}

h3{
	margin:0.8em 0 0.6em 0;
	font-size:1.4em;
}


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

/* Sub Content */

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

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

.hlight {
color: #98533B;
font-weight: bold;
font-size:1.3em;
}

.hlightsmall {
color: #98533B;
font-weight: bold;
}

.hlightindent {
margin-left: 25px;
color: #000;
font-weight: normal;
}


.indent25 {
margin-left: 25px;
}

.indent50 {
margin-left: 50px;
}

.floatright {
float: right;
}

.sideimages {
text-align: center;
border: none;
}

.slogan {
text-align: center; 
position: absolute; 
left: 310px; 
top: 80px;
font-size: 2.2em;
font-weight: bold;
font-style: italic;
color: #fff;
}

.bobby{
text-align: center; 
position: absolute; 
left: 400px; 
top: 120px;
font-size: 1.0em;
font-weight: bold;
color: #fff;
}

a.skiptocontent { 
color: #fff; 
text-align: right; 
position: absolute; 
top:0px; 
right: 5px; 
}


.newsevents {
font-weight: bold;
margin:0.8em 0 0.6em 0;
font-size:1.4em;
text-align: center;
}

ul.leftlinks { 
margin-left: 0;
padding: none;
list-style-type: disc; 
list-style: none; 
padding: 0;
margin: 0;
}

li.leftlinks { 
list-style: disc; 
padding: 0 0 10px 0;
}

.centerlink {
text-align: center;
font-size: .8em;
}

/* 
ul.noindent {
list-style-type: disc; 
list-style: none; 
padding: 0;
margin: 0;
}
*/
