/*
Theme Name: Rennfahrerschule
Theme URI: http://www.rennfahrer-schule.com
Description: Rennfahrer-Schule Theme
Version: 1.0
Author: Philipp Walter
*/



body {
	background: #626262 url(images/background.png) top left repeat-x;
	font-family: Arial, Helvetica, sans-serif;
	color: #444;
	font-size: 11px;
	margin: 0px;
	padding: 0px;
}

p {
	padding: 10px 0px;
	margin: 0px;
}

/* global */

p.edit {
	border: 1px solid #DDD;
	background-color: #EFFEFEF;
	padding: 5px;
	font-size: 10px;
	margin: 20px 0px;
}

h1, h2, h3, h4, h5 {
	font-family: Helvetica, Arial, sans-serif;
	color: #222;
	font-style: italic;
	letter-spacing: -0.6pt;
}

h1 { font-size: 20px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
h5 { font-size: 12px; }

blockquote {
	background: #EEE url(images/blockquote.png) top left no-repeat;
	border-bottom: 1px solid #DDD;
	padding: 22px 10px 10px 10px;
	background-color: #EEE;
	line-height: 18px;
	font-style: italic;
	margin: 20px 10px;
}

a, a:visited, a:active {
	color: #bf1e2e;
	text-decoration: underline;
}

a:hover {
	color: #840e1a;
}

.size-thumbnail {
	border: 1px solid #DDD;
	padding: 5px;
	}
	
.size-thumbnail:hover {
	background: #FFF url(images/img-hover.png) top left repeat;
	border: 1px solid #999;
	}

.alignright { float: right; margin-left: 10px; }
.alignleft { float: left; margin-right: 10px; }

/* wrapper */

#wrapper {
	position: relative;
	left: 50%;
	margin-left: -421px;
	width: 842px;
	padding: 0px;
}
#wrapper .top {
	background: url(images/wrapper-top.png) top left no-repeat;
	height: 11px;
	width: 842px;
	padding: 0px;
	margin: 0px;
}
#wrapper .middle {
	background: url(images/wrapper-middle.png) top left repeat-y;
	width: 842px;
	padding: 0px 11px 0px 11px;
	margin: 0px;
}
#wrapper .bottom {
	background: url(images/wrapper-bottom.png) top left no-repeat;
	height: 11px;
	width: 842px;
	padding: 0px;
	margin: 0px;
}

#inner {
	width: 820px;
}

/* home */

#home {
	 width:100%; 
	 height:126px;
}


/* language selecttion */

#language {
	text-align: right;
	padding-right: 8px;
}

#language a img, #language a:visited img {
	border: 1px solid #666;
	padding: 2px;
	margin-left: 2px;
}

#language a:hover img {
	border: 1px solid #FFF;
}


/* header */

#header {
	background: #FFF url(images/header.jpg) top left no-repeat;
	width: 820px;
	height: 203px;
}

/* firstlevel navigation */

#firstlevel {
}

#firstlevel ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

#firstlevel ul li {
	padding: 0px 1px 0px 0px;
	margin: 0px;
	float: left;
	}

#firstlevel ul li a, #firstlevel ul li a:visited {
	display: block;
	background: url(images/firstlevel.png) no-repeat;
	background-position: 0px 100px;
	padding: 14px 20px 19px 20px;
	font-size: 14px;
	font-weight: bold;
	font-style: italic;
	color: #fff;
	text-decoration: none;
	letter-spacing: 1.2;
}

#firstlevel ul li a:hover  {
	background-position: center top;
	color: #333;
}

#firstlevel .current_page_item a, #firstlevel .current_page_item a:visited {
	background-position: center bottom;
	color: #333;
}

#firstlevel .current_page_parent a, #firstlevel .current_page_parent a:visited {
	background-position: center bottom;
	color: #333;
}


/* secondlevel navigation */

#secondlevel {
	width: 100%;
	padding: 2px 20px 0px 20px;
}

#secondlevel ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#secondlevel ul li {
	margin: 0px;
	padding: 0px 5px 0px 0px;
	float: left;
}

#secondlevel ul li a, #secondlevel ul li a:visited {
	display: block;
	font-size: 11px;
	color: #444;
	text-decoration: none;
	padding: 4px 20px 4px 20px;
}

#secondlevel ul li a:hover {
	color: #333;
	background-color: #FFF;
	-moz-border-radius: 6px; 
	-webkit-border-radius: 6px;
}

#secondlevel .current_page_item a, #secondlevel .current_page_item a:visited {
	padding-bottom: 7px;
	color: #333;
	background-color: #FFF;
	-moz-border-radius-topleft: 6px; 
	-moz-border-radius-topright: 6px;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
}


/* content */

#page {
	width: 820px;
}

#page .content {
	background-color: #FFF;
	width: 580px;
	float: left;
}

#page .content img {
	padding: 4px;
	border: 1px solid #DDD;
	}
	
#page .content a img {
	padding: 4px;
	border: 1px solid #DDD;
	}
	
#page .content a:hover img {
	padding: 4px;
	border: 1px solid #840e1a;
	}

#page .content .inner {
	padding: 10px;
}

#page p {
	font-size: 12px;
	color: #444;
	line-height: 18px;
}


/* page news */

#page-post {
	width: 100%;
	padding: 20px 0px;
}

#page-post h2 {
	background: #FFF url(images/headline1.png) top left no-repeat;
	padding: 0px 10px 10px 10px;
	margin: 0px;
}

#page-post ul {
	list-style: none;
	padding: 0px 0px 0px 15px;
	margin: 0px;
}

#page-post ul li {
	padding: 10px 0px 10px 0px;
	border-bottom: 1px dotted #DDD;
}

#page-post h3 {
	padding: 0px;
	margin: 0px;
	font-size: 14px;
}

#page-post h3 a, #page-post h3 a:visited, #page-post h3 a:hover {
	text-decoration: none;
}

#page-post p {
	padding: 0px;
	margin: 0px;
}

#page-post p.more {
	padding: 0px;
	margin: 0px;
	display: block;
	text-align: right;
}

/* sidebar */

#page .sidebar { 
	float: right;
	width: 240px;
	background: url(images/sidebar.png) top left no-repeat;
}

#page .sidebar .inner { 
	padding: 10px 10px 10px 10px;
}

#sidebar-element ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#sidebar-element ul li {
	margin: 0px;
	padding: 10px 10px 10px 10px;
}

#sidebar-element a, #sidebar-element a:visited {
	color: #bf1e2e;
	font-weight: bold;
	padding: 0px 0px 4px 0px;
}

#sidebar-element a:hover {
	color: #840e1a;
}

#sidebar-element p {
	line-height: 16px;
}

#sidebar-media {
	text-align: center;
	padding: 20px 0px;
	}
	
#sidebar-media img {
	background: url(images/sidebar-media-bg.png) top left no-repeat;
	border: 0px;
	padding: 3px 3px 8px 3px;
	}
	
#sidebar-corporations {
	text-align: center;
	padding: 10px 0px;
	}

#sidebar-corporations a, sidebar-corporations a:visited {
	margin: 20px 0px;
	filter:alpha(opacity=50);
	-moz-opacity: 0.50;
	opacity: 0.50;
	}
	
#sidebar-corporations a:hover {
	filter:alpha(opacity=100);
	-moz-opacity: 1;
	opacity: 1;
	}



/* footer */
#footer {
	width: 100%;
	padding: 10px 7px 20px 7px;
}

#footer .links {
	position: relative;
	float: right;
}

#footer .links ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

#footer .links ul li {
	float: left;
	padding: 0px 5px;
}

#footer .links ul li a, #footer .links ul li a:visited{
	display: block;
	font-size: 11px;
	color: #999;
	text-decoration: none;
}

#footer .links ul li a:hover {
	color: #FFF;
}

#copyright {
	float: left;
	color: #999;
}

/* fuer unterschiedliche Kommentare*/

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

/* braucht man immer*/
acronym, abbr, span.caps {
	cursor: help;
	}

/* clearfix */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
 
.clearfix {
	display: inline-block;
}
 
html[xmlns] .clearfix {
	display: block;
}
 
* html .clearfix {
	height: 1%;
}



