/*
Theme Name: How to Hit a Curveball
Theme URI: http://www.hitacurveball.com/
Version: 1.0
Author: Diane Clayton for Steinhardt Design
Author URI: http://www.steinhardtdesign.com/
*/




/* Initialize
------------------------------------------------------------------------ */

* {
	margin: 0;
	padding: 0;
	}
	
html, body {
	height: 100%;
	}
body {
	background: #2d2d2d url("http://www.hitacurveball.com/wordpress/wp-content/themes/hitacurveball/images/bg-body.jpg") repeat-x top left;
	text-align: center;
	min-width: 860px;
	}

#wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	}


/* White box with red border 
------------------------------------------------------------------------ */

#contentbox {
	position: relative;
	margin: 30px auto 0 auto;
	width: 840px;
	border: 17px solid #d2232a;
	background-color: #fff;
	}

#distance {
	width: 1px;
	height: 50%;
	margin-bottom: -340px;
	float: left;
	}
#contentbox-home {
	position: relative;
	margin: 20px auto 0 auto;
	width: 840px;
	height: 620px;
	overflow: hidden;
	clear: left;
	border: 17px solid #d2232a;
	background-color: #fff;
	}



/* Top (and Bottom on Homepage)
------------------------------------------------------------------------ */

#top {
	position: relative;
	width: 840px;
	height: 215px;
	background-color: #d2232a;
	}
#top h1 {
	display: none;
	}
#top h2 {
	height: 215px;
	background: #d2232a url("http://www.hitacurveball.com/wordpress/wp-content/themes/hitacurveball/images/subtitle-author.jpg") no-repeat top left;
	}
#top h2#home-subtitle {
	background: url("http://www.hitacurveball.com/images/subtitle.jpg") no-repeat top left;	
	}
#bottom h2#home-authors {
	height: 190px;
	background: url("http://www.hitacurveball.com/images/authors.jpg") no-repeat top left;	
	}
	
#top h2 span, #bottom h2 span {
	display: none;
	}




/* Red Bar 
------------------------------------------------------------------------ */

#redbar {
	position: relative;
	width: 840px;
	height: 215px;
	background-color: #d2232a;		/* red */
	}

/* title ----------------------------------------------- */

#title {
	position: absolute;
	top: 0;
	left: 0;
	height: 215px;
	width: 470px;
	}


/* menu ------------------------------------------------ */

#menu {
	position: absolute;
	top: 20px;
	right: 30px;
	width: 380px;
	height: 175px;
	z-index: 3;
	text-align: right;
	}
#menu p {
	font: 26px/34px 'Arial Narrow';
	font-weight: 100;
	color: #e3575d;
	white-space: nowrap;
	}

#menu a:link, #menu a:visited {
	color: #e3575d;
	text-decoration: none;
	}
#menu a:hover, #menu a:active {
	color: #ebabae;
	}


/* Content Area 
------------------------------------------------------------------------ */

#content {
	width: 760px;
	margin: 40px;
	text-align: left;
	}


/* Feature Image and Blog Sidebar 
------------------------------------------------------------------------ */

#featureimage, #sidebar {
	width: 275px;
	float: left;
	text-align: left;
	}




/* Text Layout and Styles
------------------------------------------------------------------------ */

#text {
	width: 450px;
	float: right;
	}


/* links ------------------------------------------------- */

#content a:link, #content a:visited {
	position: relative;		/* IE8 no background bug */
	color: #d2232a;
	}
#content a:hover, #content a:active {
	background-color: #d2232a;
	color: #fff;
	text-decoration: none;
	}


/* headers, paragraphs, lists ---------------------------- */

#text h1 {
	color: #d2232a;
	font: 26px/28px Arial, Sans-Serif;
	margin: 0 0 20px 0;
	letter-spacing: -1px;
	}

#text h2 {
	font: 20px/24px Arial, Sans-Serif;
	letter-spacing: -1px;
	text-transform: uppercase;
	color: #d2232a;
	margin: 30px 0 0 0;
	}
#text h3, #text h4 {
	font: 18px/20px Arial, Sans-Serif;
	color: #999;
	margin: 4px 0 15px 0;
	}

#text h4 {
	margin: 30px 0 15px 0;
	}

#text p, #text ul {
	font: 14px/20px Arial, Sans-serif;
	color: #333;
	margin: 15px 0;
	}


#text ul.nobullet {
	list-style-type: none;
	}
#text ul.nobullet li {
	margin: 5px 0;
	}
#text li span {
	text-transform: uppercase;
	font-weight: bold;
	}

#text p.question {
	font: italic 17px/20px Palatino, Serif;
	margin-top: 25px;
	}
#text p.question span {
	font-style: normal;
	font-size: 16px;
	}
	

/* quotations ------------------------------------------- */

#text .quote {
	margin-left: 12px;
	text-indent: -12px;
	}
#text .quote span {
	color: #666;
	font: 20px/20px 'Times New Roman', Serif;
	padding-right: 2px;
	}
#text .credit {
	margin: -10px 0 20px 27px;
	text-indent: -14px;
	font-size: 12px;
	line-height: 16px;
	}
#text .credit span {
	color: #d2232a;
	text-transform: uppercase;
	font: bold 14px/16px 'Arial Narrow', San-Serif;
	}

#text blockquote p {
	font: 12px/18px Arial, Sans-Serif;
	margin: 15px 50px 15px 30px;
	}




/* additional styles ------------------------------------- */


#content .bottommargin30 {
	margin-bottom: 30px;
	}

#content .topmargin30 {
	margin-top: 30px;
	}
	
#content .bottommargin50 {
	margin-bottom: 50px;
	}

#content .topmargin5 {
	margin-top: 5px;
	}

#content div.borderbox {
	padding: 10px 20px;
	border: 1px dashed #d2232a;
	background-color: #eee;
	}


/* Blog Styles
------------------------------------------------------------------------ */

#content div.blogposts h1 {
	margin-bottom: 0;
	}
	
#content div.blogposts h1 a:link, #content div.blogposts h1 a:visited {
	text-decoration: none;
	}

#sidebar {
	font: 14px/20px Arial, Sans-serif;
	color: #333;
	}
	
#sidebar h4 {
	font: 17px/20px Arial, Sans-Serif;
	color: #888;
	margin: 25px 0 0 0;
	}

#sidebar ul {
	list-style-type: none;
	}

#sidebar input {
	margin: 5px 0;
	}

#content div.blogposts li {
	font: 14px/20px Arial, Sans-serif;
	margin-left: 25px;
	}

#content div.blogposts li p {
	font: 12px/16px Arial, Sans-serif;
	margin: 8px 0;
	}


/* Clear the floats in content box so white bg extends to bottom
------------------------------------------------------------------------ */

.floatclear {
	height: 1px;
	clear: both;
	width: 100%;
	}


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

#footer {
	position: relative;
	width: 800px;
	margin: 20px auto 0 auto;
	padding-bottom: 30px;
	}
#footer p {
	font: 12px/18px Arial, Sans-Serif;
	color: #555;
	text-align: center;
	}
#footer a:link, #footer a:visited {
	color: #666;
	text-decoration: none;
	border-bottom: 1px dotted #999;
	}
#footer a:hover, #footer a:active {
	color: #999;
	border-bottom: 1px solid #999;
	}
