/*

Theme Name: David Stagg
Theme URI: http://www.davidstagg.com
Description: THE AMERICAN HUSTLE
Version: 3.0
Author: David Stagg
Author URI: http://www.davidstagg.com

*/


* { margin: 0; padding: 0; }
a img { border: none; }
a { outline: none; }

body {
	background: #fff url(images/container-bg-2.jpg) no-repeat fixed;
	font: 16px/1.6em Palatino, "Palatino Linotype", "Hoefler Text", Georgia, Times, Times New Roman, serif;
	color: #666;
	}

ul, ol { margin: 1em 0; padding-left: 2.5em; }
dt { margin: 0.5em 0 0; }
dd { margin: 0.25em 0 0.5em 2.5em; }

h1, h2, h3, h5, h5, h6 { font-weight: bold; color: #666; margin-bottom: 10px; } 
h1 { font-size: 36px; color: #d7c526; }
h2 { font-size: 32px; color: #d7c526; line-height: 32px; }
h3 { margin-bottom: 10px; }

h3, h3 a { font-size: 18px; font-weight: normal; text-transform: uppercase; color: #ce2c1d; text-decoration: none; }
h3 a:hover { text-decoration: underline; }

h4 { text-transform: uppercase; font-size: 16px; font-weight: bold; }
	
a { color: #000; }
a:hover { text-decoration: none; }
a:active { color: #999; }
a:visited { }

p { margin: 0 0 15px 0; }

.yellow { color: #D7C526; }

blockquote { background: transparent url(images/blockquote-bg.png) no-repeat top left; padding-left: 65px; padding-right: 15px; font-style: oblique; color: #999; }
blockquote span { display: block; text-align: right; font-size: 12px; color: #666; font-style: normal; }

code, samp, kbd { /* Thanks Perishable Press for the start! */
	font-family: "Courier New", Courier, monospace, sans-serif;
	text-align: left;
	color: #555;
	}
pre code {
	line-height: 1.6em;
	font-size: 11px;
	}
pre {
	padding: 0.1em 0.5em 0.3em 0.7em;
	background: #fff;
	border-left: 11px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin: 1.7em 0 1.7em 0.3em;
	overflow: hidden;
	width: 93%;
	}
/* target IE7 and IE6 */
*:first-child+html pre {
	padding-bottom: 2em;
	overflow-y: hidden;
	overflow: visible;
	overflow-x: auto; 
	}
* html pre { 
	padding-bottom: 2em;
	overflow: visible;
	overflow-x: auto;
	}

/* STRUCTURE */

#header {
	width: 100%;
	height: 118px;
	background: #fff url(images/header-bg.jpg) repeat-x fixed;
	position: fixed;
	top: 0;
	z-index: 999;
	}
#header h1 a, #header h2 {
	text-indent: -9999px;
	display: block;
	width: 200px;
	height: 118px;
	}

#header h1 a {
	background: #fff url(images/body-bg.jpg) no-repeat top left;
	}
#header h2 {
	background: #fff url(images/desc-home.jpg) no-repeat top right;
	position: absolute;
	top: 0;
	right: 0;
	border-bottom: none;
	margin: 0;
	padding: 0;
	}

#container {
	padding-left: 105px;
	}
	#main-content {
		background: #fff url(images/main-content-bg-blurry.jpg) no-repeat fixed 0 0;
		margin: 118px auto 0 auto;
		padding: 20px;
		width: 900px;
		}
	#left-col { width: 650px; float: left; }

		
.latest-post {
	background: transparent url(images/wax-seal.png) no-repeat bottom center;	
	padding-bottom: 90px;
	margin-bottom: 30px;
	}
	.published { text-align: center; text-transform: uppercase; letter-spacing: .5em; font-size: 14px; }
	.latest-post h2 { text-align: center; margin-bottom: 10px; }
	.latest-post h2 a { font-size: 32px; color: #d7c526; line-height: 32px; text-decoration: none; }
	.latest-post h2 a:hover { text-decoration: underline; }
	
	.thumbnail-small { float: left; margin: 0 20px 20px 0; }
	.thumbnail-caption { font: 11px/13px Palatino, "Palatino Linotype", "Hoefler Text", Georgia, Times, Times New Roman, serif; font-style: oblique; }
.storycontent .thumbnail-caption { padding-right: 20px; }

#home-posts .post, #search-results .post {
	display: block;
	width: 295px;
	float: left;
	margin: 0 30px 30px 0;
	font-size: 12px;
	line-height: 18px;
	color: #666;
	opacity: 0.6;  
	filter: alpha(opacity=60);
	-moz-opacity: 0.6;
	}
	#home-posts .post:hover {
		opacity:1;  
		filter:alpha(opacity=100);  
		-moz-opacity:1;  
		}
	
	#search-results .post {
		display: block;
		width: 100%;
		margin: 0 0 30px 0;
		font-size: 16px;
		line-height: 1.6em; 
		opacity: 1;  
		filter: alpha(opacity=100);
		-moz-opacity: 1;
		padding-bottom: 30px;
		border-bottom: 1px solid #999;
		}
		
	#home-posts .post .published { text-align: center; text-transform: uppercase; letter-spacing: .3em; font-size: 11px; margin-bottom: 6px; }
	#home-posts .post h2 { border-bottom: 1px solid #666; }
	#home-posts .post h2 a { font-size: 18px; line-height: 22px; color: #333; }
	#home-posts .post:hover h2 a { color: #d7c526; }
	#home-posts .post a { color: #333; text-decoration: none; }
	#home-posts .post a:hover { text-decoration: underline; }
	#home-posts .post:hover a.read-more-link { color: #b42017; }

h2, .post-header h2 {
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px solid #ce2c1d;
	}
	.post h2 { text-align: center; }
	.post h2 a { font-size: 32px; color: #d7c526; line-height: 32px; text-decoration: none; }
	.post h2 a:hover { text-decoration: underline; }

p.older-posts { text-align: center; }
p.older-posts a { text-transform: uppercase; letter-spacing: .3em; font-size: 14px; text-decoration: none; }
p.older-posts a:hover { text-decoration: underline; }

.categories { font: 12px/14px Palatino, "Palatino Linotype", "Hoefler Text", Georgia, Times, Times New Roman, serif; font-style: oblique; padding: 10px 0; border-top: 1px solid #cbcbcb; border-bottom: 1px solid #cbcbcb; text-align: center; }
.categories p { margin: 0; }

.author-meta { font-weight: bold; text-transform: uppercase; letter-spacing: 0.3em; font-size: 12px; }

/* RIGHT COL */

#sidebar {
	width: 230px;
	float: right;
	}
	#sidebar p, #sidebar li, #sidebar a {
		font-size: 12px;
		line-height: 18px;
		color: #999;
		}
		#sidebar a { color: #666; text-decoration: none; }
		#sidebar a:hover { text-decoration: underline; }
	#sidebar h2 {
		border: none;
		margin: 0 0 10px 0;
		padding: 0;
		}

#about-link, #twitter-link, #blogroll-link, #search-link, #quick-cuts-link {
	width: 230px;
	height: 16px;
	display: block;
	text-indent: -9999px;
	}
	#about-link { background: transparent url(images/sidebar-about.jpg) no-repeat top left; }
	#quick-cuts-link { background: transparent url(images/sidebar-quick-cuts.jpg) no-repeat top left; }
	#twitter-link { background: transparent url(images/sidebar-twittering.jpg) no-repeat top left; }
	#blogroll-link { background: transparent url(images/sidebar-blogroll.jpg) no-repeat top left; }
	#search-link { background: transparent url(images/sidebar-search.jpg) no-repeat top left; }
		#search input, .search-module input { width: 220px; padding: 3px; color: #cbcbcb; border: 1px solid #999; font-family: Palatino, "Palatino Linotype", "Hoefler Text", Georgia, Times, Times New Roman, serif; }

#blogroll ul { list-style: none; margin: 0; padding: 0; }
#blogroll li { border-bottom: 1px solid #cbcbcb; list-style: none; }
#blogroll li a { display: block; padding: 8px 0 8px 0; color: #666; }
	
#about-david, #currently-twittering, #blogroll, #search, #quick-cuts {
	width: 100%;
	margin-bottom: 25px;
	}

#footer { margin-top: 20px; }


/* Individual Pages, e.g. single.php */

.storycontent { margin-bottom: 20px; }

.audioplayer_container { margin-bottom: 18px; }

.comments-section h3 { margin-bottom: 12px; }
.comments-section ol { list-style: none; margin: 0 0 20px 0; padding: 0; }
.comments-section li { border-bottom: 1px solid #cbcbcb; list-style: none; padding: 20px 20px 4px 20px; background: #fff; font-size: 14px; line-height: 22px; }
.comments-section li.alt { background: #ebebeb; }
.comments-section li a { color: #666; }

.comments-section .avatar { float: left; margin: 0 20px 20px 0; }
.comments-section cite { font-weight: bold; }

.comments-section .comment-author { float: left; width: 100%; }
.comments-section .comment-author p { margin: 0; font-style: oblique; }
.comments-section a.comment-meta { text-decoration: none; }
.comments-section a:hover.comment-meta{ text-decoration: underline; }

/* MISC */

.wp-caption { padding: 10px; background: #ebebeb; border: 1px solid #ccc; font-size: 12px; color: #666; font-style: oblique; text-align: center; line-height: 14px; margin-bottom: 15px; }
.wp-caption img { margin-bottom: 15px; }
.wp-caption p { margin-bottom: 0; }


.gallery-item { padding: 8px; background: #ebebeb; border: 1px solid #ccc; font-size: 12px; color: #666; font-style: oblique; text-align: center; line-height: 14px; margin-bottom: 15px; width: 170px !important; margin-right: 15px; }
.gallery-caption { margin-bottom: 0; }

.piclenselink { display: none; }
.ngg-galleryoverview { margin-bottom: 20px; }

#shDisplay div#shTitle { font-family: Palatino, "Palatino Linotype", "Hoefler Text", Georgia, Times, Times New Roman, serif !important; }

/* Page Navigation on post-by-post archive */
.wp-pagenavi {
	font-size: 12px;
	color: #999;
	}
.wp-pagenavi .pages, .wp-pagenavi .current { margin-right: 5px; }
.wp-pagenavi a {
	color: #999;
	margin-right: 5px;
	padding: 2px 5px;
	text-decoration: none;
border: none;
	}
	.wp-pagenavi .current { border: 1px solid #666; color: #666; padding: 2px 4px; }
	.wp-pagenavi a:hover { text-decoration: underline; color: #666; border: 1px solid #999; padding: 2px 4px; }
	.wp-pagenavi .extend { display: none; }

.clear { clear: both; height: 0; }
.floatleft, .alignleft { float: left; margin: 0 10px 10px 0; }
.floatright, .alignright { float: right; margin: 0 0 10px 10px; }
