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

/* ------------------------------- Generic styles ------------------------------- */

* {
	margin: 0;
	padding: 0;
}

body, html {
	width: 100%;
} 

body {
	text-align: center;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 16px;
	color: #555;
}

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

hr {
	height: 1px;
	font-size: 0;
	line-height: 0;
	color: #CCC;
	background-color: transparent;
	border-width: 0;
	border-top: 1px solid #CCC;
	margin: 10px 0 10px 0;
	padding: 0;
	display: block;
	clear: both;
}

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

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

.left {
	float: left;
}

.right {
	float: right;
}

/* ------------------------------- 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;
}

/* ------------------------------- Headings ------------------------------- */

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

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

h3 {
	font-size: 16px;
	font-weight: bold;
	color: #333;
}

div#maincontent h3 {
	font-size: 16px;
	font-weight: bold;
	line-height: 18px;
}

div#maincontent .headline h3 {
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
}

div#sidebar h3 {
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
}

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

.home div#feature h3 {
	font-weight: bold;
	font-size: 28px;
	line-height: 32px;
	color: white;
	letter-spacing: -1px;
	margin: -3px 0 6px 0;
}

h4 {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 10px;
}

/* ------------------------------- Links ------------------------------- */

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

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

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

h2 a,
h2 a:visited {
	color: #999;
}

h2 a:hover {
	color: #000;
}

ul#menu li a,
ul#menu li a:visited {
	height: 60px;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: -1px;
	border-left: 1px solid #CCC;
	padding-left: 10px;
	color: #888;
}

ul#menu li.shoplink a,
ul#menu li.shoplink a:visited {
	color: #F33;
}

ul#menu li.shoplink a:hover {
	border-left: 1px solid #999;
	color: #000;
	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;
}

div#feature h3 a,
div#feature h3 a:visited {
	color: white;
}

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

div#news a img,
div#news a:visited img {
	border: 4px solid #CCC;
	float: left;
	margin: 0 20px 20px 0;
}

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

ul#categories li a {
	position: relative;
	top: 5px;
	left: 0;
	vertical-align: top;
}

	ul#categories li a img {
		width: 100px;
		height: 100px;
		border: 4px solid #CCC;
		position: relative;
		top: 0;
		left: 0;
		margin-right: 10px;
	}

	ul#categories li a:hover img {
		filter: alpha(opacity=90);
		opacity:.90;
		border: 4px solid #000;
	}

		ul#categories li ul.children li a {
			position: relative;
			text-indent: 0;
		}

div#footer a {
	color: #CCC;
}

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

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

ul {
	list-style: none;
}

/* Navigation */

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;
	}

ul.wp-tag-cloud {
	width: 100%;
	display: table;
	clear: both;
	padding-bottom: 20px;
}

	ul.wp-tag-cloud li {
		font-weight: bold;
		width: auto;
		float: left;
		clear: none;
		margin: 0 15px 5px 0;
	}

/* Maincontent */

div#maincontent ul#categories {
	display: block;
	clear: both;
}

	div#maincontent ul#categories li {
		width: 468px;
		height: 118px;
		font-size: 14px;
		font-weight: bold;
		border-top: 0px solid #EEE;
		border-bottom: 1px solid #CCC;
		position: relative;
		display: block;
		clear: both;
		margin-bottom: 15px;
	}

		div#maincontent ul#categories li ul.children {
			width: 350px;
			height: 75px;
			overflow: hidden;
			font-size: 12px;
			font-weight: normal;
			position: absolute;
			top: 25px;
			left: 118px;
		}

			div#maincontent ul#categories li ul.children li {
				width: 100px;
				height: 14px;
				font-size: 12px;
				font-weight: normal;
				line-height: 14px;
				background: none;
				border: 0;
				position: relative;
				display: inline;
				clear: none;
				float: left;
				margin: 0 10px 2px 0;
			}
		
div#maincontent ul#headlines {
	width: 468px;
	display: block;
	clear: both;
	margin-bottom: 20px;
}

	div#maincontent ul#headlines li {
		display: table;
		clear: both;
		margin-bottom: 20px;
	}

div#maincontent ul#products {
	width: 468px;
	display: block;
	clear: both;
	margin-bottom: 20px;
}

	div#maincontent ul#products li {
		display: table;
		clear: both;
		margin-bottom: 20px;
	}

div#maincontent ul#useditems {
	width: 468px;
	display: block;
	clear: both;
	margin-bottom: 20px;
}

	div#maincontent ul#useditems li {
		display: table;
		clear: both;
		margin-bottom: 20px;
	}
			
ul#drivers li {
	width: 468px;
	font-size: 16px;
	font-weight: bold;
	display: block;
	clear: both;
	margin-bottom: 15px;
}

	ul#drivers li ul li {
		width: auto;
		font-size: 12px;
		font-weight: normal;
		line-height: 14px;
		margin: 0 10px 5px 0;
	}
	
/* Sidebar */
			
div#sidebar ul#headlines {
	width: 368px;
	display: block;
	clear: both;
	margin-bottom: 20px;
}

	div#sidebar ul#headlines li {
		display: table;
		clear: both;
		margin-bottom: 20px;
	}

div#sidebar ul#useditems {
	width: 368px;
	display: block;
	clear: both;
	margin-bottom: 20px;
}

	div#sidebar ul#useditems li {
		display: table;
		clear: both;
		margin-bottom: 20px;
	}

div#sidebar ul#categories {
	display: block;
	clear: both;
}

	div#sidebar ul#categories li {
		width: 368px;
		font-size: 14px;
		line-height: 18px;
		font-weight: bold;
		display: table;
		clear: both;
		margin-bottom: 20px;
	}
	
		div#sidebar ul#categories li ul.children {
			display: table;
			clear: both;
		}

			div#sidebar ul#categories li ul li {
				width: 100px;
				height: 14px;
				font-size: 12px;
				font-weight: normal;
				line-height: 14px;
				display: table;
				clear: none;
				float: left;
				margin: 0 10px 2px 0;
			}
			
/* ------------------------------- Main Layout ------------------------------- */

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

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

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

div#brands {
	width: 998px; 
	height: 170px;
	background: url("images/bg-logobanner.gif") repeat-x;
	overflow: hidden;
	margin: 0;
	border-width: 0 1px; 
	border-style: solid; 
	border-color: #FFF;
	z-index: 10;
	position: relative;
}

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

.home div#cover {
	height: 200px; 
	background: url("images/cover.jpg") no-repeat;
}

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

		div#feature p {
			margin: 0;
		}
		
		div#feature img {
			margin-top: 10px;
		}

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;
	padding: 40px 0;
}

	div#maincontent {
		width: 468px;
		float: left;
		overflow: hidden;
		margin-left: 40px;
		position: relative;
	}

	div#sidebar {
		width: 368px;
		float: right;
		overflow: hidden;
		margin-right: 40px;
		list-style-type: none;
		text-indent: 0;
		padding: 0;
	}

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;
	}

/* ------------------------------- Additional Layout ------------------------------- */

.hideimg img {
	display: none;
}

.imgclick {
	font-size: 11px;
	font-style: italic;
	line-height: 12px;
	color: #777;
	display: table;
	clear: both;
	padding: 0; 
	margin: 0;
}

.date {
	font-size: 11px;
	line-height: 12px;
	color: #777;
	display: table;
	clear: both;
	padding: 0; 
	margin: 0 0 10px 0;
}

.price {
	font-size: 12px;
	font-weight: bold;
	line-height: 14px;
	color: #333;
	display: table;
	clear: both;
	padding: 0; 
	margin: 5px 0;
}

div.post {
	width: 468px; 
	overflow: hidden;
	border-bottom: 1px solid #DDD;
	display: table; 
	clear: both;
	margin: 0 0 20px 0;
	padding: 0 0 5px 0; 
}

	div.post img {
		border: 4px solid #CCC;
		float: left;
		margin: 0 10px 10px 0;
	}

	div.post a:hover img {
		filter: alpha(opacity=90);
		opacity:.90;
		border: 4px solid #000;
	}

.prodthumb,
.postthumb {
	width: 75px; 
	height: 75px;
	float: left; 
}

	.prodthumb img,
	.postthumb img {
		border: 4px solid #CCC; 
		display: block; 
	}

	.prodthumb a:hover img,
	.postthumb a:hover img {
		filter: alpha(opacity=90);
		opacity:.90;
		border: 4px solid #000;
		text-decoration: none;
	}
	
.prodinfo img,
.postexcerpt img {
	display: none;
}
	
#maincontent .prodinfo,
#maincontent .postexcerpt {
	width: 365px;
	float: right;
}

#sidebar .prodinfo {
	width: 265px;
	float: right;
}