/*
	Client: Pål Varhaug
	Client URI: htpp://palvarhaug.com
	Theme name: Varhaug
	Author: Fredrik Sørlie
	Author URI: http://fredriksoerlie.com
	Version: 2.0
*/

/* Generic styles */

* {
	margin: 0; padding: 0;
}

html {
	width: 100%;
} 

body {
	width: 100%;
	background: black url("http://palvarhaug.com/uploads/bg-main.jpg") no-repeat left top;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif !important; font-size: 13px; color: #454545;
}

hr {
	height: 1px;
	font-size: 0; line-height: 0; color: #DDD;
	background-color: transparent;
	border-width: 0; border-top: 1px solid #DDD;
	display: block; clear: both;
	margin: 20px 0 20px 0; padding: 0;
}

img {
	border: 0;
	vertical-align: bottom;
}

p {
	display: block; clear: both;
	margin-bottom: 16px;
}

div#sidebar p,
span.section-desc p {
	margin: 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
	clear: both;
}

/* -------------------------------- Form fields -------------------------------- */

input {
	width: 300px;
	font-family: Arial, Helvetica, Sans-Serif; 
	color: #333;
	border: 0;
	border-top: 4px solid #F1F1F1;
	border-bottom: 1px solid #E28800;
	background: #F1F1F1;
	padding: 0 4px;
}

textarea {
	width: 400px;
	font-family: Arial, Helvetica, Sans-Serif;
	color: #333;
	border: 0;
	border-top: 4px solid #F1F1F1;
	border-bottom: 1px solid #E28800;
	background: #F1F1F1;
	overflow: auto;
	padding: 0 4px;
}

input#wpsf_contact_submit {
	width: 150px;
	border: 1px solid #CCC;
	background: #F1F1F1;
}

input:focus,
textarea:focus,
select:focus	{

}

/* -------------------------------- Headings and text -------------------------------- */

h1 {
	float: left;
	margin: 0 0 0 20px; padding: 0;
}

h2 {
	font-weight: normal; text-transform: uppercase;
}

h3 {
	font-weight: normal; text-transform: uppercase;
}

h4 {
	width: 100%;
	font-size: 14px; font-weight: normal; text-transform: uppercase; color: #666;
	border-bottom: 1px solid #CCC;
	display: table; clear: both;
	margin: 0 0 10px 0; padding: 0;
}

/* -------------------------------- Links -------------------------------- */

h1 a, h2 a, h3 a, h4 a, a, a:focus, a:link, a:active, a:visited, a:hover { 
	text-decoration: none; outline: none; 
}

a {
	color: #E28800;
	text-decoration: none
}

a:visited {
	color: #D49B44;
	text-decoration: none
}

a:hover {
	color: #F4980D;
	text-decoration: none
}

ul#navbar li a, ul#navbar li a:visited {
	width: 148px;
	border-top: 4px solid #AFAFAF; 
	border-bottom: 1px solid #AFAFAF; 
	text-decoration: none;
	background: #C4C4C4;
	display: block;	float: left;
	padding: 7px 0;
}

ul#navbar li a:hover, ul#navbar li.active a, ul#navbar li.active a:visited, ul#navbar li.active a:hover {
	border-top: 4px solid #E28800; 
	border-bottom: 1px solid #E28800;
	background: #AFAFAF;
}

/* -------------------------------- List styles -------------------------------- */

ul {
	list-style: none;
}

	ul.calendar li {
		width: 100%;
		color: #333; 
		background: #F1F1F1;
		display: table; 
		clear: both;
		margin: 0; 
		padding: 4px 0;
	}
	
		ul.calendar li div.eventinfo {
			float: left;
			padding: 2px 20px;
		}

		ul.calendar li div.eventinfo div.date {
			color: #E28800;
			text-transform: uppercase;
			font-size: 12px;
			float: left;
			clear: both;
		}
		
			ul.calendar li div.eventinfo div.date .raceid{
				color: #999;
			}
		
		ul.calendar li div.eventinfo div.location {
			width: 100%;
			text-transform: uppercase;
			font-size: 12px;
			float: left;
			clear: both;
		}

div#links ul.logos li {
	width: 148px;
	background: #F1F1F1;
	text-align: center;
	margin-bottom: 4px; padding: 10px 0;
}

/* -------------------------------- Navigation styles -------------------------------- */

ul#navbar {
	width: 888px;
	text-align: left;
	margin-top: 4px;
	display: table; clear: both;
}

	ul#navbar li {
		width: 148px;
		display: inline;
	}

		a span.navitem-name {
			font-size: 13px; color: white; line-height: 13px;
			text-transform: uppercase;
			display: block;	clear: both;
			margin: 0 0 0 20px;
		}

		a span.navitem-desc {
			font-size: 9px; color: #666; line-height: 9px;
			text-transform: uppercase;
			display: block;	clear: both;
			margin: 1px 0 0 20px;
		}

/* -------------------------------- Main Layout Styles -------------------------------- */

div#site {
	width: 888px;
	background: white;
	/*background: #FFF url("/images/bg-site.jpg") top center no-repeat;*/
	display: table;
	clear: both;
	border: 4px solid white;
	margin: 0 auto; 
}

div#heading {
	width: 888px;
	background: #EEE url("/images/bg_heading.gif") no-repeat;
	border-top: 4px solid #E28800; border-bottom: 1px solid #CCC;
	display: table;	clear: both;
	padding: 20px 0;
}

	div#serieslogo {
		float: right;
		margin: 0 20px 0 0;
	}

div#cover {
	width: 888px; height: 150px;
	background: url("http://palvarhaug.com/uploads/cover3.jpg") no-repeat;
	border-top: 0px solid #999; border-bottom: 0px solid #999;
	display: table;	clear: both;
	margin-top: 4px;
}

div#mainsponsors {
	width: 888px; 
	height: 100px;
	background: #F1F1F1;
	border-top: 4px solid #E28800; border-bottom: 1px solid #CCC;
	overflow: hidden;
	margin: 0;
	margin-top: 4px;
	z-index: 10;
	position: relative;
	display: block;	
	clear: both;
}

div#subsponsors {
	width: 888px; 
	height: 80px;
	background: #F1F1F1;
	border-top: 4px solid #E0E0E0; border-bottom: 1px solid #CCC;
	overflow: hidden;
	margin: 0;
	margin-top: 4px;
	z-index: 10;
	position: relative;
	display: block;	
	clear: both;
}

div#logofilter {
	width: 888px; 
	height: 100px;
	background: url("images/logofilter.png") no-repeat;
	overflow: hidden;
	margin: 0;
	z-index: 30;
	position: absolute;
	top: 0;
	left: 0;
}

div#logofilter2 {
	width: 888px; 
	height: 80px;
	background: url("images/logofilter.png") no-repeat;
	overflow: hidden;
	margin: 0;
	z-index: 30;
	position: absolute;
	top: 0;
	left: 0;
}

div#content {
	width: 888px; overflow: hidden;
	display: table; clear: both;
	margin-top: 4px;
}

	div#maincontent {
		width: 516px; 
		overflow: hidden;
		float: left; 
		text-align: left;
	}

	div#sidebar {
		width: 368px;
		float: right;
		text-align: left;
		overflow: hidden;
	}
	
	div#splitcol {
		width: 368px;
		display: table; clear: both;
	}
	
	div#calendar {
		width: 216px;
		float: left;
	}

	div#links {
		width: 148px;
		float: right;
	}
	
div#footer {
	width: 888px;
	border-top: 4px solid #E28800; 
	border-bottom: 1px solid #E0E0E0;
	background: #F5F5F5;
	display: table; 
	clear: both;
	text-align: left;
	margin-top: 4px; 
}

div#footer span {
	padding: 20px;
}

/* -------------------------------- Additional Layout Styles -------------------------------- */

.size-medium, .size-thumbnail {
	display: block; float: left;
	margin: 0 20px 10px 0;
}

.size-large, .size-full {
	display: block; clear: both;
	margin-bottom: 10px;
}

div.leftcol {
	width: 256px;
	float: left;
}

div.rightcol {
	width: 256px;
	float: right;
}

.section-header {
	border-top: 4px solid #E0E0E0; border-bottom: 1px solid #E0E0E0;
	background: #F5F5F5;
	text-decoration: none; text-align: left;
	display: block;	clear: both;
	padding: 7px 0;	margin-bottom: 4px;
}

.section-name {
	font-size: 13px; color: #E28800; line-height: 13px;
	text-transform: uppercase;
	display: block;	clear: both;
	margin: 0 0 0 20px;
}

.section-desc {
	font-size: 9px; color: #999; line-height: 9px;
	text-transform: uppercase;
	display: block; clear: both;
	margin: 1px 0 0 20px;
}

.section-content {
	overflow: hidden;
	line-height: 18px;
	background: url("/images/bg-content.png") left top no-repeat;
	padding: 20px;
}

.post a img, .post a:visited img,
.headline a img, .headline a:visited img{
	border: 4px solid #999;
	display: block;	clear: both;
}

.post a:hover img,
.headline a:hover img {
	border: 4px solid #E28800;
}

.headline a img, .headline a:visited img{
	border: 2px solid #999;
}

.headline a:hover img {
	border: 2px solid #E28800;
}

/* -------------------------------- Post Layout Styles -------------------------------- */

div.post {
	display: block;	
	clear: both;
	padding-bottom: 20px;
}

	div.post h3 {
		font-size: 16px; 
	}

	div.post span.date {
		font-size: 12px; color: #999;
		display: block;	clear: both;
		margin-bottom: 10px;
	}

div.headline {
	width: 476px;
	display: table;	clear: both;
	margin-top: 20px;
}


	div.postthumb {
		width: 83px;
		float: left;
	}

	div.postcontent {
		width: 373px; line-height: 16px;
		float: right;
	}
	
	div.postcontent div.img {
		display: none;
	}

	div.headline h3 {
		font-size: 14px; line-height: 20px;
		margin-top: -3px;
	}

	div.postcontent img {
		display: none !important;
	}

	div.headline span.date {
		font-size: 12px; color: #999; line-height: 14px;
		display: block;	clear: both;
		margin-bottom: 4px;
	}

div#social {
	width: 100%;
	clear: both;
	display: block;
}

div#social img {
	margin-bottom: 20px;
}
	
div.latest {
	display: block;	clear: both;
	margin-bottom: 4px;
}
	div.latest h3 {
		font-size: 14px;
		margin: 0;
	}

	div.latest img {
		display: none;
	}

	div.latest span.date {
		font-size: 12px; color: #999; line-height: 14px;
		display: block;	clear: both;
		margin: -4px 0 8px 0;
	}

.sponsorpage {
	text-align: center !important;
}

.sponsorpage a,
.sponsorpage a:visited,
.sponsorpage a:hover {
	border: 0 !important;
	display: inline-block;
	float: none;
}

.sponsorpage a img {
	border: 0 !important;
	display: inline;
	float: none;
	margin: 20px;
	vertical-align: top;
}

/* -------------------------------- Gallery Styles -------------------------------- */

div#picturegrid {
	display: block;	clear: both;
}

div#sidebar div.section-content div#picturegrid {
	width: 348px;
}

div#picturegrid a img, div#picturegrid a:visited img {
	width: 75px; height: 75px;
	border: 2px solid #999;
	display: table;	float: left;
	margin: 0 4px 4px 0;
}

div#picturegrid a:hover img {
	border: 2px solid #E28800;
}

.sociable img,
.sociable a,
.sociable a img,
.sociable a:visited,
.sociable a:visited img,
.sociable a:hover,
.sociable a:hover img{
	border: 0;
	float: left;
	display: inline;
	clear: none;
}

.sociable ul li {
	float: left;
	display: inline;
	margin-right: 5px;
}
