/* 
Theme Name: Dmitrij Tiessen Theme
Theme URL: 
Description: Theme was designed and created specialy for Dmitrij Tiessen on the 03.12.09
Author: Anton Nagornyi, Alexander Tregub
Author URI: 
Version: 1.0
Tags:
*/

html {
height: 100%;
}

body {

color:#656464;
font-family:arial;
font-size:12px;
height: 100%;
background-color:#b3b3b3;
/*background-color*/
}

a, a:active, a:visited {
color:#000;
font-weight:bold;
text-decoration:none;
}

a:hover {
color:#454545;
}

table, tr {
background:#ececec;
border:1px solid #c5c5c5;
}

thead, th {
font-weight: bold;
color: #000;
text-align: left;
padding: 6px;
background: #fff;
}

td {
border: 1px solid #c5c5c5;
text-align:center;
background:#fff;
padding:6px;
color: #000;
}

code, pre {
background:#ececec;
color:#000;
display:block;
direction:ltr;
text-align:left;
border:1px solid #c5c5c5;
margin:8px 2px;
padding:5px;
overflow:auto;
}

h2.centered
{
   width:100%;
   text-align:center;
   color:#656464;
}
#main {
width:1000px;
margin:0 auto 0 auto;
position: relative;
min-height: 100%;
/*padding-bottom:65px;*/
padding-left:112px;
padding-right:112px;
background:url(images/body_bg.gif) repeat-y;
}


#header {
height:338px;
background:#008aca url(images/header.jpg);
width:100%;
}

#header h1 {
margin:0;
padding:40px 0 0 35px;
}

#header h1 a {
text-decoration:none;
color:#fff;
}

#header h1 a:hover {
color:#ccc;
}

#navigation {
background:url(images/menu_bg.gif);
/*background:#ececec;*/
/*border:1px solid #c5c5c5;*/
/*margin:15px 20px 0 0;*/
padding: 8px 0 0 0px;
font-size:13px;
font-weight:bold;
height:32px;
position:relative;
}

#navigation ul {
list-style:none;
margin:5px 0 0 0;
padding:0;
display:inline;
}

#navigation ul li {
display: inline;
padding-left:15px;

}

#navigation ul li a {
/*padding:5px 10px 5px 10px;*/
padding-right:15px;
/*background:#ececec;*/
/*
border-left:1px solid #FFF;
border-right:1px solid #FFF;
*/
}
#navigation ul li img
{
   display:inline;
}
#navigation div#rss
{
   position:absolute;
   left:890px;

   display:inline;
   /*margin-right:48px;*/
   

}
#navigation div#rss a span
{
   display:block;
   float:left;
   margin-left:5px;
   cursor:pointer;
}
#navigation div#rss img
{
   width:16px;
   height:16px;
   border-style:none;
   display:block;
   float:left;
}
#navigation ul li a.selected,
#navigation ul li a:hover {
color:#f19005;
}

#content {

padding:5px 2px 0 2px; 
background:url(images/body_bg.gif) repeat-y center;
}

#post {
padding:0 50px 0 50px;
margin:10px 0 20px 0;
}

#post h2{
margin:0;
text-align:center;
width:100%;

}
#post h2 a
{
   color:#f19005;
   font-size:24px;
   font-family: Georgia, Times New Roman;
   font-weight:normal;
}
#post div#date
{
   width:100%;
   text-align:center;
   font-family:Georgia, Times New Roman;
   color:#000;
   font-size:14px;
   display:block;
}
#post div#sep
{
   margin-left:-52px;
   margin-top:13px;
   background: url(images/post_sep.gif);
   width:1000px;
   height:7px;
}
#post div#content
{
   line-height:25px;
}
#post div#npostmeta 
{
   margin-bottom:20px;
   width:900px;
   padding:0;

}
#post div#npostmeta ul
{
list-style:none;
padding:0;
width:1000px;
margin:0;
}
#post div#npostmeta ul li
{
   background-color:#f0f0f0;
   border-style:none;
   margin:0;
   display:block;
   float:left;

}
#post div#npostmeta ul li#comment
{
   width:290px;
   text-align:right;

}

#post div#npostmeta ul li#comment a
{
   color:#5b5a5a;
   text-decoration:underline;
   font-weight:normal;
}
#post div#npostmeta ul li#tags
{
   width:609px;
   display:inline;
   padding-left:1px;
}
.clear
{
   clear:both;
}
#post div#npostmeta ul li#tags a
{
   color: #f19005;
   text-decoration:underline;
   
}
#postmeta {
background:#ececec;
border:1px solid #c5c5c5;
padding:5px 10px 5px 10px;
margin:0 15px 20px 15px;
font-size:11px;
}

#postmeta ul {
list-style:none;
margin:5px 0 0 0;
padding:0;
display:inline;
}

#postmeta ul li {
display: inline;
}

#postmeta ul li a {
padding:5px;
background:#ececec;
border-left:1px solid #c5c5c5;
border-right:1px solid #c5c5c5;
}

#postmeta ul li a:hover {
background:#f4f4f4;
}

#postnavigation {
text-align:center;
padding:5px 0 5px 0;
margin:37px 15px 20px 0px;

width:900px;

}
div#copyright
{
   width:100%;
   text-align:center;
   font-size:8pt;

}
/*
#postnavigation ul {
list-style:none;
margin:0 0 0 0;
padding:0;
width:880px;
border-style:solid;
border-width:1px;
}
*/
#postnavigation div {
display: block;
float:left;
width:50%;
}
#postnavigation div img 
{
   border-style:none;
   
}
#postnavigation div#next img
{
   margin-left:5px;

}
#postnavigation div#prev img
{
   margin-right:5px;
}
#postnavigation div#prev
{
   text-align:left;

}
#postnavigation div#next
{
   text-align:right;

}

#postnavigation div a {
/*padding:5px 10px 5px 10px;
background:#ececec;*/
font-weight:normal;
text-decoration:none;
color:#5b5a5a;
}

#postnavigation ul div a:hover {
background:#f4f4f4;
}

#comments {
background:#ececec;
border:1px solid #c5c5c5;
margin:0 20px 15px 50px;
padding:5px 10px 5px 10px;
width:880px;
}

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

.singlecomment {
padding:3px;
margin:5px 0 5px 0px;
}

.singlecomment li {
background:#dcdcdc;
border:1px solid #c5c5c5;
padding:3px;
margin:5px 0 5px 0px;
}

#commentsform {

}

#commentsform input{
border:#c5c5c5 1px solid;
overflow:auto;
}

#commentsform textarea{
border:#c5c5c5 1px solid;
overflow:auto;
}

#sidebar {
text-align:center;
padding:2px 0px 2px 0px;
margin:0 0 0 0;
}

#sidebar h2 {
margin:2px 20px 2px 20px;
background:#68bdff;
padding:2px 0 2px 0;
border:1px solid #4d8dbe;
color:#000;
font-size:16px;
}

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

#sidebar ul li {
margin:1px 20px 2px 20px;
}

#sidebar ul li a {
margin:0;
padding: 4px 10px 2px 10px;
display: block;
text-decoration: none;
background:#ececec;
border:#c5c5c5 1px solid;
}

#sidebar ul li a:hover {
background:#f4f4f4;
}
div#bottom_sep
{
   margin-left:-2px;
   margin-top:30px;
   background: url(images/bottom_sep.gif);
   width:1000px;
   height:7px;
}
#footer {
   /*
position: absolute;
bottom: 0;*/
/*left:20px;*/
/*
height:20px;
width:1000px;
background:#d5d5d5;
*/
   width:894px;
   height:346px;
   margin-left:-2px;
   
   background:#d5d5d5;
   padding:14px 53px 20px 53px;

}
#prefooter
{
   width:894px;
   height:380px;
   margin-left:-2px;
   margin-top:20px;
   background:#d5d5d5;
   padding:43px 53px 20px 53px;
}
#impressum,
#contact,
#ftags,
#archive
{
   float:left;
   margin-right: 55px;
   line-height:20px;
}
div#impressum
{
   width:200px;
}
div#contact
{
   width:270px;

}
div#archive
{
   width:100px;
}
div#ftags ul,
div#archive ul
{
   list-style:none;
   padding:0;
   margin:0;

}
div#ftags ul li,
div#archive ul li
{
   padding:0;
   margin:0;
}
div#ftags ul li a,
div#archive ul li a
{
   color:#636262;
   text-decoration:underline;
    margin-right: 0px;
   font-family:Arial;
   
}
div#ftags
{
   width:100px;
   margin-right: 35px;
}
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -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;
}

div.sub
{
   display:none;
   position:absolute;
   /*
   min-height:115px;
   height:auto !important;
   height:115px;
   */
   background:url('images/menu.gif') no-repeat;
   background-color:#d9d9d9;
   border-color:#FFF;
   border-width:2px;
   border-style:solid;
   padding: 12px 17px;
   margin-top:13px;
}
div.sub ul
{
   margin:0px !important;
   padding:0px !important;
   display:block !important;
}
div.sub ul li
{
   margin:0px !important;
   padding:0px !important;
   display:block !important;
}
div.sub ul li a
{
   line-height:20px;
}
#sddm
{	margin: 0;
	padding: 0;
	z-index: 30}

#sddm li
{
	float: left;
}
/*
#sddm li a
{	display: block;
	margin: 0 1px 0 0;
	padding: 4px 10px;
	width: 60px;
	background: #5970B2;
	color: #FFF;
	text-align: center;
	text-decoration: none}

#sddm li a:hover
{	background: #49A3FF}
*/
#sddm div
{	position: absolute;
	visibility: hidden;
	margin: 0;
	padding: 0;
	background: #d5d5d5;
	border: 1px solid #d5d5d5}

	#sddm div a
	{	position: relative;
		display: block;/*
		margin: 0;
		padding: 5px 10px;
		width: auto;
		white-space: nowrap;
		text-align: left;
		text-decoration: none;
		background: #EAEBD8;
		color: #2875DE;
		font: 11px arial*/}

	#sddm div a:hover
	{	/*background: #49A3FF;
		color: #FFF*/}

