/*  
Theme Name: Gateway Racing
Theme URI: http://www.spritzcreative.com
Description: Gateway Racing
Version: 1.0
Author: Chadrick Rode
Author URI: http://www.spritzcreative.com

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php


TABLE OF CONTENTS

  Nav
  HTML Tags
  Structure
  Headers
  Content Styles
  	 Misc
  	 Sidebar
  	 Single Post
  	 Archives
  Post Styles
  Comments
  Form Elements
  Float Clearing
  Footer
  


/* ---------- @ Nav -----------*/

@import url('css/nav.css');




/* ---------- @ HTML Tags -----------*/


* {
	margin:0;
	padding:0;
	outline:none;
	}

body,html {
	min-height:101%; /*Firefox scrollbar fix*/
	}
	
body {
	background-color: #333333;
	color: #000000;
	background-image:url(images/background.jpg);
	background-position:top;
	background-repeat:no-repeat;
	}

body, select, input, textarea {
	font: 100% Arial, Verdana, Sans-Serif;
	}
	
p {	
	margin: 15px 0 20px 0;
	line-height:160%;
	text-align:justify;
}


a, a:visited {
	color: #D13332;
	text-decoration:underline;
}

a:hover, a:active {
	color:#5D2321;
	text-decoration:none;
}

hr {
	display: block;
	height:1px;
	background:#D13332;
	border:0;
	color:#D13332;
	margin: 15px 0;
	}

ul {
	padding-top:5px;
}


			
a img, a:visited img {
	border:none
	}
	
blockquote {
	padding: 10px;
	color:#222222;
	background-color:#CCCCCC;
	font-family:Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	line-height: 120%;
	}

pre {
	width:100%;
	overflow:auto;
	}
	
				


/* ---------- @ Structure -----------*/

#page {
	background-image:url(images/bodywrap.gif);
	background-repeat:repeat;
	width:955px;
	margin:0 auto;
	padding-top:0px;
	border-left:2px;
	border-right:2px;
	border-top:0px;
	border-bottom:0px;
	border-style:solid;
	}
	
#wrapper {
	font-size:0.75em;
	padding:0;
	}


#content {
	width:677px;
	float:right;
	margin: 0;
	background-image:url(images/content_bg.jpg);
	background-repeat:no-repeat;
	}

#bodycontent {
	float:left;
	padding: 25px 45px 10px 45px;
	}

#description {
	font: italic 1.2em Georgia, "Times New Roman", Times, serif;
	color:#5D2321;
	padding: 0 0 0 20px;
	border-left:1px dotted #5D2321;
	margin:13px 0 0 20px;
	float:left;
	letter-spacing:0.01em;
	}
	
.left {
	float:left;
	}

.right {
	float:right;
	}

#menu h1{
	font: normal 1.5em Arial, Helvetica, sans-serif;
	letter-spacing:-0.01em;
	color:#FFFFFF;
	padding: 10px 0;
	}

#more-posts {
	float:left;
	}
	

/* ---------- Custom Elements by Spritz  -----------*/

#headerimg {
	background-image: url(images/header.jpg);
	background-repeat:no-repeat;	
	width: 955px;
	height: 256px;
	margin:0;
}

#randomimg {
	width: 567px;
	height: 256px;
	float: right;
	}

#img {
	border: 1px solid;
	border-color:#CCCCCC;
	}

#menubar {
	margin: 25px 0 0 20px;
	float:left;
	}
	
#menubar li {
	display:inline;
	list-style:none;
	padding-right:15px;
	font-size:14px;
	color:#D13332;
	}
	
#menubar li a{
	color:#D13332;
	text-decoration:underline;
	}

#menubar li a:hover{
	color:#EEEEEE;
	text-decoration:none;
	}
	
#featured-button { 
	padding-top: 128px;
	width: 388px; 
	height: 54px; 
	}
	
#navMenu {
	margin:0; 
	padding:0;
	list-style:none;
	font-size:14px;
	font-family:arial;
	text-align:center;
	line-height:50px;
}

	#navMenu li {
		float:left;	
		background:url(images/menufade_off.gif) no-repeat center center;	/* default background image	*/
		width:118px;							/* width and height of the menu item */
		height:54px;
		padding-left: 11px;
		position:relative;			/* must set it as relative, because .hover class top and left with absolute position will be positioned according to li.	*/
	}

	#navMenu li a {
		z-index:20;		/* z-index must be higher than .hover class */
		display:block;	/* display as block and set the height according to the height of the menu to make the whole LI clickable	*/
		height:54px;
		padding-right: 11px;
		position:relative;
		color:#D13332;
	}

 	#navMenu li .hover {
		background:url(images/menufade_on.gif) no-repeat center center;		/* mouseover image	*/
		position:absolute;	/* must be postion absolute 	*/
		width:118px;	/*	width, height, left and top to fill the whole LI item	*/
		height:54px;
		padding-left: 11px;
		left:0; 
		top:0;	
		z-index:0;		/* display under the Anchor tag	*/
		display:none;	/* hide it by default	*/
		}
	
	#navMenu li a:hover {
		color:#FFFFFF;
		}


/* ---------- @ Headers -----------*/

h1 {
	font: normal 2em Arial, Helvetica, sans-serif;
	letter-spacing:-0.01em;
	color:#D13332;
	}
	
h2 {
	font: 2.5em Arial, Helvetica, sans-serif;
	padding-bottom:8px;
	margin: 25px 0 20px 0;
	color:#D13332;
	font-weight:normal;
	}

.post h2 {
	font-size:1.2em;
	padding: 0;
	margin: 25px 0 0 0;
	color:#D13332;
	font-weight:normal;
	}
	
h2.posttitle {
	padding:0 0 12px 0;
	margin:0 0 10px 0;
	font-size:2.2em;
	color:#D13332;
	}

h2.pagetitle {
	padding:0 0 12px 0;
	margin:0 0 10px 0;
	font-size:2.2em;
	color:#D13332;
	}
				
h3 {
	padding:0;
	margin:10px 0 -10px 0;
	font-family:Arial, Helvetica, sans-serif;
	color:#FFFFFF;
	font-size:1em;
	font-weight:normal;
	letter-spacing:0.07em;
	cursor:text;
	}
	

.post h3 {
	border:none;
	font:1.3em Arial, Helvetica, sans-serif;
	color: #5D2321;
	letter-spacing:0;
	margin: 0 0 10px 0;
	}
	
#featured-cats h3, #more-posts h3 {
	margin:0 0 15px 0;
	}
		

h4 {
	font:1.3em Arial, Helvetica, sans-serif;
	margin-bottom:-10px;
	font-size:2.2em;
	color:#D13332;
	}
	
.post h4 {
	margin:15px 0;
	color:#D13332;
	}
	
.archive-list h4 {
	margin:0;
	font-size:1.2em;
	line-height:125%;
	}
	
h5 {
	font: 0.8em Arial, Helvetica, sans-serif;
	text-transform:uppercase;
	letter-spacing:0.15em;
	color:#FFFFFF;
	padding:4px 8px;
	margin-bottom:5px;
	background:#D13332;
	border-top:1px solid #D13332;
	}

h6 {
	font:bold 0.9em Arial, Helvetica, sans-serif;
	}


	
/* ---------- @ Content Styles -----------*/


/*Misc*/

h1 a, h1 a:visited {
	color:#D13332;
	text-decoration:none
	}

h1 a:hover {
	color:#5D2321;
	}

h1 a:active {
	color:#333333;
	}
			
h4 a, h4 a:visited {
	color:#D13332;
	text-decoration: underline;
	}
	
h4 a:hover {
	color:#5D2321;
	text-decoration: none;
	}	
	
h5 a, h5 a:visited,
h5 a:hover, h5 a:active {
	text-decoration: none
	}
	
#more-posts img, .archive-list a img, .archive-list a:visited img {
	float:right;
	margin: 26px 0 5px 20px;
	padding:1px;
	border:1px solid #D13332;
	background:#000000;
	}
	
#more-posts a:hover img, .archive-list a:hover img {
	border:1px solid #5D2321;
	background:#000000;
	}	
	


.recent-excerpts {
	padding-bottom:10px;
	}
	
#featured-cats ul {
	margin:3px 0 35px 0;
	}

#featured-cats li {
	list-style:none;
	border-bottom:1px dotted #CCCCCC;
	padding:3px 0 6px 6px;
	margin:2px 0;
	line-height:125%;
	}


	
.date {
	float:left;
	margin:18px 4px 0 0;
	font: 0.85em Georgia, "Times New Roman", Times, serif;
	color:#737373;
	letter-spacing:0.03em;
	}

#featured-cats .date {
	margin: 2px 3px 0 0;
	}


/*Sidebar and Widgets*/

#sidebar {
	min-height:250px;
	width: 278px;
	float:left;
	margin:0;
	padding:0;
	background-image:url(images/sidebar_bg.jpg);
	background-repeat:no-repeat;
	color: #FFFFFF;
	}
	
#sidebarcontent {
	margin:32px 15px 0 15px;
	}

#sidebarimages {
	text-align:center;
	}


#sidebar p {
	color:#FFFFFF;
	text-align:left;
	}

#sidebar ul {
	margin-bottom:20px;
	}

#sidebar li, .headlines li {
	padding:10px 0 0 0;
	list-style:none;
	color:#FFFFFF;
	font-weight:bold;
	}

#sidebar a, #sidebar a:visited{
	color:#D13332;
	text-decoration: underline;
	font-weight:normal;
	}

#sidebar a:hover, #sidebar a:active{
	color:#DDDDDD;
	text-decoration: none;
	}

#wp-calendar td {
	text-align:center;
	padding:3px;
	}	
	

.textwidget {
	margin: 15px 0;
	line-height:160%;
	}	
	
.widget td {
	background:none;
	}
	
.widget table {
	border:none
	}
	
		
		
	
/*Single Posts*/

#writer {
	background:#ededed;
	margin:-10px 0 22px 0;
	padding:3px 20px 16px 20px;
	border-bottom:1px solid #dadada;
	border-top:1px solid #dadada;
	}
	
#writer img {
	padding:1px;
	border:1px solid #b2afa4;
	float:left;
	margin:18px 15px 6px 0;
	}

#tags {
	padding:3px;
	border-bottom:1px solid #DDD;
	border-top:1px solid #DDD;
	}	

#tags a, #tags a:visited {
	text-decoration: none
	}
	
	
/*Archives*/

.archive-list li {
	list-style:none;
	float:left;
	margin: 8px 0 20px 0;
	height:auto;
	width: 100%;
	border-bottom:1px solid #5D2321;
	}

.archive-list img {
	margin:0 14px 0 0;
	}

.archive-list .postmetadata {
	border:none;
	margin:0;
	padding:4px 0 0 0;
	}
		
#pagination {
	margin-top:30px;
	width:550px;
	}

#pagination .left {
	width:250px;
	text-align:right;
	}

#pagination .right {
	float:right;
	width:250px;
	}



/* ---------- @ Post Styles -----------*/

.entry {
	padding-bottom:10px;
	}

.postmetadata {
	padding: 7px 0;
	border-top:1px solid #d7d7d7;
	margin:0 0 20px 0;
	color:#7a7a7a;
	}	

.post code {
	background:#C4E9F2;
	padding:3px;
	font-size:1.2em;
	}
			
.post ul {
	margin: 0 0 25px 20px;
	color:#333333;
	}
	
.post li {
	margin: 0 0 10px 0;
	line-height:100%;
	color:#333333;
	}

.post ol {
	margin:0 0 25px 20px;
	color:#333333;
	}


/*Images*/
	
.entry img {
	padding:2px;
	margin:15px 0;
	}

.wp-caption.alignleft, 
.wp-caption.alignright, 
.wp-caption.aligncenter {
	background:#f5f3ee;
	text-align:center;
	padding:10px 5px 10px 10px;
	border:3px double #FFF;
	}

img.alignleft {
	margin:5px 15px 10px 0;
	float:left
	}

img.alignright {
	margin:5px 0 10px 15px;
	float:right
	}

.wp-caption.alignleft {
	float:left;
	margin:5px 22px 10px 0;
	}
	
.wp-caption.alignright {
	float:right;
	margin:5px 0 10px 22px;
	}

.wp-caption.aligncenter, img.aligncenter {
    margin: 0 auto;
	display:block;
	margin-bottom:15px;
	float:none
   	}
		
p.wp-caption-text {
	margin:0;
	text-align:center;
	padding:5px 0;
	}	

.wp-caption img {
	float:none;
	margin:0;
	}	

.gallery {
	margin:15px 0;
	display:block;
	}
	
.gallery img {
	border:1px solid #999 !important;
	padding:2px;
	}

.gallery-item {
	padding:12px 0;
	}

.gallery-caption {
	padding:10px;
	}
	

/* ---------- @ Form Elements -----------*/

#commentform textarea {
	width: 98%;
	margin-top:5px;
	height:250px;
	}

#s {
	float:left;
	background:#222222;
	padding:2px;
	width:150px;
	color:#BBBBBB;
	border:1px solid #444444;
	border-left:1px solid #444444;
	border-top:1px solid #444444;
	}

#s:focus {
	background:#000000;
	}

#searchform {
	width:250px;
	font-size:12px;
	}

#searchsubmit {
	vertical-align:top;
	padding-left:0px;
	}		
	

/* ---------- @ Float Clearing -----------*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display:inline-block
	}

.clearfloat {
	display:block
	}
	


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

#footer {
	width:955px;
	height:314px;
	background-image:url(images/footer.jpg);
	}

#footer p {
	color:#EEEEEE;
	font-size:11px;
	line-height:150%;
	text-align:left;
}

#footerinfo {
	float:right;
	width: 455px;
	margin: 170px 50px 0 0;
	}

#footerinfo p {
	text-align:right;
}
	
#footersearch {
	float:left;
	margin: 10px 0 0 14px;
	}
	
#footerwidget {
	float:left;
	width:375px;
	margin: 100px 0 0 20px;
}
