/*
	Client: Stian Sørlie
	Client URI: htpp://stianracing.com
	Theme name: Raceblog v1
	Author: Fredrik Sørlie
	Author URI: http://fredriksoerlie.com
	Version: 1.0
*/

/* Generic styles */

* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
} 

body {
	width: 100%;
	background: white url("/images/bg_body2.gif") repeat-x;
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 18px;
	color: #000;
}

body#home {
	background: white url("/images/bg_body.gif") repeat-x;
}

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

div#news p img {
	display: inline;
	float: left;
	margin: 3px 10px 10px 0;
}

.noimg p img {
	display: none !important;
}

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

.left {
	float: left;
}

.right {
	float: right;
}

/* -------------------------------- Newsletter -------------------------------- */

div#nyhetsbrev {
	background: #F9F9F9;
	display: block;
	margin: -20px 0 30px 0;
	padding: 20px;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	border-left: 1px solid #CCC;
	clear: both;
}

div#nyhetsbrev p {
	margin-bottom: 10px;
}

#ajaxNewsletter, .newsletterContainer {
	overflow: hidden;
	display: table;
	padding-bottom: 20px;
	clear: both;
}

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

#ajaxNewsletter input.newsletterTextInput {
	width: 250px;
	float: left;
	margin-right: 10px;
	padding-right: 2px;
	padding-left: 2px;
}

#ajaxNewsletter input.submit {
	width: 40px;
	float: right;
}

#newsletterLoading {
	clear: both;
	margin: 10px 0 0 0;
}

.success {
	clear: both;
	margin: 10px 0;
}

.error {
	clear: both;
	margin: 10px 0;
}

/* -------------------------------- Form fields -------------------------------- */

input {
	font-family: Arial, Helvetica, Sans-Serif;
	color: #666;
	border: 1px solid #AAA;
	background: #EEE;
	padding: 4px 0;
	_height: 28px;
}

textarea {
	font-family: Arial, Helvetica, Sans-Serif;
	color: #666;
	border: 1px solid #AAA;
	background: #EEE;
	overflow: auto;
}

input:focus,
textarea:focus,
select:focus	{
	background:#FFF;
	border: 1px solid #999;
	color: #000;
}

div#page input {
	font-size: 14px;
}

label.navn {
	width: 220px;
	float: left;
}

label.epost {
	width: 220px;
	float: right;
}

label.navn input,
label.epost input {
	width: 218px;
}

label.emne {
	clear: both;
	margin-top: 10px;
}

label.emne input {
	width: 466px;
	clear: both;
}

label.melding textarea {
	width: 466px;
	height: 200px;
	overflow: auto;
	clear: both;
}

span.submit input {
	width: 466px;
	height: 24px;
	line-height: 20px;
	clear: both;
}

.wpcf7-checkbox input,
div#login input#rememberme {
	border: 0;
	background: none;
	padding: 0;
}

/* Headings and text */

h1 {
	width: 172px;
	height: 60px;
	float: left;
	margin: 20px 0 0 40px;
	padding: 0;
	overflow: auto;
}

h2 {
	font-size: 24px;
	line-height: 30px;
	font-weight: bold;
	color: #000;
	margin-bottom: 10px;
}

div#news h3 {
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 10px;
}

div#feature h3 {
	font-weight: bold;
	font-size: 30px;
	line-height: 36px;
	color: white;
	letter-spacing: -1px;
	margin: -3px 0 10px 0;
}

h4 {
	font-size: 16px;
	font-weight: bold;
	color: #999;
	border-bottom: 1px solid #CCC;
	padding-bottom: 3px;
	margin-bottom: 20px;
}

/* Links */

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

a {
	color: #2A3EC1;
}

a:visited {
	color: #666666;
}

a:hover {
	color: #ED0000;
}

ul#menu li a,
ul#menu li a:visited {
	height: 60px;
	border-left: 1px solid #CCC;
	padding-left: 10px;
	color: #999;
	text-decoration: none;
}

ul#menu li.current_page_item a,
ul#menu li.current_page_item a:visited,
ul#menu li.current_page_item a:hover {
	border-left: 1px solid #999;
	color: #000;
	text-decoration: none;
}

ul#menu li a:hover {
	border-left: 1px solid #999;
	color: #000;
	text-decoration: none;
}

h2 a,
h3 a {
	text-decoration: none;
}

div.date a,
div.more a,
h4 a {
	text-decoration: none;
}

div#feature h3 a,
div#feature h3 a:visited {
	color: white;
	text-decoration: none;
}

div#feature a:hover {
	color: #2A3EC1;
}

div#news a img,
div#news a:visited img {
	border: 4px solid #CCC;
	clear: both;
	display: block;
	float: none;
	margin-bottom: 20px;
}

div#news a:hover img {
	filter: alpha(opacity=90);
	opacity:.90;
	border: 4px solid #000;
	text-decoration: none;
}

div#footer a {
	color: #CCC;
}

/* List styles */

ul {
	list-style: none;
}

ul#menu {
	height: 60px;
	font-weight: bold;
	letter-spacing: -1px;
	text-align: right;
	float: right;
	overflow: hidden;
	margin: 20px 40px 0 40px;
	padding: 0;
}

ul#menu li {
	display: inline;
	margin-left: 20px;
}

div#page ul {
	display: table;
	margin-bottom: 20px;
}

div#page ul li {
	line-height: 15px;
	background: url("/images/bg_li.gif") no-repeat;
	padding-left: 15px; 
}

/* Layout */

div#header {
	width: 998px;
	height: 100px;
	background: url("/images/bg_header.gif") top center no-repeat;
	overflow: hidden;
	border-width: 0 1px;
	border-style: solid;
	border-color: white;
	_margin: -18px auto 0 auto;
}

html>/**/body div#header,
html>/**/body#home div#header {
	margin: 0 auto;
}

body#home div#cover {
	width: 998px;
	height: 200px;
	background: url("/images/cover2.jpg") no-repeat;
	overflow: hidden;
	text-align: right;
	border-width: 0 1px;
	border-style: solid;
	border-color: #666;
	margin: 0 auto;
}

body div#cover {
	width: 998px;
	height: 100px;
	background: url("/images/cover3.jpg") no-repeat;
	overflow: hidden;
	text-align: right;
	border-width: 0 1px;
	border-style: solid;
	border-color: #666;
	margin: 0 auto;
}

div#feature {
	width: 428px;
	font-weight: normal;
	font-size: 16px;
	line-height: 22px;
	color: white;
	float: left;
	text-align: left;
	display: inline;
	margin: 40px 0 0 39px;
	padding-left: 20px;
	border-left: 1px solid white;
}

div#feature p {
	margin: 0;
}

div#content {
	width: 998px;
	background: #FFF url("/images/bg_content.gif") repeat-x;
	text-align: left;
	border-width: 1px;
	border-style: solid;
	border-color: white;
	display: table;
	margin: 0 auto;
}

div#news,
div#page {
	width: 468px;
	float: left;
	margin: 40px 0 0 40px;
	display: inline;
}

div.date,
div.more {
	width: 468px;
	height: 16px;
	line-height: 16px;
	font-size: 12px;
	color: #999;
	display: table;
	padding: 2px 0;
	margin-bottom: 20px;
}

div.date {
	border-top: 1px solid #EEE;
	border-bottom: 4px solid #EEE;
}

div.more {
	border-top: 4px solid #EEE;
	border-bottom: 1px solid #EEE;
}

div#sidebar {
	width: 368px;
	float: right;
	display: inline;
	overflow: hidden;
}

div#sidebar {
	margin: 22px 40px 0 0;
}

html>/**/body div#sidebar {
	margin: 40px 40px 0 0;
}

div#picturegrid {
	width: 380px;
	overflow: hidden;
	display: table;
	margin-bottom: 20px;
}

div#picturegrid img {
	border: 4px solid #CCC;
	margin: 4px 12px 8px 0;
	display: table;
	float: left;
}

div#picturegrid a:hover img {
	filter: alpha(opacity=90);
	opacity:.90;
	border: 4px solid #000;
	text-decoration: none;
}

ul#sponsors {
	width: 380px;
	overflow: hidden;
	display: table;
	margin-bottom: 30px;
}

ul#sponsors li {
	display: inline;
}

ul#sponsors li img {
	margin: 4px 12px 8px 0;
	display: table;
	float: left;
}

ul#sponsors li a:hover img {
	filter: alpha(opacity=50);
	opacity:.50;
}

div#footer {
	width: 100%;
	color: #FFF;
	background: #000 url("/images/bg_footer.gif") repeat-x;
	padding: 80px 0 40px 0;
}

div#footercontent {
	width: 918px;
	text-align: left;
	display: table;
	margin: 0 auto;
}