/*
Theme Name: WordPress Klimashev.ru
Theme URI: http://medialab.ru/
Description: A special WordPress theme for klimashev.ru
Version: 1.0
Author: dy
Author URI: http://medialab.ru
*/


/*
 *		Base
 **/

* {
	padding: 0;
	margin: 0;
}
img {
	border: 0;
}
.post-mini .size-medium {
width:100% !important;
height:100% !important;
/*
	width: 600px;
	height: auto;*/


}
body {
	background: #898D95 url('/img/bg.gif');
	font: 14px "Microsoft Sans Serif",sans-serif,arial;
	color: #716f64;
}
a, a:visited {
	color: #e00000;
/*	text-decoration: none;*/
}
a:hover {text-decoration: none;}
.layout {
	position: relative;
	overflow: hidden;
	background: #fff;
}

.margin {
	margin-left: 20px;
	margin-right: 20px;	
}
.margin-ii {
	margin-left: 40px;
	margin-right: 20px;	
}

#header a {
	position: relative;
	left: 10px;
	top: 10px;
	display: block;
	width: 190px;
	height: 100px;
	line-height: 100px;
	text-indent: -1000px;
}
/*
 *		Structure
 **/


#wrap {
	position: relative;
	width: 960px;
	margin: 0 auto;
}
#header {
	height: 120px;
	background: url('/img/header.png') top center;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/header.png',sizingMethod=scale);
}
#pagebody {
	width: 960px;
	background: #fff url('/img/header2.png') no-repeat;
	-background-image: none;
	-filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/header2.png',sizingMethod=crop);
}
#content {
	display: inline;
	width: 660px;
}
#sidebar {
	width: 200px;
}
#footer {
	width: 960px;
}
.footer-ul {
	position: relative;
	width: 900px;
	height: 140px;
}
.footer-ul li {
	display: inline;
	float: left;
}
.footer-ul li#img {
	width: 150px;
}
.footer-ul li#text {
	width: 480px;
}
.footer-ul li#space {
	width: 170px;
}
.footer-ul li#counter {
	width: 100px;
}
#post,.post {
	position: relative;
	height: auto;
	overflow: hidden;
}
.floats {
	width: 660px;
}
.post-maxi {
	padding: 20px 0 10px;
	margin: 0 0 10px;
}
.post-mini {
	width: 310px;
	padding: 20px 0 20px;
	margin: 0 0 0;
	display: inline;
}
.n2 {
	margin-left: 40px;
}
#cbox {
	position: relative;
	background: #7F9DB9;
	border-top: 1px solid #fff;
}
#cbox #ctop, #cbox #cbot {
	display: block;
	width: 200px;
	height: 15px;
}
#cbox #ctop {
	background: url('/img/ctop-200-30.gif') top;
}
#cbox #cbot {
	background: url('/img/cbot-200-30.gif') bottom;
}
#cbox a, #cbox a:visited {
	text-decoration: none;
	color: #fff;
}
#cbox a:hover {
	text-decoration: underline;
}
#cbox ul {

}
#cbox li {
}
#cbox li.title {
	padding: 0 0 15px 0;
	margin: 0 0 15px;
	border-bottom: 1px dashed #fff;
}

.dynavi {
	padding: 5px 20px;
}

.dynavi li {
	color: #fff;
}

.cat-item .children {
	padding: 0px 0 5px 15px;
	font-size: 83%;
}


#dbox {
	position: relative;
	border: 1px dashed #666;
	overflow: hidden;
	clear: both;
}
.w1 {
	width: 308px;
}
.w2 {

}
.w3 {
	width: 658px;
}
#dbox p {
	padding: 10px 
}
.dwrap {
	padding: 10px;
/*	margin: 0 auto;
	width: 260px;*/
	overflow: hidden;
}

/** forms & inputs*/
#search {
	height: 24px;
	overflow: visible;
}
#search input.query {
	float: left;
	width: 127px;
	height: 20px;
	margin: 0px 0 1px;
}
.widget_search .submit {
	float: right;
}
.widget_search {
	height: 24px;
	overflow: visible;
}
.widget_search input.query {
	float: left;
	width: 127px;
	height: 20px;
	margin: 0px 0 1px;
}
.widget_search .submit {
	float: right;
}


.inp1 {
	width: 80px;
	height: 14px;
	font: 11px Arial;
	padding: 0 2px;
	margin: 1px 0 0;
}
.submit1 {
	margin: 1px 0 0 5px;
}
select {
	font: 11px Arial;
	width: 130px;
}



/*
 *
 **/


.subscribe {
	position: relative;

	width: 200px;
	margin: 10px auto 0;
}
.subscribe div {
	overflow: hidden;
	margin: 10px 0 0;
/*	padding: 10px 0 0;
	border-top: 1px solid #716F64;*/
	width: 190px;
}
.subscribe #outlink {position: absolute;bottom:-11px; right:35px;}

.subscribe input {color: #8b919f}




/*
 *		Style
 **/

h1 a, h1 a:visited,
h2 a, h2 a:visited {
	text-decoration: none;
	color: #716f64;
	font-weight: normal;
}
h1 a:visited,
h2 a:visited {
/**/	font-weight: normal;
}

h1 a:hover,
h2 a:hover {
	text-decoration: underline;
}

.highlight, .highlight:visited {
	color: #7f9db9;
}
.white, .white:visited {
	color: #fff;
}

h1,h2,h3 {
	display: inline;
	font-family: arial;
	font-weight: normal;
	color: #716F64;
}
h1 {	font-size: 24px;	color: #000}
h2 {	font-size: 18px;	color: #000}
h3 {	font-size: 16px;
		font-weight: bolder; letter-spacing: -1px;	color: #999}
p {	padding: 15px 0 0;	color: #515151;}

ul {
	list-style-type: none;
	overflow: hidden;
}
ul li {
	overflow: hidden;
}
ul.widgets li {
	margin-top: 20px;
	clear: both;
}
ul.widgets ul li {
	margin-top: 10px;
}


ul.posts {
	position: relative;
}
ul.posts li {
	position: relative;
	padding: 20px 0;
}


ol.search-res {
	position: relative;
}

ol.search-res li {
	list-style-position: inside;
	position: relative;
	padding: 20px 0; padding /* */: 20px 0;
	margin: 0;
}



ul.list li {
	font-size: 13px;
}

/*
 *		Addon
 **/


 .grey { color: #716F64 }
.small { font-size: 80% }
.clear {	clear: both; }
.left {	float: left; }
.right { float: right; }
.text-right { text-align: right; }
.underline {
	padding-bottom: 10px;
	margin-bottom: 10px;
	border-bottom: 1px solid #716F64;
}
h2.underline {
	margin-bottom: 0;
	display: block;
}

.meta,
a.more-link,  a.more-link:visited
{
	padding: 5px 0 0;
	font: 12px Sans-Serif;
}

.editlink {
	position: absolute;
	top: 10px;
	right: 1px;right /* */: 0;
	font-size: 9px;
	background: #f0f0f0;
	padding: 2px;
	opacity: 0.7;
}
.editlink a, .editlink a:visited {text-decoration:none}


.comments {
	padding: 0 0 0 17px;
	background: url('/img/comment.gif') no-repeat 0% 2px;
}

.rss {
	background: transparent url('/img/rss.gif') no-repeat scroll 0%;
	padding-left: 23px;
}
.rss a {
	text-decoration: none;
}

.cat-name a, .cat-name a:visited {
	color: #716F64;
}
.post-name a,.post-name a:visited {
	color: #7F9DB9;
}
 .cat-name,.post-name {font-weight: normal}
 .cat-name a:visited,.post-name a:visited {font-weight: normal}





/* Begin Typography & Colors */

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: normal;
	}

.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;
	}

small,.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;
	}

#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 Images */
p img {
	padding: 0;
/*	max-width: 100%;*/
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.right {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.left {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}


/* 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 {
	content: "\00BB \0020";
	}

.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;
	}


/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}
#commentform {
	margin: 10px 0 0;
}
.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 10px 3px 0;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	padding: 10px 5px 10px 0;
	}

#commentform p {
	padding-top: 5px;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */


/* 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-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/


#custom-function-widget-2 img {
width:100%;
}


/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
