/* 
Name: Bestselling Author Website
Author: Nick Francis
Questions/Comments: nick@project83.com   
Copyright (c)  The Resource Box. All rights reserved.
*/

/* main styles */
* {
	margin:0;
	padding:0;
}

body {
	font-size:small;
	color:#000;
	font-family:"Lucida Grande", Arial, Helvetica, sans-serif;
	text-align:center;
	background:url(images/bg_int.jpg) repeat-x top left;
}

body#home {
	background:url(images/bg.jpg) repeat-x top left;
}

body#cart {
	background:url(images/bg_cart.jpg) repeat-x top left;
}

#wrap {
	width:750px;
	margin:0 auto;
	text-align:left;
}

frameset, img, fieldset {
	border:0;
}

a {
	color:#0408AC;
}

a:hover {
	text-decoration:none;
}

.clear {
	clear:both;
}

img.float-left {
	float:left;
	padding:5px 15px 15px 0;
}

img.float-right {
	float:right;
	padding:5px 0 15px 15px;
}

/* header */
#header {
	position:relative;
	height:103px;
}

div#logo {
	margin:22px auto 0 auto;
	width:518px;
	height:84px;
	text-indent:-9000px;
}

div#logo a {
	float:left;
	width:518px;
	height:84px;
	position:relative;
	background:url(images/logo.jpg) no-repeat top left;
}

ul#secondary {
	position:absolute;
	bottom:105px;
	right:0;
	list-style:none;
}

ul#secondary li {
	float:left;
	font-size:.9em;
	color:#F5DEAE;
}

ul#secondary li a {
	display:block;
	padding:0 12px;
	border-right:1px solid;
	color:#F5DEAE;
	text-decoration:none;
}

.webkit ul#secondary li a {
	font-size:.85em;
}

ul#secondary li a:hover {
	text-decoration:underline;
}

/* navigation */
div#nav ul {
	list-style:none;
}

div#nav li {
	float:left;
}

div#nav li a {
	line-height:37px;
	color:#F5DEAE;
	text-decoration:none;
	padding:17px 16px;
	text-transform:uppercase;
	font-size:1.2em;
	font-family:Georgia, "Times New Roman", serif;
	letter-spacing:1px;
}

div#nav li a:hover {
	text-decoration:underline;
}

body#home div#nav li#nav-home a, body#product div#nav li#nav-product a, body#testimonials div#nav li#nav-testimonials a, body#resources div#nav li#nav-resources a, body#purchase div#nav li#nav-purchase a, body#blog div#nav li#nav-blog a {
	color:#fff;
	background:url(images/nav_active.gif) no-repeat bottom center;
}

body#home div#nav li#nav-home a:hover, body#product div#nav li#nav-product a:hover, body#testimonials div#nav li#nav-testimonials a:hover, body#resources div#nav li#nav-resources a:hover, body#purchase div#nav li#nav-purchase a:hover, body#blog div#nav li#nav-blog a:hover {
	text-decoration:none;
}

/* banner */
h1#bannerHome {
	position:relative;
	z-index:1;
	text-indent:-9000px;
	width:746px;
	height:256px;
	background:url(images/banner_home.jpg) no-repeat top left;
}

/* subnav */
#subnav {
	height:35px;
	margin-bottom:25px;
}

#subnav ul {
	list-style:none;
}

body#product #subnav ul {
	margin-left:126px;
}

body#testimonials #subnav ul {
	margin-left:220px;
}

body#resources #subnav ul {
	margin-left:275px;
}

body#purchase #subnav ul {
	margin-left:480px;
}

#subnav li {
	float:left;
}

#subnav li a {
	display:block;
	padding:0 12px;
	line-height:34px;
	color:#000;
	text-decoration:none;
	font-family:Georgia, "Times New Roman", serif;
}

#subnav li a:hover {
	text-decoration:underline;
}

#subnav li.active a {
	color:#562116;
	font-weight:bold;
	background:url(images/subnav_active.gif) no-repeat bottom center;
}

#subnav li.active a:hover {
	text-decoration:none;
}

/* content layout */
#contentArea {
	font-size:.95em;
}

#content {
	float:left;
	width:510px;
}

body#home #content {
	position:relative;
	bottom:60px;
	z-index:2;
}

body#cart #content {
	width:650px;
	margin:30px 0 30px 50px;
}

#sidebar {
	float:right;
	width:210px;
	padding-left:20px;
	border-left:1px solid #DADADA;
}

/* content area */
#content h1, #content h1.blogPost a.title {
	font-family:Georgia, "Times New Roman", serif;
	color:#621D14;
	font-size:2em;
	margin-bottom:5px;
	font-weight:normal;
}

#content h2 {
	font-size:1.3em;
	line-height:1.3em;
	padding:5px 100px 12px 0;
}

#content h3 {
	font-size:1.2em;
	line-height:1.3em;
	padding:15px 0 8px 0;
	font-style:italic;
	color:#000;
}

.red {
	color:#621D14;
	font-style:normal;
}

#content p {
	padding:5px 0 12px;
	line-height:1.4em;
}

#content ul {
	margin-left:15px;	
}

#content ol {
	margin-left:25px;
}

#content li {
	margin:10px 0;
	line-height:1.4em;
}

#content .box {
	padding:12px 20px 0 20px;
	background:#F2EEE2 url(images/box_top.gif) no-repeat top left;
}

#content .box ul {
	padding-bottom:10px;
}

#content .box li strong {
	color:#661E15;
}

#content .boxBtm {
	width:505px;
	height:15px;
	background:url(images/box_bottom.gif) no-repeat top left;
}

#content .box h2 {
	font-size:1.5em;
	padding:10px 0;
	font-weight:normal;
	color:#6C2218;
	text-transform:uppercase;
	text-align:center;
	font-family:"Helvetica Neue", "Trebuchet MS", Arial, sans-serif;
}

#content .box h2 span {
	color:#9A5900;
}

#content p.acrobat, #content p.audio {
	padding:5px 10px;
	margin:0 25px 10px 25px;
	background:#F2EEE2;
	border:1px solid #6C2218;
}

#content p.acrobat a {
	padding-left:22px;
	background:url(images/acrobat.png) no-repeat center left;
}

#content p.audio a {
	padding-left:22px;
	background:url(images/music.png) no-repeat center left;
}

#content blockquote {
	margin:10px 0 5px 0;
	background:url(images/quote_left.gif) no-repeat top left;
	text-align: left;
} 

#content blockquote p {
	background: url(images/quote_right.gif) no-repeat bottom right;
	padding:10px 40px;
}

#content p.quoteCredit {
	text-align:right;
	padding-top:20px;
}

#content p.quoteCred {
	text-align:right;
}

/* resources */
div.bookWrap {
	float:left;
	width:140px;
	height:300px;
	padding:0 15px;
}

div.bookWrap img.book {
	text-align:center;
}

div.bookWrap a {
	display:block;
	padding:3px 0;
}

div#links h3 {
	color:#621D14;
	font-style:normal;
	border-top:1px solid #ccc;
	border-bottom:1px solid #ccc;
	padding:4px;
	margin-top:2px;
	cursor:pointer;
}

div#links ul {
	margin-left:20px;
}

/* purchase section */
#content div.pricing {
	margin-top:15px;
}

#content div.pricing p {
	font-size:1.2em;
	padding:4px 0;
	color:#000;
	font-family:Arial, "Trebuchet MS", Verdana, sans-serif;
}

#content div.pricing p.ship {
	font-size:.9em;
}

#content div.pricing p span.price {
	color:#990000;
	font-size:1.8em;
}

#content div.pricing p span.red {
	color:#990000;
}

#content div.pricing img {
	padding:5px 0;
}

/* blog section */
#content h1.blogPost {
	margin-bottom:0;
}

#content h1.blogPost a.title {
	font-size:1em;
	text-decoration:none;
}
#content h1.blogPost a.title:hover {
	text-decoration:underline;
}
#content p.blogTimestamp {
	color:#666;
	font-style:italic;
}

#content div.postDetails {
	margin-right:10px;
	padding:5px 0 30px 0;
	border-top:1px solid #ccc;
}

#content div.postDetails p.category {
	float:left;
}

#content div.postDetails p.comments {
	float:right;
}

/* blog comment form */
fieldset#commentForm {
	padding:0;
	margin:10px 0 0 0;
	width:auto;
	border:none;
	}

fieldset#commentForm ul {
	margin:0;
	padding:0;
	list-style:none;
	}

fieldset#commentForm li label {
	float:left;
	clear:right;
	width:95px;
	text-align:right;
	margin:0;
	padding-top:4px;
	}

fieldset#commentForm li input, fieldset#commentForm li select, fieldset#commentForm li textarea {
	margin:0 0 8px 15px;
	padding:2px;
	font-family:"Lucida Grande", Arial, Helvetica, sans-serif;
	width:200px;
	border:1px solid #8F8E8E;
	}

fieldset#commentForm li textarea {
	width:auto;
	font-size:100%;
	}

fieldset#commentForm input#commentSend {
	width:auto;
	margin-left:110px;
	background-color:#d9d9d9;
	padding:3px 5px;
	border:1px solid #ccc;
	}

/* contact form */
fieldset#contact-form {
	padding:0;
	margin:20px 0 0 0;
	width:auto;
	border:none;
	}

fieldset#contact-form ul {
	margin:0;
	padding:0;
	list-style:none;
	}		

fieldset#contact-form li label {
	float:left;
	clear:right;
	width:95px;
	text-align:right;
	margin:0;
	padding-top:4px;
	}

fieldset#contact-form li input, fieldset#contact-form li textarea {
	margin:0 0 8px 15px;
	padding:2px;
	font-family:Arial, Helvetica, "Lucida Grande", "Trebuchet MS", sans-serif;
	color:#172E17;
	width:220px;
	font-size:100%;
	}

fieldset#contact-form li textarea {
	width:320px;
	}		

fieldset#contact-form input#contactsubmit {
	width:auto;
	margin:20px 0 10px 290px;
	padding:3px 5px;
	font-size:110%;
	}

/* affiliate site */
body#affiliate table {
	margin:5px 0 15px 0;
}

body#affiliate table td {
	padding:4px;
	border-bottom:1px solid #fff;
}

/* sidebar */
#sidebar {
	margin:0 0 20px 0;
	font-family:Georgia, "Times New Roman", serif;
}

body#home #sidebar {
	margin:20px 0;
}

#sidebar p {
	padding:5px 0 10px 0;
	line-height:1.4em;
}

#sidebar a.rss {
	position:relative;
	top:15px;
	display:block;
	padding:2px 0 20px 22px;
	background:url(images/feed.gif) no-repeat top left;
}

.separator {
	width:188px;
	height:19px;
	margin:20px auto;
	background:url(images/sb_separator.gif) no-repeat top left;
}

#sidebar h2 {
	text-indent:-9000px;
	height:16px;
	margin:10px 0;
}

#sidebar h2.topic {
	width:127px;
	background:url(images/sb_topic.gif) no-repeat top left;
}

#sidebar h2.saying {
	width:170px;
	background:url(images/sb_saying.gif) no-repeat top left;
}

#sidebar h2.download {
	width:135px;
	background:url(images/sb_download.gif) no-repeat top left;
}

#sidebar h2.shipping {
	width:112px;
	background:url(images/sb_shipping.gif) no-repeat top left;
}

#sidebar h2.subscribe {
	width:127px;
	background:url(images/sb_subscribe.gif) no-repeat top left;
}

#sidebar h2.search {
	width:127px;
	background:url(images/sb_blog_search.gif) no-repeat top left;
}

#sidebar h2.categories {
	width:127px;
	background:url(images/sb_categories.gif) no-repeat top left;
}

#sidebar h2.archives {
	width:127px;
	background:url(images/sb_blog_archives.gif) no-repeat top left;
}

#sidebar h2.recentPosts {
	width:127px;
	background:url(images/sb_recent_posts.gif) no-repeat top left;
}

#sidebar h2.login {
	width:127px;
	background:url(images/login.gif) no-repeat top left;
}

#sidebar ul.topic {
	list-style:none;
}

#sidebar li {
	margin:14px 0;
}

#sidebar p.quote {
	font-style:italic;
}

#sidebar form#signup {
	margin:12px 0 6px 0;
}

#sidebar form#signup input, #sidebar form#search input {
	padding:2px;
}

#sidebar form#signup input#email {
	width:120px;
}

#sidebar form#signup input#search {
	width:150px;
}

/* footer */
#footer {
	width:100%;
	padding:20px 0 50px 0;
	background:#EFE9DA url(images/footer_bg.jpg) repeat-x bottom left;
}

body#cart #footer {
	position:absolute;
}

#footer div {
	margin:0 auto;
	width:750px;
}

#footer ul {
	list-style:none;
	margin:0 0 0 70px;
}

#footer li {
	float:left;
}

#footer li a {
	color:#35160F;
	padding:0 15px;
	text-decoration:none;
}

#footer li a:hover {
	text-decoration:underline;
}

#footer p {
	padding:30px 0 0 0;
	color:#35160F;
	text-align:center;
	font-size:.9em;
	line-height:1.4em;
}

#footer p.aff {
	padding-top:0;
}

/* cart page */
table#checkout {
	width:100%;
	font-size:small;
}

table#checkout th {
	background:#000;
	color:#fff;
	font-weight:bold;
	font-size:100%;
	text-align:left;
	padding:3px 5px;
}

table#checkout th.cen {
	text-align:center;
}

table#checkout td {
	vertical-align:top;
	padding:10px 5px;
}

table#checkout td p {
	padding:0;
}

table#checkout td.quantity, table#checkoutTwo td.quantity {
	width:65px;
	padding-top:20px;
	text-align:center;
}

table#checkout td.quantity input {
	width:30px;
	margin-bottom:5px;
}

table#checkout td.quantity a {
	display:block;
	font-size:90%;
}

table#checkout td.price, table#checkout td.total {
	text-align:right;
	width:50px;
}

input#updateBtn {
	float:left;
}

div#shipping, div#tax {
	float:right;
	padding:0 10px 10px 0;
}

div#shipping p, div#tax p {
	display:inline;
	padding-left:8px;
}

#content p.total {
	text-align:right;
	padding:10px;
	background:#EFE9DA;
	border-top:1px solid #706F6D;
	border-bottom:1px solid #706F6D;
}

div.buttons {
	text-align:right;
	padding:15px 10px 30px 0;
	border-bottom:1px solid #E1E1E1;
}

/* checkout page */
form#BillingForm h2 {
	padding:5px 10px;
	margin-bottom:10px;
	background:#EFE9DA;
	border-top:1px solid #999;
	border-bottom:1px solid #999;
}

fieldset.checkout ul {
	list-style:none;
	margin-bottom:25px;
	}

fieldset.checkout li label {
	float:left;
	width:185px;
	text-align:right;
	margin:0;
	padding-top:4px;
	}

fieldset.checkout li label span, p.required span {
	color:#ff0000;
	font-weight:bold;
}

fieldset.checkout li input, fieldset.checkout li select {
	margin:0 0 4px 15px;
	padding:2px;
	font-family: Verdana, "Trebuchet MS", Helvetica, sans-serif;
	width:200px;
	}

fieldset.checkout input#bstate, fieldset.checkout input#sstate {
	width:40px;
}

fieldset.checkout input#bzip, fieldset.checkout input#szip {
	width:100px;
}

fieldset.checkout input.check {
	float:left;
	width:auto;
	margin:0 5px 0 200px;
}

fieldset.checkout li#expiration select {
	float:left;
	display:inline;
	width:60px;
}

fieldset.checkout li#expiration span.exp {
	float:left;
	display:inline;
	margin:0 0 0 6px;
}

fieldset.checkout input#securityCode {
	width:80px;
}

fieldset#paymentMethod {
	position:relative;
}

fieldset#paymentMethod #geotrust {
	position:absolute;
	right:20px;
	top:50px;
}

table#checkoutTwo {
	font-size:small;
	width:640px;	
}

table#checkoutTwo th {
	font-weight:normal;
	text-align:center;
	border-bottom:1px solid #000;
}

table#checkoutTwo th.cen {
	width:70px;
}

table#checkoutTwo td {
	text-align:center;
}

table#checkoutTwo td.quantity {
	padding-top:0;
}

table#checkoutTwo td.price, table#checkoutTwo td.total {
	text-align:right;
}

table#checkoutTwo th.product, table#checkoutTwo td.product {
	text-align:left;
}

#content p.finalTotal, #content p.todaysCharge {
	float:right;
	margin-right:10px;
}

#content p.todaysCharge, #content td.todaysCharge {
	color: #890103;
}

textarea#comments {
	width:500px;
	font-family: Verdana, "Trebuchet MS", Helvetica, sans-serif;
	font-size:.9em;
}

fieldset.checkout input.submit {
	width:auto;
	color:#000;
	margin:15px 0;
	font-size:110%;
}

p#reviewOrder {
	float:left;
}

/* used for form field validation */
label.error {
	color: #B72323;
	font-style: italic;
	margin-left: 10px;
	width: auto;
	display:block;
	width:400px;
}

#container {
	background-color: #fcc;
	border: 1px solid #B72323;
	margin: 5px;
	padding: 5px;
	display: none;
}
#container ul {
	list-style: none;
	float:none;
	clear:both;
	width:98%;
}
#container ul li {
	margin-left:5px;
	clear:both;
}
#container ul li label {
	width:100%;
	color: red;
	text-align:left;
}
input.error:focus,
select.error:focus,
textarea.error:focus {
	border: 1px dashed red;
}
input.error, select.error, textarea.error {
	border: 1px solid red;
}

#orderDetails fieldset legend {
	color: #620000;
	font-weight:bold;
	font-size:110%;
}

#orderDetails fieldset {
	border:1px solid #ccc;
	padding:15px;
	font-size:95%;
}

#orderDetails fieldset#shipTo {
	float:left;
	width:220px;
	margin-top:15px;
}

#orderDetails fieldset#billTo {
	float:right;
	width:220px;
	margin-top:15px;
}

table#lineItems2 {
	width:100%;
}

table#lineItems2 th, table#lineItems2 td {
	padding:0 4px;
	text-align:left;
}

table#lineItems2 tr.product td {
	padding:4px;
}

table#lineItems2 tfoot tr.border td {
	border-top:1px solid #999;
	padding-top:4px;
	margin-top:4px;
}

table#lineItems2 td.foot {
	text-align:right;
	padding-right:12px;
}

table#lineItems2 td.rt {
	text-align:right;
}

div.checks {
	margin:25px 0 25px 0;
}
