/*
Theme Name: Nick Read
Theme URI: http://nickread.co.uk
Description: Nick Read custom theme
Version: 1.0
Author: Yes We Work
Author URI: http://yeswework.com/
*/

/* YAHOO RESET */
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}
/* YAHOO FONTS */
body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea,button{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}

/*------------------------------ basic tag styles */
html {
	background-color: #e6e5e5;
}
body {
	font-family: georgia,serif;
	font-size: 15px;
}
a {
	text-decoration: none;
	color: #fd353d;
}
a:hover {
	text-decoration: underline;
}
small {
	font-family: arial, helvetica, sans-serif;
	font-size: 10px;
	text-transform: uppercase;
}
h1,h2,h3 {
	margin-bottom: 5px;
}
h4,h5,h6,p,ul,ol {
	margin-bottom: 10px;
}
h2 {
	font-size: 24px;
	color: #35a0c0;
}
h3 {
	font-size: 18px;
	color: #35a0c0;
}
p {
	line-height: 140%;
}
strong {
	font-weight: bold;
}
em {
	font-style: italic;
}
blockquote {
	margin:10px 0 20px 20px;
	font-style:italic;
	color:#333333;
}

/*------------------------------ container, header, nav, footer styles */
#container {
	width: 100%;
	background-image: url(img/navbg_grey.png);
	background-repeat: repeat-x;
	position: absolute;
	top: 73px;
}
#content {
	width: 970px;
}
#header {
	position: absolute;
	background-color: #626262;
	top: 0px;
	width: 100%;
	height: 73px;
}
	#header h1 {
		position: absolute;
		top: 0px;
		left: 0px;
		width: 142px;
		height: 73px;
		background-image: url(img/nickread_logo.png);
		background-repeat: no-repeat;
		text-indent: -5000px;
	}
	#header #navcontainer {
		position: absolute;
		width: 969px;
		left: 0px;
	}
	#header ul#nav {
		position: absolute;
		top: 0px;
		right: 0px;
		text-transform: uppercase;
		font-size: 14px;
		letter-spacing: 1px;
	}
	#header ul#nav li {
		float: left;
		border-right: 1px solid #888;
	}
	#header ul#nav li:hover {
		background-color: #333;
	}
	#header ul#nav li a {
		display: block;
		padding: 28px 19px 0px 19px;
		height: 45px;
		color: #fff;
	}
	#header ul#nav li a:hover {
		text-decoration: none;
	}
#subnav {
	font-size: 13px;
	width: 122px;
	padding: 10px;
	padding-top: 20px;
	text-align: right;
	float: left;
	}
	#subnav h3 {
		margin-bottom: 2em;
	}
	#subnav ul li {
		padding: 4px 0px 4px 0px;
		border-bottom: 1px solid #dbdada;
	}
	#subnav ul li a {
		color: #FD353D;
	}
	#subnav ul li.current-cat a {
		color: #35a0c0;
	}
#footer {
	border-top: 1px solid #dcdcdc;
	padding-top: 11px;
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	margin-left: 142px;
	width: 827px;
	background-color: #fff;
	overflow: auto;
	clear: both;
}
	#footer ul {
		clear: both;
		float: right;
	}
	#footer ul#links {
		margin-top:10px;
	}
	#footer ul li, #footer h4 {
		display: inline;
		margin-right: 10px;
	}
	#footer h4 {
		text-transform: uppercase;
		font-size: 10px;
	}
	#footer #yeswework {
		clear: both;
		float: right;
		margin-right: 10px;
		font-size: 9px;
	}

/*------------------------------ sitewide styles for content */
.main {
	padding: 5px;
	width: 817px;
	float: left;
	background-color: #fff;
	background-image: url(img/navbg_white.png);
	background-repeat: repeat-x;
	min-height: 500px;
}
	.main ol, .main ul, .main dl {
		margin-left:20px;
	}
	.main ol li {
		list-style: decimal outside;	
	}
	.main ul li {
		list-style: disc outside;
	}
	.main ol, .main ul {
		font-size: 13px;
		line-height: 130%;
		color: #333;
	}
	.main h2 {
		padding: 5px;
		background-image: url(img/diagonals.png);
	}
	.main h3 {
		padding: 5px;
		background-image: url(img/diagonals.png);
	}
	.main p {
		padding-left: 5px;
	}
.mainimage img {
	float: left;
	width: 282px;
}
.illustration.medium {
	max-width: 150px;
	max-height: 250px;
}
.illustration.large {
	max-width: 250px;
	max-height: 250px;
}
.illustration.full {
	max-width: 280px;
	max-height: 560px;
}

/*------------------------------ category page styles */
.featurebox {
	position: relative;
	width: 532px;
	border: 1px solid #dcdcdc;
	height: 250px;
	margin: 5px;
	padding: 5px;
	overflow: hidden;
	padding-right: 267px;
	font-size: 15px;
	background-position: bottom right;
	background-repeat: no-repeat;
}
.featurebox img, .subfeaturebox img {
	position: absolute;
	top: 5px;
	right: 5px;
}
.subfeaturebox {
	position: relative;
	float: left;
	border: 1px solid #dcdcdc;
	width: 226px;
	margin: 5px;
	padding: 5px;
	padding-right: 165px;
	height: 250px;
	overflow: hidden;
	background-position: bottom right;
	background-repeat: no-repeat;
	font-size: 13px;
}
.articlebox {
	float: left;
	border: 1px solid #dcdcdc;
	width: 250px;
	margin: 5px;
	padding: 5px;
	height: 250px;
	overflow: hidden;
	font-size: 13px;
}
.articlebox ul{
	list-style-type:none;
	margin-left:5px;
	border-top:1px dotted #CCCCCC;
}
.articlebox ul li{
	list-style-type:none;
	padding:2px 0;
	border-bottom:1px dotted #CCCCCC;
}
.articlepage, .listpage {
	padding: 10px;
}
.articlepage .post {
	float: left;
	width: 465px;
	margin-right: 30px;
}
.listpage h3 {
	background-image: none;
	margin-top: 5px;
	margin-bottom: 0px;
	padding-top: 5px;
	padding-bottom: 0px;
	border-top: 1px dotted #ccc;
	font-size: 15px;
}
.listpage blockquote {
	width:465px;
}
/*------------------------------ sidebar styles */
.sidebar {
	float: left;
	width: 282px;
	margin-bottom: 10px;
}
.metabox {
	font-size: 10px;
	float: right;
	width: 300px;
	background-color: #429f60;
	margin-right: -50px;
	margin-bottom: 10px;
	padding: 10px;
	color: #fff;
}
	.metabox a {
		color: #fff;
	}
	.metabox h4 {
		text-transform: uppercase;
		font-family: arial, helvetica, sans-serif;	
	}
	.metabox ul {
		list-style-type:none;
		border-top:1px solid #56B272;
		margin-right:6px;
	}
	.metabox ul li{
		list-style-type:none;
		padding:4px 0px;
		border-bottom:1px solid #56B272;
	}
ul.subpages {
	margin-left: 0px;
}
ul.subpages li {
	list-style-type: none;
	border-bottom: 1px solid #ececec;
	padding-bottom: 4px;
	padding-top: 4px;
}

/*------------------------------ homepage custom styles */
#homepage .featurebox {
	background-color: #579ab0;
	color:#ffffff;
	padding-right: 5px;
	width: 798px;
	background-position: right -10px;
}
#homepage .featurebox p{
	margin-bottom:5px;
}
#homepage .featurebox h2 {
	background-image:none;
	color: #ffffff;
	padding:0;
	margin-bottom:0;
}
#homepage .featurebox h3 {
	background-image:none;
	color: #ffffff;
	font-size:15px;
}
#homepage #bookfeature {
	background-image: url(img/sick-and-tired-bg.jpg);
	background-repeat:no-repeat;
}
#homepage #bookfeature h2 {
	padding-left:5px;
	margin-bottom:0;
	padding-bottom:0;
}
#homepage #bookfeature h3 {
	margin-top:0;
	padding-top:0;
}
#homepage #bookfeature blockquote {
	font-style:italic;
	width:350px;
	padding-left:10px;
	margin:10px 0 0 0;
	color: #deecf0;
}
#homepage #bookfeature img {
	position:relative;
	bottom:auto;
	right:auto;
}
#homepage #bookfeature a.buylink {
	background-image:url(img/top-right-flag.png);
	width: 50px;
	height:65px;
	padding:7px 2px 2px;
	font-family:Arial, Helvetica, sans-serif;
	text-align:center;
	font-size:10px;
	line-height:130%;
	text-transform:uppercase;
	background-repeat:no-repeat;
	float:right;
	position:relative;
	top:10px;
	right:10px;
}
#homepage #bookfeature a.buylink span{
	font-family:Georgia, "Times New Roman", Times, serif;
	font-size:15px;
	letter-spacing:1px;
}
#homepage #bookfeature a:link,
#homepage #bookfeature a:visited {
	color:#FFFFFF;
	text-decoration:none;
}
#homepage #bookfeature a:hover,
#homepage #bookfeature a:active {
	color:#000000;
	text-decoration:none;
}
#homepage #professionalfeature {
	background-color: #dbedd4;
}
#homepage #professionalfeature h3 {
	background-image: url(img/diagonals_green.png);
}
/*------------------------------ comments styles */
.comments {
	clear: both;
	position:relative;
	margin-bottom:50px;
	top:50px;
	padding:5px;
	background-color:#fafafa;
	border:1px solid #eeeeee;
}
.comments h3 {
	background-image:none;
	padding:0;
	margin-bottom:10px;
	color:#333333;
	border-bottom:1px dotted #666;
}
.comments ol {
	margin-left:40px;
}
.comments ol li {
	color:#999999;
	margin-bottom:10px;
	width:435px;
}
.comments ol li p{
	color:#333333;
	font-style:italic;
}
.comments ol li.bypostauthor,
.comments ol li.comment-author-admin {
	background-color:#ffffff;
	border:1px solid #cccccc;
	padding:5px;
}
.comments ol ul.children li {
	list-style-type:none;
	border-left: 2px solid #cccccc;
}
.comments ol ul.children li.bypostauthor {
	border:0;
	border-left: 2px solid #cccccc;
}
.comments ol li.bypostauthor p,
.comments ol li.comment-author-admin p {
	color:#000000;
	font-style:normal;
}
.comment-meta {
	font-family: arial, helvetica, sans-serif;
	font-size: 10px;
	text-transform: uppercase;
	color:#999999;
}
.comment-meta span{
	color:#666666;
}
.comments ol li.bypostauthor .comment-meta span,
.comments ol li.comment-author-admin .comment-meta span {
	color:#35a0c0;
}
.awaiting-moderation{
	background-color:#ff6600;
	padding:5px;
	border:1px solid #ff0000;
	color:#ffffff;
}
img.alignright {
	float: right;
	margin-left: 10px;
	margin-bottom: 10px;
}
img.alignleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
}