/*
Theme Name: AppDevManual
Theme URI: http://appdevmanual.com/
Description: A custom theme.
Version: 1.0
Author: Anthony Piraino
Author URI: http://iconfactory.com
*/

html {
	background-color: #4c831c;
	margin: 0px;
	padding: 0px;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: helvetica, arial, sans-serif;
	color: #000;
	font-size:62.5%;
	width: 100%
}

img {
	border: none;
}

a, a:visited, a:active, a:hover {
	color: #5aa121;
	text-decoration: none;
}

a:hover {
	color: #7ac141;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
}

blockquote {
	margin: 10px;
	color: #666;
}

#wrapper {
	background: #fff url(images/top_background.png) left top repeat-x;
	min-width: 960px;
	width: 100%;
	text-align: center;
}

#header {
	height: 374px;
	width: 854px;
	padding: 0px 38px 0px 68px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	background: url(images/header_background.png) center top no-repeat;
	overflow: hidden;
}


h1 {
	width: 281px;
	height: 135px;
	padding-top: 35px;
	float: left;
}

h1 a {
	width: 281px;
	height: 0px;
	display: block;
	padding: 135px 0px 0px 0px;
	overflow: hidden;
	background: url(images/mainlogo.png) left top no-repeat;
}

ul#mainnav {
	margin: 0px;
	padding: 132px 0px 0px 0px;
	width: 366px;
	height: 42px;
	list-style-type: none;
	float: right;
	background: url(images/nav_background.png) center 130px no-repeat;
}

ul#mainnav li {
	float: left;
	width: 122px;
	height: 42px;
}

ul#mainnav li a {
	width: 122px;
	height: 0px;
	display: block;
	padding: 42px 0px 0px 0px;
	overflow: hidden;
}

ul#mainnav li.reviews a {
	background: url(images/link_reviews.png) center top no-repeat;
}

ul#mainnav li.about a {
	background: url(images/link_about.png) center top no-repeat;
}

ul#mainnav li.links a {
	background: url(images/link_links.png) center top no-repeat;
}

ul#mainnav li a:hover {
	background-position: 0px -42px;
}

#header h2 {
	clear: both;
	font-weight: normal;
	color: #141;
	font-size: 2.0em;
	line-height: 1.6em;
	width: 650px;
	height: 186px;
	background: url(images/bookcover.png) right top no-repeat;
	padding: 35px 174px 0px 0px;
	position: relative;
	top: 9px;
	text-align: right;
}


#header a.about, #header a.buy, #header a.buyebook {
	display: block;
	position: relative;
	top: -90px;
	width: 160px;
	height: 0px;
	padding: 32px 0px 0px 0px;
	overflow: hidden;
}

#header a.about {
	float: left;
	background: url(images/teaser_learnmore.png) left top no-repeat;
	margin-left: 130px;
}

#header a.buy {
	float: left;
	background: url(images/teaser_buy.png) left top no-repeat;
	margin-left: 18px;
}

#header a.buyebook {
	background: url(images/teaser_buy_ebook.png) left top no-repeat;
	margin-left: 488px;
}




#content {
	width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding: 34px 0px 0px 0px;
	background: url(images/content_background.png) center top no-repeat;
	font-size: 1.4em;
	clear: both;
}

#mainsection {
	width: 400px;
	padding: 0px 12px 40px 68px;
	float: left;
	text-align: left;
	
}

#sidesection {
	width: 400px;
	padding-left: 12px;
	padding-bottom: 40px;
	margin-left: 480px;
	text-align: right;
}


h2#blogheader {
	width: 404px;
	height: 0px;
	padding: 42px 0px 0px 0px;
	overflow: hidden;
	background: url(images/header_blog.png) left top no-repeat;
}

h2#reviewsheader {
	width: 404px;
	height: 0px;
	padding: 42px 0px 0px 0px;
	overflow: hidden;
	background: url(images/header_reviews.png) left top no-repeat;
}

.post {
	line-height: 1.3em;
	padding: 0px 0px 10px 0px;
}

.post h2 {
	margin: 40px 0px 0px 0px;
	font-size: 1.8em;
	font-weight: normal;
}

.post h3 {
	margin: 40px 0px 20px 0px;
	font-size: 1.4em;
	font-weight: bold;
}

.post h4 {
	margin: 20px 0px 10px 0px;
	font-size: 1.1em;
	font-weight: bold;
	color: #555;
}

.post p.date {
	color: #666;
	font-size: 0.8em;
	margin: 3px 0px 10px 0px;
}

.postnavigation {
	border-top: 1px solid #cfd3b6;
	border-bottom: 1px solid #dfe3c6;
	height: 14px;
	padding: 6px 5px 5px 5px;
	margin: 20px 0px 0px 0px;
}

.post ul {
	padding: 0px 0px 0px 20px;
}

.post ul li {
	margin: 0px 0px 10px 0px;
	padding: 0px;
}

.post ol {
	padding: 0px 0px 0px 25px;
}

.post ol li {
	margin: 0px 0px 10px 0px;
	padding: 0px;
}

.post blockquote p br + em {
	display: block;
	float: right;
	font-size: 0.9em;
}

.post blockquote p br + a {
	clear: right;
	display: block;
	float: right;
	font-size: 0.9em;
}

.post pre {
	padding: 5px;
	background-color: #EEE;
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.postnavigation .older {
	float: left;
}

.postnavigation .newer {
	float: right;
}



/* for headers on pages */

body.page #mainsection .post h2 {
	width: 404px;
	height: 42px;
	padding: 0px;
	margin: 0px;
}

body.page #mainsection .post h2 a {
	display: block;
	width: 404px;
	height: 0px;
	padding: 42px 0px 0px 0px;
	overflow: hidden;
	font-size: 0.8em;
}

body.page #mainsection h3 {
	font-size: 1.4em;
	font-weight: bold;
	margin: 40px 0px 20px 0px;
}




/* tweaks for review page content */

body.page-id-4 #mainsection .post h2 {
	display: none;
}

body.page-id-4 #mainsection {
	padding-top: 60px;
}

body.page-id-4 #mainsection .post p {
	font-size: 1.6em;
	line-height: 1.2em;
}

body.page-id-4 #mainsection .post blockquote p {
	font-size: 1.2em;
	line-height: 1.6em;
	color: #333;
}

body.page-id-4 #mainsection .post blockquote {
	background: url(images/divider_left.png) left top no-repeat;
	padding: 5px 10px 20px 10px;
	margin: 0px;
}

body.page-id-4 #mainsection .post blockquote p br + em {
	display: block;
	float: right;
	margin: 5px 10px 0px 0px;
	font-size: 0.8em;
}

body.page-id-4 #mainsection .post blockquote p br + a {
	clear: right;
	display: block;
	float: right;
	margin: -9px 10px 0px 0px;
	font-size: 0.8em;
}

body.page-id-4 #sidesection p.reviews {
	display: none;
}



/* tweaks for about page content */

body.page-id-2 #mainsection .post h2 {
	background: url(images/header_about.png) left top no-repeat;
	margin-bottom: 40px;
}



/* tweaks for author page content */

body.page-id-15 #mainsection .post h2 {
	background: url(images/header_author.png) left top no-repeat;
	margin-bottom: 40px;
}



/* tweaks for links page content */

body.page-id-8 #mainsection .post h2 {
	background: url(images/header_links.png) left top no-repeat;
	margin-bottom: 40px;
}



.review {
	padding-bottom: 55px;
}

.review p.quote {
	padding-left: 60px;
	margin: 40px 0px 0px 0px;
	font-size: 1.4em;
	letter-spacing: -0.01em;
	line-height: 1.3em;
	font-weight: normal;
	color: #7ac141;
}

.review p.credit {
	font-size: 1.2em;
	margin: 10px 0px 0px 0px;
}

.review p.url {
	font-size: 1.2em;
	margin: 3px 0px 0px 0px;
}

#sidesection p.reviews {
	background: url(images/divider_right.png) right top no-repeat;
	padding-top: 7px;
	font-size: 1.3em;
	margin: 5px 0px 0px 0px;
}

#sidesection p.archives {
	background: url(images/divider_right.png) right top no-repeat;
	padding-top: 7px;
	font-size: 1.3em;
	margin: 5px 0px 0px 0px;
}




#footer {
	clear: left;
	background: #4c831c url(images/footer_background.png) center top repeat-x;
	height: 256px;
	color: #fff;
	padding: 32px 68px 80px 68px;
}

#authorinfo {
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	padding-right: 422px;
	text-align: left;
}

#authorinfo h2 {
	font-size: 2.4em;
	text-transform: lowercase;
	font-weight: normal;
	margin: 0px 0px 10px 0px;
}

#authorinfo img {
	border: 1px solid white;
	float: left;
	margin: 0px 20px 0px 0px;
}

#authorinfo p {
	font-size: 1.4em;
	line-height: 1.3em;
	margin: 0px 0px 10px 120px;
	padding: 0px;
}

#authorinfo a, #authorinfo a:visited, #authorinfo a:active, #authorinfo a:hover {
	font-weight: bold;
	color: #fff;
}

#footer p.copyright {
	clear: both;
	width: 400px;
	margin-left: auto;
	margin-right: auto;
	padding: 40px 302px 0px 120px;
	text-align: left;

	font-size: 1.2em;
	color: #9bd768;
}

#footer #searchform {
	width: 824px;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
}

#footer #searchform label {
	display: block;
	float: right;
	font-size: 2.4em;
	text-transform: lowercase;
	font-weight: normal;
	margin: 0px 0px 10px 0px;
}

#footer #searchform div {
	clear: both;
	float: right;
}

#footer #searchform #s {
	width: 116px;
}

