/*
	Theme Name: ABC-med.ru
	Description: Шаблон для блога "ABC-med.ru"
	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: #fff;
	color: #000;
	font: 14px/15px "Trebuchet MS", Tahoma, sans-serif;
}

A { color: #1ab8e8; text-decoration: none; }
A:hover { text-decoration: underline; }


/* general */
.l-all {
	margin: 0 auto;
	width: 1000px;
	background: red url(images/bg.gif) repeat-y left;
}


/* header */
.l-header {
	min-height: 338px;
	_height: 338px;
	position: relative;
	background: #fff url(images/header_bg.jpg) no-repeat left top;
}
.l-header .logo { position: absolute; left: 75px; top: 16px; }
.l-header H1 {
	position: absolute;
	left: 67px;
	top: 90px;
	font-size: 44px;
	line-height: 50px;
	font-weight: bold;
	color: #0cafeb;
}
.l-header .description {
	position: absolute;
	left: 85px;
	top: 146px;
	font-size: 17px;
	line-height: 22px;
	color: #950224;
}


/* top menu */
.b-top-menu { padding-top: 295px; font-size: 14px; font-weight: bold; }
.b-top-menu TABLE { margin: 0 auto; }
.b-top-menu UL { list-style: none; }
.b-top-menu LI { float: left; }
.b-top-menu A {
	float: left;
	display: block;
	height: 30px;
	padding: 13px 40px 0;
	color: #05546c;
}
.b-top-menu A:hover {
	text-decoration: none;
	background: #85d9f3 url(images/top_menu_bg.gif) repeat-x top;
}


/* content */
.l-content {
	width: 590px;
	float: left;
	padding: 10px 49px 0 55px;
	min-height: 290px;
	_height: 290px;
	background: url(images/content_bg_top.gif) no-repeat left top;
}


/* post */
.b-post { border-top: 2px solid #adc7cf; padding: 25px 0 30px 0; }
.b-post:first-child { border: 0; padding-top: 10px; }
* .b-post { 
	border-top: expression(this.previousSibling==null ? '0' : '2px solid #adc7cf');
	padding-top: expression(this.previousSibling==null ? '10px' : '25px');
}
.b-post .date {
	display: block;
	width: 58px;
	height: 88px;
	padding-right: 32px;
	float: left;
	background: url(images/date_bg.jpg) no-repeat left top;
	color: #a60329;
	font-weight: bold;
	text-align: center;
}
.b-post .date .day { padding-top: 38px; font-size: 18px; }
.b-post H2 {
	color: #a60329;
	font-weight: normal;
	font-size: 18px;
	line-height: 25px;
	padding-top: 13px;
}
.b-post H2 A { color: #a60329; }
.b-post .category { color: #515151; }
.b-post .body { color: #515151; }
.b-post P { padding-top: 10px; }
.b-post UL { padding: 10px 0 0 20px; }
.b-post STRONG { color: #000; }
.b-post .comment-link { text-align: right; padding-top: 8px; line-height: 23px; }
.b-post .comment-link SPAN {
	padding: 0 0 3px 25px;
	background: url(images/pic1.jpg) no-repeat left 2px;
}


/* page navigation */
.b-navigation { padding-top: 10px; }
.b-navigation .previous-entries a {
	float: left;
	padding-left: 18px;
	background: url(images/mini-nav-left.gif) no-repeat left center;
}
.b-navigation .next-entries a {
	float: right;
	padding-right: 18px;
	background: url(images/mini-nav-right.gif) no-repeat right center;
}

/* sidebar */
.l-sidebar { width: 293px; float: left; }


/* search block in sidebar */
.b-side-search {
	margin-top: 15px;
	background: url(images/pic_search.jpg) no-repeat 8px;
	min-height: 46px;
	_height: 46px;
	position: relative;
}
.b-side-search INPUT.query {
	position: absolute;
	left: 55px;
	top: 17px;
	border: 1px solid #cdcfd3;
	width: 138px;
	font-size: 18px;
	float: left;
	margin: 0;
}
.b-side-search INPUT.go {
	position: absolute;
	left: 205px;
	top: 17px;
	width: 68px;
	height: 26px;
	border: 0;
	cursor: pointer;
	background: #5cccef url(images/btn_search.jpg) no-repeat;
}


/* categories block in sidebar */
.b-side-categories { margin-top: 25px; }
.b-side-categories .title {
	background: url(images/pic_categories.jpg) no-repeat left top;
	padding: 10px 0 0 90px;
	font-size: 22px;
	line-height: 35px;
	font-weight: bold;
	color: #a60329;
}
.b-side-categories UL { list-style: none; padding: 12px 0 0 7px; }
.b-side-categories LI {
	background: url(images/pic2.gif) no-repeat left 5px;
	color: #05546c;
	padding: 3px 0 0 22px;
}
.b-side-categories A { color: #05546c; }


/* categories block in sidebar */
.b-side-archive { margin-top: 30px; }
.b-side-archive .title {
	background: url(images/pic_archives.jpg) no-repeat 17px 4px;
	padding: 0 0 6px 88px;
	font-size: 22px;
	line-height: 35px;
	font-weight: bold;
	color: #a60329;
}
.b-side-archive UL { list-style: none; padding: 12px 0 0 10px; }
.b-side-archive LI {
	background: url(images/pic3.gif) no-repeat left 7px;
	color: #05546c;
	padding: 3px 0 0 19px;
}
.b-side-archive A { color: #05546c; }


/* counters in sidebar */
.b-side-counters { margin-top: 30px; }
.b-side-counters .title {
	background: url(images/pic_counters.jpg) no-repeat 22px;
	padding: 15px 0 4px 84px;
	font-size: 22px;
	line-height: 35px;
	font-weight: bold;
	color: #a60329;
}
.b-side-counters UL { list-style: none; padding: 6px 0 0 92px; }
.b-side-counters LI { padding-top: 13px; }


/* tag cloud in sidebar */
.b-side-tags { margin-top: 30px; }
.b-side-tags .title {
	background: url(images/pic_tags.jpg) no-repeat 24px;
	padding: 18px 0 7px 90px;
	font-size: 22px;
	line-height: 35px;
	font-weight: bold;
	color: #a60329;
}
.b-side-tags .tags { padding-top: 10px; text-align: center; }
.b-side-tags .tags A { color: #9c9999; }


/* RSS icon in sidebar */
.b-side-rss { padding-top: 25px; font-size: 24px; line-height: 24px; text-align: center; }
.b-side-rss A { color: #a60329; }


/* сonsultation block in sidebar */
.b-side-consultation { margin-top: 30px; }
.b-side-consultation .title {
	background: url(images/pic_consultation.jpg) no-repeat left top;
	padding: 25px 0 0 92px;
	font-size: 22px;
	line-height: 35px;
	font-weight: bold;
	color: #a60329;
}
.b-side-consultation .body {
	padding: 12px 0 0 30px;
	color: #05546c;
}


/* ad block in sidebar */
.b-side-ad { margin-top: 40px; }
.b-side-ad .title {
	background: url(images/pic_ad.jpg) no-repeat 2px top;
	padding: 2px 0 6px 74px;
	font-size: 22px;
	line-height: 35px;
	font-weight: bold;
	color: #a60329;
}
.b-side-ad .body {
	padding: 12px 0 0 30px;
	color: #05546c;
}
.b-side-ad A { color: #05546c; }


/* bottom block */
.l-bottom { background: #b2e7f7 url(images/bottom_bg.gif) repeat-y left; }
.l-bottom .bottom_ { background: url(images/bottom_bg_top.jpg) no-repeat left top; }
.l-bottom .bottom {
	background: url(images/bottom_bg_bottom.gif) no-repeat left bottom;
	padding-top: 215px;
}


/* last posts in bottom */
.b-bottom-last-posts { padding: 0 30px 20px 16px; width: 274px; float: left; }
.b-bottom-last-posts .title { padding: 10px 0 0 16px; color: #05546c; font-size: 20px; }
.b-bottom-last-posts UL { list-style: none; color: #fff; padding-top: 5px; }
.b-bottom-last-posts LI {
	padding: 6px 0 0 16px;
	background: url(images/pic4.gif) no-repeat left 8px;
	font-size: 13px;
}
.b-bottom-last-posts LI SPAN { font-size: 10px; }
.b-bottom-last-posts A { color: #fff; font-weight: bold; }


/* last comments in bottom */
.b-bottom-last-comments { padding: 0 30px 20px 16px; width: 274px; float: left; }
.b-bottom-last-comments .title { padding: 10px 0 0 16px; color: #05546c; font-size: 20px; }
.b-bottom-last-comments UL { list-style: none; color: #fff; padding-top: 5px; }
.b-bottom-last-comments LI {
	padding: 6px 0 0 16px;
	background: url(images/pic4.gif) no-repeat left 8px;
	font-size: 11px;
	color: #05546c;
}
.b-bottom-last-comments A { color: #fff; font-weight: bold; font-size: 12px; }


/* about text in bottom */
.b-bottom-about { padding: 0 30px 20px 16px; width: 274px; float: left; }
.b-bottom-about .title { padding: 10px 0 0 16px; color: #05546c; font-size: 20px; }
.b-bottom-about .body { font-size: 12px; color: #05546c; padding: 10px 0 0 16px; }
.b-bottom-about .body A { color: #fff; }


/* footer */
.l-footer { color: #a60329; font-size: 12px; background: #fff; padding-bottom: 10px; }
.l-footer .copyright { width: 432px; float: left; padding: 10px 0 0 18px; }
.l-footer UL.menu { width: 550px; float: left; list-style: none; padding-top: 3px; }
.l-footer LI { float: right; padding: 7px 15px 5px 0; }
.l-footer LI.rss {
	padding-left: 20px;
	background: url(images/rss_icon.jpg) no-repeat left 6px;
}
.l-footer LI.login {
	padding-left: 18px;
	background: url(images/login_icon.jpg) no-repeat left 4px;
}
.l-footer .menu A { color: #a60329; }


/* comments area */
#comments, #respond {
	border-bottom: 1px dotted #CCCCCC;
	padding: 10px 0 5px 0;
	clear: both;
	color: #a60329;
}
.commentlist {
	margin: 10px 0px;
	padding-left: 20px;
	line-height: 130%;
}
.commentlist li{
	padding: 5px 10px;
}
.commentlist .alt {
	background: #F6F6F6;
}
.commentlist cite, .commentlist cite a, .commentlist cite a:visited {
	font-weight: bold;
	font-style: normal;
	font-size: 120%;
	color: #000;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
#commentform {
	margin-top: 10px;
	font: 110% Arial, Helvetica, sans-serif;
}
#commentform p {
	padding: 6px 0px;
	margin: 0px;
}
#commentform label{
	color: #787878;
	font-size: 87%;
}
#commentform input{
	width: 200px;
	background:#F6F6F6;
	border: 1px solid #ccc;
	padding: 3px;
	margin-top: 3px;
}
#commentform textarea{
	width: 485px;
	height: 115px;
	background:#F6F6F6;
	border: 1px solid #ccc;
	padding: 2px;
	margin-top: 3px;
}
#commentform textarea:focus, #commentform input[type="text"]:focus {
	background: #ffffff;
}
#commentform #submit{
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #000;
	float: left;
	width: 144px;
	height: 28px;
	cursor: pointer;
}
