/*

Theme name: Drifter
Description: A WordPress theme by Fredrik Sørlie
Version: 1
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; 
}

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

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

.hr {
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	background: #FFF url("images/hr.png") center top no-repeat;
	margin: 30px 0;
	padding: 0;
}

.hr-240 {
	height: 1px;
	line-height: 1px;
	font-size: 1px;
	background: #FFF url("images/hr-240.png") center top no-repeat;
	margin: 30px 0;
	padding: 0;
}

blockquote {
	font-size: 14px; 
	font-weight: bold;
	display: table;
	clear: both;
	color: #666;
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding: 10px 0;
	margin-bottom: 30px;
}

.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }

.alignleft { float: left; }

.alignright { float: right; }

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

.clear { clear: both; }

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

h1 {
	font-size: 20px; 
	font-weight: lighter; 
	color: #666; 
	line-height: 26px;
	clear: both;
	margin-bottom: 16px;
}

div#pageheader h1 {
	font-size: 12px;
	text-transform: uppercase;
	font-weight: lighter;
	color: #999;
	margin-bottom: 10px;
	margin: 0 0 0 30px;
	
}

h2 {
	font-size: 12px;
	text-transform: uppercase;
	color: #666;
	font-weight: lighter;
	margin-bottom: 15px;
}

#maincontent h2,
#fullcontent h2 {
	font-size: 18px;
	text-transform: none;
	color: #000;
	font-weight: bold;
	margin-bottom: 0;
}

	div#topcontent #social h2 {
		margin: 20px 0 0 20px; 
		color: #999;
	}

	div#multimedia h2 {
		margin: 0; 
	}

	div#twitterfeed h2 {
		background: url('images/icon-twitter-16.png') left 50% no-repeat;
		padding-left: 26px;
		line-height: 16px;
	}
	
	div#flickrfeed h2 {
		background: url('images/icon-flickr-16.png') left 50% no-repeat;
		padding-left: 26px;
		line-height: 16px;
	}

	div#flickrfeed h2 {
		background: url('images/icon-flickr-16.png') left 50% no-repeat;
		padding-left: 26px;
		line-height: 16px;
	}

	div#youtubefeed h2 {
		background: url('images/icon-youtube-16.png') left 50% no-repeat;
		padding-left: 26px;
		line-height: 16px;
	}
	
#maincontent div#commentsarea h2 {
	margin-bottom: 15px !important;
}
	
ul#racecal li h2 {
	/*background: url('images/icon-cal-16.png') left 50% no-repeat;
	padding-left: 26px;*/
	color: #FCC;
	margin: 20px 0 10px 0;
}

ul#eventcal li h2 {
	/*background: url('images/icon-cal-16.png') left 50% no-repeat;
	padding-left: 26px;*/
	color: #AAA;
	margin: 20px 0 10px 0;
}

h3 {
	font-size: 18px; 
	font-weight: bold; 
	color: #F93;
	display: block; 
	clear: both;
	margin-bottom: 10px;
}

#sidebar h3 {
	font-size: 14px; 
	margin-bottom: 0px;
}


h4 {	
	font-size: 13px; 
	font-weight: bold;
	margin-bottom: 0;
}

div#featured #newsfeed h4 {
	margin-bottom: 5px;
}

div#featured #blogfeed h4 {
	margin-bottom: 0;
}

h5 {	
	font-size: 12px; 
	font-weight: normal; 
}

h6 {	
	font-size: 10px; 
	font-weight: bold; 
}

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

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

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

a:hover {
	color: #C60; 
	text-decoration: underline;
}

ul#menu li a {
	height: 90px; 
	line-height: 90px;
	display: block;
	float: left;
	color: #CCC; 
	text-decoration: none;
	padding: 0 10px;
}

ul#menu li.current_page_item a,
ul#menu li a:hover {
	color: #FFF;
	text-decoration: none;
	background: url("images/bg-menu-hover2.png") top center no-repeat;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
	color: #F93;
	text-decoration: none;
}

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

.viewall {
	height: 20px;
	line-height: 20px;
	background: url("images/bg-viewall.png") no-repeat;
	display: table;
	clear: both;
	margin: 10px 0;
	padding: 0 10px; 
}

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

ul,
ol,
li {
	list-style: none;
}

ul#menu {
	height: 90px; 
	line-height: 90px;
	display: block;
	font-size: 14px;
	text-transform: uppercase;
	text-align: left;
	list-style: none;
	position: absolute;
	top: 0;
	right: 30px;
}

	ul#menu li {
		height: 90px; 
		line-height: 90px;
		display: block;
		float: left;
		margin-left: 10px;
	}

ul#social-icons {
	list-style: none;
	width: 280px;
	overflow: hidden;
	position: absolute;
	bottom: 20px;
	left: 20px;
}

	ul#social-icons li {
		float: left;
		margin-right: 20px;
	}
	
ul#sitemap {
	list-style: none;
	margin-bottom: 20px;
}

	ul#sitemap li {
		display: inline;
		margin-right: 20px;
	}

#maincontent ul {
	list-style: none;
	display: block; 
	clear: both;
	margin-bottom: 20px;
}

	#maincontent ul li {
		list-style: none;
		display: block; 
		clear: both;
		margin-bottom: 5px;
		padding-left: 20px;
		background: url('images/check.png') left no-repeat;
	}

#sidebar ul {
	list-style: none;
	display: block; 
	clear: both;
	margin-bottom: 20px;
}

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

input, select {
	width: 50%;
	color: #333;
	background: #EEE;
	border: 5px solid #EEE;
	
}

#sidebar input {
	width: 100%;
	margin-bottom: 20px;
}

textarea {
	width: 70%;
	color: #333;
	background: #EEE;
	border: 5px solid #EEE;
	overflow: auto;
}

input.submit,
input#submit {
	width: 150px;
	margin: 10px 0;
	background: #EEE;
	border: 5px solid #EEE;
	float: left;
	cursor: pointer;
}

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

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

div#container {
	width: 960px;
	margin: 0 auto;
	padding-bottom: 30px;
	text-align: left;
}

div#header {
	width: 960px;
	height: 90px;
	background: url("images/bg-header.png") no-repeat;
	overflow: hidden;
	display: block; 
	clear: both;
	position: relative;
}

	div#logo {
		display: block; 
		position: absolute;
		top: 17px;
		left: 30px;
	}

div#topcontent {
	width: 960px;
	height: 320px;
	background: url("images/bg-topcontent.png") no-repeat;
	overflow: hidden;
	display: block; 
	clear: both;
	position: relative;
	margin-top: 10px;
}

	div#topcontent #social {
		width: 280px;
		height: 100px;
		background: url("images/bg-topcontent-social.png") no-repeat;
		overflow: hidden;
		display: block; 
		position: absolute;
		top: 190px;
		left: 30px;
	}
	
	div#topcontent #promo-video {
		width: 590px;
		height: 260px;
		background: url("images/bg-promo-video.png") no-repeat;
		overflow: hidden;
		position: absolute;
		top: 30px;
		right: 30px;
		text-align: center;
	}
	
		div#topcontent #promo-video object {
			display: block;
			margin: 10px auto;
		}
	
div#sponsors {
	width: 960px;
	height: 100px;
	background: url("images/bg-sponsors.png") no-repeat;
	overflow: hidden;
	display: block; 
	clear: both;
	position: relative;
	margin-top: 10px;
	z-index: 10;
}

div#sponsors-overlay {
	width: 960px; 
	height: 100px;
	background: url("images/sponsors-overlay.png") no-repeat;
	overflow: hidden;
	margin: 0;
	z-index: 30;
	position: absolute;
	top: 0;
	left: 0;
}

div#pageheader,
div#featured {
	width: 960px;
	text-align: left;
	background: url("images/bg-featured.png") no-repeat;
	border-bottom: 1px solid black;
	color: #CCC;
	overflow: hidden;
	display: block; 
	clear: both;
	position: relative;
	margin-top: 10px;
	padding: 30px 0;
}

div#pageheader {
	padding: 10px 0;
}

	div#featured p {
		margin: 0;
	}

	div#featured div#newsfeed,
	div#featured div#blogfeed,
	div#featured div#twitterfeed {
		width: 280px;
		overflow: hidden;
		float: left;
		display: inline;
		margin-left: 30px;
	}

		p.twitter-message {
			margin-bottom: 15px;
		}

		p.twitter-message a {
			text-decoration: none;
		}

		div.thumb img {
			margin-bottom: 10px;
		}

div#content {
	width: 960px;
	text-align: left;
	background: #FFF url("images/bg-content.gif") repeat-x;
	border-top: 1px solid white;
	display: table;
	clear: both;
	position: relative;
	overflow: hidden;
	padding: 30px 0;
}

	div#maincontent {
		width: 590px;
		display: inline;
		float: left;
		margin-left: 30px;
	}
	
		div#commentsarea {
			margin-top: 20px;
		}

	div#fullcontent {
		width: 900px;
		display: table;
		float: left;
		margin-left: 30px;
	}

	div#sidebar {
		width: 280px;
		background: url("images/bg-sidebar.png") no-repeat;
		display: table;
		float: right;
		overflow: hidden;
		margin-right: 30px;
	}

		div#sidebar div#newsfeed,
		div#sidebar div#blogfeed,
		div#sidebar div#twitterfeed,
		div#sidebar div#flickrfeed,
		div#sidebar div#youtubefeed {
			width: 240px;
			display: table;
			float: left;
			clear: both;
			margin: 20px 0 0 20px;
		}
		
		div#sidebar div#flickrfeed,
		div#sidebar div#youtubefeed {
			width: 260px;
		}
		
			div#sidebar div#picturegrid img {
				margin: 0 7px 7px 0;
			}

	div#multimedia {
		width: 900px;
		background: url("images/bg-multimedia.png") no-repeat;
		display: table;
		clear: both;
		position: relative;
		margin-left: 30px;
		padding: 20px 0;
	}

		div#multimedia div#flickrfeed {
			width: 590px;
			display: inline;
			float: left;
			margin-left: 20px;
		}

			div#multimedia div#flickrfeed div#picturegrid img {
				margin: 20px 20px 0 0;
			}

		div#multimedia div#youtubefeed {
			width: 260px;
			display: inline;
			float: right;
		}
		
			div#multimedia div#youtubefeed div#youtubethumbs {
				display: table;
			}

				div#multimedia div#youtubefeed .youtubethumb,
				div#sidebar div#youtubefeed .youtubethumb {
					width: 110px;
					height: 75px;
					line-height: 82px; 
					overflow: hidden;
					float: left;
					margin: 20px 20px 0 0;
				}

				div#multimedia div#youtubefeed .youtubethumb img,
				div#sidebar div#youtubefeed .youtubethumb img {
					width: 110px;
					height: 82px;
				}

div#calendars {
	width: 960px;
	clear: both;
	display: table;
	margin-top: 30px;
}

	ul#racecal {
		width: 590px;
		height: 280px;
		color: #976;
		background: url("images/bg-race-cal.png") no-repeat;
		display: table;
		float: left;
		margin-left: 30px;	
	}
	
		ul#racecal .upcoming {
			color: #FFF;
		}
	
		ul#racecal li {
			width: 550px;
			height: 20px;
			line-height: 20px;
			display: table;
			padding: 0;
			margin: 0;
			margin-left: 20px;
			text-indent: 0;
			clear: both;
		}
			
		ul#racecal li.odd {
			/*background: url("images/bg-li-racecal.png") no-repeat;*/
		}
			
			ul#racecal li span {
				float: left;
				margin: 0;
			}
				
			ul#racecal li span.date {
				color: #FCC;
				width: 70px;
				margin-left: 10px;
			}
	
	ul#eventcal {
		width: 280px;
		height: 280px;
		color: #888;
		background: url("images/bg-event-cal.png") no-repeat;
		display: table;
		float: right;
		margin-right: 30px;	
	}
	
		ul#eventcal .upcoming {
			color: #DDD;
		}
		
		ul#eventcal li {
			width: 240px;
			height: 20px;
			line-height: 20px;
			display: table;
			padding: 0;
			margin: 0;
			margin-left: 20px;
			text-indent: 0;
			clear: both;
		}

		ul#eventcal li.odd {
			/*background: url("images/bg-li-eventcal.png") no-repeat;*/
		}
			
			ul#eventcal li span {
				float: left;
				margin: 0;
			}
				
			ul#eventcal li span.date {
				color: #FCC;
				width: 70px;
				margin-left: 10px;
			}

div#footer {
	width: 960px;
	background: url("images/bg-header.png") no-repeat bottom;
	color: #999;
	overflow: hidden;
	display: block; 
	clear: both;
}

	div#copyright {
		float: left;
		padding: 20px 30px;
	}
	
	div#credits {
		float: right;
		padding: 20px 30px;
	}

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

div#sociable ul {
	width: 590px;
	display: inline; 
	clear: both;
	margin-bottom: 15px;
}

	div#sociable ul li {
		width: 20px;
		display: inline;
		clear: none;
		float: left;
		margin: 0;
		padding: 0;
	}

		div#sociable ul li a {
			width: 20px;
			display: inline;
			clear: none;
			float: left;
			margin: 0;
			padding: 0;
		}
		
			div#sociable ul li a img {
				display: inline;
				clear: none;
				float: left;
				margin: 10px 10px 0 0;
				padding: 0;
			}

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

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

.twitter-timestamp,
div.date {
	font-size: 11px; 
	font-weight: normal; 
	color: #666;
	display: block; 
	clear: both;
	margin-bottom: 15px;
}

.commenttext .date {
	margin-bottom: 5px;
}

span.date {
	font-size: 11px; 
	font-weight: normal; 
	color: #666;
	display: block; 
}

.noimg img {
	display: none;
}

div#featured .post {
	display: table; 
	clear: both;
	margin-bottom: 15px;
}

	div#featured .post .postthumb {
		width: 120px;
		float: left;
	}
	
	div#featured .post .postcontent {
		width: 160px;
		float: left;
		display: inline;
	}

	div#featured .post .date {
		margin:0;
	}

#maincontent .post,
#maincontent .comment {
	width: 590px;
	overflow: hidden;
	display: table; 
	clear: both;
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px solid #EEE;
}

	#maincontent .post .postthumb {
		width: 110px;
		float: left;
	}
	
	#maincontent .post .postcontent {
		width: 450px;
		float: right;
	}
	
		#maincontent .post .postcontent img {
			display: none;
		}

#sidebar .post {
	width: 240px;
	overflow: hidden;
	/*border-bottom: 1px solid #CCC;*/
	display: table; 
	clear: both;
	margin-bottom: 10px;
}

.excerpt img {
	float: left;
	margin: 3px 10px 5px 0;
}

#sidebar .headline {
	width: 240px;
	overflow: hidden;
	color: #999;
	/*border-bottom: 1px solid #CCC;*/
	display: table; 
	clear: both;
	margin: 0;
	padding: 0;
}

.singlepost {
	width: 600px;
	overflow: hidden;
	display: table; 
	clear: both;
}

.postmeta,
.commentmeta {
	display: block; 
	clear: both;
	margin-bottom: 10px;	
}

#pagination,
#navigation {
	display: block; 
	clear: both;
}

#pagination {
	width: 590px;
	overflow: hidden;
	border-top: 1px solid #CCC;
	display: table; 
	clear: both;
	padding: 20px 0;
}

.commentavatar {
	float: left; 
	margin-right: 20px;
}

.commenttext {
	float: left;
}

.button {
	padding: 8px 16px;
	margin: 10px 0;
	background: url('images/bg-button.png') repeat-x;
	border: 1px solid #CCC;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
	color: #666;
	cursor: pointer;
}

.button a, .button a:visited {
	color: #666;
}

.button a:hover {
	color: #666;
	text-decoration: none;
}

div#bvn {
	width: 100%;
	text-align: center;
}

