/*

Theme name: Rock-n-Race
Description: A WordPress theme by Fredrik Sørlie
Version: 1.0
Author: Fredrik Sørlie
Author URI: http://fredriksoerlie.com

*/

/* -------------------------------- Global styles -------------------------------- */

* {
	margin: 0; 
	padding: 0;
}

html, body {
	width: 100%; 
	height: 100%;
}

body, table, tr, td, th, input, textarea {
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 13px; 
	color: #CCC;
	line-height: 18px;
}

hr {
	height: 0; 
	line-height: 0; 
	font-size: 0;
	border-top: 1px dashed #333;
	display: block; 
	clear: both;
	padding: 0; 
	margin: 10px 0;
}

img { 
	vertical-align: bottom; 
	border:0;
}

p { 
	/*display: block; 
	clear: both;*/
	margin-bottom: 20px;
}

.alignleft, .left {
	float: left;
	text-align: left;
}

.alignright, .right {
	float: right;
	text-align: right;
}

.aligncenter, .center {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.clear {
	clear: both;
}

blockquote {
	font-size: 16px; 
	color: #666;
	border-left: 1px solid #CCC;
	padding: 20px;
}

img.size-thumbnail, img.size-medium {
	display: block; float: left;
	margin: 0 20px 20px 0; 
}

img.size-large {
	display: block; clear: both;
	margin-bottom: 20px; 
}


/* -------------------------------- Main layout styles -------------------------------- */

body#index {
	text-align: center; 
	background: #000 url("images/bg-index.jpg") no-repeat top center;
}

body#sub {
	text-align: center; 
	background: #000 url("images/bg-sub.jpg") no-repeat top center;
}

body#sub-2 {
	text-align: center;
	background: #000 url("images/bg-sub-2.jpg") no-repeat top center;
}

	div#page {
		width: 900px;
		overflow: hidden;
		text-align: left;
		margin: 0 auto;
		scrollbar-face-color: #333;
		scrollbar-shadow-color: #333;
		scrollbar-highlight-color: #333;
		scrollbar-3dlight-color: #131313;
		scrollbar-darkshadow-color: #131313;
		scrollbar-track-color: #131313;
		scrollbar-arrow-color: #FFF;
	}

		h1#logo {
			width: 340px; 
			height: 150px; 
			font-size: 1px; 
			line-height: 1px;
			display: block;
			clear: both;
			float: left;
		}
		
		ul#menu {
			width: 900px;
			height: 60px; 
			line-height: 60px;
			display: block;
			clear: both;
		}

		div#content {
			width: 900px;
			height: 510px;
			display: block;
			clear: both;
			overflow: hidden;
		}
		
		div#gallery {
			width: 900px;
			height: 510px;
			display: block;
			clear: both;
			overflow: auto;
		}
		
			div#main-content {
				width: 540px;
				height: 510px;
				overflow: auto;
				display: block;
				float: left;
			}	

			div#sidebar {
				width: 330px;
				height: 510px;
				overflow: auto;
				display: block;
				float: right;
			}
			
		div#footer {
			width: 900px;
			color: #666;
			display: block;
			clear: both;
			margin: 60px 0 0 0;
		}
		

/* -------------------------------- Additional layout styles -------------------------------- */

.content-wrapper {
	padding: 30px;
}

.gallery-wrapper {
	width: 840px;
	margin-left: 30px;
	padding: 30px 0;
	overflow: hidden;
}

.post, 
.comment {
	clear: both;
}

.headline,
.race {
	clear: both;
}

.post .date,
.comment .date {
	width: 100%;
	color: #999;
	display: inline;
	clear: both;
	margin-bottom: 10px;
}

.headline .date,
.race .date {
	width: 80px;
	color: #999;
	display: inline;
	float: left;
	margin: 0;
}

/* -------------------------------- Heading styles -------------------------------- */

h2 {
	font-size: 14px; 
	font-weight: bold; 
	color: #999;
	border-bottom: 1px dashed #333;
	margin-bottom: 20px;
	padding: 0;
	clear: both;
}

h3 {
	font-size: 18px; font-weight: bold; color: #FFF;
	margin: 0;
}

.headline h3,
.race h3 {
	font-size: 14px;
	display: inline;
	float: left;
	margin: 0;
}

h4 {
	font-size: 14px; font-weight: bold; color: #FFF;
	margin: 0;
}

/* -------------------------------- Link styles -------------------------------- */

a,
a:focus, 
a:link, 
a:active { 
	outline: none; 
}

a,
a:link,
a:active,
a:visited {
	color: #FC0; text-decoration: none;
}

a:hover {
	color: #FFF; text-decoration: none;
}

ul#menu li a {
	height: 60px;
	font-size: 14px; 
	line-height: 60px;
	overflow: hidden;
	display: block;
	margin-right: 30px;
	text-indent: -999px;
}

ul#menu li a:hover,
ul#menu li.current_page_item a {
	background: url('images/menu-hover.png') center center no-repeat;
}

ul#menu li.page-item-2 a {
	width: 41px;
}

ul#menu li.page-item-6 a {
	width: 68px;
}

ul#menu li.page-item-8 a {
	width: 51px;
}

ul#menu li.page-item-9 a {
	width: 50px;
}

ul#menu li.page-item-11 a {
	width: 80px;
}

ul#menu li.page-item-13 a {
	width: 71px;
}

a.rss-link {
	background: url('images/rss-icon.png') left 50% no-repeat;
	padding-left: 26px;
}

a.more-link {
	display: block; clear: both;
	margin: 10px 0;
}

a.back-link {
	font-size: 12px; font-weight: normal; line-height: 14px;
	text-transform: uppercase;
	display: block; clear: both;
	text-align: left;
	padding: 0 20px 20px 20px;
}



/* -------------------------------- List styles -------------------------------- */

ul,
ol,
li {
}

ul#menu li {
	height: 60px;
	font-size: 14px; 
	line-height: 60px;
	overflow: hidden;
	float: left;
}

/* -------------------------------- Form styles -------------------------------- */

input {
	color: #999;
	background: url("images/bg-form.jpg") center center no-repeat;
	padding: 4px;
	border: 1px dashed #666;
	/*background: #000;
	border: 5px solid #000;*/
}

.content-wrapper input {
	width: 50%;
	display: inline;
	margin: 0 10px 10px 0;
}

input#submit {
	width: 200px;
	text-align: center;
	margin: 0 auto 20px 0;
	clear: both;
	cursor: pointer;
	display: inline;
}

textarea {
	color: #999;
	background: url("images/bg-form.jpg") center center no-repeat;
	padding: 4px;
	border: 1px dashed #666;
	/*background: #000;
	border: 5px solid #000;*/
	overflow: auto;
}

.content-wrapper textarea {
	width: 90%;
	/*margin-bottom: 10px;*/
}
