/**
  Theme Name: Dave Weston Junior
  Theme URI: http://www.davewestonjunior.com/
  Version: 1.0
  Author: Pete Hawkins
  Author URI: http://www.phawk.co.uk/
  Tags: custom, valid XHTML, valid CSS, dwj, rally, dave weston junior, motorsport
  Licence: LGPL
  
  Description: A custom theme for Dave Weston Junior

  The CSS that follows is the bare minimum of styling for a two column, fixed width and centred layout that should be
  consistent in 'modern browsers'
*/

/* General Styles */
body{
	margin: 0;
	background: url(img/pagebg.jpg) top center no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}

#wrap{ width: 960px; margin: 0 auto; }

a{ color: #000; }
a:hover{ color: #67bf0d; text-decoration: none; }


#content #sidebar{
	float: left;
	width: 209px;
	background: url(img/sidebar.gif) top left no-repeat;
	padding: 20px;
	min-height: 870px;
	color: #fff;
}
#content .main{ 
	margin-left: 250px;
	padding: 20px 30px;
	background: url(img/1white.png);
	min-height: 870px;
}

#content .main .left{
	float: left;
	width: 300px;
}
#content .main .right{
	margin-left: 350px;
}

#content h2{
	margin: 0 0 20px 0;
	letter-spacing: -0.05em;
	font-size: 2em;
	color: #67bf0d;
}
h2.postTitle a{
	color: #67bf0d;
	text-decoration: none;
}

#content h3{
	margin: 0 0 20px 0;
	letter-spacing: -0.05em;
	font-size: 1.125em;
	color: #000;
}

#content p{
	margin: 12px 0 24px 0;
	font-size: 1em;
	line-height: 1.5em;
}

/* Main Navigation */
#header{
	padding: 0;
}

#header ul{
	background: #000;
	padding: 10px 20px;
}
#header ul li{
	display: inline-block;
	margin-right: 5px;
	height: 26px;
}

#header ul li a{
	display: block;
	padding: 5px 10px;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
}
#header ul li a:hover{ background: #8ce234; }
#header ul li.current_page_item a{
	background: #8ce234; 
	color: #000;
}

#header h1{
	background: url(img/logo.gif) top left no-repeat;
	height: 144px;
	text-indent: -10000px;
	margin: 7px 0;
}

#flash-head{
	margin: 7px 0;
}


li.postWrapper{
	padding: 0 0 30px 0;
	margin: 0 0 30px 0;
	border-bottom: solid 1px #e7e7e7;
}


/* Post Styling */
.post{ padding: 15px 0 0 0; }
.post h2, h3{
	font-size: 16px;
	font-weight: bold;
	color: #7e7b8a;
	letter-spacing: 0;
	margin: 15px 0 5px 0;
}
.post h2{
	color: #ee7500;
	font-size: 20px;
	letter-spacing: -1px;
}
.post a img, .post img.lrg{
	border: solid 5px #efefef;
	margin: 10px 0 20px 0;
}
.post a:active{ background: none; }
.post .readmorelink{
	margin-bottom: none;
}
.post p.readmorelink a{
	
	font-size: 16px;
	text-decoration: underine;
}
.post p.readmorelink a:hover{
	
}

/* Meta Data */

.details-sm{
	font-size: 12px;
	margin: 0 0 20px 0;
}
.details-sm .comments{ background: url(img/icons/comments.png) top left no-repeat; padding: 1px 10px 0 22px; }
.details-sm .category{ background: url(img/icons/category.png) top left no-repeat; padding: 1px 10px 0 22px; }
.details-sm .date{ background: url(img/icons/clock.png) top left no-repeat; padding: 1px 10px 0 22px; }
.details-sm .author{ background: url(img/icons/author.png) top left no-repeat; padding: 1px 10px 0 22px; }


.about-author{
	margin: 0 0 20px 0;
	padding: 20px;
	color: #7e7b8a;
	background: #fbf6e8;
	border: solid 1px #e8dec0;
	min-height: 80px;
}
.about-author a{ color: #59575f; text-decoration: none; }
.about-author a:hover{ color: #ee7500; text-decoration: underline; }
.about-author img.avatar {
	float: left;
	margin: 0 20px 0 0;
}
.about-author p{
	margin: 0;
}

/* Heading styles */
#content h1.postTitle{
color:#59575F;
font-size:24px;
letter-spacing:-1px;
line-height:1.2em;
margin:0 0 10px;
}

#content h1.postTitle a{
color:#59575F;
text-decoration: none;
}
#content h1.postTitle a:hover{
color:#7e7b8a;
text-decoration: none;
}


/* Sidebar styles */
#sidebar li{
	padding: 0;
	margin: 0 0 30px 0;
}

#sidebar h2{
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: bold;
	padding: 0 0 10px 0;
	margin: 0;
}

#sidebar li h2 a{
	text-decoration: none;
	color: #fff;
}
#sidebar li ul{
	padding: 0;
	margin: 0;
	border-top: solid 1px #262626;
}
#sidebar li ul li{
	padding: 0;
	margin: 0;
	display: block;
	border-bottom: solid 1px #262626;
	font-size: 12px;
}
#sidebar li ul li a{
	color: #dfdfdf;
	text-decoration: none;
	display: block;
	padding: 8px 0;
}
#sidebar li ul li a:hover{
	text-decoration: underline;
}


/* Comment styles*/
#commentarea{
	background: #efefef;
	border: solid 1px #d7d7d7;
	padding: 30px;
	margin: 30px 0;
}

h3#comments{
	margin: 0 0 20px 0;
	padding: 0;
	font-size: 18px;
}

#commentarea ol li{
	padding: 0 0 20px 0;
	margin: 0 0 20px 0;
	border-bottom: solid 1px #d7d7d7;
}
#commentarea ol li img{
	float: left;
	margin: 0 10px 0 0;
	width: 32px;
}
#commentarea ol li .deta{
	margin: 0 0 0 52px;
}
#commentarea ol li .deta h4{
	font-size: 16px;
	line-height: 24px;
}
#commentarea ol li .deta h4 a{
	font-size: 16px;
	text-decoration: none;
	color: #59575f;
}
#commentarea ol li .deta h4 small{
	font-size: 12px;
	text-decoration: none;
	color: #7e7b8a;
}

#commentarea label{
	display: block;
	padding: 0 0 10px 0;
}

#commentarea input[type=text],
#commentarea textarea{
	width: 436px;
	border: solid 2px #d7d7d7;
	padding: 6px 10px;
	font-size: 16px;
	font-family: Arial, Helvetica, Sans-Serif;
	color: #736f7a;
}

#commentarea textarea{
	height: 200px;
	width: 534px;
}

#commentarea input[type=submit]{
	border: none;
	padding: 6px 10px;
	font-size: 16px;
	font-weight: bold;
	font-family: Arial, Helvetica, Sans-Serif;
	color: #fff;
	background: #000;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}
#commentarea input[type=submit]:hover{
	background-color: #67bf0d;
}

/* You are here nav */
#navwrap{
	font-size: 12px;
	color: #8b8997;
	margin: 0;
	padding: 0 0 10px 0;
}
#navwrap p{
	margin: 0;
	line-height: 1em;
}

#navwrap a{
	color: #59575f;
	text-decoration: none;
}
#navwrap a:hover{
	text-decoration: underline;
}


#content div.large p{
	font-size: 16px;
	font-weight: bold;
}

/* Event Calendar Styling */
#calendar_wrapLarge h2{
	color: #67bf0d;
	font-size: 24px;
}
#EC_previousMonthLarge, #EC_nextMonthLarge{
	color: #000;
	font-size: 16px;
}

#wp-calendarLarge .dayHead{
	background: #000;
}
#wp-calendarLarge td.pad{
	background: #efefef;
}

/* Post list styling */
.post ul, .post ol{
	margin: 15px;
}
.post ul li{
	margin: 0 0 5px 15px;
	list-style: square;
}
.post ol li{
	margin: 0 0 5px 15px;
	list-style: lower-alpha;
}

/* Table Styles */

table#info{
	width: 100%;
}

table#info th{
	text-align: left;
}
table#info th, table#info td{
	padding: 8px 0;
	border-bottom: solid 1px #d7d7d7;
}
table#info td.head{
	background: #333;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	padding: 8px;
}

/* Footer Styles */

#footer{
	padding: 20px;
	background: #000;
	color: #fff;
	margin-top: 30px;
	clear: both;
	font-size: 12px;
}

#footer a{
	color: #dfdfdf;
}

#gallery-1 br{
	clear: none !important;
}

#content a h3{ margin: 0; }
