

/* --- books.css --- */
#flow #tab h1 {
	font-size: 240%;
}
#flow #tab h3 {
	top:-.7em
}
div#col1 div.product h3, div#col3 div.product h3 {
	top:-.6em!important;
}
div#col1 div.nav h3, div#col3 div.nav h3 {
	top:-.6em!important;
}
#flow #tab h1, #flow #tab h2, #flow #tab p {
	margin-bottom: 1em;
}
div.spotlight {
	float: left;
	overflow: hidden;
	position: relative;
	width: 22.5%;
	margin-bottom:1em;
	padding: 2em 6px 2em 6px;
	background: #036 url(/images/new/vignette.jpg);
	color: #fff;
	text-align: center;
	border:1px solid #485484;
	border-color: #6784B0 #333464 #333464 #6784B0
}
div.spotlight a:link, div.spotlight a:visited {
	color: #eee;
}
/* side bar testimonial  */
div.nav p.quoteme {
	font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
font-style:italic;
	margin: 10px 3.5% 10px 3.5%;
	background: transparent url(/images/icons/rdquo-grey.gif) right bottom no-repeat;
	padding: 0 4px 0 0;
	color: black;
}
div.nav p.content2 {
	font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
font-style:italic;
	margin: 10px 3.5% 10px 3.5%;
	background: transparent url(/images/icons/rdquo-grey.gif) right bottom no-repeat;
	padding: 0 4px 0 4px;
	color: #496FA7;
}
div.nav a.navitem:link, div.nav a.navitem:visited {
	font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
font-style:italic;
	margin: 10px 3.5% 10px 3.5%;
	background: transparent url(/images/icons/rdquo-grey.gif) right bottom no-repeat;
	padding: 0 4px 0 0;
	color: #496FA7!important;
}
div.nav a.navitem:hover {
color:#FF6600;
}
div#content div#maincontent div#col1 div.nav p.quoteme:first-letter {
	background: transparent url(/web-design-images/ldquo-grey.gif) left top no-repeat!important;
	width: 12px;
	height: 1.3em;
	padding:1px 0 3px 0px;
	background-position: 0 1px;
}
div.nav h6 {
	color: #333;
	text-align: right;
	margin-bottom: 20px;
}
/* book plugs */
div#flow div#tab h4 {
	margin: 30px 3.5% 20px 3%;
	border-bottom: 1px solid #b0c0d0;
	padding-bottom: 4px;
	font-size: 120%;
	color: #036;
	clear: left;
}
div#flow div#tab h5 {
	margin-bottom: 2em;
	margin-top: 1em;
}
div#flow div#tab h4.catch {
	margin: 20px 3.5% 10px 3%;
	border-bottom: 0 none;
	font-style: italic;
	line-height: 150%;
	text-align: center;
	clear: none;
}
/* special lists for TOC */
.nomarker {
	list-style-type: none;
	border-bottom: 3px #fff solid!important;
}
.alphabetical {
	list-style-type: upper-latin;
}
dd dl dt {
	font-weight: normal!important;
}
/* infobox - inset presentation box */
div#tab div.infobox {
	background: #E8ECF0;
	width: 180px;
	float: right;
	clear: right;
	padding: 0px 10px 20px 10px;
	margin: 0px 3% 20px 10px;
}
div#tab div.infobox h4 {
	margin: 0 0 8px 0;
}
div#tab div.infobox h5 {
	margin: 10px 0 0 0;
}
/* inset testimonial quote box */
div#flow div#tab div.review {
	background: #E8ECF0;
	width: 180px;
	float: right;
	clear: right;
	padding: 20px 10px 10px 10px;
	margin: 0px 3% 20px 10px;
	background-image: url(/images/icons/openquote.gif);
	background-repeat: no-repeat;
	background-position: 10px 10px;
}
div#tab div.review p:first-letter {
	padding: 0 0 0 0;
}
div#tab div.review img {
	margin: auto;
	display: block;
}
div#tab div.review p {
	font: italic 100%/150% Georgia, "Times New Roman", Times, serif;
	background-image: url(/images/icons/closequote.gif);
	background-repeat: no-repeat;
	background-position: bottom right;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
div#tab .review h6 {
	font-size: xx-small;
	margin: 10px 0px 0px 0px;
	padding: 0 0 0 2px;
	line-height: 130%;
	background-color: #C0D0E0;
	height: 27px;
}
div#tab .review h6 img {
	float: right;
	font-size: 100%;
}
div#tab .review h6 a {
	color: #036;
}
/* examples */
#example {
	margin: 20px 0px 10px 0px;
	border: 2px solid #fff;
}
#example dt {
	margin: 15px 0px 10px 0px;
	clear: both;
}
#example dd {
	margin: 25px 0px 25px 0px;
	padding-bottom: 10px;
	border-bottom: 2px solid #b0c0d0;
}
#example img {
	margin-top: -10px;
	padding-bottom: 20px;
}
div#tab .wrap ul {
	margin: 10px 5% 10px 5%;
	padding-left: 20px;
}
div#nav h5 {
	margin: 10px 5% 10px 5%;
	padding-left: 20px;
}
div#flow div#tab ol {
	margin-left: 40px;
}
/* Table of contents nested lists - mainly for TOC */

.alphabetical {
	list-style: lower-alpha;
}
div#flow div#tab ol.toc {
	list-style-position: inside;
	list-style:  decimal!important;
	list-style: lower-alpha;
	margin-left: 20px;
}
div#flow div#tab ol.toc li {
	font: bold 12px/20px Verdana, Arial, Helvetica, sans-serif;
	color: #036;
	background-color: #eee;
	border:1px dashed #eee;
	padding:5px 1px 5px 5px;
}
div#flow div#tab ol.toc li ul, div#flow div#tab ol.toc li ol {
	margin:5px -3px 0px -6px;
	padding : 0 0 10px 10px;
	background-color: #fff;
}
div#flow div#tab ol.toc li ul li, div#flow div#tab ol.toc li ol li {
	border:0px none;
	font: bold 12px/20px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	background-color: #fff;
	padding:3px;
	border:1px solid #fafafa;
}
div#flow div#tab ol.toc li ul li ul {
	font: bold 12px/18px Verdana, Arial, Helvetica, sans-serif;
	border-top:1px solid #eee;
	padding-left:50px;
}
div#flow div#tab ol.toc li ul li ul li {
	font: normal 11px/14px Verdana, Arial, Helvetica, sans-serif;
}
/* nice purchase buttons */
.actions {
	text-align: center;
	margin-right: -3px;
	clear: both;
	padding:1em 0
}
div#tab div.actions a.nice_button:link, div#tab div.actions a.nice_button:visited {
	font-size: 12px;
	font-weight: bold;
	color: #000;
	text-align: center;
	background: url(/images/icons/buy_now4.gif) no-repeat left bottom;
	text-decoration: none;
	padding: 5px 18px 5px 18px;
	white-space: nowrap;
	line-height: 240%;
}
div#tab div.actions a.nice_button:hover {
	background: url(/images/icons/buy_now4.gif) no-repeat left top; /* sliding graphic animation */
	color: #000;
}
div#tab div.actions a.buybutton:link, div#tab div.actions a.buybutton:visited {
	font-size: 12px;
	font-weight: bold;
	color: #000;
	text-align: center;
	background: url(/images/icons/buy_now.png) no-repeat right top;
	text-decoration: none;
	padding: 13px 17px 13px 13px;
	min-width:225px;
	white-space: nowrap;
	line-height: 240%;
}
div#tab div.actions a.buybutton:hover {
	background: url(/images/icons/buy_now.png) no-repeat left top ; /* sliding graphic animation */
	color: #000;
}
#tab a.buylink {
	background-image: url(/images/icons/buy_now2.gif);
	display: block;
	width: 241px;
	height: 29px!important;
	height: 39px; /**/
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	font: bold 115% Verdana;
	padding: 10px 0 0 0;
	margin-left: auto;
	margin-right: auto;
}
a.buylink:hover {
	background-image: url(/images/icons/buy_now2-on.gif);
	color: #fff!important;
}
.highlight {
	font-weight: bold;
	color: #C00!important;
}
ul.tickme {
	list-style: none url(/images/icons/tick.gif);
}
div.product ul.tickme {
	font: bold 11px/15px Verdana, Arial, Helvetica, sans-serif !important;
}
div#tab ul.specialo {
	margin-top: 15px;
	margin-bottom: 15px;
}
div#tab ul.specialo li {
	list-style: none url(/images/icons/orange_bull3.gif);
	list-style-position: outside;
	vertical-align: baseline;
	margin-top: 6px;
	margin-bottom: 6px;
}
div#tab p.dropcaps span.first-letter {
	float: left;
	color: #003366;
	font: bold 3.3em/80% "Times New Roman", Times, serif;
	margin: 0;
	padding: 0 2px 0 0;
}
/* Why buy direct from SitePoint.com? */
div#tab div#orderdirectreasons {
	border: 1px solid #999933;
	background: #E5E5CC ;
	padding: 10px 8px 8px 8px;
	border-radius: 8px;
	-moz-border-radius: 6px;
	clear:both
}
div#tab div#orderdirectreasons h5 {
	font-weight: bold;
	font-size: small;
	font-family: Arial, sans-serif;
	color: #707025;
	margin:0;
	font-size:medium
}
div#tab div#orderdirectreasons ul {
	margin: 6px 6px 6px 120px;
}
div#tab div#orderdirectreasons ul li {
	font-size: x-small;
	line-height: 100%;
	list-style-position: inside;
	margin: 3px 0;
}
div#tab div#orderdirectreasons img {
	float: left;
	padding: 0 0;
	margin:-20px 15px 0 -25px
}
input.ordersubmitbutton {
	border-width: 2px;
	border-color: #FFCC66;
	background: #FFCC66;
	font-weight: bold;
	padding: 1px 6px;
	cursor: pointer;
	-moz-border-radius: 4px;
}
input.ordersubmitbutton:active {
	background: #FFDD88;
}
input.ordersubmitbutton:active {
	padding: 2px 5px 0 7px;
}
/* styles for current bookindex DL */
div#tab div.indexdiv {
	margin-bottom: 15px;
}
div#tab div.indexdiv dl {
	margin-left: 15px;
}
div#tab div.indexdiv dl dl {
	margin-left: 15px;
	font-size: 85%;
	color: gray;
	margin-bottom: 10px;
}
div#tab div.indexdiv dl dt {
	margin-bottom: 3px;
}
div#tab div.indexdiv dl dl dt {
	padding-left: 15px;
	background: url(/images/icons/bula.gif) left top no-repeat;
}
/* styles for new bookindex DL */
div#tab div.indexdiv dl.bookindex {
	float:left;
	margin:0 20px 20px 15px;
}
div#tab div.indexdiv dl.bookindex dt {
	float:left;
	clear:both;
	font-weight:bold;
}
div#tab div.indexdiv dl.bookindex dd {
	float:right;
	margin-left:20px;
}
div#tab div.indexdiv dl.bookindex dl {
	float:left;
	margin:0 0 5px 0;
}
div#tab div.indexdiv dl.bookindex dl dt {
	background:none;
	padding-left:0;
}
div#tab div.indexdiv dl.bookindex dl dd {
	font-size:85%;
	margin-top:2px;
}
div#tab h2, div#tab h3 {
	clear:both;
}
div#tab div.indexdiv h2 {
	border:1px solid #cad6e8;
	padding:0 0 3px 7px;
	border-width:0 0 1px 1px;
}
#col3 div.nav table {
	font-size: 85%;
	margin-top: 0;
}
#col3 div.nav table td {
	padding: 5px 0;
}
/* align */
.right {
	text-align: right;
}
form {
	display: block;
}
#navcontainer form {
	display: inline;
}
form p {
	margin-top: 8px!important;
	margin-bottom: 8px!important;
}
div#update {
	color:#996600;
	background-color:#FAF3CF;
	border:1px solid #CC9933;
	padding: 1em 0 2em 0;
	font-size:0.85em;
	margin-bottom:1em
}
div#update p, div#update h6 {
	margin: .5em 1em;
}
div#flow div#tab div#update h4 {
	margin: .5em 1em 1em 1em;
	border-bottom: 1px solid #CC9933;
}
div#flow div#tab div#update h2 {
	margin: .5em 1em 1em 10px;
	border-bottom: 1px solid #CC9933;
}
div#flow div#tab div#update strong {
	color:#666600
}
div#flow div#tab div.wrap img#bookshot {
	padding-right:20px
}
/* '/books/index.php' */

div#flow div#tab div#recentbooks h2 {
	margin: 30px 3.5% 7px 0;
	border-bottom: 0px none;
	padding-bottom: 4px;
	color: #036;
	clear: left;
}
div#flow div#tab div#recentbooks h4 {
	margin: 30px 3.5% 7px 0;
	border-bottom: 0px none;
	padding-bottom: 4px;
	font-size: 120%;
	color: #036;
	clear: left;
}
div#flow div#tab div#recentbooks h5 {
	margin: 0 3.5% 7px 0;
	font-size: 100%;
	color: #036;
	clear: left;
}
div#flow div#tab div div.detail li {
	font-size:70%;
}
div#flow div#tab div#recentbooks div.productbox {
	border-bottom:1px solid #C0D0E0;
	padding: 0 0 1em 0;
	position:relative;
}
div#flow div#tab div#recentbooks div.badge h4 {
	margin-right: 90px; /* adjusted padding clears space for floated 'PDF ONLY' , ou of stock' & stamp and other 'SAVE' badges */
}
#flow #tab div.productbox span.pdfonly { /* Floated 'PDF ONLY' stamp*/
	position:absolute;
	display:block;
	right:0;
	width:74px;
	height:74px;
	background : transparent url(/images/books/pdfonly2.png) no-repeat left top;
	z-index:1000
}
#flow #tab div.productbox span.fullpdf { /* Floated 'complete PDF free' stamp*/
	position:absolute;
	display:block;
	right:0;
	width:88px;
	height:88px;
	background : transparent url(/images/books/rails1/rails-free-star-sm.png) no-repeat left top;
	z-index:1000;
	top:-1em
}
#flow #tab div.productbox h4 span.outofstock { /* Floated 'outofstock' stamp*/
	position:absolute;
	display:block;
	right:0;
	width:103px;
	height:58px;
	background : transparent url(/images/books/outofstock.png) no-repeat left top;
	z-index:1000;
	}
#flow #tab div.productbox span.save { /* Floated 'Save ??%' stamp*/
	position:absolute;
	text-align:center;
	display:block;
	right:0;
	top:-15px;
	width:100px;
	height:76px;
	background : transparent url(/images/books/while-stocks-last.gif) no-repeat left top;
	z-index:1000;
	font-size:25px;
	color:#990000
}
#flow #tab div.productbox span.save span { /* Floated 'Save ??%' stamp*/
	clear:both;
	margin:7px 1em -4px 1em;
	display:block;
	font-size:12px;
	color:#000
}
a.silentlink /* a link that doesn't look like a link */
{
	text-decoration: none!important;
	color: #036!important;
}
/* new style pullquotes */

div.reviewgrab {
	background:url(/images/boxes/big.jpg) no-repeat bottom right;
	float:right;
	padding : 0;
	margin:1em;
	width:220px;
	overflow:hidden
}
div.reviewgrab blockquote {
	font:italic 1.0em Georgia, "Times New Roman", Times, serif;
	background:url(/images/boxes/220-top.gif) no-repeat top left;
	padding:0;
	margin:0;
	border-top:1px solid #fff;
}
div.reviewgrab blockquote p {
	padding:0;
	margin:1em 1em 1em 26px;
}
div.reviewgrab blockquote p:after { /* creates a buffer so the text clears the closing quote */
	margin:.2em;
	content: "";
	padding-right:1em;
}
div.reviewgrab cite {
	font: .9em/.9em "Century Gothic", Arial, Helvetica, sans-serif;
	display:block;
	margin: -2em 0 0 0;
	padding :2em 0 1em 0;
	background:url(/images/boxes/220-bot.gif) no-repeat bottom right;
	overflow:hidden;
	height:30px;
}
div.reviewgrab cite a img {
	margin :3px 3px 3px 26px;
	float:left;
	border:0 none
}
div.reviewgrab cite span {
	float:left;
	display:block;
	margin:3px 1em 0px 1px;
	white-space:nowrap;
}
/* 300px wide alternative - to be used in conjunction with reviewgrab */
div.reviewgrab300wide {
	width:300px;
}
div.reviewgrab300wide blockquote {
	background:url(/images/boxes/300-top.gif) no-repeat top left;
}
div.reviewgrab300wide cite {
	background:url(/images/boxes/300-bot.gif) no-repeat bottom right;
}
div.sampledownloadbox {
	margin-bottom: 1em;
	background: #6ca873 url(/images/books/downloadbutton.png) 0% 50% no-repeat;
	padding: 8px;
	color: #FFF;
	font-weight: bold;
	font-family: "Trebuchet MS", "Arial", sans-serif;
}
div.sampledownloadbox a {
	color: #FFF;
	display: block;
	line-height: 20px;
	padding: 2px 2px 2px 40px;
}
#flow #tab p.pdfnotice {
	margin-top: 1.8em;
	padding:5px 0;
	margin-bottom: 1.8em;
	border:1px solid #ddd;
}
#flow #tab p.pdfnotice img.imgleft {
	padding: 3px 3px 0 8px;
}
table.tablecenter {
	width:80%;
	margin-left:10%;
	clear:both;
}
div#featuredbook {
	border:1px dashed red;
	float:left!important;
}


/* in-page sample chapters form */
.samplechapters
{display:block!important
}

.samplechapters fieldset
{
	border:none;
	padding:0;

}

.samplechapters fieldset legend
{

}
.samplechapters div#mainmail
{
	text-align:center;
	font-size:20px;
	margin-top:1.5em
}
.samplechapters fieldset legend span
{
	display:block;
	padding:0 0 15px 0;
	width:400px;
	color:#555;
	margin:0 0 0 0;
}
* html .samplechapters fieldset legend span
{
	position:relative;
	left:-0.4em;
}

.samplechapters fieldset.email
{
	margin:0 0 50px 0;
}

.samplechapters fieldset.email legend span
{
	font-size:1.5em;
	color:#036;
	font-weight:normal;
}

.samplechapters fieldset.email legend img
{
	float:left;
	margin:1px 5px 0 0;
}

.samplechapters fieldset.email div
{
	clear:both;
}

.samplechapters fieldset.email input
{
	font-size:1.4em;
	width:14em;
}

.samplechapters fieldset.submit
{
	text-align:right;
}

.samplechapters.confirmemail fieldset.submit
{
	text-align:left;
}

.samplechapters fieldset.submit input
{
	font-size:1.4em;
	padding:0.1em 0.5em;
}
* html .samplechapters fieldset.submit input
{
	padding:0;
}

.samplechapters fieldset.format
{
	margin:10px 0 20px 0;
}

.samplechapters fieldset.newsletters legend
{
	font-weight:normal;
}

.samplechapters fieldset.newsletters div
{
	clear:both;
	float:left;
	padding:0 0 2px 0;
	margin:0 0 8px 4%;
	width:95%;
	border-bottom:1px solid #ccc;
}
.samplechapters fieldset.newsletters p
{
	margin-bottom:2em!important;
	}
* html .samplechapters fieldset.newsletters div
{
	margin-left:2%;
}

.samplechapters fieldset.newsletters input
{
	float:left;
	margin:-1px 5px 0 0;
}

.samplechapters fieldset.newsletters label strong
{
	color:#900;
	width:17em;
	float:left;
	cursor:auto;
}

.samplechapters fieldset.newsletters label span
{
	float:left;
	width:99%;
	cursor:auto;
	margin-bottom:5px;
}
* html .samplechapters fieldset.newsletters label span
{
}

.samplechapters fieldset input.nothanks
{
	float:none;
	border:none;
	background:transparent;
	font-size:1em;
	color:#06c;
	margin:0 0 0 15px;
	cursor:pointer;
}

.samplechapters fieldset.submit
{
	padding-top:30px;
}

.bookerror
{
	margin-bottom:30px !important;
	border:1px solid #cc9;
	background:#ffb;
	padding:7px;
}

.bookerror em
{
	font-style:normal;
}

h4 cite
{
	color:#900;
	font-style:normal;
}


.samplechaptersads
{
	margin-top:60px !important;
	padding:10px 0 0 0;
	clear:both;
	border-top:1px solid red;
}

.booksamplethanks img
{
	float:left;
	margin:4px 10px 0 0;
}

#freepdf {
background:url(/images/feature/green.jpg) left center repeat-x;
border:1px solid #669933;
margin-bottom:1em;
color:#003300
}
#freepdf h4{
font-size:22px
}
#freepdf h5{
font-size:17px;
text-align:center
}
#freepdf p{
clear:both
}
#freepdf p, #freepdf h5, #freepdf h4{
margin:10px 
}
#freepdf img#pdficon{
float:left
}
#freepdf p a {
display:block;
width:100%;
text-align:right
}

