/*  
Theme Name: Quilt
Theme URI: http://www.wordpresslab.com
Description: Hemingway Reloaded theme by <a href="http://www.wordpresslab.com">WordpressLab</a>. Edited by Craig Baldwin.
Version: 5.0
Author: WordpressLab and Craig Baldwin
Author URI: http://www.wordpresslab.com
*/

/*-----------------------------------------------------------------------------------------------

	Original code by WordPressLab.
	Cleaned up, indented and reorganised by Craig Baldwin 2010.

-------------------------------------------------------------------------------------------------
  Global Start
-----------------------------------------------------------------------------------------------*/

* {
	margin: 0px;
	padding: 0px; }

* html #ancillary .block { margin: 0px 0px 0px 4%; }

* html #comments cite{ width: 30.6%; }

* html #primary .secondary{	margin-right: 4%; }

* html #primary.twocol-stories .story {	margin-left: 2%; }

* html #primary.twocol-stories .story { margin-left: 2%; }

body {
	background: url(http://craigbaldwin.com/images/background_dark.jpg) repeat top left #262626;
	color: #c2c2c2;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
	font-size: 11px;
	border-top: 10px solid #262626; }

/*-----------------------------------------------------------------------------------------------
  Theme elements
-----------------------------------------------------------------------------------------------*/

.clear {
	clear: both;
	font-size: 1px;
	height: 1px;
	line-height: 1px; }
	
.left {	float: left; }

.right{	float: right; }

.rule {
	border-top: 1px solid #CCCCCC;
	font-size: 1px;
	height: 1px;
	line-height: 1px;
	margin: 1.5em 0px; }
	
#errors {
	color: #FF0000;
	font-weight: bold; }
	
.hide, .print-logo, .close-button{ display: none; }

/*-----------------------------------------------------------------------------------------------
  Typographic elements
-----------------------------------------------------------------------------------------------*/

@font-face {
	font-family: 'MuseoSans500';
	src: url('fonts/MuseoSans_500.eot');
	src: local('Museo Sans 500'), 
	local('MuseoSans-500'), 
	url('fonts/MuseoSans_500.woff') format('woff'), 
	url('fonts/MuseoSans_500.otf') format('opentype'), 
	url('fonts/MuseoSans_500.svg#MuseoSans-500') format('svg'); }

h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl, fieldset, address { margin: 1em 0px; }

	h1, h2, h3, h4, h5, h6 { 
		font-family: 'MuseoSans500';
		text-shadow: 0px 1px 0px #fff; }

	h1 {
		color: #333;
		font-size: 26px;
		line-height: 0.5em;
		font-weight: 200;
		margin: 10px 0px; }

	h2, h3{
		color: #000;
		font-size: 1.15em;
		font-weight: 200; }

		h2 a { display: block; }

	h4 {
		color: #000;
		font-size: 2em;
		font-weight: 200;
		margin-top: 40px;
		line-height: 0.1em; }
		
	h6 {
		color: #000;
		font-size: 1.6em;
		font-weight: 200;
		line-height: 1.6em; }

	fieldset {
		padding: .5em; }
		
p {	line-height: 1.75em; }
		
a {	color: #000; }

	a:visited {	color: #555; }

	a img { border: none; }
	
/*-----------------------------------------------------------------------------------------------
  Other Elements
-----------------------------------------------------------------------------------------------*/
	
blockquote {
	border-left: 2px solid #CCCCCC;
	color: #CCCCCC;
	margin-left: 1em;
	padding-left: 1em; }

label.text{
	left: 0.5em;
	position: relative;
	top: -0.5em; }

pre {
	border-bottom: 1px dotted #CCCCCC;
	border-top: 1px dotted #CCCCCC;
	overflow: auto;
	padding: 1em 0px;
	width: 100%; }
	
acronym, abbr {	cursor: help; }

cite { color: #464646; }

select option {	padding: 0px 5px; }

table {
	border-spacing: 2px;
	margin: 1.5em 0px;
	width: 100%; }
	
	table th, table td {	padding: 0.3em 0.75em; }
	
		table td {
			background: #CCCCCC;
			color: #000000; }

		table th {
			background: #CCCCCC;
			color: #000000;
			text-align: left; }

	table caption {
		color: #000000;
		margin-bottom: -1em;
		margin-top: 1em;
		text-align: left; }

ul li {
	list-style-type: square;
	margin: 0.5em 0px 0.5em 2em; }
	
	li, dd { margin-left: 5%; }

/*-----------------------------------------------------------------------------------------------
  Header
-----------------------------------------------------------------------------------------------*/

#header { background: url(images/background.jpg) repeat-x top left #ffffff; }

	#header .inside{ padding: 3em 0px; }

		#header h2 {
			border-right: 1px solid #808080;
			float: left;
			font-size: 2.25em;
			margin: 0px 0.5em 0px 0px;
			padding: 0px 0.5em 0.25em 0px; }
		
			#header h2 a {
				color: #000000;
				text-decoration: none; }
		
		#header p {
			line-height: 1em;
			margin: 0px;
			padding: 1em 0px; }
			
		#header li {
			list-style: none;
			display: inline;
			z-index: 5; }
		
		#header a {
			color: #000000;
			font-size: 1.15em;
			font-weight: normal;
			text-decoration: none; }
			
		#dot_box {
			position: absolute;
			top: 10px;
			z-index: 1; }
		
			#dot {
				background: url(images/dot.png) no-repeat;
				position: relative;
				width: 150px;
				height: 75px;
				left: 1010px; }
		
				#dot a {
					display: block;
					width: 150px;
					height: 80px; }
					
		.description { color: #262626; }

/*-----------------------------------------------------------------------------------------------
  Primary (Post contents, secondary class is information)
-----------------------------------------------------------------------------------------------*/

#primary {
	background: #FFFFFF;
	color: #262626;
	padding:1px 0 2em 0; }
	
	#primary.onecol-stories .primary {
		float: left;
		width: 50%; }
		
	#primary.onecol-stories .secondary {
		float: right;
		margin: 0 0 0 10%;
		width: 40%; } 
	
	#primary.twocol-stories .story {
		float: left;
		width: 48%;
		margin: 0 0 0 4%;
		display: inline; }	
	
		#primary.twocol-stories .first, * html #primary.twocol-stories .first { margin: 0 0 0 0; }
	
	#primary h2 { color: #000; }
	
	/* This class sets the width and position for all rows */
	.inside {
		width: 1160px;
		min-width: 65em;
		max-width: 1160px;
		margin:0 auto; }
	
		/*Post contents*/
		#primary .primary {
			float: right;
			width: 900px; }	
			
			.primary a:hover { 
				background: #ebebeb;
				color: #000; }
			
		/*Post information*/
		#primary .secondary {
			display: inline;
			float: right;
			margin-right: 5%;
			padding-top: 0.65em;
			width: 200px; }
	
			#primary .secondary .admin-tools { margin: 1em 0; }
	
			.secondary .information p {
				border-bottom: 1px solid #ccc;
				border-top: 1px solid #ccc;
				line-height: 1.5em;
				margin: 1em 0px 0px 0px;
				padding: 0.5em 0px 0.6em 0px; }
				
			.secondary .information dl {
				border-bottom: 1px solid #ccc;
				margin: 0px;
				padding: 0.5em 0px 0.6em 0px; }
			
				.secondary dd {
					display: inline;
					margin: 0px;
					padding: 0px; }
				
					.secondary dd a { color: #262626; }
					
						.secondary dd a:hover {	color: #000; }
			
				.secondary dt {
					color: #262626;
					display: inline;
					margin: 0px;
					padding: 0px; }
	
		/*Homepage article titles*/
		.story h3 {
			color: #666666;
			font-size: 1.15em;
			font-weight: normal;
			margin: 0px 0px 1.5em 0px; }
		
			.story h3 a {
				border-bottom: 1px dotted #666666;
				color: #333333;
				text-decoration: none; }
				
		.story .details {
			margin: 1em 0;
			text-align: right;
			border-top: 1px solid #ccc;
			padding: 0.5em 0;
			font-size: 0.95em;
			color: #4D4D4D; }
			
			.story .details .read-on {
				background: url(../images/readon_black.gif) 100% 60% no-repeat;
				padding-right: 20px; }
			
			.story .details a {
				color: #4D4D4D;
				text-decoration: none; }
			
				.story .details a:hover { color: #000; }		
		
		/*Page (about, adverts) titles*/
		.single-post h1, .single-post h2 { margin-top: 0px; } 
	
/*-----------------------------------------------------------------------------------------------
  Secondary (ID is comments section)
-----------------------------------------------------------------------------------------------*/

#secondary {
	background: #F3F3F3;
	border-top: 1px solid #E3E3E3;
	padding: 1px 2em; }
	
	.comment-head {
		border-bottom: 1px solid #E3E3E3;
		padding: 0.8em 2em 1.0em 2em; }
	
		.comment-head .details { font-size: 0.95em; }
			
			.comment-head h2 {
				font-size: 1.5em;
				margin: 0px; }
		
			.comment-head a {
				color: #868686;
				text-decoration: none; }

	#comment-form {
		margin: 3em 0px 7em 35.4%;
		width: 393px;
		color: #464646; }

		#comments .content {
			border-left: 1px solid #868686;
			float: left;
			margin-left: 1.9%;
			padding: 0px 0px 0px 2%;
			width: 600px;
			color: #464646; }
			
			#comments .content h3 {
				font-size: 1em;
				margin: 0px; }

			#comments .content p { margin: 0px 0px 1em 0px; }

	#comments .pingback cite .author{
		background: url(../images/trackback_pingback.gif) 100% 0 no-repeat;
		display: block;
		padding-top: 68px; }
	
	#comments cite{
		float: left;
		font-style: normal;
		text-align: right;
		width: 31%; }
	
		#comments cite .admin-tools{ margin: 5px 0px; }
	
			#comments cite .admin-tools a{
				background: #666666;
				border: 1px solid #999999;
				float: right;
				margin: 0px 5px;
				padding: 0px 3px 3px;
				text-decoration: none; }
	
		#comments cite .author { font-size: 1.2em; }
		
		#comments cite .author a { text-decoration: none; }
		
		#comments cite span { display: block; }
	
	.formactions .spinner {
		float: right;
		margin: -8px -20px 0px 0px; }
	
	.formactions input.submit {
		background-color: #CCCCCC;
		border: 1px solid #868686;
		float: right;
		margin: 5px 0px 0px 0px;
		padding: 0px 0.5em; }
		
	input.textfield, textarea{
		background-color: #F8F8F8;
		border: 1px solid #868686;
		margin: 5px 0px;
		width: 15em; }
		
		textarea.commentbox {
			font-family: Arial, Helvetica, sans-serif;
			font-size: 1.25em;
			height: 12em;
			margin: 5px 0px;
			padding: 0.25em;
			width: 28em; }
		
	ol#comments{
		list-style-type: none;
		margin: 2em 0px; }
	
		ol#comments li{
			list-style-type: none;
			margin: 2em 0px; }
		
	#commentluv { 
		position: relative;
		float: left;
		top: -17px; }

/*-----------------------------------------------------------------------------------------------
  Ancillary Items (About, recently, categories)
-----------------------------------------------------------------------------------------------*/

#ancillary { padding: 2em 0px 0px 0px; }

	#ancillary h2 {	
		color: #ebebeb;
		text-shadow: 0px 0px 0px #262626; }
	
	#ancillary a { color: #c2c2c2; }
	
		#ancillary a:hover { color: #fff; }

	#ancillary .block{
		float: left;
		margin: 0px 0px 0px 5%;
		width: 30%; }

	#ancillary .block h2, #ancillary .block h3{	margin: 0px 0px 2em 0px; }

	#ancillary .block-separator {
		clear: both;
		height: 2.5em; }

	#ancillary .first, * html #ancillary .first {
		clear: both;
		margin: 0px; }

	#ancillary .thrice-length { width: 100%; }
	
	#ancillary .twice-length { width: 65%; }
	
	#ancillary ul.dates a:hover, #ancillary ul.dates a:hover .date, #ancillary ul.counts a:hover, #ancillary ul.counts a:hover .count { color: #fff; }
	
	ul.dates, ul.counts {
		border-top: 1px solid #C2C2C2;
		list-style-type: none;
		margin: 1.5em 0px; }
		
		ul.dates a, ul.counts a {
			color: inherit;
			color: #404040;
			text-decoration: none; }
			
			ul.dates a:hover, ul.dates a:hover .date, ul.counts a:hover, ul.counts a:hover .count { color: #000; }
			
		ul.dates li, ul.counts li {
			border-bottom: 1px solid #C2C2C2;
			list-style-type: none;
			margin: 0px;
			padding: 0.5em 0px; }
	
		ul.counts .count {
			color: #7A7A7A;
			float: right; }	
		
		ul.dates .date {
			color: #7A7A7A;
			padding: 0px 1.5em 0px 0px; }

/*-----------------------------------------------------------------------------------------------
  Footer
-----------------------------------------------------------------------------------------------*/

#footer {
	clear: both;
	color: #6C6C6C;
	margin: 5em 0px 50px 0px; }

	#footer p {
		font-size: 0.95em;
		margin: 0px; }

		#footer p.attributes { float: right; }

			#footer p.attributes a {
				color: #ffa800;
				padding: 0px 0px 0px 1em;
				text-decoration: none; }

				#footer p.attributes a:hover{ color: #fff; }

		#footer p.copyright {
			float: left;
			color: #c2c2c2; }
		
			#footer p.copyright a {	color: #c2c2c2; }
			
				#footer p.copyright a:hover { color: #fff; }

#footer_base { height: 30px; }

/*-----------------------------------------------------------------------------------------------
  Live Search
-----------------------------------------------------------------------------------------------*/

#live-search {
	-moz-opacity: 0.4;
	position: absolute;
	text-align: right;
	top: 49px;
	left: -835px;
	width: 100%; }

	#live-search:hover { -moz-opacity: 1.0; }

#preview {
	border: 1px solid #CCCCCC;
	margin: 1em 0px;
	padding: 0.5em; }

	#preview p { margin: 1em 0px 0px 0px; }
	
#search .spinner {
	padding: 0px 0px 5px 0px;
	text-align: right; }

#search img {
	left: -5px;
	margin-top: 2px;
	position: relative;
	top: 0.25em; }

	#search img.archives-icon {
		margin: 0px 7px 0px 0px;
		top: 1px; }

#search input {
	background-color: #F8F8F8;
	border: 1px solid #868686;
	font-size: 0.85em;
	margin-top: 2px;
	width: 175px; }

	#search input:focus { background: #FFFFFF; }

#search-results {
	background: #CCCCCC;
	border-top: 1em solid #000000;
	float: right;
	-moz-opacity: 0.9;
	padding: 0px 0px 0px 0px;
	width: 30%; }

	#search-results h3 {
		background: #FFFFFF;
		font-weight: bold;
		margin: 0px;
		padding: 0px 0px 1em 0px;
		text-align: left; }
		
	#search-result ul {	margin: 0px; }
	
		#search-results ul li {
			list-style-type: none;
			margin: 0.5em 0px;
			padding: 0px 1em 0.5em 1em; }
		
			#search-results ul li a {
				border-bottom: 1px dotted #CCCCCC;
				text-decoration: none; }
		
				#search-results ul li:hover { background: #202020; }

	#search-results small {
		border-bottom: 1px solid #555555;
		border-top: 1px solid #666666;
		display: block;
		font-size: 0.9em;
		padding: 0.5em 1em 0.7em 1em;
		text-align: left; }

	#search-results small a { color: #CCCCCC; }

/*-----------------------------------------------------------------------------------------------
	Added elements
-----------------------------------------------------------------------------------------------*/

.thumbnails_post { margin-bottom: 15px; }

.featured, #featured {
	background: #eee;
	width: 600px;
	padding: 4px 0px 3px 10px; }

	.featured h4 { line-height: 0.1em; }

.weekinlinks h4, .post h4 {
	margin-top: 40px;
	line-height: 0.1em; }
	
.weekinlinks p, .post p { width: 600px; }

.adverts { 
	position: relative;
	margin-top: 20px; }

	.about_adverts a {
		position: relative;
		top: -6px;
		color: #c2c2c2; }
	
		.about_adverts a:hover { color: #333333; }