/*  
Theme Name: Nils Riel
Theme URI: http://nils-riel.de/
Description: Meine 4. Version.
Version: V4
Author: Nils Riel
Author URI: http://nils-riel.de/
*/

* {
margin: 0;
padding: 0;
}

html {
height: 100%;
}

body {
background: #000;
margin: 0;
padding: 0;
height: 100%;
color: #fff;
font-family: tahoma, verdana;
font-size: 11px;
cursor: default;
line-height: 20px;
}

.clear_l {
clear: left;
}

.clear_r {
clear: right;
}

.clear_b {
clear: both;
}

a {
color: #8D8873;
text-decoration: none;
}

a:hover {
text-decoration: underline;
}

a:focus {
outline: none;
}

div#ballons {
background: url(images/ballons.png);
width: 96px;
height: 96px;
position: absolute;
left: 50%;
top: 20px;
z-index: 5;
}

div#mond {
background: url(images/mond.png);
width: 300px;
height: 143px;
position: absolute;
right: 0;
z-index: 4;
}

div#wolke {
background: url(images/wolke.png);
width: 419px;
height: 152px;
position: absolute;
left: 0;
z-index: 3;
}

div#sterne {
background: url(images/sterne.png);
width: 100%;
height: 145px;
position: absolute;
z-index: 2;
}

div#bg {
background: url(images/body_bg.jpg) repeat-x center top;
}

div#head {
background: url(images/head.jpg);
width: 784px;
height: 248px;
margin: 0 auto;
position: relative;
}

div #head h1 {
position: absolute;
z-index: 999;
top: 120px;
left: 33px;
}

div#head h1 a {
display: block;
width: 102px;
height: 55px;
cursor: pointer;
}

div#head h1 a b {
display: none;
}

div#wrapper {
min-width: 859px;
max-width: 1600px;
margin: 0 auto;
}

div#box1, div#box2, div#box3 {
float: left;
width: 20%;
margin: 30px 10% 0 0;
}

* html div#box1, div#box2, div#box3 {
display: inline;
}

div#box1 h1, div#box2 h1, div#box3 h1 {
color: #E3DCB9;
display: block;
font: bold 14px Tahoma, Verdana;
padding-bottom: 10px;
border-bottom: 1px #1C1C1C solid;
}

div#box1 {
margin-left: 10%;
}

div#box1 ul, div#box2 ul {
list-style: none;
}

div#box1 li, div#box2 li {
display: block;
border-bottom: 1px #1c1c1c solid;
padding: 3px 1px;
font: 11px Tahoma, verdana;
}

div#box1 a, div#box2 a {
display: block;
color: #9E9E9E;
text-decoration: none;
padding: 7px;
}

div#box1 a:hover, div#box2 a:hover {
color: #fff;
background: #1C1C1F;
}

div#box1 span {
padding: 2px;
cursor: pointer;
line-height: 15px;
}

div#box1 br, div#box2 br {
clear: both;
}

.recent_posts_date {
background: #1A1A1A;
margin-right: 7px;
}

div#box1 a:hover .recent_posts_date, div#box2 a:hover .recent_comments_name {
background: #333336;
}

div#box2 span {
padding: 2px;
line-height: 15px;
}

.recent_comments_name {
background: #1A1A1A;
margin-right: 7px;
}

div#box3 {
margin-right: 0 !important;
}

div#box3 span {
color: #9E9E9E;
display: block;
padding: 3px;
}

.boxes_end {
clear: left;
}

div#content_page {
color: #D1D1D1;
}

* html div#content_page {
height: 1%;
}

*+html div#content_page {
height: 1%;
}

div#content_left {
float: left;
width: 75%;
font-size: 12px;
padding-bottom: 10px;
}

* html div#content_left {
width: 65%;
}

*+html div#content_left {
width: 74%;
}

div#main_links_oben {
background: url(images/main_links_oben.jpg) top left no-repeat #1a1a1a;
margin: 50px 10% 0 10%;
}

div#main_rechts_oben {
background: url(images/main_rechts_oben.jpg) top right no-repeat;
}

div#main_links_unten {
background: url(images/main_links_unten.jpg) bottom left no-repeat;
}

div#main_rechts_unten {
background: url(images/main_rechts_unten.jpg) bottom right no-repeat;
}

ul#menu {
list-style: none;
}

ul#menu li {
float: left;
margin-left: 4px;
display: inline;
}

ul#menu li a {
display: block;
width: 99px;
height: 21px;
background: url(images/menu.jpg) top;
text-align: center;
color: #D3D3D3;
text-decoration: none;
text-transform: uppercase;
font: 10px tahoma, verdana;
padding-top: 6px;
letter-spacing: 1px;
}

ul#menu li a:hover, ul#menu li a:focus, ul#menu li .active {
background-position: bottom !important;
color: #BEB89C !important;
}

div#content_abstand {
padding: 15px;
}

div#content_abstand ul, div#content_abstand ol {
margin: 20px 40px;
}

div#content_abstand p {
margin: 15px 0;
}

div.news_bg {
background: url(images/news_bg.jpg) repeat-x;
padding: 10px;
color: #D1D1D1;
margin-bottom: 20px;
}

div.news_bg h2 {
display: block;
margin: 5px 0 5px 0;
padding-bottom: 5px;
background: url(images/h2_bg.jpg) repeat-x bottom;
}

div.news_bg h2 a, #comments, #postcomment {
color: #E3DCB9;
font: bold 16px tahoma, verdana;
text-decoration: none;
}

#comments {
margin-left: 10px;
}

li.news_bg  {
display: block;
margin: 5px 0 5px 0;
padding: 10px;
background: url(images/news_bg.jpg) repeat-x;
}

li.news_bg cite {
display: block;
padding: 5px;
margin-top: 10px;
background: url(images/h2_bg.jpg) repeat-x top;
text-align: right;
}

div#comments_wrapper {
padding: 10px;
}

#author, #email, #url, #comment, #answer {
background: none;
border: 1px #303030 solid;
color: #D1D1D1;
padding: 4px !important;
font: 12px Tahoma, verdana;
}

#author:hover, #email:hover, #url:hover, #comment:hover, #answer:hover {
border: 1px #7D7D7D solid;
}

#author:focus, #email:focus, #url:focus, #comment:focus, #answer:focus {
border: 1px #B5B5B5 solid;
background: #212121;
}

div#content_abstand h3 {
color: #E3DCB9;
font-size: 13px;
}

div#content_abstand h4 {
font-size: 13px;
}

div#content_abstand h5 {
font-size: 12px;
color: #E3DCB9;
}

div#content_right {
float: right;
width: 25%;
}

* html div#content_right {
width: 35% !important;
}

div#content_right_bg_top {
background: url(images/side_bg.jpg) repeat-x #1D1C21;
margin: 6px;
}

div#content_right_left_top {
background: url(images/side_links_oben.jpg) left top no-repeat;
}

div#content_right_right_top {
background: url(images/side_rechts_oben.jpg) right top no-repeat;
}

div#content_right_left_bottom {
background: url(images/side_links_unten.jpg) left bottom no-repeat;
}

div#content_right_right_bottom {
background: url(images/side_rechts_unten.jpg) right bottom no-repeat;
min-height: 114px;
padding-bottom: 20px;
}

* html #content_right_right_bottom {
height: 114px !important;
}

div#content_right_search {
display: block;
text-align: center;
padding: 25px 0;
background: url(images/side_trennlinie.jpg) repeat-x bottom;
width: 97%;
margin: 0 auto;
}

.search_title {
color: #E3DCB9;
font: bold 16px tahoma, verdana;
text-decoration: none;
}

.search_found {
background: url(images/news_bg.jpg) repeat-x;
padding: 10px;
color: #D1D1D1;
margin-bottom: 20px;
}

input#s {
width: 50%;
background: url(images/search_input_bg.jpg);
height: 15px;
border: none;
font: 10px tahoma, verdana;
color: #fff;
padding: 5px 5px 0 5px;
margin-right: 5px;
}

input#searchsubmit {
height: 18px;
width: 18px;
background: url(images/search_submit_bg.jpg);
border: none;
}

h1#fav_pages {
background: url(images/side_h1_bg.png);
display: block;
margin: 10px auto 0 auto;
width: 96%;
font: 11px tahoma, verdana;
color: #E3DCB9;
height: 21px;
padding-top: 4px;
}

h1#fav_pages b {
display: block;
height: 25px;
background: url(images/side_h1_favpages_bg.jpg) no-repeat;
padding-left: 30px;
}

ol#fav_pages_ol {
border-top: 1px #242427 solid;
width: 96%;
margin: 0 auto;
padding-top: 5px;
list-style: decimal inside;
}

ol#fav_pages_ol li {
background: url(images/side_ol_list_bg.jpg) no-repeat center left;
padding: 0 0 0 9px;
}

ol#fav_pages_ol li a {
text-decoration: none;
color: #909091;
}

ol#fav_pages_ol li a:hover {
color: #E3DCB9;
}

h1#category {
background: url(images/side_h1_bg.png);
display: block;
margin: 10px 0 0 2%;
width: 48%;
font: 11px tahoma, verdana;
color: #E3DCB9;
height: 21px;
padding-top: 4px;
float: left;
}

h1#archive {
background: url(images/side_h1_bg.png);
display: block;
margin: 10px 0 0 0;
width: 48%;
font: 11px tahoma, verdana;
color: #E3DCB9;
height: 21px;
padding-top: 4px;
float: left;
}

* html h1#category, h1#archive {
width: 46% !important;
}

h1#category b {
display: block;
height: 25px;
background: url(images/side_h1_category_bg.jpg) no-repeat;
padding-left: 30px;
}

h1#archive b {
display: block;
height: 25px;
background: url(images/side_h1_archive_bg.jpg) no-repeat;
padding-left: 30px;
}

ul#category_ul, ul#archive_ul {
list-style: none;
float: left;
width: 48%;
margin-left: 2%;
border-top: 1px #242427 solid;
padding-top: 5px;
}

* html ul#category_ul, ul#archive_ul {
width: 46% !important;
}

ul#archive_ul {
margin-left: 0 !important;
}

ul#category_ul li a, ul#archive_ul li a {
color: #8C8C8D;
width: 80%;
margin: 3px 0;
padding: 4px;
display: block;
text-decoration: none;
line-height: 11px;
}

ul#category_ul li a:hover, ul#archive_ul li a:hover {
background: #141416;
}

div#footer {
margin: 0 auto;
text-align: right;
color: #808080;
min-width: 859px;
max-width: 1600px;
padding-bottom: 50px;
}

div#footer span {
margin-right:10%;
padding-right: 5px;
}


/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px; 
	text-align: center;
	}

#sidebar #searchform #s {
	width: 108px;
	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: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

* html #commentform textarea {
	width: 98%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	

* html #commentlist {
list-style: none;
}

*+html #commentlist {
list-style: none;
}

/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}

#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;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* 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: 70px 10px 10px 70px;
	background: url(images/blockquote_bg_top.jpg) no-repeat left top #212121;
	background-position: 10px 10px;
	}
	
blockquote span {
	display: block;
	padding: 0 60px 60px 0;
	background: url(images/blockquote_bg_bottom.jpg) no-repeat right bottom;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}
/* End Various Tags & Classes*/
