/*
	Theme Name: temes111
    Description:  Двухколоночный шаблон WordPress Кофейная фантазия. Разработано командой <a href="http://xtemplate.ru" title="Русские темы для WordPress, шаблоны для WordPress на XTemplate.ru" target="_blank">XTemplate.ru </a>.
	Version: 1.0
	Author: Предводителев Сергей /Niko/
	Author URI: http://predvoditelev.ru/
*/

html, body, h1, h2, h3, h4, h5, h6, form, ul, li, p, table, td, th, img { margin: 0; padding: 0; border: 0; }
.clear { font-size: 0; clear: both; }

BODY {
	background: #3c3020;
	color: #fff;
	font: 12px/15px Verdana, Tahoma, sans-serif;
}

A { color: #fff; text-decoration: underline; }
A:hover { text-decoration: none; }


/* general */
HTML, BODY { height: 100%; }
.l-all { margin: 0 auto; min-width: 1000px; height: 100%; }
.l-container { min-height: 100%; }
.l-wrap { padding-bottom: 67px; }
.l-wrapper { float: left; width: 100%; margin-left: -281px; }
.l-content { margin-left: 281px; }
.l-sidebar { float: right; width: 202px; padding: 0 20px 40px 59px; }
.l-footer { position: relative; height: 67px; margin-top: -67px; }


/* header */
.l-header { background: url(images/header_bg.jpg) repeat-x top; }
.l-header .header { background: url(images/header_r.jpg) no-repeat right top; }
.l-header .header_ { background: url(images/header_l.jpg) no-repeat left top; position: relative; padding-top: 179px;}
.l-header H1 { position: absolute; left: 33px; top: 61px; font-size: 40px; line-height: 42px; font-weight: normal; }
.l-header H1 A { text-decoration: none; }
.l-header .description { position: absolute; left: 36px; top: 105px; font-size: 11px; }
.l-header INPUT.s-query {
	position: absolute;
	right: 97px;
	top: 90px;
	width: 130px;
	height: 16px;
	border: 0;
	background: transparent;
	padding: 0;
	margin: 0;
	font-size: 13px;
}
.l-header INPUT.s-go {
	position: absolute;
	right: 60px;
	top: 85px;
	width: 28px;
	height: 25px;
	border: 0;
	cursor: pointer;
	background: url(images/search_go.jpg) no-repeat left top;
}


/* pages menu */
UL.b-pages-menu { list-style: none; }
.b-pages-menu LI {
	float: left;
	height: 48px;
	padding: 13px 25px 0 63px;
	background: url(images/pic1.jpg) no-repeat 11px top;
	font-size: 14px;
	line-height: 17px;
	font-weight: bold;
	text-transform: uppercase;
}
.b-pages-menu A { text-decoration: none; }
.b-pages-menu A:hover { text-decoration: underline; }


/* content */
.l-content .content-top__ { background: url(images/content_t.gif) repeat-x top; }
.l-content .content-top_ { background: url(images/content_rt.gif) no-repeat right top; }
.l-content .content-top { min-height: 27px; _height: 27px; background: url(images/content_lt.gif) no-repeat left top; }
.l-content .content-bottom__ { background: url(images/content_b.gif) repeat-x top; }
.l-content .content-bottom_ { background: url(images/content_rb.gif) no-repeat right top; }
.l-content .content-bottom { min-height: 55px; _height: 55px; background: url(images/content_lb.gif) no-repeat left top; }
.l-content .content_ { background: #a59478 url(images/content_l.jpg) repeat-y left top; }
.l-content .content { background: url(images/content_r.jpg) repeat-y right; padding: 0 62px 40px 48px; min-height: 292px; _height: 292px; }


/* post */
.b-post { margin-top: 30px; }
.b-post:first-child { margin-top: 0; }
* .b-post { margin-top: expression(this.previousSibling==null ? '0' : '30px'); }
.b-post .header TD { vertical-align: top; }
.b-post .header .date { float: left; background: url(images/date_bg.jpg) repeat-x top; }
.b-post .header .date .bg-l {background: url(images/date_l.jpg) no-repeat left top; float: left; }
.b-post .header .date .bg-r {
	min-height: 24px;
	height: 24px;
	float: left;
	background: url(images/date_r.jpg) no-repeat right top;
	padding: 8px 8px 0 38px;
	color: #000;
	font-weight: bold;
}
.b-post .header H2 { font-weight: normal; font-size: 18px; line-height: 22px; color: #300; padding: 6px 0 0 6px; }
.b-post .header H2 A { color: #300; text-decoration: none; }
.b-post .header H2 A:hover { text-decoration: underline; }
.b-post .body { color: #000; }
.b-post .body H1 { padding-top: 15px; font-weight: normal; font-size: 20px; line-height: 24px; color: #300; }
.b-post .body H2 { padding-top: 15px; font-weight: normal; font-size: 16px; line-height: 20px; color: #300;  }
.b-post .body H3 { padding-top: 15px; font-weight: normal; font-size: 14px; line-height: 17px; color: #300; }
.b-post .body P { padding-top: 10px; }
.b-post .body UL { padding-left: 25px; }
.b-post .footer { width: 100%; margin-top: 30px; }
.b-post .footer .info { width: 50%; color: #fc3; }
.b-post .footer .info A { color: #060505; }
.b-post .footer .links { width: 50%; text-align: right; }
.b-post .footer .links A {
	display: block;
	height: 22px;
	float: right;
	margin-left: 12px;
	color: #fc3;
	text-decoration: none;
	padding-top: 5px;
	text-align: center;
	font-size: 11px;
	padding-right: 20px;
}
.b-post .footer .links A.more { width: 74px; background: url(images/btn_more.jpg) no-repeat left top; }
.b-post .footer .links A.comments { width: 87px; background: url(images/btn_comments.jpg) no-repeat left top; }


/* comments */
.b-comments H2 { font-weight: normal; font-size: 18px; line-height: 22px; color: #300; padding-top: 15px; }
.b-comments H2 A { color: #300; text-decoration: none; font-weight: bold; }
.b-comments P, .b-comments LI { padding-top: 10px; }
.b-comments #comment { width: 600px; }
.b-comments CITE { font-size: 11px; color: #300; }

/* navigation pages block */
.b-navpage { width: 100%; }
.b-navpage TD { padding-top: 30px; }
.b-navpage .next { text-align: right; }
.b-navpage A { color: #300; }


/* xtemplate block */
.b-xtemplate { padding: 25px 132px 0 495px; }


/* category page */
.b-category H1 { font-weight: normal; font-size: 22px; line-height: 26px; color: #300; padding-top: 6px; }
.b-category UL { padding: 5px 0 0 25px; }
.b-category LI { padding-top: 3px; }


/* sidebar */
.l-sidebar UL { padding: 5px 0 0 12px; list-style: none; }
.l-sidebar LI { padding: 2px 0 0 11px; font-size: 12px; background: url(images/pic2.gif) no-repeat left 8px; }
H2.b-side-title { font-size: 18px; line-height: 22px; font-weight: normal; text-transform: uppercase; padding-top: 20px; }


/* footer */
.l-footer .footer { padding-left: 43px; font-size: 11px; }