/*
Theme Name: ojdo
Theme URI: http://www.ojdo.de/wp/tag/wp-theme/
Description: Custom theme for ojdo.de, based on the theme "WordPress default" by <a href="http://binarybonsai.com/">Michael Heilemann</a>
Version: 0.2
Author: Johannes Dorfner
Author URI: http://www.ojdo.de/
Tags: dark, custom header, fixed width, two columns, widget

*/


/* Begin Typography & Colors */
body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background: #000 url('images/bg-diagonals.png') repeat-y;
	color: #fff;
	}

#page {
	text-align: left;
	background: url("images/bg-middle.png") repeat-y;
	}

#header {
	background: #000; 
	}

#navigation {
	background: url("images/bg-top.png") no-repeat bottom;
	margin: 0;
	width: 831px;
	height: 33px;
	}
#navigation ul {
	list-style-type: none; margin: 0;
	}	

#navigation li a {
	color: #fff; display: block; float: left; width: 75px; height: 20px; background: url('images/nav-bg.png') no-repeat #999; margin-right: 15px;
	font-size: 1em; line-height: 100%; padding-left: 10px; padding-top: 5px;
	}

#navigation li a:hover {
	text-decoration: none;
	}
	
#content {
	font-size: .8em;
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.postmetadata {
	clear: both;
	}


#footer {
	background: #000 url("images/bg-bottom.png") no-repeat;
	border: none; font-size: .7em;
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.85em;
	line-height: 1.25em;
	}

h2 { font-size: 1.6em; }


h3 { font-size: 1.3em; font-weight: normal; }

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #fff;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #7C9AB2;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

#commentform textarea {
	background: #262626; color: #fff; border: 1px solid #666;
}

	
.commentlist li ul li {
	font-size: 1em;
}

.commentlist li {
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font-size: .75em;
	font-family: Verdana, Arial, Sans-Serif;
	}
#sidebar p {
	font-size: .9em; line-height: 1.3em; text-align: justify;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	text-decoration: underline;
	}

p.more { clear: right; padding-bottom: 1.5em; }
p.more a, p.more a:visited{ display: block; height: 20px; float:right; margin-right: 5px; padding: 0 5px; color: #fff; }
p.more a:hover { text-decoration: none; background-color: #A9A9A9; }
span.read-on a { width:4.5em; background: url('images/button-right.png') no-repeat right #444; }
span.comment a { width:5em; background: url('images/button-left.png') no-repeat left #444; }

ul.samecategory a{ float: right; display: block; width: 60px; height: 20px; background: url('images/button.png') no-repeat left #444; margin-right: 5px; padding-left: 20px; }
ul.samecategory a, ul.samecategory:visited { color: #fff; }
ul.samecategory a:hover { text-decoration: none; background-color: #A9A9A9; }

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0 0 20px 0;
	padding: 0;
	}

#page {
	margin: 0 20px 35px 60px;
	padding: 0;
	width: 831px;
	}

#header {
	margin: 0;
	padding: 0;
	}

#headerimg {
	margin: 0;
	}

.narrowcolumn {
	float: left;
	padding: 0 8px 20px 8px;
	margin: 0;
	width: 500px;
	}

.post {
	margin: 0 0 4em;
	text-align: justify;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	width: 831px;
	clear: both;
	}

#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
/* End Structure */



/*	Begin Headers */
h1 {
	background: url("images/h1-logo-wide.png") no-repeat;
	width:811px; height: 109px;
	text-indent: -1000em; color: #fff;
	margin: 0 0 -10px 0;
	}
h1 a {
	display: block; position: absolute; left: 675px; top: 53px;
	width: 145px; height: 56px;
}

#headerimg .description {
	padding-bottom: 35px;
}

h2 {
	margin: 1em 0 0 -40px;
	padding-left: 48px;
	padding-bottom: 4px;
	background-image: url("images/h2-news.png");
	background-repeat:  no-repeat;
	font-weight: normal; 
	}

.category-review h2, .category-audio h2, .category-foobar2000 h2 { background-image: url("images/h2-audio.png"); }
.category-picture h2, .category-france h2, .category-munich h2, .category-wallpaper h2 { background-image: url("images/h2-picture.png"); }
.category-text h2, .category-energy h2, .category-how-tos h2 { background-image: url("images/h2-text.png"); }

div.dateposted {
	float: right; display: block;
	margin: -.5em 8px 0 .5em; padding: 0;
	color: #666; 
	}
.dateposted span { display: block; text-align: center; }
.dateposted .day { font-size: 170%; line-height: 85%;  }
.dateposted .month { font-size: 80%; line-height: 95%; text-transform: uppercase;}
.dateposted .year { font-size: 70%; line-height: 90%; letter-spacing: -.1em; }

#content h2.pagetitle {
	background-image: none;
	padding-left: 8px;
}

#sidebar h2, #sidebar h3 {
	margin: 5px 0 0;
	padding: 0;
	background: none;
	}

#sidebar h2 { font-size: 1.4em; }


h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img { padding: 0; max-width: 100%; }

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright { float: right; }
.alignleft { float: left }
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}
ul.samecategory li:before {content: ''; }

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 0px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
	}

#sidebar #searchform #s {
	width: 200px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select { width: 130px; }

#commentform input {
	width: 150px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform {
	margin: 5px 10px 0 0;
	}
#commentform textarea {
	width: 100%;
	padding: 2px;
	}
#respond:after {
		content: "."; 
		display: block; 
		height: 0; 
		clear: both; 
		visibility: hidden;
	}
#commentform #submit {
	margin: 10px 0 5px 0;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px 0;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;

	}
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}
.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 15px;
	margin-left: 524px;
	width: 277px;
	position: relative;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center { text-align: center; }
.hidden { display: none; }
hr { display: none; }
a img { border: none; }

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* Captions */
.aligncenter, div.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.caption { color: #808080; }

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */


/* Per Category hover color */
#navigation li.cat-item-1 a { background-color:#42068E; }
#navigation li.cat-item-4 a { background-color:#13733E; }
#navigation li.cat-item-5 a { background-color:#B3A90A; }
#navigation li.cat-item-6 a { background-color:#B20A3D; }
#navigation li a:hover { background-color: #06f; }

/* Tables */
#content table {
  border-collapse: collapse;
}
#content td, #content th {
  padding: .3em; vertical-align: top;
  border-top: 1px solid #333;
}
td.tracknumber { text-align: right; }
td.tracknumber:after { content: "."; }

#content tr:first-child th, #content tr:first-child td { border-top: 0; }

#sidebar dl {
	margin: 10px 0;
	/*font-size: .8em;*/
	}
dl.latestposts dt {
	color: #666; text-transform: uppercase; float: left;
	width: 4.5em; text-align: right;
	}
dl.latestposts dd {
	margin: 0 0 .5em 5.5em;
	}
p.morepics {
	text-align: right;
	}

