/*
THEME NAME: G&G Motorsport
THEME URI: http://ricknunn.com/
DESCRIPTION: A custom layout for G&G Motorsport
VERSION: 1
AUTHOR: <a href="http://ricknunn.com/">Rick Nunn</a>
AUTHOR URI:
TAGS:
*/

/*### General ###*/

*{
	margin: 0; 
	padding: 0;
	font-family: "Trebuchet MS", verdana, arial, sans-serif;
	}

body{
	background: url(images/ggbg.jpg) 50% 0%;
	}

#upperwrapper{
	background: url(images/headbg.png) no-repeat 50% 0%;
	padding-top: 170px;
	}

#wrapper{
	width: 798px;
	margin: 0 auto;
	background: url(images/contentbg.jpg) #f5f5f5 repeat-x;
	}	
	
/*### Head ###*/	

#header{
	display: none;
	}
	
/*### Menu ###*/

#menu{
	float: right;
	margin-top: 15px;
	}
	
#menu li{
	float: left;
	list-style: none;
	}
	
#menu a{
	background: url(images/menubg.jpg) repeat-x;
	border: 1px solid #CCC;
	padding: 6px 10px 2px 10px;
	margin: 0 10px 0 0;
	color: #666666;
	text-decoration: none;
	font-size: 12px;
	height: 18px;
	display: block;
	_width: 70px;
	text-align: center;
	}

#menu a:hover{
	background: url(images/menuactivebg.jpg) repeat-x;
	border: 1px solid #8b0000;
	color: #FFF;
	}
	
#menu .current_page_item a{
	background: url(images/menuactivebg.jpg) repeat-x;
	border: 1px solid #8b0000;
	color: #FFF;
	}
	
.home #menu .home a{
	background: url(images/menuactivebg.jpg) repeat-x;
	border: 1px solid #8b0000;
	color: #FFF;
	}
	
/*### Previous & Next Post Links###*/
	
.navigation{
	padding: 5px;
	}
	
.navigation a{
	color: #600000;
	font-size: 14px;
	}
	
/*### Sidebar ###*/

.sidebar{
	width: 200px;
	float: left;
	padding-top: 85px;
	padding-left: 15px;
	}
	
#categories, #archives, #subpagemenu{
	padding-bottom: 15px;
}

	
.sidebar li{
	list-style: none;
}

.sidebar{
	color: #666;
}

.sidebar h3{
	font-weight: normal;
	font-size: 16px;
	background: url(images/sidebarh3bg.png) no-repeat bottom;
	height: 35px;
}

.sidebar li ul li a{
	color: #666;
	font-size: 13px;
	text-decoration: none;
	background: url(images/bullet.png) no-repeat 0px 3px;
	padding-left: 15px;
	margin-left: 2px;
}

.sidebar li ul li ul{
	display: none;
	}
	
.sidebar li ul li.current_page_item ul{
	display: inline;
	}

.sidebar li ul li ul a{
	margin-left: 10px;
	}



.sidebar h3 a{
	color: #666;
	text-decoration: none;
}

.sidebar h3 a:hover{
	text-decoration: underline;
}

#lazyest_sidebox{
	margin-top: 5px;
}
	
/*### main content ###*/

#content h2{
	color: #600000;
	font-size: 24px;
}

#container{
	float: right;
	width: 570px;
	clear: right;
	margin-top: 15px;
	}

#secondary{
	display: none;
	}

.postcontent{
	width: 470px;
	font-size: 14px;
	border: 2px solid #666;
	margin-bottom: 15px;
}

#content .postcontent h2.entry-title{
	background: #666 url(images/ggbg.jpg);
	color: #FFF;
	font-size: 20px;
	height: 30px;
	padding: 5px 0 0 10px;
}

#content .postcontent h2.entry-title a{
	color: #FFF;
	font-size: 20px;
	text-decoration: none;
	font-weight: normal;
}

#content .postcontent h2.entry-title a:hover{
	color: #600000;
}

.postcontent p{
	padding: 10px;
	text-align: justify;
}
.thepostdate{
	font-size: 12px;
	float: right;
	text-align: center;
	width: 90px;
	height: 90px;
	background: url(images/datebg.png) no-repeat;
	color: #600000;
	margin: -12px 0 0 0;
}

.thepostdate span{
	display: block;
	font-size: 38px;
	padding: 12px 0 0 0;
	
}

#content .postcontent .postdatacontainer{
	position: relative;
	_height: 20px;
}

#content .postcontent .readmore{
	padding-bottom: 2px;
	padding-top: 3px;
	position: absolute;
	background: #666;
	bottom: 0;
	right: 0;
	}
	
#content .postcontent .readmore a{
	color: #FFF;
	font-size: 12px;
	text-decoration: none;
	padding: 5px;
	}
	
#content .postcontent .readmore a:hover{
	color: #600000;
	}
	
#content .postcontent .postdata{
	padding-bottom: 5px;
	width: 375px;
	font-size: 12px;
	padding-left: 5px;
	color: #666;
	}
	
#content .postcontent .postdata a{
	font-size: 12px;
	color: #600000;
}

/*### Content Style ###*/

.postcontent h1, #content .postcontent h2, .postcontent h3, .postcontent h4, .postcontent h5, .postcontent h6{
	color: #600000;
	font-weight: bold;
	padding: 0 10px 10px 10px;
}

#content .postcontent h1{
	font-size: 22px
}

#content .postcontent h2{
	font-size: 20px
}

#content .postcontent h3{
	font-size: 18px
}

#content .postcontent h4{
	font-size: 16px
}

#content .postcontent h5{
	font-size: 15px
}

#content .postcontent h6{
	font-size: 14px
}

#content .postcontent p{
	font-size: 14px;
	font-weight: normal;
	color: #333;
	line-height: 18px;
	padding: 0;
	margin: 10px;
}

#content .postcontent a{
	color: #600000;
	text-decoration: underline;
}

#content .postcontent a:hover{
	text-decoration: none;
}

#content .postcontent img{
	background: #FFF;
	padding: 5px;
	border: 1px solid #666;
	margin: 5px;
	display: inline;
}

.page #content .postcontent img{

	margin-left: 50px;

}

.page #content .postcontent .wp-caption{
	border: 1px solid #666;
	color: #600000;
	padding: 5px;
	margin-left: 45px;
	margin-bottom: 10px;
	background: #FFF;
}

.page #content .postcontent .wp-caption img{
	margin: 0;
	border: none;
}

.single #content .postcontent .wp-caption{
	border: 1px solid #666;
	color: #600000;
	padding: 5px;
	margin: 0 0 10px 5px;
	background: #FFF;
}

.single #content .postcontent .wp-caption img{
	margin: 0;
	border: none;
}

#content .postcontent .wp-caption-text{
	text-align: center;
	color: #600000;
	font-size: 12px;
	margin: 0 10px;
	}

.page #content .postcontent #gallery img{
	margin-left: 0;
}

#content .postcontent p img{
	margin: 5px 0;
}

#content .postcontent img.alignright{
	float: right;
	margin: 0 0 5px 5px;
}

#content .postcontent img.alignleft{
	float: left;
	margin: 0 5px 5px 0;
}

#content .postcontent blockquote{
	clear: both;
	margin: 5px 20px 10px 20px;
	font-family: "Palatino","Book Antiqua", Georgia,serif;
	font-style: italic;
}

#content .postcontent blockquote p{
	font-family: inherit;
}

#content .postcontent ul{
	margin: 10px 25px;
}

#content .postcontent ol{
	margin: 10px 25px 10px 30px;
}

#content .postcontent li{
	margin-bottom: 5px;
}

/*### Page ###*/

.page .postcontent, .four04 .postcontent{
	width: 555px;
	}

#searchform-404{
	padding: 20px 0 20px 110px;
	}

#s-404{
	width: 300px;
}

/*### Footer ###*/

#footer{
	width: 798px;
	margin: 0 auto;
	clear: both;
	text-align: right;
	background: url(images/footbg.png) no-repeat;
	padding: 20px 0;
	font-size: 12px;
	color: #FFF;
	}
	
#footer a{
	color: #FFF;
	}
	
#footer a:hover{
	color: #600000;
	}

.clearing{
	clear: both;
}

.edit-link{
	padding: 5px;
	display: block;
	}

.edit-link a{
	color: #600000;
}

#rn{
	position:absolute;
	padding-top:10px;
	display:none;
	color:#000;
	font-size: 10px;
	text-align: center;
	background: url(images/tooltipbg.png) no-repeat;
	_background: #FFF;
	width: 170px;
	height: 170px;
	}

#rn img{
	padding-bottom: 10px;
}

/*### Contact Note Link ###*/	

#contactnote{
	position: absolute;
	left: 50%;
	width: 100px;
	margin-left: -400px;
	background: url(images/1px.gif);
	}


#contactnote a{
	display: block;
	width: 100px;
	padding-top: 100px;
	height: 0;
	overflow: hidden;
	background: transparent;
}

/*### Contact From ###*/

#contactbox{
	color: #FFF;
	height: 350px;
	background: url(images/contactbg.jpg) repeat-x 50% 0% #000;
	display: none;
}	

.contact-me {
	width: 800px;
	font-size: 12px;
	color: #FFF;
	margin-top: 10px;
	margin: 0 auto;
	}
	
#thankyou{
	width: 800px;
	margin: 0 auto;
	text-align: center;
	display: none;
}	

#thankyou h3{
	font-size: 50px;
	padding-top: 70px;
}

#thankyou a{
	color: #FFF;
}


h3.contact-form-entry {
	color: #FFF;
	font-weight: normal;
	font-size: 20px;
	padding-top: 10px;
}
div.contact-me label {
	display: block;
	margin: 7px 0;
	font-size: 15px;
	font-weight: normal;
}

div.contact-me label span{
	font-size: 10px;
	color: #666;
	}

div.contact-me input {
	background: url(images/comment-textentry.gif);
	border: none;
	width: 379px;
	height: 20px;
	padding: 5px;
	font-size: 15px;
}
textarea#your-message {
	background: #FFF url(images/mail-message.gif);
	width: 379px;
	height: 145px;
	border: none;
	padding: 5px;
	overflow: auto;
	font-size: 15px;
	_background-attachment: fixed;
	resize: none;
	}
input.sendbutton {
	width: 91px !important;
	height: 26px !important;
	border: none !important;
	float: right !important;
	background: url(images/send-email.jpg) no-repeat !important;
	font-size:1px !important;
	display:block!important;
	line-height:26px!important;
	color:#CCFF33 !important;
	cursor:pointer !important;
	margin: 5px 10px 0 0;
}

form ul{
	width: 398px;
	float: left;
}

form li{
	list-style: none;
}

.close{
	text-align: right;
	padding-right: 15px;
	height: 0px;
}

.close a{
	color: #FFF;
	
}

/*### Cycle ###*/

#randomgallery{
	height: 114px;
	width: 124px;
	margin: 10px 0 10px 35px;
}

#randomgallery .lazyest_sidebox img{
	background: #FFF;
	padding: 5px;
}