/*

Theme Name: Sebastian Dehmer Theme
Theme URI: http://www.4wdmedia.de/
Description: Theme for the Sebastian Dehmer Blog by <a href="http://www.4wdmedia.de">4wd media</a>
Version: 1.0
Author: Paulo Gotta, Volker Stephan
Author URI: http://www.4wdmedia.de/

*/


/* Begin Typography & Colors */

/*
	blau: #0382bb;
	weiss: #fff;
	schwarz: #1c1c1c;
	linie content: #808080;
	linienfarbe: #8d8d8d;
	hintergrund: #1c1c1c;

*/

/* CSS Reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, font, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 13px;
	font-family: inherit;
	vertical-align: baseline;
	font-family: 'Trebuchet MS', sans-serif;
	color: #1c1c1c;
	line-height:17px;
}

input, textarea {
	font-family: 'Trebuchet MS', sans-serif;
}

html {
	height: 100%;
	overflow-y: scroll;
	overflow-x: hidden;
}

body { height: 100%;}

body {
	line-height: 1;
}

table {
	border-collapse: separate;
	border-spacing: 0;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}


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

/* --- general styles --- */

.headnavi {
/*	border-bottom: 1px solid #808080; */
	padding: 0;
	margin-bottom:20px;
}

.headnavi .alignleft, .headnavi .alignright {
	width:50%;
	padding-bottom:9px;
}

.post .alignleft {
	padding: 5px 15px 5px 0;
}

.post .alignright {
	padding: 5px 0 5px 15px;
}

.post .aligncenter {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.alignleft {
	float:left;
	text-align: left;
}

.alignright {
	float:right;
	text-align: right;
}

/* --- FONTS --- */

body {
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
}

h1 {
	color: #0382bb;
	font-size:23px;
}

h2, h3 {
	font-size: 13px;
	border-bottom: 1px solid #a2a2a2;
	text-transform: uppercase;
	font-style: italic;
	padding-bottom:4px;
	margin-bottom:5px;
	padding-left:3px;
}

#content h2, #content h3 {
	margin-top:1px;
	border-bottom:0;
	text-transform: none;
	font-style: normal;
	padding-left:0;
	font-size:23px;
	line-height:28px;
}

#content h2 a, #content h3 a {
	color: #0382bb;
	font-size:23px;
	line-height:28px;
}

#content .pagetitle {
	text-transform: uppercase;
	font-style: italic;
	font-size:13px;
	line-height:17px;
	line-height:26px;
	font-weight: bold;
}

h4 {
	font-style:italic;
	text-transform: uppercase;	
	font-size:13px;
	line-height:17px;
	margin-bottom:4px;
}

h5 {
	font-weight: bold;
}

p {
	color: #1c1c1c;
	font-size:13px;
	margin-bottom:14px;
}

.entry ul {
	margin-bottom:14px;
}

.entry li {
	line-height:20px;
}

.more-link {
	display:block;
}

a {
	text-decoration: none;
	color:#0382bb;
}

a:hover {
	text-decoration: none;
}

#content a:hover, .contentsponsors a:hover {
	text-decoration: underline;
}

#content ul li {
	list-style-type: none;
	list-style-position: outside;
	padding-left:10px;
	background: transparent url("images/list-content.png") 2px 10px no-repeat;
}

.highlights {
	margin-bottom:30px;
}

#content .highlights ul li {
	padding-left:0;
	background:none;
}

#content ol li {
	list-style-type: decimal;
	list-style-position: inside;
}

::-moz-selection {
	background:#0382bb;
	color:#fff;
}

::selection {
	background:#0382bb;
	color:#fff;
}

/* --- PAGE LAYOUT --- */

body {
	background: #1c1c1c;
}

#page {
	width: 985px;
	margin:0 auto;
}

#headerimages {
	height:300px;
	width:100%;
}

#headerimages img {
	position: absolute;
}

#randomimages {
	position: absolute;
}

#randomimages img {
	position: absolute;
	display: block;
}

#logo {
	margin-left: 30px;
	margin-top: 42px;
}

.mainarea {
	background: transparent url("images/content-px.png") 0 0 repeat-y;
	padding: 0 16px 0 25px;
}

.precontent {
	background: transparent url("images/content-top.png") 0 0 repeat-y;
	height:22px;
	margin-top:30px;
}

.postcontent {
	background: transparent url("images/content-bottom.png") 0 0 repeat-y;
	height:12px;
}

#content {
	float:left;
	width:484px;
	padding-left:25px;
	padding-right:35px;
	padding-top:3px;
}

/* SIDEBARS */

.sidebar {
	float:left;
	width:200px;
}

ul, li {
	list-style:none;
	padding-left:0;
	list-style-position: outside;
}

.blackcontent {
	width:162px;
	position: relative;
	background: transparent url("images/marginalie-px.png") 0 0 repeat-y;
	padding: 0px 22px 5px 14px;
}

.blacktop {
	position: relative;
	width:199px;
	height: 12px;
	background: transparent url("images/marginalie-top.png") 0 0 no-repeat;
}

.blackbottom {
	position: relative;
	width:199px;
	height: 15px;
	background: transparent url("images/marginalie-bottom.png") 0 0 no-repeat;
}

/* List elements */

.blackcontent h2, .blackcontent li, .blackcontent li a, .blackcontent  {
	color: #fff;
}

.blackcontent li {
	background: transparent url("images/listelement.gif") 2px 9px no-repeat;
	padding-left:10px;
}

.blackcontent li a {
	font-style: italic;
}

.blackcontent li a:hover {
	color: #0382bb;
}

/* List elements for links */

.blackcontent .linkcat {
	background:none;
	padding-left:0;
}

.blackcontent li + li h2 {
	margin-top:10px;
}

/* facebook */

.facebook, .homebutton, .datesbutton, .flickr, .youtube {
	width: 190px;
	height:31px;
	padding-left:4px;
	margin-bottom:4px;
	margin-top:5px;
}

.facebook a, .homebutton a, .datesbutton a, .flickr a, .youtube a {
	display: block;
	height:32px;
	line-height:26px;
	padding-left:38px;
	font-style: italic;
	color: #fff;
	text-transform: uppercase;
}

.facebook a {
	padding-left: 53px;
	background: transparent url("images/facebook.png") -4px -46px no-repeat;
}

.youtube a {
	padding-left: 53px;
	background: transparent url("images/youtube.png") -4px -4px no-repeat;
}

.flickr a {
	padding-left: 53px;
	background: transparent url("images/flickr.png") -4px -4px no-repeat;
}

.homebutton a {
	background: transparent url("images/home.png") -4px -4px no-repeat;
}

.homebutton a:hover, .datesbutton a:hover {
	background-position: -4px -47px;
	color:#0382bb;
}

.facebook a:hover {
	background-position: -4px -4px;
	color:#0382bb;
}

.flickr a:hover, .youtube a:hover {
	background-position: -4px -46px;
	color:#0382bb;
}


.datesbutton a {
	background: transparent url("images/kalender.png") -4px -4px no-repeat;
}

/* pages links */

.button-bio li, .button-contact li, .button-partner li {
	background:none;
	padding-left:0;
}

.button-bio a {
	background: transparent url("images/bio.png") 0 bottom no-repeat;
	height:40px;
	display:block;
	text-transform: uppercase;
	padding-left:3px;
	font-style: italic;
}

.button-contact a {
	background: transparent url("images/kontakt-impressum.png") 0 bottom no-repeat;
	height:90px;
	display:block;
	text-transform: uppercase;
	padding-left:3px;
	font-style: italic;
}

.button-partner a {
	background: transparent url("images/sponsoren.png") 0 bottom no-repeat;
	height:80px;
	display:block;
	text-transform: uppercase;
	padding-left:3px;
	font-style: italic;
}

/* CONTENT ELEMENTS */

.post {
	padding: 0;
	margin-bottom:14px;
	border-bottom: 1px solid #808080;
}

.comment {
	margin-bottom:10px;
	border-bottom: 1px solid #808080;
}

.noborder {
	border-bottom: none;
}

/* date formatting */

.date-left {
	background: transparent url("images/date-left.png") 0 0 no-repeat;
	display:block;
	float:left;
	height:36px;
	width:11px;
	padding:0;
	margin-top:1px;
}

.date-middle {
	background: transparent url("images/date-middle.png") 0 0 repeat-x;
	display:block;
	float:left;
	height:36px;
	line-height:26px;
	padding:0;
	color:#fff;
	padding-right:2px;
	margin-top:1px;
}

.date-double {
	background: transparent url("images/date-double.png") 0 0  no-repeat;
	display:block;
	float:left;
	height:36px;
	width:15px;
	padding:0;
	margin-top:1px;
}

.date-right {
	background: transparent url("images/date-right.png") 0 0 no-repeat;
	display:block;
	float:left;
	height:36px;
	width:16px;
	padding:0;
	margin-top:1px;
}

/* comments, search, forms */

textarea {
	width: 484px;
	border: 1px solid #808080;
	background-color: #f4f4f4;
}

input {
	border: 1px solid #808080;
	background-color: #f4f4f4;
}


/* BELOW CONTENT */

.inbetween {
	line-height:36px;
	margin-bottom: 0;
	font-style: italic;
	color: #fff;
	width:300px;
}

.left {
	float:left;
	text-align:left;
	padding-left:30px;
}

.right {
	float:right;
	text-align: right;
	padding-right:30px;
}

/*

.calendar {
	width:183px;
	margin-left:4px;
}

*/


div.tb_footer {
	margin-bottom:0px;
	width: 161px;
	height: 57px;
	margin-top:17px;
	background: transparent url("images/twitter.png") 0 0 no-repeat;
	color: #fff !important;
}

div.tb_footer a {
	color: #fff;
}

div.tb_footer:hover {
	background: transparent url("images/twitter-hover.png") 0 0 no-repeat;
	color:#0382bb;
}

div.tb_footer:hover a {
	color:#0382bb;
}

.contentsponsors {
	height:94px;
}

.contentsponsors a {
	display:block;
	float:left;
	margin-right:30px;
	margin-left:30px;
}

.contentsponsors a.nomr {
	margin-right:0px;
}

table.bio {
	margin-bottom:25px;
}

table.bio th {
	width:135px;
}

table.bio td, table.bio td {
	line-height:20px;
}

.sponso-partners img {
	padding:12px 0 25px;
}

.sponso-partners td {
	width: 161px;
}

.sponso-partners td img {
	padding-bottom:0;
}

#page .post h2 {
	font-size: 18px;
}

#page h4 {
	font-weight: bold;
}

.entry img {
	max-width:484px;
}


