/*
Theme Name: RedFail
Theme URI: http://stevenbenner.com/
Description: Custom designed WordPress theme for the stevenbenner.com web site.
Version: 1.1
Author: Steven Benner
Author URI: http://stevenbenner.com/
Tags: red, gray, custom header, fixed width, two columns, widgets, round corners
*/

* {
	border: 0;
	margin: 0;
	padding: 0;
}

/** HTML ELEMENTS **/
body {
	background-color: #132329;
	background-image: url(images/background_gradient.png);
	background-position: top left;
	background-repeat: repeat-x;
}
a, a:link, a:active, a:visited {
	color: #085982;
	text-decoration: none;
}
a:hover {
	color: #C00;
	text-decoration: underline;
}
h1, h2, h3 {
	font-weight: normal;
}
h1 a:hover, h2 a:hover {
	text-decoration: none;
}
h1 {
	margin: 5px 0;
	font-size: 30px
}
h2 {
	margin-bottom: 10px;
	padding-bottom: 10px;
	font-size: 26px;
	border-bottom: 1px dotted #A6AFB3;
}
h2 a, h2 a:link, h2 a:visited {
	color: #000;
}
h3 {
	font-size: 20px;
	margin: 30px 0 10px 0;
}
.post h3 {
	border-bottom: 1px solid #CCC;
	padding-bottom: 4px;
}
h4 {
	font-size: 15px;
	margin-bottom: 5px;
}
h5 {
	margin-bottom: 5px;
}
blockquote {
	background-color: #DCDCDC;
	font-style: italic;
	margin: 0 30px 10px;
	padding: 14px 15px 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}
dl {
	margin-left: 30px;
}
dt {
	font-weight: bold;
}
label {
	display: block;
}
input, textarea, select {
	border: 1px solid #5F9EA0;
	padding: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
input:focus, textarea:focus {
	border-color: #802A2A;
}

/** COMMON CLASSES **/
.navigation {
	overflow: hidden;
}
.alignleft, .alignright {
	width: 49%;
}
img.alignleft, img.alignright {
	width: auto;
}
img.alignleft {
	margin: 0 10px 10px 0;
}
img.alignright {
	margin: 0 0 10px 10px;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
	text-align: right;
}
.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	border: 1px solid #CCC;
	background-color: #EEE;
	padding: 6px;
	text-align: center;
	margin: 0 10px 10px;
}
.wp-caption p {
	margin-bottom: 0 !important;
	background-color:#FFFAF0;
	border:1px solid #CCC;
	margin-top:6px;
}

/** PAGE WRAPPER **/
#wrapper {
	width: 980px;
	margin: 20px auto;
	font-family: arial,helvetica,sans-serif;
	font-size: 14px;
	background-color: #FFF;
	-moz-box-shadow: 0 0 10px #000;
	-moz-border-radius: 15px;
	-webkit-box-shadow: 0 0 10px #000;
	-webkit-border-radius: 15px;
}

/** HEADER AND FOOTER **/
#header, #footer {
	background-image: url(images/bg_headerfooter.jpg);
	background-repeat: no-repeat;
}

/** HEADER **/
#header {
	background-color: #601C1B;
	height: 60px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	padding: 20px;
	position: relative;
}
#header a {
	color: #FFF;
}
#header p {
	color: #FAEBD7;
}
#categories, #pages {
	position: absolute;
	width: 100%;
	left: 0;
}
#categories {
	top: 3px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: bold;
}
#pages {
	top: 68px;
}
#categories ul, #pages ul {
	padding-right: 10px;
}
#categories li {
	margin-left: 0;
}
#header ul {
	list-style-type: none;
	float: right;
}
#header li {
	float: left;
	margin-left: 4px;
}
#categories a, #pages a {
	display: inline-block;
	padding: 8px 10px 7px;
}
#categories a:hover, #pages a:hover {
	background-color: #008B8B;
	text-decoration: none;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/** FOOTER **/
#footer {
	clear: both;
	padding: 15px 20px 20px 0;
	background-color: #3A3A3A;
	color: #AAA;
	border-top: 1px solid #132329;
	margin-top: 20px;
	-moz-border-radius-bottomleft: 7px;
	-moz-border-radius-bottomright: 7px;
	-webkit-border-bottom-left-radius: 7px;
	-webkit-border-bottom-right-radius: 7px;
	overflow: hidden;
	background-position: 0 -101px;
}
#footer h3 a {
	color: #AAA;
}
#footer .widget {
	float: left;
	width: 300px;
	margin-left: 20px;
}
#footer ul {
	list-style-type: none;
}
#footer a {
	color: #C3B59E;
}
#footer a:hover{
	text-decoration: none;
}

#sub-footer {
	margin: 0 auto;
	overflow: hidden;
	width: 950px;
	font-family: verdana,helvetica,sans-serif;
	font-size: 11px;
	color: #666;
	padding: 10px 0 30px;
}
#sub-footer-cite {
	float: right;
	text-align: right;
	width: 350px;
}
#copyright {
	float: left;
	text-align: left;
	width: 415px;
}
#copyright-image {
	float: left;
	text-align: left;
	width: 110px;
}
#copyright-image img {
	margin: 4px;
	-moz-box-shadow: 0 0 3px #AAA;
	-webkit-box-shadow: 0 0 3px #AAA;
}

/** PAGE CONTENT **/
#content {
	overflow: hidden;
	background-image: url(images/bg_content.png);
	background-repeat: repeat-y;
	clear: both;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
}
#content p, #content li, #content pre, #content dl, #content dd, #content table {
	margin-bottom: 10px;
	line-height: 20px;
}
#content table {
	border: 1px solid #CCC;
	border-collapse: collapse;
	width: 100%;
}
#content th, #content td {
	padding: 4px;
	text-align: left;
}
#shadow {
	display: block;
	height: 4px;
	background-image: url(images/shadow.png);
}
#content-main {
	float: left;
	width: 665px;
	padding: 20px 0 20px 20px;
}

/** POST STYLES **/
.home .post {
	margin-bottom: 40px;
}
.postmetadata {
	font-size: 11px;
	color: #666;
	overflow: hidden;
}
.post-meta-info {
	display: inline-block;
	width: 560px;
	float: left;
}
.post-comment-link {
	float: right;
	display: inline-block;
	text-align: right;
	width: 100px;
}
.more-link, .more-link:link, .more-link:active, .more-link:visited {
	text-decoration: underline;
/*
	color: #3151A2;
	font-weight: bold;
*/
}
.post ul, .post ol {
	margin-left: 30px;
}
.post-thumbnail {
	float: left;
	margin: 5px 10px 10px 0;
}

/** COMMENTS **/
ol.commentlist {
	list-style-type: none;
	margin-left: 0;
}
.comment, .pingback {
	background-color: #F9F9F5;
	border-bottom: 1px solid #CCC;
	border-top: 1px solid #CCC;
	margin-bottom: 20px !important;
	padding: 15px 10px 10px;
	position: relative;
}
.bypostauthor {
	background-color: #F9F8EC;
}
.avatar {
	background-color: #FFF;
	border: 1px solid #CCC;
	left: 10px;
	padding: 3px;
	position: absolute;
	top: 15px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-box-shadow: 0 0 5px #DDD;
	-webkit-box-shadow: 0 0 5px #DDD;
}
.fn {
	font-style: normal;
}
.comment-author, .comment-meta, .comment p, .pingback p {
	margin-left: 50px;
}
.comment ul, .comment ol {
	margin-left: 80px;
}
.comment-author {
	font-size: 18px;
}
.comment-meta {
	border-bottom: 1px dotted #CCC;
	color: #666;
	font-size: 11px;
}
.comment-meta a {
	color: #666;
}
.comment p, .pingback p {
	margin-top: 5px;
}
.page .nocomments {
	display: none;
}
#respond {
	background-color: #F8F8FF;
	border: 1px solid #CCC;
	margin-top: 20px;
	padding: 0 20px 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}
#commentform textarea {
	font-family: arial,helvetica,sans-serif;
	font-size: 14px;
	width: 615px;
}

/** SIDEBAR **/
#sidebar {
	float: right;
	width: 275px;
}
#sidebar ul, #sidebar p {
	padding: 0 10px;
}
#sidebar h3 {
	padding: 13px 10px 10px 10px;
	color: #333;
	background-color: #A6AFB3;
	margin-bottom: 10px;
	font-size: 16px;
	background-image: url(images/bg_navheading.png);
}
#sidebar h3 a {
	color: #333;
}
#sidebar ul {
	list-style-type: none;
}
.widget {
	margin-bottom: 20px;
	padding: 0;
}
.widget p, .widget li {
	margin-bottom: 5px;
}

/** ICONS **/
#header-subscribe-link, #footer-twitter-link, #footer-rss-link{
	background-image: url(images/icons.png);
	background-repeat: no-repeat;
}
a#header-subscribe-link {
	background-position: right -121px;
	padding: 8px 28px 7px 10px;
}
#footer-twitter-link, #footer-rss-link {
	margin-left: 30px;
	padding-left: 36px;
	height: 32px;
	display: inline-block;
	line-height: 32px;
}
#footer-twitter-link {
	background-position: 0 -64px;
}

/** SOCIAL LINKS **/
#social-links p {
	font-weight: bold;
	margin-bottom: 20px;
	padding-top: 20px;
}
#social-links ul {
	list-style-type: none;
	overflow: hidden;
	margin-left: 0;
}
#social-links li {
	float: left;
	text-align: center;
}
#social-links a {
	background-image: url(images/icons.png);
	background-repeat: no-repeat;
	display: block;
	padding-top: 32px;
	width: 102px;
	margin-right: 10px;
}
.twitter-link {
	background-position: center -64px;
}
.stumbleupon-link {
	background-position: center -176px;
}
.digg-link {
	background-position: center -240px;
}
.delicious-link {
	background-position: center -304px;
}
.reddit-link {
	background-position: center -368px;
}
.facebook-link {
	background-position: center -432px;
	margin-right: 0 !important;
}

/** WIDGET SPECIFIC **/
.widget_search {
	padding: 10px 10px 0 10px;
	margin-bottom: -10px;
}
#s {
	width: 160px;
}
.widget_tag_cloud div {
	padding: 0 10px;
}
/* Twitter Widget Pro */
.entry-meta {
	font-size: 11px;
	display: block;
}
.entry-meta  a {
	color: #666 !important;
}
.from-meta {
	display: none;
}
/* SyntaxHighlighter Evolved */
#content-main .syntaxhighlighter, #content-main .syntaxhighlighter code  {
	font-size: 12px !important;
}
/* WP-PageNavi */
.wp-pagenavi {
	overflow: hidden;
	margin-bottom: 30px;
	text-align: center;
}
.search .wp-pagenavi, .archive .wp-pagenavi {
	margin-top: 40px;
}
.wp-pagenavi a, .wp-pagenavi .current, #submit, .wpcf7-submit, #searchsubmit, #goog-wm-sb {
	background-color: #800;
	background-image: url(images/button_bg.png);
	background-repeat: repeat-x;
	border-bottom: 1px solid rgba(0, 0, 0, 0.25);
	color: #FFF;
	display: inline-block;
	font-size: 12px;
	font-weight: bold;
	line-height: 12px;
	margin-bottom: 3px;
	margin-right: 5px;
	padding: 5px 10px;
	text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
	-moz-border-radius: 3px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
	-webkit-border-radius: 3px;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
#submit, .wpcf7-submit, #searchsubmit, #goog-wm-sb {
	background-color: #347C2C;
	cursor: pointer;
	font-size: 13px;
}
#searchsubmit {
	padding: 2px 7px;
}
/*
a.more-link {
	background-color: #069;
	font-size: 13px;
	line-height: 13px;
	margin-bottom: 15px;
}
*/
#submit:hover, .wpcf7-submit:hover, #searchsubmit:hover, #goog-wm-sb:hover {
	background-color: #4CAF41;
}
/* google search 404 */
#goog-wm-qt {
	margin-right: 5px;
}
/*
a.more-link:hover {
	background-color: #3180B4;
	text-decoration: none;
}
*/
.wp-pagenavi a:hover {
	background-color: #B22222;
	text-decoration: none;
}
.wp-pagenavi .current {
	background-color: #434343;
}
.wp-pagenavi .pages {
	display: none;
}
/* Twitter JavaScript Widget */
#footer .tweet_even, #footer .tweet_odd {
	margin-bottom: 20px;
	line-height: 20px;
}
.tweettime {
	display: none;
}
/* Contact Form */
.wpcf7-validation-errors {
	border: 3px solid #EDEF0E;
	margin-right: 50px;
	padding: 5px;
	text-align: center;
}
.wpcf7-not-valid-tip-no-ajax {
	color: #F00;
	margin-left: 5px;
}