/* Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
/* =Global Elements
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
body { margin: 0; font-size: 13px; line-height: 1.231;}
body, button, input, select, textarea { font-family: sans-serif; color: #000; }
h1  {-webkit-margin-before: 0; -webkit-margin-after: 0; -webkit-margin-start: 0; -webkit-margin-end: 0; }
::-moz-selection { background: rgba(99, 136, 181,.9); color: #000; text-shadow: none; }
::selection { background: rgba(99, 136, 181,.9); color: #000; text-shadow: none; }
a, a:visited  { color: #000000; text-decoration: none;}
a:hover { color: #3f3f3f; text-decoration: none;}
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }
abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: #ff9; color: #000; text-decoration: none; }
mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }
img { border: 0; -ms-interpolation-mode: bicubic; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }
form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; *overflow: visible; }
table button, table input { *overflow: auto; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }
table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }
.clearfix:after {
	visibility: hidden;
	display: block;
	content: "";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */
.wrap, #main, #supplementary {
	padding: 0 6%;
}
.wrap, #site-generator { margin: 0 auto; }
.nav-wrap{
	padding: 0;
}
body, input, textarea {
	color: #000;
	font: 100% "Georgia", serif;
	font-weight: 400;
	line-height: 1.625;
    background-color: #6388b5;
}
.clear {
	clear: both;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
	font-weight: normal;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.625em;
}

/* Text elements */
p {
	margin-bottom: 1.625em;
	color: #000;
}
ul, ol {
	margin: 0 0 1.625em 20px;
}
ul {
	list-style: square;
}
ol {
	list-style-type: decimal;
}
ol ol {
	list-style: upper-alpha;
}
ol ol ol {
	list-style: lower-roman;
}
ol ol ol ol {
	list-style: lower-alpha;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}
dl {
	margin: 0 1.625em;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.625em;
}
strong {
	font-weight: bold;
}
cite, em, i {
	font-style: italic;
}
blockquote {
	font-family: Times, "Times New Roman", serif;
	font-style: italic;
	font-weight: normal;
	margin: 0 3em;
}
blockquote em, blockquote cite {
	font-style: normal;
}
blockquote cite {
	color: #c4c9ce;
	font-weight: 300;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}
article blockquote {
	/* background: url('images/quote.png') left top no-repeat;  */
	font-style: normal;
	/* margin: 10px 0; */
	/* padding-left: 30px; */
    margin: 10px 1em 10px 1em;
	/* letter-spacing: 0.03em; */
    background-color: #adc2e4;
}
article blockquote cite {
	font-size: 12px;
	letter-spacing: 2px;
}

pre {
	background: #f4f4f4;
	font: 13px "Courier 10 Pitch", Courier, monospace;
	line-height: 1.5;
	margin-bottom: 1.625em;
	overflow: auto;
	padding: 0.75em 1.625em;
}
code, kbd {
	font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym, dfn {
	border-bottom: 1px dotted #666;
	cursor: help;
}
address {
	display: block;
	margin: 0 0 1.625em;
}
ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 10px;
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}

/* Forms */
input[type=text],
input[type=password],
textarea {
	background: #fafafa;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	border: 1px solid #ddd;
	color: #888;
}
input[type=text]:focus,
textarea:focus {
	color: #373737;
}
textarea {
	padding-left: 3px;
	width: 98%;
}
input[type=text] {
	padding: 3px;
}
input#s {
	background: url(images/search.png) no-repeat 5px 6px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	font-size: 14px;
	height: 22px;
	line-height: 1.2em;
	padding: 4px 10px 4px 28px;
}
input#searchsubmit {
	display: none;
}

/* Assistive text */
.assistive-text {
	position: absolute !important;
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
}
#access a.assistive-text:active,
#access a.assistive-text:focus {
	background: #eee;
	border-bottom: 1px solid #ddd;
	color: #1982d1;
	clip: auto !important;
	font-size: 12px;
	position: absolute;
	text-decoration: underline;
	top: 0;
	left: 7.6%;
}

/* Override reset settings for font-family */
body {
	/* font-family: Arial, Helvetica, sans-serif; */
	font-family: Verdana, Geneva, sans-serif;
}

/* Header for page
----------------------------------------------- */
h1 {
	font-size: 400%;
	text-align: center;
	font-family: Times, "Times New Roman", sans-serif;
}

/* Navigation bar
----------------------------------------------- */
nav {
	/* background: url('../images/navbkgred.png') repeat-x scroll 0% 0% transparent; */
    background-color: #B22222;
	width: 100%;
}

nav ul {
	margin: 0;
    padding: 10px;
	padding-left: 1em;
}
nav ul li {
	display: inline;
	margin: 5px;
}
nav ul li a {
    font-size: x-large;
    padding-left: 1em;
    padding-right: 1em;
}

/* Each book takes 60 percent of the width
----------------------------------------------- */
article {
    width: 66%;
    float: left;
    padding-top: 2em;
}

article h1 {
    font-family: "Comic Sans MS", sans-serif;
    margin-left: 6%;
    margin-bottom: 1em;
    font-size: x-large;
    text-align: center;
}

article h2 {
    margin-left: 6%;
    margin-bottom: 1em;
    font-size: large;
}

article p {
    margin-left: 6%;
    margin-bottom: 0;
}

article hr {
    margin-top: .5em;
    margin-bottom: .5em;
    width: 5em;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
}

article blockquote {
    margin-left: 6%;
    padding: .5em .5em .5em 1em;
}

/* Aside element for picture
----------------------------------------------- */
aside {
    background-color: #adc2e4;
    /* background-color: white; */
    margin-right: 1em;
    margin-top: 3em;
    padding-top: 1em;
    padding-right: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
    float: right;
}

aside img {
}

/* Button for buying
----------------------------------------------- */
div.buyit {
    width: 100%;
    text-align: center;
}
div.buyit a {
    width: 100%;
    padding: 5px 15px 5px 15px;
    background-color: #f6b942;
    border-radius: 30px;
}

/* Footer
----------------------------------------------- */

footer {
    padding-top: 2em;
}

#colophon { 
	clear: both;
	margin: 0 auto;
    margin-left: 2.5em;
	width: 960px;
}

#colophon p { 
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 11px;
	color: #BBBBBD;
	text-shadow: none;
}

/* Contact Form
----------------------------------------------- */
form#contact table {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    border: 0 solid black;
    border-collapse: collapse;
}

form#contact table td {
    border-style: solid;
    border: 0 solid black;
    padding: 5px;
}

form#contact input {
	font-family: Verdana, Geneva, sans-serif;
    border: 0 solid black;
    background-color: #adc2e4;
}

form#contact textarea {
	font-family: Verdana, Geneva, sans-serif;
    border: 0 solid black;
    background-color: #adc2e4;
}
