/*
Theme Name: deff-theme
Theme URI: 
Description: 
Version: 1.0
Author: 
Tags: widget ready, valid html, valid css, 2 columns, fixed width
*/
*{margin: 0; padding: 0;}
html {height: 100%}
body {
	font: 12px Tahoma, Verdana, sans-serif;
	background: #FFCC36;
	color: #000;
	width: 100%;
	height: 100%;
	text-align: center;
}
a:link, a:visited, a:active, a:hover {color: #eb0303; text-decoration: none;}
a:hover { color: #000; text-decoration: underline; }

img {border: none;}
input, select {vertical-align: middle;}
ul li{list-style: none;}
.clear{clear: both;}

#wrapper {
	width: 1000px;
	margin: 0 auto;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	text-align: left;
}


/* Header
-----------------------------------------------------------------------------*/
#header { height: 240px; width: 100%; overflow: hidden; background: url(images/hbg.png) no-repeat center bottom;}
#header .search{ text-align: center; padding: 15px 0 0; }
#header .search .text{ border: 0; width: 260px; padding: 4px 5px; font-size: 13px; font-family: Arial, Helvetica, sans-serif; background: transparent; }
#header .search .bttn{ border: 0; width: 25px; height: 25px; background: transparent; cursor: pointer; }
/* Middle
-----------------------------------------------------------------------------*/
#middle {
	width: 100%;
	height: 1%;
	padding: 0 0 135px;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
}
#content {
	padding: 0 246px 0 2px;
}
#content .title{ color: #505413;}

.post{ width: 100%; overflow: hidden; margin: 0 0 20px; }
.post p{padding: .4em 6px;}
.post p img{ border: 2px solid #505050;}
.post h2, .post h3, .post h4{ padding: .4em 10px;}

#content .title{ background: url(images/title_bg.png) no-repeat; height: 65px; color: #030102; }
#content .title h1{ width: 580px; font-size: 26px; padding: 10px 10px 0 30px; float: left; font-family: Arial, Helvetica, sans-serif;}
#content .title h1 span{ font-size: 11px; font-weight: 400; }
#content .title .date{font-size: 12px; color: #fff; width: 75px; float: right; text-align: center; padding: 10px 5px 0 0; }
#content .title .date span{ font-size: 25px; font-weight: 700; }
#content .title a:link, #content .title a:visited, #content .title a:active, #content .title a:hover{color: #1f1f1f; text-decoration: none;}
#content .title a:hover{text-decoration: underline;}
#content .title p{ padding: 0 0 0 10px; }
#content .title p span{ font-weight: 700; color: #cc2201; }
#content .title p a:link, #content .title p a:visited, #content .title p a:active, #content .title p a:hover {color: #cc2201; text-decoration: none; font-weight: 700;}
#content .title p a:hover { text-decoration: underline;}

.cont{ width: 752px; background: #fff url(images/cont_bg.png) repeat-y left; }
.cont_top{ width: 100%; background: url(images/cont_top.png) no-repeat top left; }
.cont_bttm{ padding: 50px 20px; background: url(images/cont_bttm.png) no-repeat bottom left; }

.permalink{ background: url(images/perma.png) center top; line-height: 20px; font-size: 9px; padding: 0 10px; }
.permalink .perm{ width: 34%; float: left; }
.permalink .tags{ width: 64%; float: right; text-align: right; }
/* Sidebar Left
-----------------------------------------------------------------------------*/
.sr {
	float: left;
	margin-right: -3px;
	width: 245px;
	margin-left: -245px;
	position: relative;
	color: #000;
}

.sidebar{ color: #fff; }
.sidebar .title{ width: 100%; text-align: left; color: #f8be13; background: url(images/cat_bg.png) no-repeat; padding: 38px 0 0; line-height: 34px;}
.sidebar .title h1{ font-size: 12px; padding: 0 25px; }
.sidebar p{ padding: .4em 0 }
.sidebar img{ margin: 5px auto;}

.sidebar a:link, .sidebar a:visited, .sidebar a:active, .sidebar a:hover {color: #fff; text-decoration: none;}
.sidebar a:hover { color: #eb0303; }

.sidebar .spadd{ padding: 2px 3px 0 0; }
.sidebar .widg{margin: 0 auto 5px; width: 220px; background: #DB9102 url(images/widg_top.png) no-repeat left top; }
.sidebar .widg_bttm{ padding: 5px; background: url(images/widg_bttm.png) no-repeat left bottom; }

.sidebar .widg ul{ width: 100%; }
.sidebar .widg ul li{ background: url(images/side_bullet.gif) no-repeat 10px 8px; padding: 0 0 0 20px; line-height: 20px; }


/* Footer
-----------------------------------------------------------------------------*/

#footer {
	height: 135px;
	margin: -135px 0 0; 
	background: url(images/footer_bg.png) no-repeat center bottom;
	font-size: 11px;
	font-family: Tahoma;
	color: #000;
	text-align: center;
}
#footer p{ padding: 25px 0 .4em; }
#footer .bttm_menu{ font-weight: 700; color: #aba9a9; }
#footer .bttm_menu a:link, #footer .bttm_menu a:visited, #footer .bttm_menu a:active, #footer .bttm_menu a:hover {color: #efdd26; text-decoration: underline;}
#footer .bttm_menu a:hover { text-decoration: none; }

h2
{
	font-weight:400;
	font-size:18px;
}

h3
{
	font-weight:400;
	font-size:16px;
}

#commentform #author,#commentform #email,#commentform #url,#commentform textarea
{
	background:#fff;
	border:1px solid #333;
	padding:.2em;
}

#commentform textarea
{
	width:98%;
}

#commentlist li ul
{
	border-left:1px solid #717679;
	font-size:110%;
	list-style-type:none;
}

#commentlist li .avatar
{
	float:right;
	margin-right:25px;
	border:1px dotted #ccc;
	padding:2px;
}

#wp-calendar
{
	border:1px solid #fff;
	empty-cells:show;
	font-size:14px;
	width:90%;
	margin:5px auto 10px;
}

#wp-calendar a
{
	color:#000;
	display:block;
	text-decoration:none;
}

#wp-calendar #next a
{
	padding-right:10px;
	text-align:right;
}

#wp-calendar #prev a
{
	padding-left:10px;
	text-align:left;
}

#wp-calendar a:hover
{
	background:#e0e6e0;
	color:#717679;
}

#wp-calendar caption
{
	color:#fff;
	font-size:14px;
	text-align:center;
}

#wp-calendar td
{
	color:#fff;
	font:normal 12px 'Lucida Grande', 'Lucida Sans Unicode', Verdana, sans-serif;
	letter-spacing:normal;
	text-align:center;
	padding:2px 0;
}

#wp-calendar td.pad:hover
{
	background:#fff;
}

#wp-calendar td:hover,#wp-calendar #today
{
	background:#eee;
	color:#000;
}

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

p img
{
	max-width:100%;
	padding:0;
}

img.alignright
{
	display:inline;
	margin:0 0 2px 7px;
	padding:4px;
}

img.alignleft
{
	display:inline;
	margin:0 7px 2px 0;
	padding:4px;
}

.alignright
{
	float:right;
}

.alignleft
{
	float:left;
}

.right ul li
{
	margin:0 10px;
}

.right ol li
{
	margin:0 20px;
}

img,.left ul li ul li,.left ul li ul li ul li
{
	border:0;
}



img.centered,.aligncenter
{
	display:block;
	margin-left:auto;
	margin-right:auto;
}

p {
 text-indent: 20px; /* Отступ красной строки в пикселах */
}
