/****** General default settings first ******/
* { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, pre, p, blockquote, ul, ol, dl, fieldset, form, address { margin: .5em 6%; } 

li, dd { margin-left: 5%; }

img { border: 0; }

a:link { color: #272780; font-weight: 700; text-decoration: none; }
a:visited { color: #663366; font-weight: 700; text-decoration: none; }
a:hover, a:focus, a:active { color: #CC0000; font-weight: 700; text-decoration: underline; }

/****** Getting consistent text sizes across browsers (IE5) ******/
body { font-size: 80%; }
/* Resets 1em to 12px. Can cause a small gap at the bottom of the mainbox (due to rounding errors?) */

h1 { font-size: 187.5%; font-weight: 400; }
h2 { font-size: 150%; font-weight: 400; }
h3 { font-size: 125%; font-weight: 700; }
h4 { font-size: 100%; font-weight: 700; }
h5 { font-size: 87.5%; font-weight: 700; }
h6 { font-size: 80%; font-weight: 700; }
/* Headers sized taking body font-size into account to give equivalent to 150%, 120%, 100%, 80%, 70%, 64%. */

pre { font-size: 100%; }
/* To stop pre text being too small */

/******************* Layout ******************/
body {
margin: 0;
padding: 0;
text-align: center; /* To center the page in IE */
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #111111;
background-color: #e9ddcf;
word-spacing: 0.1em;
}

#page {
position: relative; /* provides datum for #sidebar */
margin: 0 auto;
text-align: left;
max-width: 1100px;
min-width: 760px;
min-height: 660px;
}

#header{ 
background-image: url(images/header.jpg);
height: 134px; 
margin-bottom: 1em; 
padding-top: 1px; 
}
	
#header h1 { 
margin: 30px 3% 0 3%;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 360%; 
}
h1 a:link, h1 a:visited, h1 a:hover, h1 a:focus, h1 a:active  {
font-weight: 400;
color: #cccccc;
}

#content {
margin: 0 24em 1em 1em;
line-height: 1.4em;
}
#content h2 {
background-color: #b3a99f;
padding: .3em .5em .4em .5em;
border-top: 1px solid #555555;
margin-top: 1em;
}
h2 a:link, h2 a:visited { font-weight: 400; color: #111111; }
h2 a:hover, h2 a:focus, h2 a:active { font-weight: 400; color: #CC0000; }
h3 a:link, h3 a:visited { font-weight: 700; color: #111111; }
h3 a:hover, h3 a:focus, h3 a:active  { font-weight: 700; color: #CC0000; }

#content h3 {
background-color: #b3a99f;
padding: .3em .5em;
margin-top: 1.5em;
}

#sidebar {
width: 20em;
position: absolute;
margin-right: 2em;
right: 0;
margin-top: 0;
}
#sidebar h2 {
font-size: 1.2em;
font-weight: 700;
text-decoration: none;
margin-top: 1em;
margin-bottom: 0;
}

.textwidget, .textwidget img { margin-top: 1em; }

.widget_pages .widgettitle { display: none; }
.widget_pages { margin-top: 1em; }

#text-8, #text-13 { text-align: center; } /* sidebar images in text widgets */

.widget_search {  margin-top: 2em; }
.widget_search label { display: none; }

#footer { 
border-top: 1px solid #999999; 
margin: 2em 24em .5em 2em; 
}	
#footer p {	
margin: 0;
padding: .8em 0;
text-align: center;
}

/* Hide hack from IEmac \*/
#page {height: .1%;}
#content {height: .1%;}
#sidebar {height: .1%;}
#footer {height: .1%;}
/* End hide hack from IEmac */

.smalltext {
font-family: Arial, Helvetica, Sans-Serif;
font-size: 85%;
line-height: 1.5em;
color: #555555;
}

.description {
margin: 0 3% 0 3%;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 125%; 
letter-spacing: .05em;
text-decoration: none;
color: #cccccc;
}

.navigation { margin: 0 9%; }
	
h2.pagetitle { text-align: center; }

.nocomments, .postmetadata, blockquote, strike { color: #555555; }
	
.postmetadata { 
text-align: center; 
margin-top: 1em;
}

/******************* Images *********************/
.post img, .post img.alignright { /* default for images in posts */
float: right;
margin: .5em 0 1em 1.5em;
}

.post img.left, .post img.alignleft { 
float: left; 
margin: .5em 1.5em 1em 0;
}

.post img.center, img.centered { /* add class="center" to image in post */
float: none; 
display: block;
margin-left: auto;
margin-right: auto;
}

.post .postmetadata { clear: both; } /* to clear floated images */

p img {	max-width: 100%; }

/******************** Lists ***********************
Special stylized non-IE bullets. Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul { 
margin-left: 0;
padding: 0 0 0 10px;
list-style: none;
text-indent: -10px;
} 

html>body .entry li { margin: 7px 0 8px 10px; } 

.entry ul li:before, #sidebar ul ul li:before {	content: "\00BB \0020"; }

.entry ol {
padding-left: 35px;
margin: 0;
}

.entry ol li { margin: 0; padding: 0; }

.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}
	
#sidebar ul, #sidebar ul ol { margin: 0; }

#sidebar ul li { list-style-type: none; list-style-image: none; }

#sidebar ul ul, #sidebar ul ol { margin: 0 0 1em 1em; }

#sidebar ul ul ul, #sidebar ul ol {	margin: 0 0 0 1em; }

ol li, #sidebar ul ol li { list-style: decimal outside;	}

#sidebar ul ul li, #sidebar ul ol li { margin: .2em 0 0 0; }

/******************* Forms ***********************/
#sidebar form { margin: 0; }

#sidebar #searchform #s {
width: 9em;
padding: 2px;
margin-left: 3%;
}

#sidebar #searchsubmit { 
margin-top: .5em; 
margin-left: 3%; 
}

#socialize-this { margin-top: 1.5em; }

.entry form { /* This is mainly for password protected posts, makes them look better. */
text-align:center;
}

select { width: 9em; }

#commentform input { padding: .1em; }

#commentform textarea {
margin: 1em 0 .5em 0;
width: 87%;
}

#commentform #submit { 
float: right;
margin-right: 4em; 
}

/********************* Comments **********************/
.alt {
padding: .8em;
background-color: #e2e2e2;
border-top: 1px solid #999999;
border-bottom: 1px solid #999999;
}
		
.commentlist { padding: 0; }
	
.commentlist li {
margin: 1em 0;
padding: .5em 1em;
list-style: none;
}
	
.commentlist cite, .commentlist cite a {
font-style: normal;
font-size: 110%;
font-weight: 700;
}	

.nocomments {
text-align: center;
margin: 0;
padding: 0;
}

.commentmetadata {
margin: .5em 0;
font-weight: 400;
}

.commentmetadata a:link, .commentmetadata a:visited, .commentmetadata a:hover, .commentmetadata a:focus, .commentmetadata a:active { font-weight: 400; }

/******************* Bits and bobs *******************/
.spacer { clear: both; } 	

.alignright { float: right; }
	
.alignleft { float: left; }

.nomargins { margin: 0; }

acronym, abbr, span.caps { cursor: help; }
	
acronym, abbr { border-bottom: 1px dashed #999999; }

code { font-family: 'Courier New', Courier, Fixed; }

blockquote {
margin: 1em 2em 1em 1em;
padding-left: 1.5em;
}

blockquote cite {
margin: .5em 0 0 0;
display: block;
}
	
cite { text-decoration: none; }

.center { text-align: center; }

hr { display: none;	}