/*=====[ 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-color:white;
/* 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,
#contentContainer2,
#footContainer{
/* 100% so we can create the fullscreen width backgrounds */
	width:100%;
}

#pageheadContainer{
	background:transparent url("../css_images/pageheadBackground.png") 0 100% repeat-x;
}

#contentContainer{
	background-color:#F7F7F7;
/* 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("../css_images/footer.png") repeat-x;
	clear:both;
}

#footContainer2{
	background:transparent url("../css_images/footer_a.png") repeat-x;
	clear:both;
}


#pagehead,
#content,
#foot,
#foot_ao{
/* 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 absolutely 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, in fact, groovy (see body{}) */
	text-align:left;
}

#pagehead{
	height:130px;
	background:transparent url("../css_images/header.png") 0 100% repeat-x;
}

#foot,
#foot_ao{
	height:150px;
}

/* More backgounds, we need more backgrounds! */
#pagehead{
	background-color:transparent;
}

#content{
  /* Add drop shadow/fading backgound to top of content area.
     doesn't work on IE5/MAC. */
	background-color:transparent;
  /* Ensure this background tile is never cut short, min-height for Firefox
     and pals, _height 'hack' for Internet Explorer */
	min-height:300px;
	/* _height:300px; */
}

#foot{
		background:transparent url("../css_images/footer_a.png") repeat-x 100%;
}

#foot_ao{
		background:transparent url("../css_images/footer.png") repeat-x 100%;
}

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

#article{
	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;
	color:#8B725A;
	font-size:.9em;
}

#article_only{
	width:630px;
	float:left;
	padding:40px 0 20px 0;
	margin-left:30px;
}


/*=====[ Rotation stuff ]=====*/

div.rotateLayer{
    z-index:2; /* block out the background */
    display:inline;
    position:absolute;
    width:455px;
    visibility:hidden;
    background-color:#ffc;
    color:#000;
    border:solid 1px #000;
    padding:5px;
    font-family:Verdana,sans-serif;
    font-size:11px;
    font-weight:normal;
	text-align:left;
}

/*=====[ 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:250px;
	height:150px;
	text-decoration:none;
/* Float to make hit area work in IE5 */
	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:10px;
	left:0px;
}

/* Main navigation list */

#pagehead ul{
	display:block;
	position:absolute;
	top:105px;
	left:250px;
}

#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 */
	line-height:20px;
	text-decoration:none;
	text-transform:lowercase;
}


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

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

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

/* 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("../css_images/pageTop.png") 0 0 no-repeat;
/* Float to make hit area work in IE5 */
	float:left;
}

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

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

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

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

/*=====[ 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;
	font-family: Verdana, 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;
	list-style-position: outside;
	list-style-image:  url("../css_images/cross.png");
}

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:0px;
	border:1px solid #F2F2F2;
}

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

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

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

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

#article{
	line-height:1.7em;
	color:#635141;
}
#form li{
/* hide bullets */
	list-style-type:none;
}

h1,
h2,
h3,
h4{
  font-family:Verdana, Arial, Helvetica, sans-serif;
}

h2{
	color:#98533B;
	margin-bottom:0.5em;
	line-height:1.7em;
	font-size:1.7em;
	border-bottom-color: #98533B;
	border-bottom-width: medium;
	border-bottom-style: double;
}

h3{
	color:#98533B;
	margin:0.8em 0 0.6em 0;
	font-size:1.3em;
	border-bottom-width: thin;
	border-bottom-style: dotted;
	border-bottom-color: #DCB3A5;
}

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

/* Sub Content */

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

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

td,th {
  padding: 5px;
  border: 1px solid #c90;
  background-color: #ffc;
  text-align: center;
  margin: 0px;
}
td.left {text-align: left;
}
table {
  border: 5px groove #c90;
}
caption {
  font: bold 18px Verdana,sans-serif; 
  margin: 10px;
}
#contentContainer #content #article img {
	padding: 5px;
	margin: 5px 0px;
}
#contentContainer #content #article p {
	padding-left: 5px;
}

#antigravity {
    text-align: center;
}

#antigravity a:link, 
#antigravity a:visited {
    text-decoration: none;
}

#antigravity a:hover {
}

#antigravity code span {
    vertical-align: super;
}

