/*
Theme Name: Deer Valley Press
Theme URI: http://www.deervalleypress.com/
Description: Fixed width, updated for WordPress 2.8, Williams Writing credit line.
Version: 2.0
Author: Sandra K. Williams
Author URI: http://www.williamswriting.com/
*/

/*
cream #eee8de
buff #dcd0bd
tan #b39772
bkgd green #3c4033
txt green #5d6148
link red #953535
orange #cd6e50
yellow #feef94
alert brown #eb9c18
.
header 960px
sidebar 200px
leftcol 300px
.
blog: cat #1, post #14
fire: cat #3, post #8
humor: cat #6, post #187
4 wheel: cat #4, post #10
rec books: cat #5, post #13
.
1 Layout
2 Text
3 Images & Captions
4 Menu
5 Forms
*/

/* ========== 1 LAYOUT ========== */

html, body, div, object, span, h1, h2, h3, h4, h5, h6, cite,
blockquote, p, a, img, hr, 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: #3c4033;
	font: normal 90%/1.2 Arial, Helvetica, sans-serif;
	text-align: center;
}

#skip {
	position: absolute;
	top: 2px;
	left: 4px;
	color: #b39772;
	text-decoration: none;
}

#container {
	width: 960px;
	background: #fff;
	text-align: left;
	margin: 24px auto;
}

.main #container #header {
	height: 232px;
	width: 960px;
	background: #3c4033 url(images/main-logo-bkgd.gif) center top no-repeat;
	text-align: center;
	padding-top: 18px;
}

.general #container #header {
	height: 76px;
	background: url(images/hdr-general.gif) top left no-repeat;
}

.fire #container #header {
	height: 76px;
	background: url(images/hdr-fire.jpg) top left no-repeat;
}

.humor #container #header {
	height: 76px;
	background: url(images/hdr-humor.jpg) top left no-repeat;
}

.wheel #container #header {
	height: 76px;
	background: url(images/hdr-4wheel.jpg) top left no-repeat;
}

#content {
	float: left;
	width: 660px;
	padding-left: 20px;
}

.main #container #content {
	float: none;
	width: auto;
	padding-right: 20px;
}

.post { clear: left; }

div.entry.leftcol {
	margin-left: 300px;
}

div.entry.leftcol div.wp-caption.alignleft {
	margin-left: -300px;
}

.fire div.entry.leftcol {
	margin-left: 260px;
}

.fire div.entry.leftcol div.wp-caption.alignleft {
	margin-left: -260px;
}

.humor div.entry.leftcol {
	margin-left: 300px;
}

.humor div.entry.leftcol div.wp-caption.alignleft {
	margin-left: -300px;
}

.wheel div.entry.leftcol {
	margin-left: 220px;
}

.wheel div.entry.leftcol div.wp-caption.alignleft {
	margin-left: -220px;
}

#sidebar {
	float: right;
	width: 200px;
	margin-top: 20px;
	padding-right: 20px;
}

div.catalog:after, div.wp-caption:after, #main-feature:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	padding-bottom: .5em;
}

#footer {
	clear: both;
	padding: 1em 20px .5em;
}

#main-fire {
	float: left;
	width: 400px;
	background: url(images/main-fire.jpg) top left no-repeat;
	margin: 20px;
	padding-top: 120px;
}

#main-4wheel {
	float: right;
	width: 400px;
	background: url(images/main-4wheel.jpg) top right no-repeat;
	margin: 20px;
	padding-top: 120px;
}

#main-feature {
	border: 2px solid #953535;
	margin: 16px 24px 0;
	padding: 16px 16px 0;
	-moz-box-shadow: 0 3px 10px rgb(128,128,128);
	-webkit-box-shadow: 0 3px 10px rgb(128,128,128);
	box-shadow: 0 3px 10px rgb(128,128,128);
}

/* ========== 2 TEXT ========== */

#header h1,
#main-fire h2, #main-4wheel h2,
.hidden, .screen-reader-text {
	position: absolute;
	left: 0px;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

h2, h3, h4, h5, h6 {
	clear: left;
	color: #5d6148;
	margin: 1em 0 0;
}

h2 {
	font-size: 1.4em;
	font-weight: bold;
}

h2.page-title {
	font-size: 1.5em;
	text-align: center;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 20px 0 .5em;
}

#main-feature h2 {
	clear: none;
	font-size: 1.5em;
	margin-top: 0;
}

#sidebar h2 {
	font-size: 1.2em;
}

h2 a:link, h2 a:visited,
h2 a:focus, h2 a:hover, h2 a:active,
h3 a:link, h3 a:visited,
h3 a:focus, h3 a:hover, h3 a:active {
	color: #5d6148;
	text-decoration: none;
	border-bottom: 1px dotted #5d6148;
}

h3 {
	font-size: 1.25em;
}

.catalog h3 {
	clear: none;
	font-size: 1.2em;
	margin-top: 1.5em;
}

h4 {
	font-size: 1.15em;
	font-style: italic;
}

h5 {
	font-size: 1em;
	text-transform: uppercase;
}

h6 {
	font-size: 1em;
	font-style: italic;
}

p, ol, ul, dl, pre, table {
	margin: .25em 0 .75em;
}

#footer p {
	color: #5d6148;
	font-size: .9em;
	margin: 0;
	padding: 1em 0 .2em;
}

p.intlsales { margin-top: 20px; }

p + ul {
	margin-top: -.75em;
}

blockquote {
	font: italic 1.1em/1.2 Georgia, "Times New Roman", Times, serif;
	background: #eee8de;
	margin: .25em 0 .5em;
	padding: 4px 16px 2px;
}

blockquote cite {
	display: block;
	text-align: right;
	font: normal .9em Arial, Helvetica, sans-serif;
}

ol { margin-left: 2em; }

ol.commentlist li {
	margin-top: 6px;
	padding: 4px 4px 0;
}

ol ul { list-style-type: disc; }

ul {
	list-style-type: square;
}

ul li { margin-left: 1em; }

ul ul {
	list-style-type: disc;
	margin-bottom: 0;
}

ul ul li, ol ul li { margin-left: 1em; }

#sidebar ul li {
	list-style-type: none;
	margin-left: 2em;
	text-indent: -1em;
	padding-bottom: 2px;
}

.nobullet {
	list-style-type: none;
}

#sidebar ul li.feed {
	background: url(images/feed.gif) left center no-repeat;
	text-indent: 0;
	margin-left: 1em;
	padding-left: 17px;
}

ul.pagenav {
	list-style-type: none;
	text-align: center;
}
ul.pagenav li { display: inline; }
ul.pagenav li a { white-space: nowrap; }

ul.searchresults {
	list-style-type: none;
	margin-left: 2em;
	text-indent: -1em;
	line-height: 2em;
}

dt {
	color: #5d6148;
	font-weight: bold;
}

dd { margin: 0 0 .5em 2em; }

small {
	font-size: .9em;
}

a:link { color: #953535; }
a:visited { color: #b39772; }
a:focus, a:hover, a:active {
	color: #953535;
	background: #feef94;
}

.pdf, a[href $='.pdf']:link, a[href $='.pdf']:visited {
	background: transparent url(images/pdf.gif) no-repeat center right;
	padding-right: 17px;
}

.pdf:hover, a[href $='.pdf']:focus, a[href $='.pdf']:hover, a[href $='.pdf']:active {
	background: #feef94 url(images/pdf.gif) no-repeat center right;
	padding-right: 17px;
}

#sidebar a { text-decoration: none; }

#sidebar li.current_page_item a:link, #sidebar li.current_page_item a:visited,
#sidebar li.current_page_item a:focus, #sidebar li.current_page_item a:hover,
#sidebar li.current_page_item a:active {
	color: #5d6148;
	background: transparent;
	text-decoration: none;
	cursor: default;
}

.maincaption {
	color: #5d6148;
	font-size: 103%;
	font-weight: bold;
}

.byline {
	font-size: .9em;
	font-style: italic;
}

.more { font-style: italic; }

.postmetadata {
	clear: left;
	font-size: .9em;
	border-top: 1px solid #dcd0bd;
	margin-top: 1em;
	padding: .5em 0 1em;
}

.pagemetadata {
	clear: both;
	font-size: .9em;
	padding-top: 1.5em;
}

.navigation {
	text-align: center;
	font-weight: bold;
	margin: 0 0 -10px;
	padding: 20px 0 0;
}

.navigation a:link, .navigation a:visited,
.navigation a:focus, .navigation a:hover,
.navigation a:active {
	text-decoration: none;
}
.navright {
	background: url(images/arrow-right.gif) right 1px no-repeat;
	padding-right: 20px;
	padding-left: 12px;
}
.navleft {
	background: url(images/arrow-left.gif) left 1px no-repeat;
	padding-left: 20px;
	padding-right: 12px;
}

.cat-tags {
	color: #5d6148;
	font-weight: bold;
}

.alt {
	background: #eee8de;
}

.center {
	text-align: center;
}

.note, .new, .alert, .reduced-price {
	color: #eb9c18;
	font-weight: bold;
}
.new { font-style: italic; }
.reduced-price { text-decoration: line-through; }
.alert {
	background: url(images/alert.gif) left top no-repeat;
	padding-left: 18px;
}

.noclear {
	clear: none;
}

.three-d-item {
	clear: left;
	background: url(images/3d-icon.gif) left center no-repeat;
	padding-left: 45px;
}

.three-d {
	background: url(images/3d-icon.gif) right center no-repeat;
	padding-right: 45px;
}

/* ========== 3 IMAGES & CAPTIONS ========== */

#header.main img {
	margin: 16px auto 0;
}

a:link img, a:visited img,
a:focus img, a:hover img, a:active img {
	text-decoration: none;
	vertical-align: middle;
}

.amazon {
	float: left;
	border: 1px solid #999;
	margin: .25em 12px .75em 0;
}

img.thumbnail,
.alignleft,
div.alignleft {
	float: left;
	margin-left: 0;
	margin-right: 12px;
}

.alignright,
div.alignright {
	float: right;
	margin-right: 0;
	margin-left: 12px;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	text-align: center;
	margin: 0 0 .5em;
}

.wp-caption img {
	margin: 0;
}

.wp-caption p.wp-caption-text {
	color: #5d6148;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.1;
	text-align: left;
	margin: 0;
	padding: 4px 0 4px 12px;
}

.formgallery a img {
	border: 1px solid #aaa;
	margin-right: 8px;
	margin-bottom: 8px;
	padding: 2px;
}

.formgallery a:hover img {
	background: #feef94;
	border-color: #953535;
}

/* ========== 4 MENU ========== */

ul#menu {
	list-style-type: none;
	font-weight: bold;
	text-align: center;
	background: #b39772;
	margin: 0;
}

ul#menu li {
	display: inline;
	line-height: 1.5;
}

ul#menu li.page_item a:link, ul#menu li.page_item a:visited {
	color: #000;
	text-decoration: none;
	white-space: nowrap;
	padding: 4px 6px;
}
ul#menu li.page_item a:focus, ul#menu li.page_item a:hover, ul#menu li.page_item a:active {
	color: #953535;
	background: #dcd0bd;
	white-space: nowrap;
	padding: 4px 6px;
}
ul#menu li.current_page_item a:link, ul#menu li.current_page_item a:visited,
ul#menu li.current_page_item a:focus, ul#menu li.current_page_item a:hover,
ul#menu li.current_page_item a:active {
	color: #dcd0bd;
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
	padding: 4px 6px;
	cursor: default;
}

/* ========== 5 FORMS ========== */

#content .paypal { margin: -.5em 0 .75em; }

#sidebar .paypal { margin: 1.5em 0 1em; }

#content .buynow .paypal { margin: 0; }

.buynow a:link img, .buynow a:visited img,
.buynow a:focus img, .buynow a:hover img,
.buynow a:active img { }

.buynow td {
	vertical-align: top;
	padding: 6px 4px;
}

.buynow tr.alt td {
	background: #eee8de;
}

form.payloadz {
	display: inline;
}

.payloadz input {
	vertical-align: middle;
	margin: -.5em 0 .75em;
}

input#s { width: 120px; }

input#s, textarea#comment,
input#author, input#url,
input#email,
input#name.med,
input#email.med,
select#reason.med,
textarea#message.textbox {
	background: #eee8de;
	border: 1px solid #dcd0bd;
}

textarea#comment,
textarea#message.textbox {
	width: 100%;
}

#commentform label {
	display: block;
	color: #5d6148;
	font-size: .9em;
	font-weight: bold;
}

#commentform label span {
	color: #000;
	font-weight: normal;
}

#gb_form_div fieldset {
	border: none;
	margin: 12px 0;
}
#gb_form_div legend {
	display: none;
}
#gb_form_div label {
	color: #5d6148;
	font-size: .9em;
	font-weight: bold;
}
#gb_form_div ul {
	list-style: none;
	margin: 0;
}
#gb_form_div h2#results.formhead {
	text-transform: none;
	letter-spacing: normal;
}
#gb_form_div h2#results.formhead small {
	display: none;
}
#gb_form_div li, #gb_form_div dt {
	color: #000;
	margin: 4px 0 4px 1em;
}
#gb_form_div li span.items, #gb_form_div dt {
	font-weight: bold;
}
#gb_form_div span.success {
	color: #000;
	font-weight: bold;
}
#gb_form_div span.error {
	color: #953535;
	font-weight: bold;
}
#gb_form_div blockquote {
	color: #000;
	font-style: normal;
	margin: .5em;
}
