/*
Theme Name: Theme for blog.bychkovsky.ru
Author: Andrey Chetverikov
Author URI: http://chetvericov.ru
*/



/* @group Normalize */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td {
	margin: 0;
	padding: 0;

}
h1,h2,h3,h4,h5,h6,.post_title {
	font-family:Arial,sans-serif;
}
ol,ul {
	list-style: none;
}
address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
fieldset,img {
	border: 0;
}
caption,th {
	text-align: left;
}
q:before, q:after {
	content: '';
}
/* @end */

/* @group Structure */



#header { 
text-align: left;
height: 128px;
}
#header table{
height:128px;
background-image:url('/wp-content/themes/theme1/images/top.jpg');
}

#header table td {
padding:0;
vertical-align:top;
margin:0; 
}

#header img{
margin:0;
border: 0px solid #bebebe;
}
#header h1 {
margin:48px 0 14px 28px;
}
#header h1, #header h1 a{
	font-size:28px;
	padding:0;
	color:#fff;
	font-weight:normal;
	
}
 #header h1 a:visited, #header h1 a:link{
	text-decoration:none;
}
#header h1 a:hover{
	text-decoration:underline;
}

#header h2{
	color:#fff;
	font-weight:normal;
	font-size:13px;
	font-style:italic;
	margin:0;
	margin-left:28px;
	padding:0;
}
#sidebar2 h1 {
font-size: 2em;
text-transform: none;
line-height: 1.2em;
}

body {
	margin: 0 auto;
	padding: 0;
	background-color: #f0e8d4;
	color: #000;
	text-align: center;
	font-size:15px;
	font-family:Arial, sans-serif;
	line-height:1.4em; /* 16×1.125=18 */
	font-size-adjust:none;
	font-stretch:normal;
	font-style:normal;
	font-variant:normal;
	font-weight:normal;
}

.post {
	background-color:#fff;
	padding-top:2px;
	margin-top:8px;
	min-height:600px;
}
.post p {margin: 1.25em 0 1.25em 0;}

.post ul.archive {
	margin-left:24px;
	padding:0 2px 8px 2px;
	margin-top:14px;
	margin-bottom:0;
	margin-right:24px;
	border-bottom:1px solid #f0e8d4;
	text-align: left;
	color:#000;

}
.single #post_date {padding-bottom:5px;border-bottom:1px solid  #f0e8d4;}

.pagetitle{
	font-size:24px;
	font-weight:normal;
	margin-left:26px;
	margin-top:12px;
	margin-bottom:0;
	line-height:1.25em;
	text-align:left;
}
#leftads{
	width:200px;
	text-align:center;
}
#wrapper {
	
	width: 789px;
	margin: 0 auto;
	text-align: center;
	position: relative;
}
#sidebar2 {
text-align: left;
width: 200px;
padding:0;
margin:0;
padding-bottom: 25px;
color:#999;
font-size:12px;
padding-top:8px;
}

#sidebar2 a{
font-size:13px;

}
#sidebar2 h3{
	color:#999;
	text-transform:uppercase;
	border-bottom:1px solid #f0e8d4;
	font-weight:normal;
	font-size:10px;
	padding-left:17px;
	padding-top:3px;
}

.widget{
	background-color:#fff;
	margin-bottom:9px;
	padding-bottom:5px;
}

.widget ul, .widget div{
	padding-left:17px;
	padding-top:6px;
	padding-right:17px;
}
.textwidget{
	padding-left:17px;
	padding-top:6px;
}


.post {
text-align: left;
width: 579px;
padding-bottom: 25px;
}

/* @end */

a, a:link {
	color: #369;
	text-decoration: underline;
}
a:visited{
	color: #47a;
	text-decoration: underline;
}
a:hover{
	color:#222;
}
#sidebar a {border: none; font-weight: normal;}


.post li a, #sidebar2 li a {font-weight: 400;}
.post li {display: inline;}

.sidebar_recent li {margin-bottom:5px;}
#sidebar2 li p {padding:0;margin:0;}

#sidebar2 li {display:block; line-height:1.4}
#sidebar2 .odd  {background-color:rgb(248,248,248);margin-bottom:5px}


#sidebar h2 {text-transform: uppercase;}

a:link.subscribe, a:visited.subscribe {
	color: #f36a18;
}



.description {font-size: .5em;}
.about{
	padding:10px 24px;
	border-bottom:3px solid #f0e8d4;
}

#footer {
	background-color:#fff;
	margin-top:8px;
	margin-bottom:8px;
}
#footer  {text-align:left; clear:right;padding-bottom:10px; font-size:12px; line-height: 120%;}
#foot_left h3{padding-left:24px; }
#foot_left {line-height: 1.5em;}
#foot_right h3,#foot_left h3{padding-top:5px;margin-bottom:5px;color:#999;font-weight:normal;font-size:11px;border-bottom:1px solid #f0e8d4;}
#foot_centr{padding:0 12px; vertical-align:middle; padding-top:15px}
#footer li{display:block;float:left; width:50%; }
#footer table td{vertical-align:top;}
#footer2 {height:140px; margin-top:8px; text-align:left;color:#999;font-weight:normal;font-size:10px;line-height: 120%;}

#sidebar2 h3 b{color:#dd2222;}
#sidebar h1 a{
font-weight: bold;}

p.postmetadata {
line-height: 100%;
margin: 10px 0 0;
color: #5e5e5e;
}


.single_post .entry p:first-child {font-weight: bold; font-size: 1em; padding-top: 0; color: #dd2222;}

blockquote {
	margin: 1em 0;
	padding: 0 40px;
	position: relative;
	font-style:italic;
	/*text-indent: 2em;*/
}

.bqstart,
.bqend { font-size: 7em; font-family: Arial, sans-serif; color:#d22;}

/* apply IE specific rules first */
* html .bqstart {
	text-indent: 0;
	margin: -0.6em 0 -2em 0;
	float: left;
	position: relative; /* relative positioning to stop from disappearing in IE when the blockquote has a background color - probably peek-a-boo or something */
}

blockquote .bqstart {
	/* add extra non-ie rules
	position: absolute;
	top: -0.2em;
	left: -1em;*/
	/* remove IE specific rules */
	text-indent: 0;
	float: left;
	margin: 0 0 0 -0.54em;
	left:-0.25em;

}

.bqend {
	position: absolute;
	margin-top: -0.6em;
	right: 0;
	margin-top: -0.2em;
	text-indent: 0;
}
blockquote {
	font-weight: normal; 
}
blockquote  .bqend {
	margin-top: -0.2em;
	margin-right: -0.2em;
}
	



.entry blockquote p:first-child {font-weight: normal; color: #111; font-size: 1.1em; padding:0; text-indent:0}

/*.entry blockquote {font-weight: normal; color: #111; font-size: 1em; border-left: 2px solid silver; margin: 1.2em 0 1.2em 2em; padding-left: 1em;}*/

.cat  {float:right; margin-top:2px}
.cat a:link, .cat a:visited{
text-transform: uppercase;
color: #dd2222;
font-size:0.7em;
}



.cat {text-transform: uppercase;}

.entry img {

padding: 2px;
border: 1px solid silver;
}


strong {font-weight: bold;}

h2 {padding-top: 10px; font-size: 1.2em;}

h3 {
padding-top: 0; 
text-transform: uppercase;
}


.center {text-align: center;}

.borderless img, img.borderless {border: none;}

.imgleft {float:left;}

em {font-style: italic;}
.post ul {list-style-type:disc;margin-left:36px}
.post ul li{display: list-item; margin-bottom:10px}
ul.archive {list-style:none}
.post .commentlist {list-style-type:none}
.post ol{list-style-type:upper-roman;}
.entry ol ol{list-style-type:decimal; margin-left:3em}

.entry ol li {display: list-item; margin: 1em 0}

ul {padding-bottom: 1em;}

ol.related_posts li{
	margin:0 0 1em 0;
}
.afterpost {
padding-top:10px;
margin-bottom:10px;
}
.afterpost li {
display:block;
}



.alignleft {float: left;}
.alignright {float: right;}

/* Begin Comments*/

/* Normal Bubble */
li.comment  {
	width: auto;
	margin-bottom: 24px;
}

li.comment blockquote {
	margin: 0px;
	padding: 10px;
	border: 1px solid #c9c2c1;}

li.comment blockquote p {
	margin: 0px;
	padding: 0px;
	line-height: 1.3em;
}
li.comment .comment-author .fn img{
	float:none;
	margin:3px 0 0 3px;

}
li.comment .comment-author img{
float:right;
margin:3px;

}
.comment-meta{
	padding-bottom:10px;
font-size:11px;
}
.comment>div {
	padding:3px 3px 5px 16px; 
	border:1px solid #ddd; 
	width:450px
}
.comment.even >div {
	background-color:#fff;
}
.comment.even >div a{
	
}
.comment.odd>div{

}
.commentlist {
	width:450px;
}
.commentlist cite, .commentlist cite a {
	font-style:normal;
	font-weight:bold;
}


.comment p {
	display: block; 
	padding:0;
	margin:5px 0 5px 0;
	font-size:14px;
}


#cite {
	text-align:right;
	padding-right:7px;
	color:#660000;
	font-style:italic;
}
#cite_author {
	text-align:right;
	padding-right:7px;
	color:#660000;
	font-style:italic;
	font-size:11px;
}

li.comment cite 8888{
	position: relative;
	margin: -7px;
	padding: 7px 0px 10px 15px;
	top: 5px;
	background: transparent url('images/tip.gif') no-repeat 20px 0;
	font-style: normal;
	font-size: 1em;
	display: block;
}


.alt {
	margin: 0;
	padding: 0;
	}

#commentform p {
	padding: 5px 0;
display:block;
	}

#commentform label{

}
#comment {

	width: 336px;
	height: 100px;
	}
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
	
#commentPreview {
font-size: .8em;}
/* End Comments */

/* Share This */

.sharethis {padding: 2em 0 3em;}

#akst_form {margin-left: -50px;}

/* End Share This */

/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 125px;
	}

#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; }
	
	#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em "Helvetica Neue", Helvetica, Arial, Sans-Serif;;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}

/* End Calendar */

/* Begin Search */

#search_form {
width: 15px;}

.search_input {
width: 5px;}

/* End Search */
#post_date{color:#999; font-size:11px}
.post_date_1,.post_date_2,.post_date_3{  line-height:90%; }
#sidebar_comments li{
	display:block;
}
#sidebar_comments a{
	text-decoration:none;
}
#sidebar_comments a.author{
	font-weight:400;
	color:#dd2222;
}
#sidebar_comments a.author:hover{
	color:#fff;
}


#post_descr{font-size:11px; color:#999; float:right}
#post_descr2{font-size:11px; color:#999}
#post_descr2 img {vertical-align:middle}
#post_descr2 a:link, #post_descr2 a:visited, #post_descr a:link,#post_descr a:visited{color:#369}
#post_descr li{display:inline;}
.post-categories,.post-categories *{display:inline;color:red}


.single_post{
	padding-left:0;
}
 
.post_title,.post_title:link,.post_title:visited{
	font-size:24px;
	font-weight:normal;
	color:#000;
	line-height:120%;
	text-decoration:none;
}


img#wpstats{display:none}
a:hover < img{
	background-color:none;
}
img.centered, .aligncenter, div.aligncenter {
	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;
	}

.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: 1em;
	
	padding: 0 4px 5px;
	margin: 0;







}
#respond {
margin-top:0;
}
#translation_bar {
	margin-top:10px;
}
#translation_bar a img{
   margin:2px 4px 2px 0;
border:1px solid #ccc;
}
code {
	color:#008099;
	font-family:monospace;
}
pre {
	padding:5px;
	color:#FF0000;
	background-color:#FFFFCC;
	border:1px solid #999;
	font-family:monospace;
}
.wppp_list li, #random-posts li{
	margin:0 0 1.1em 0;
}
.wp-tag-cloud li{
display:inline;
}

ul.page-numbers{
	margin-top:13px;
	margin-bottom:-12px;
}
.page-numbers span,.page-numbers a{
	border:1px solid #f0e8d4;
	padding:0px 6px;
}
.page-numbers span{background-color:#f0e8d4;}
.navigation {
text-align:center
}
.navigation .page-numbers {
list-style-type:none;
margin-left:0;

}
.navigation .page-numbers li{
display:inline;
}

.post ul.last_post{
border-bottom:none;
}