/*
Theme Name: Peremenov's theme
Theme URI: http://peremenov.ru/theme/
Description: Theme for personal blog
Version: 1.0
Author: Kir Peremenov
Author URI: http://peremenov.ru/
Tags: fixed width, two columns, right sidebar, blue, white, simple, minimalist, clean, valid XHTML, valid CSS
*/


/* common */
html, body, div, span, applet, object, iframe, p, blockquote, pre, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
	margin:0;
	padding:0;
	background:transparent none repeat scroll 0 0;
	border:0 none;
}

.t-center { text-align:center; }
.b-center { margin:0px auto; }
.b-left { float:left; }
.b-right { float:right; }
.b-clear, .clear { clear:both; }
.b-width { width:100%; }
.hide, .hidden { display:none; }

.grey { color:#767676; }
.red { color:#f00;}
.all-width { width:900px; }
.mid { vertical-align: middle; }

small { font-size:0.8em; }

a { border:0; text-decoration:underline; }

hr { display:none; }

h1, h2, h3, h4 {
	margin:0;
	margin-bottom:0.4em;
}

h1 { font-size:2.5em; }
h1 { font-size:2em; }
h3 { font-size:1.66em; }
h4 { font-size:1.3em; }

h1, h2, h3, h4 {
	font-family: Georgia, "Times New Roman";
	font-weight:normal;
}

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

td {
	text-align: left;
	font-weight: normal;
}
/* structure */
body, input, textarea {
	font-family: Verdana, Tahoma, Arial;
	color:#000;
	background-color:#fff;
}

body {
	font-size:13px;
	background:url(images/topbg.jpg) top repeat-x;
}

a {
	color:#767676;
}


.zakladka {
	margin:0.3em 0 1em;
}

/* body { background:url(images/botbg.jpg) bottom repeat-x; } */

#page, html > body #page {
	width:100%;
	height:auto;
	min-height:100%;
	background:url(images/topbga.gif) top no-repeat;
}

#logo {
	float:left;
	margin-right:-100%;
	position:relative;
}

#header {
	height:50px;
	position:relative;
	overflow:hidden;
}

#header ul {
	display:block;
	float:right;
	position:relative;
}

#header ul .item {
	float:left;
	display:block;
	position:relative;
	height:50px;
}

#content {
	width:630px;
 	margin-right:-100%;
	position:relative;
	padding:18px 0 0 27px;
	float:left;
	overflow:hidden;
}

#content h1 {
	font-weight:normal;
	font-size:2.7em;
}

#content h2 {
	font-size:1.8em;
	font-weight:normal;
	line-height:1.8em;
}

#content h1 a {
	text-decoration:none;
}

#content p {
	margin:1em 0;
}

#content .more-link {
	font-size:0.8em;
	text-decoration:none;
}
#content blockquote {
	display:block;
	padding-left:1em;
	margin-left:2em;
	color:#444;
	border-left:1px solid #aaa;
}

#content .post {
	padding-bottom:23px;
}

#content .post .entry {
	line-height:1.54em;
}

#content .post .entry table {
	border-collapse:collapse;
}

#content .post .entry table td,
#content .post .entry table th {
	text-align:center;
	padding:0.4em 1em;
}

#content .post .entry table td {
	border-top:1px solid #aaa;
}

.post ul {
	list-style-type:none;
	margin-left:3px;
	margin-bottom:0.6em;
	
}

.post ul li {
	padding-left:22px;
	padding-top:0.1em;
	padding-bottom:0.1em;
	background:transparent url(images/point.png) no-repeat scroll 0 4px;
	position:relative;
	zoom:1;
}

.post .dp-highlighter li {
	background-image:none;
}

.post h3 {
	margin-top:0.5em;
}

#wrapper {
/* 	background:url(images/botinbg.gif) bottom no-repeat; */
	background-color:#fff;
}

#sidebar {
	float:left;
	width:213px;
	left:687px;
	position:relative;
	zoom:1;
}

#sidebar h2 {
	font-size:1.8em;
	font-weight:normal;
	color:#767676;
}

#sidebar h2 a {
	text-decoration:none;
}

#sidebar ul li {
	list-style-image:none;
	list-style-type:none;
	padding:17px 0 10px 23px;
	background:url(images/sidetop.gif) top no-repeat;
	display:block;
	position:relative;
	zoom:1;
}

#sidebar ul {
	display:block;
	position:relative;
}

#sidebar ul li ul li {
	background:none;
	padding:1px 8px 3px 8px;
	font-size:0.8em;
}

#sidebar .widget_text {
	text-align:left;
}

#searchform .s {
	
}

.recentcomments .openid_link {
	background:none;
}

.widget.widget_tag_cloud a, .widget.widget_stags_cloud a {
	text-transform:lowercase;
	text-decoration:none;
	padding:2px;
}

.widget.widget_tag_cloud a:hover, .widget.widget_stags_cloud a:hover {
	background-color:#ddd;
}

.widget.widget_lastfm .lastfm-item {
	display:block;
	border-top:1px solid #eee;
}

#searchsubmit {
	background-color:#767676;
	cursor:pointer;
	width:15px;
}

#calendar_wrap {
	padding:3px 0 0 8px;
}

#calendar_wrap caption {
	font-size:1.2em;
	padding-bottom:5px;
	text-align:left;
	text-transform:lowercase;
}

#wp-calendar {
	width:100%;
	text-transform:lowercase;
}

#wp-calendar th {
	text-align:left;
}

#searchform .searchsubmit {
	background-color:#767676;
	width:15px;
}

#searchform .s {
	width:160px;
	height:15px;
}

#searchform #s {
	width:160px;
}

#commentform {
	display:block;
	margin-right:13px;
}

#commentform textarea,
#commentform #author,
#commentform #email,
#commentform #url,
#commentform #openid_identifier {
	padding:3px;
	border:1px solid #ccc;
	width:100%;
}

#content .wp-smiley {
	border:0;
	float:none;
	vertical-align:middle;
	margin-bottom:2px;
	margin-right:2px;
	padding:0;
}

/* commentform */
#commentform #submit {
	padding:3px;
/* 	border:1px solid #767676; */
	width:200px;
	cursor:pointer;
	font-family: Georgia, "Times New Roman";
	font-size:2.4em;
}

#respond {
	padding-top:10px;
}
#commentform p {
	margin-bottom:5px;
}

/* comments */
#comments ol {
	display:block;
	list-style-image:none;
}

#comments .commentlist li {
	list-style-image:none;
	display:block;
	padding:10px 10px 5px 15px;
	margin:15px 0 10px;
}

#comments .commentlist li.comment div p, #comments .commentlist .reply {
	margin-left:65px;
}

.even, .alt {
	border-left:1px solid #ddd;
}

#respond #commentform p {
	margin-left:0px;
}

#comments li.depth-1 {
	border:1px solid #ddd;
}

#comments .commentlist li ul li {
	margin-right:-10px;
}

#comments .commentlist .thread-odd {
	background-color:#f0f0f0;
}

#comments .commentlist .thread-even {
	background-color:#fdfafa;
}

#comments img {
	float:left;
	padding:2px;
	margin:0 10px 5px 0;
	border:1px solid #767676;
}

#comments .comment-meta.commentmetadata {
	float:right;
	padding-left:10px;
	padding-bottom:5px;
}

.navigation {
	padding-top:30px;
}

.navigation a {
	text-decoration:none;
}

.postmetadata {
	padding-top:10px;
}

.postmetadata.date {
	height:35px;
	width:166px;
	font-family: Georgia, "Times New Roman";
	font-size:1.6em;
	color:#767676;
	z-index:999;
	background:url(images/datebg.gif) bottom no-repeat;
/* 	margin-top:7px; */
	float:right;
	text-transform: lowercase;
}

.postmetadata.date span {
	display:block;
	padding-left:20px;
}

.postmetadata.tags {
	font-size:0.8em;
	height:2em;
	text-transform:lowercase;
}

.postmetadata.tags a {
	/*display:block;*/
/* 	float:left; */
	padding:3px 5px;
	margin-right:3px;
	border:2px solid #eee;
	text-decoration:none;
/* 	color:#000; */
/* 	background:url(images/tags.gif) bottom repeat-x; */
}

.postmetadata.comments {
	height:16px;
	background:url(images/line.gif) bottom no-repeat;
}

.postmetadata.comments .in {
	background-color:#fff;
	width:100px;
	padding:0 10px;
	margin-right:140px;
	white-space: nowrap;
}

.postmetadata.comments a {
	text-decoration:none;
	font-size:0.8em;
}
.postmetadata.comments .b-left {
	width:50%;
	margin-right:-100%;
	position:relative;
}

.postmetadata .post-ratings {
	font-size:0.8em;
	left:50%;
	width:50%;
	position:relative;
}

.post-ratings img, .post-ratings-image {
	vertical-align:middle;
}

.postmetadata .post-ratings-text {
	float:right;
}

#footer {
	clear:both;
/* 	position:absolute; */
	width:100%;
	height:116px;
	background:url(images/botbg.jpg) bottom repeat-x;
	min-width:900px;
	overflow:hidden;
}

#footer div.in {
	width:100%;
	height:116px;
	background:url(images/botbga.gif) bottom no-repeat;
}

#footer .in span {
	display:block;
	width:900px;
	padding:20px 54px 0 54px;
}

#footer .in a {
	text-decoration:none;
}

