/*
Theme Name: Barsotti Books
Theme URI: http://www.barsottibooks.com
Description: April 2008 redesign
Author: Sandra K. Williams
Author URI: http://www.williamswriting.com/
.
Add new books as posts using category; use custom fields to populate catalog
Update News by writing new post in News category
Update PB or CB entries on front page with the PB and CB pages
*/

/* PALETTE
green #509b4b
tan #e6c88c
off white #feffea
border yellow #fff2af
border red #a00000
border blue #2828aa
bright blue #2828dd
purple #8c5aaf
*/

/* LAYOUT */

html, body, div, span, h1, h2, h3, h4, h5, h6,
blockquote, p, a, img, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
pre, tbody, tfoot, thead, tr, th, td, .hidden {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

body {
	color: #000;
	background: #feffea;
	font: normal 100%/1.4 "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", "New Century Schoolbook Std", "ITC New Century Schoolbook", Century, Georgia, serif;
}

.header {
	height: 175px;
	background: #fff2af url(images/header.jpg) center top no-repeat;
}

.hidden {
	position: absolute;
	left: 0px;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

#content {
	width: 768px;
	margin: 20px auto;
	text-align: left;
}

.page {
	background: url(images/post-footer.gif) center bottom no-repeat;
	padding-bottom: 16px;
}

.pagetitle {
	background: url(images/post-header.gif) center top no-repeat;
	margin: 0 0 -1em;
	padding: 24px 80px 1em;
}

.pagebkgd {
	background: url(images/post-bkgd.gif) center repeat-y;
	padding: 0 1.5em;
}

.page:after, .postbkgd:after,
#news div:after,
#picture div:after,
#chapter div:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

div#footer {
	clear: both;
	background: url(images/bumblebee.gif) 20px 10px no-repeat;
	font-size: 90%;
	padding: 50px 84px;
}

#butterfly {
	position: absolute;
	z-index: 10;
	top: 112px;
	left: 24px;
	width: 165px;
	height: 173px;
	background: url(images/butterfly.png) no-repeat top left;
}

/* FRONT PAGE */

#news {
	background: url(images/news-footer.gif) center bottom no-repeat;
	padding-bottom: 16px;
	margin: 20px 0;
}

#news h2 {
	height: 50px;
	text-indent: -3000px;
	background: url(images/news-header.gif) center top no-repeat;
	margin: 0;
}

#news div {
	background: url(images/news-bkgd.gif) center repeat-y;
	padding: .5em 1.5em 6px;
}

#picture {
	float: left;
	width: 367px;
	background: url(images/pb-footer.gif) center bottom no-repeat;
	padding-bottom: 22px;
}

#picture h2 {
	height: 70px;
	text-indent: -3000px;
	background: url(images/pb-header.gif) center top no-repeat;
	margin: 0;
}

#picture div {
	background: url(images/pb-bkgd.gif) center repeat-y;
	padding: .5em 1.5em .25em;
}

#chapter {
	float: right;
	width: 367px;
	background: url(images/cb-footer.gif) center bottom no-repeat;
	padding-bottom: 22px;
}

#chapter h2 {
	position: relative;
	height: 70px;
	text-indent: -3000px;
	background: url(images/cb-header.gif) center top no-repeat;
	margin: 0;
}

#chapter div {
	background: url(images/cb-bkgd.gif) center repeat-y;
	padding: .5em 1.5em .25em;
}

/* MENU & LINKS */

ul#tabs {
	list-style-type: none;
	font: bold 90% Arial, Helvetica, Verdana, sans-serif;
	text-align: center;
	background: url(images/menu-bkgd.jpg) left bottom repeat-x;
	margin: 0;
	padding: 4px;
}

ul#tabs li {
	display: inline;
	margin: -3px;
}

ul#tabs li.page_item a:link,
ul#tabs li.page_item a:visited {
	color: #fff;
	background: url(images/menu-bkgd.jpg) left bottom repeat-x;
	text-decoration: none;
	border-bottom: none;
	border-right: 1px solid #6475c8;
	border-left: 1px solid #7a8ad7;
	padding: 4px 10px;
	white-space: nowrap;
}
ul#tabs li.page_item a:focus,
ul#tabs li.page_item a:hover,
ul#tabs li.page_item a:active {
	position: relative;
	z-index: 100;
	color: #fff;
	background: url(images/menu-bkgd.jpg) left top repeat-x;
	white-space: nowrap;
}
ul#tabs li.current_page_item a:link,
ul#tabs li.current_page_item a:visited,
ul#tabs li.current_page_item a:focus,
ul#tabs li.current_page_item a:hover,
ul#tabs li.current_page_item a:active {
	color: #fff2af;
	background: url(images/menu-bkgd.jpg) left bottom repeat-x;
	cursor: default;
	white-space: nowrap;
}

a:link {
	color: #2828aa;
	text-decoration: none;
	border-bottom: 1px solid #2828aa;
	padding-bottom: 1px;
}

a:visited {
	color: #8c5aaf;
	text-decoration: none;
	border-bottom: 1px solid #8c5aaf;
	padding-bottom: 1px;
}

a:focus, a:hover, a:active {
	color: #a00000;
	text-decoration: none;
	border-bottom: 1px solid #a00000;
	padding-bottom: 1px;
}

a[href $='.pdf']:link, a[href $='.pdf']:visited,
a[href $='.pdf']:focus, a[href $='.pdf']:hover {
	background: url(images/pdf.gif) no-repeat center right;
	padding-right: 18px;
}

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

a:focus img, a:hover img, a:active img {
	outline: 2px solid #a00000;
	text-decoration: none;
}

div.alignleft a,
div.aligncenter a,
div.alignright a {
	border-bottom: none;
	padding-bottom: 0;
}

/* IMAGES & CAPTIONS */

img {
	border: 1px solid #000;
}

#picture img, #chapter img {
	float: left;
	margin: .4em 16px 0 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: .7em auto;
	padding: 0;
}

.alignleft, .alignright,
div.alignleft, div.alignright {
	margin: .4em 0;
	padding: 0;
}

.alignleft,
div.alignleft {
	float: left;
	margin-right: 16px;
}

.alignright,
div.alignright {
	float: right;
	margin-left: 16px;
}

.wp-caption {
	text-align: center;
}

.wp-caption p.wp-caption-text {
	color: #2828aa;
	line-height: 1.1;
	margin-top: 4px;
}

/* TEXT */

h1, h2, h3, h4, h5, h6 {
	clear: both;
	color: #2828aa;
	line-height: 1.2;
	text-align: left;
	margin: 1em 0 .5em;
}

h2 {
	font-size: 1.5em;
	text-align: center;
}

h3 {
	color: #000;
	font-size: 1.3em;
}

#news h3 { margin-top: .5em; }

h4 {
	font-size: 1.15em;
	font-style: italic;
}

h5 { text-transform: uppercase; }

h6 { font-style: italic; }

p, ol, ul, dl, pre, blockquote {
	margin: .7em 0;
}

ol, blockquote { margin-left: 2em; }

ul li { margin-left: 1em; }

ul ul { margin: 0; }

ul ul li { margin-left: 1em; }

ul.vocab {
	list-style-type: none;
	text-align: center;
}

dt { font-weight: bold; }

dd { margin: 0 0 .5em 2em; }

/* MISC SELECTORS & CLASSES */

hr {
	clear: both;
	color: #fff2af;
	background: #fff2af;
	width: 300px;
	height: 2px;
	text-align: center;
	border: 0;
	margin: 10px auto;
}

.cat:after {
    content: "\00A0";
    display: block;
    height: 1.5em;
    clear: both;
}

.clear { clear: both; }

.center { text-align: center; }

.excerpt {
	font-size: 1.1em;
	font-style: italic;
	margin-left: 0;
}

.metapage {
	clear: both;
	font-size: .9em;
	font-style: italic;
	margin: 1.5em 0 0;
}

.noborder { border: none; }