/* RESET: GENERAL STYLES ------------------------------------ */

*,
html,
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
label,
fieldset,
input,
p,
blockquote,
th,
td {
	margin:0;
	padding:0;
}

body {
	font-family:Corbel, Helvetica, Verdana, Arial, sans-serif;
	font-size:14px;
	line-height:22px;
	color:#444;
	margin: auto;
	background-repeat: repeat;
	text-shadow:1px 1px 0 #B14528;
	background-color: #FFF;
	background-image: url(images/backgrounds/paper.jpg);
	background-repeat: repeat;
}


div { 
	position:relative
}

hr {
	margin:1.5em 0 1.5em 0;
}


/* SCREEN READERS ------------------------------------ */

acronym {
	speak:normal;
}

abbr.initialism {
	speak:spell-out;
}

abbr.truncation {
	speak:normal;
}


/* WORDPRESS GENERATED STYLES ------------------------------------ */

.aligncenter {
	display:block;
	margin:0 auto;
}

.alignleft {
	float:left;
	margin-right:2em;
	margin-bottom:1em;
}

.alignright {
	float:right;
	margin-left:1em;
	margin-bottom:1em;
}

.wp-caption {
	border:1px solid #666;
	text-align:center;
	background:#ccc;
	padding:10px;
	margin:10px;
}


/* TEXT STYLES ------------------------------------ */

p {
	line-height:1.3em;
	margin-bottom:1.4em;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
} 

caption,
th {
	text-align:left;
}

q:before,
q:after {
	content:'';
}

address,
caption,
code,
dfn,
th,
var {
	font-style:normal;
	font-weight:normal;
}

blockquote {
	font-style:italic;
	border-left:4px solid #998877;
	margin-left:2em;
	padding-left:1em;
}

abbr {

}

blockquote, dl {
margin-left:2em;
border-left:4px solid #CCC;
padding-left:1em;
margin-bottom:1em;
}

/* CODE ------------------------------------ */

code {
font-family:"Courier New", Courier, monospace;
background-color: #FCFFFA;
border-bottom: 1px solid #F0EEE6;
border-right: 1px solid #F0EEE6;
padding:0.1em;
font-size:0.9em;
margin:0 0.2em;
}

ol.code {
color:#FFFFFF;
margin:0 0 1.5em 0;
font-family: "Century Gothic", Arial, sans-serif;
background-color: #F0EEE6;
padding:1px 1px 0 0;
}

ol code {
border: none;
color:#333333;
}

ol.code li {
background-color: #FCFFFA;
border-bottom: 1px solid #F0EEE6;
margin-bottom:0;
padding:0.2em 0.5em;
}


/* HEADINGS ------------------------------------ */

h1,
h2,
h3,
h4,
h5,
h6 { 
	clear:both;
	font-family: "Trebuchet MS";
	color:#95241E;
}

h1 {
	font-size:2.5em;
	font-weight: normal;
	line-height:1.2em;
	letter-spacing: -0.025em;
	padding:0 0 0.2em 0;
}

h2 {
	font-size:2em;
	line-height:1.2em;
	letter-spacing: -0.025em;
	padding:0.5em 0 0.4em 0;
}

h3 {
	font-size:1em;
	font-weight: normal;
	line-height:1.2em;
}

h4 {
	font-size:1em;
	font-weight: normal;
	line-height:1.2em;
}

h5 {
	font-size:1em;
	line-height:1.2em;
}

h6 {
	font-size:1em;
	line-height:1.2em;
	padding:0 0 0 0;
}

.primary h1 {
	color: #FFF1F1;
	text-shadow: -1px -1px 3px #444;
}

.primary h3 {
	color: #FFF4DE;
}

.content h2 {
	margin-top:0.5em;
}

/* LISTS ------------------------------------ */

ol,
ul,
li {
	margin-left:0;
	margin-bottom: 0.5em;
}

.content ul,
.content ol {
	margin-left: 2em;
}

dl {
	font-family:"Times New Roman", Times, serif;
	margin-top:1em;
}

	dt {
		font-size:1.2em;
	}

	dd {
		font-size:1.1em;
		margin-bottom:1em;
		color:#454545;
	}


/* TABLES ------------------------------------ */

table {
	margin:1em 0 2em 0;
}

td, th {
padding:0.2em 0.5em;
}

th {
background-color:#999999;
}

tr {
border-bottom:1px solid #999999;
}

tr:nth-child(odd) {
background-color:#CCCCCC;
}

/* FORMS ------------------------------------ */

fieldset {
	border:0;
}

textarea {

}

/* IMAGE STYLES ------------------------------------ */

img {
	border:0;
}


/* LINKS ------------------------------------ */

a:link,
a:visited,
a:focus,
a:hover,
a:active {
	color:#95241E;
	background-repeat: no-repeat;
	text-decoration: none;
	border-bottom: 1px solid #95241E;
}

/* COMPONENT: BLOCKS ------------------------------------ */

header,
nav,
section,
article,
aside,
footer,
hgroup {
	display:block;
	position:relative;
	}

/* Widths */

.content,
nav ul,
header.primary hgroup,
footer .extra-details {
	width: 960px;
	margin: auto;
}

.content section {
	margin:auto;
	width:660px;
	float: left;
	margin-left: 2px; /* stops text being cut off */
}

/* End Widths */

header,
nav,
footer {
	clear: both;
	}

aside {
	float: right;
}

.primary,
.content,
.tertiary {
	margin: auto;
	overflow: hidden;
}

.content {
	padding-top: 1em;
	padding-bottom: 1em;
	min-height: 500px;
}

.tertiary {
	padding-top: 1em;
}

.content {
	text-shadow: 1px 1px 1px #fff;
}

header {
	background-color: #900;
	background-repeat: repeat;
	font-size: 1.2em;
	background-repeat: repeat;
}

header.primary {
	padding-top: 16px;
	}

header.primary hgroup {
	padding-bottom: 20px;
}

header.primary hgroup h1,
header.primary hgroup h2 {
	font-family: "Trebuchet MS";
}

header.primary hgroup h1 {
	font-size: 2.2em;
	text-transform: uppercase;
}

header ul li {
	list-style: none;
	}

nav {
	background-color: #900;
	overflow: hidden;
	background-image: url(images/backgrounds/gradient.png);
	background-position: bottom;
	background-repeat: repeat-x;
	}

nav ul {
	margin-bottom:0;
	overflow: hidden;
	}
	
nav ul li {
	list-style: none;
	font-size: 1.1em;
	margin:0 5px;
	display: block;
	float: left;
	}

nav ul li a:link,
nav ul li a:visited,
nav ul li a:hover,
nav ul li a:focus,
nav ul li a:active {
	color: #FFFFFF;
	text-decoration: none;
	padding:10px 20px;
	border-bottom: none;
	text-shadow: 1px 1px 1px #000;
	display: block;
	float: left;
	}

nav ul li:first-child a:link,
nav ul li:first-child a:visited,
nav ul li:first-child a:hover,
nav ul li:first-child a:focus,
nav ul li:first-child a:active {
	padding-left: 0;
}

/* home page */
body.index nav ul li.home a:link,
body.index nav ul li.home a:visited,
body.index nav ul li.home a:hover,
body.index nav ul li.home a:focus,
body.index nav ul li.home a:active,
/* contents page */
body.contents nav ul li.contents a:link,
body.contents nav ul li.contents a:visited,
body.contents nav ul li.contents a:hover,
body.contents nav ul li.contents a:focus,
body.contents nav ul li.contents a:active,
/* manifesto page */
body.manifesto nav ul li.manifesto a:link,
body.manifesto nav ul li.manifesto a:visited,
body.manifesto nav ul li.manifesto a:hover,
body.manifesto nav ul li.manifesto a:focus,
body.manifesto nav ul li.manifesto a:active,
/* resources page */
body.resources nav ul li.resources a:link,
body.resources nav ul li.resources a:visited,
body.resources nav ul li.resources a:hover,
body.resources nav ul li.resources a:focus,
body.resources nav ul li.resources a:active,
/* errata page */
body.errata nav ul li.errata a:link,
body.errata nav ul li.errata a:visited,
body.errata nav ul li.errata a:hover,
body.errata nav ul li.errata a:focus,
body.errata nav ul li.errata a:active {
	background-color:#600;
	}

body.index nav ul li.home a:link,
body.index nav ul li.home a:visited,
body.index nav ul li.home a:hover,
body.index nav ul li.home a:focus,
body.index nav ul li.home a:active {
	padding-left:19px;
	}

footer.main {
	background-color:#212121;
	font-size:12px;
	min-height:35px;
	padding:5px 0;
	width:100%;
	z-index:1;
	text-shadow: none;
	margin-top: 3em;
}

footer.main img {
	bottom:0;
	position:absolute;
}

footer.main p {
	float:right;
	font-size:1.2em;
	font-weight:normal;
	letter-spacing:0.15em;
	margin:7px 0 0 30px;
	text-transform:uppercase;
	color: #FFF;
}

.blurb {
	font-size: 1.25em;
	padding-top: 1em;
	text-align: justify;
}

.author img {
	height: 100px;
	float: left;
	margin-right: 1em;
	margin-top: 0.3em;
	-moz-box-shadow:3px 3px 2px rgba(200, 200, 200, 0.6);
	-webkit-box-shadow:3px 3px 2px rgba(200, 200, 200, 0.6);
	-o-box-shadow:3px 3px 2px rgba(200, 200, 200, 0.6);
	box-shadow:3px 3px 2px rgba(200, 200, 200, 0.6);
	padding:4px;
	background-color:#FFFFFF;
	border:1px solid #E1E1E1;
	}

.bio {
	line-height: 1.5em;
}

.info {
	width: 960px;
	margin: auto;
}

.book-details {
	z-index: 3;
	text-shadow: 1px 1px 1px #FFFFFF;
	text-align: center;
	position: absolute;
	top:-120px;
	right:0;
	}

.book-details h1,
.book-details h2,
.book-details h3,
.book-details h4,
.book-details h5,
.book-details h6 {
	color:#333;
	}
	
.book-cover {
	-moz-box-shadow:4px 4px 6px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow:4px 4px 6px rgba(0, 0, 0, 0.3);
	-o-box-shadow:4px 4px 6px rgba(0, 0, 0, 0.3);
	-box-shadow:4px 4px 6px rgba(0, 0, 0, 0.3);
}

a.call-to-action:link,
a.call-to-action:visited,
a.call-to-action:hover,
a.call-to-action:focus,
a.call-to-action:active {
	border-bottom: none;
	background-image: url(images/backgrounds/button.png);
	background-repeat: repeat-x;
	background-position: top;
	background-color: #FFAC01;
	display: block;
	-moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
	-o-border-radius: 0.4em;
	border-radius: 0.4em;
	color: black;
	font-size:1.2em;
	border: 1px solid #C89325;
	padding:11px 5px 8px;
	margin: auto;
}

.uk,
.us {
	background-position:left 2px;
	background-repeat:no-repeat;
	padding-left:30px;
}

.uk {
	background-image:url("images/icons/uk-flag.gif");
}

.us {
	background-image:url("images/icons/us-flag.gif");
}

.hreview {
	line-height: 1.5em;
}

.reviewer {
	padding: 0.25em 0 1em 1em;
	font-style: italic;
	line-height: 1.7em;
}

.author-bios {
	margin-top: 1em;
}

.author,
.hreview {
	float: left;
	width: 50%;
}

.author:nth-of-type(odd),
.hreview:nth-of-type(odd) {
	float: left;
	width: 51%;
}

.author:nth-of-type(even),
.hreview:nth-of-type(even) {
	float: right;
	width: 46%;
}

.buy {
	border-bottom: 3px solid #CCCCCC;
	margin-bottom: 20px;
	}

.price {
	text-align: center;
	clear: both;
	font-size: 1.5em;
	margin-top: 1em;
	float: left;
	width: 100%;
	margin-bottom: 1em;
	}

.order li {
	list-style-type: none;
}

.chaphead {
	color:#95241E;
	font-weight: bold;
}

.toc {
	font-size: 1.25em;
}