* {
	padding: 0;
	margin: 0;
}


body {
	font-family: Arial, Verdana, Georgia, sans-serif;
	background: url(../img/bg.jpg) fixed #575E54;
	background-repeat: repeat-x;
}

/* There was a problem with IE when all the following was in the body */
#iefix {
	width: 48em;
	font-size: 1em;
	margin-left: auto; 
	margin-right: auto;
	border-left: 1px solid #919191;
	border-right: 1px solid #919191;
	border-top: 1px solid #919191;
	margin-top: 1em;
	margin-bottom: 1em;
	text-align: justify;
}

textarea {
	font-family: sans-serif;
	font-size: 1em;
	border: .1em solid orange;
	padding: 1em;
	background: #F2F2F2;
	width: 90%;
	height: auto;
}

/* Surrounds the main content and is responsiable for the border and the nav background*/
#container1 {
	background: url(../img/dragon.jpg) no-repeat bottom left #DDE4DA;
}

/* This is the H1 tag, for image replacement */
#title {
	margin-top: -200em;
}

h2 {
	font-family: Times, verdana, Georgia;
	letter-spacing: .2em;
	margin-bottom: 2em;
	font-style: italic;
	width: 90%;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	margin: 0em 0em 1em .7em;
}

h3 {
	margin: 0em 0em 0.3em 0em;
	padding: 0em 0em 0em 0em;
	font-size: 1.0em;
	font-weight: bold;
	width: 70%;
	border-bottom: 1px dotted black;
}

/* As the skip links are for screen readers there is no need for them to be visiable? Am I correct in this thinking? Let me know, screenreaders (at) pixelbox (dot) net*/
	#accessibility {
	height: 1em;
	background: #DDE4DA;
	}

	#skip {
	float: left;
	margin-top: -200em;
	}

		#styles ul{
		float: right;
		font-family: courier, verdana, arial;
		font-size: .8em;	
		text-align: right;
		height: 1em;
		padding: 0 0 0 0;
		margin: 0;
		}
		#styles li{
		padding: 0;
		margin: 0;
		float: left;
		list-style-type: none;
		}
		#styles li a{
		text-decoration: none;
		padding-left: .5em;
		padding-right: .5em;
		line-height: .8em;
		color: black;
		}
			#styles li a:hover{
			background: #fff;
			}
		.styles_hidden {
		display: none;
		}
		#Tsmall {
		font-size: .9em;
		}
		#Tbig {
		font-size: 1.1em;
		font-weight: bold
		}
		#style_on {
		border-bottom: 1px solid grey;
		background: #fff;
		}

#accesskeys {
	margin-left: 2em;
}
/* The header image part of the page */
#header {
	height: 5em;
	width: 47em;
	padding: 0.5em;
	background: url(../img/header.jpg) no-repeat center #DDE4DA;
	border-bottom: 1px solid #767676;
	border-top: 1px solid #767676;
	clear: both;
}

/* The main navigations (down the left) */
#mainnav {
	position: relative;
	top: 0;
	left: 0;
	width: 10em;
	float:left;
	
}
	#mainnav ul {
		font-size: 0.9em;
		list-style: none;
	}
	#mainnav ul a {
		width: 100%;
		display: block;
		height: 2em;
		line-height: 2em;
		border-bottom: 1px solid #000;
		text-decoration: none;
		text-align: center;
		font-weight: bold;
		color: #000;
	}
	#mainnav ul a:hover {
		background: url(../img/arrow.gif) #fff right no-repeat;
		color: blue;
	}
	
	#active {
		background: url(../img/arrow.gif) #fff right no-repeat;
		color: blue;
		width: 100%;
		display: block;
		height: 2em;
		line-height: 2em;
		border-bottom: 1px solid #000;
		text-decoration: none;
		text-align: center;
		font-weight: bold;
	}

#main {

	padding: 1em 0em 1em 0em;
	margin-left: 10em;
	border-left: 1px dotted #767676;
	background: #fff;
	line-height: 1.5em;
}
	
#subnav {
	float: right;
	width: 10em;
	padding: 0em 1em 1em 0em;
	
}	
	#subnav ul {
		text-align: left;
		padding-left: 2em;
		font-size: 0.8em;
	}


#content {
	padding: 0em 3em 3em 1em;
}

ol {
	margin: 0em 0em 2em 2em;
	font-size: .9em;
	padding-left: 1em;
}
	/*
	This was jazzy but had problems in I.E. so got removed, thanks Bill!
	#content p:first-letter {
		float: left;
		border: .05em solid #767676;
		padding: 0.1em;
		margin-right: 0.1em;
		font-size: +1.5em;
		font-style: italic;
		background: white;
		font-weight: bold;
	}*/
	
	#content p {
	margin: 0em 0em 2em 0em;
	font-size: 85%;
	padding-left: 1em;
	}
	
	/* Not sure if this is best as it means the quotes look poo without a style :$ */
	span.quote {
		display: block;
		padding: 1em 2em 1em 2em;
		font-weight: bold;
		font-size: .9em;
	}
	
.imgright {
	float: right;
	margin: 5px;
	border: 1px solid black;
}
.imgleft {
	float: left;
	margin: 5px;
	border: 1px solid black;
}

/* You guessed it einstine, the footer. If you are still reading this, why? for the love of god why!*/
#footer {
	height: 1em;
	width: 47em;
	padding: 0.5em;
	border-bottom: 1px solid #767676;
	border-top: 1px solid #767676;
	background: white;
}


