@import 'base.css';
@import url(http://fonts.googleapis.com/css?family=PT+Serif:400,700italic,700,400italic&subset=latin,cyrillic);

/* =Typography
-----------------------------------------------------------------------------*/
body {
	font-family: "PT Serif", Georgia, serif;
	font-size: 17px;
	border-top: 5px solid #000;
	background: url(../i/bg.jpg);
}
h1 { 
	width: 710px;
	font-size: 36px;
	line-height: 40px;
	font-weight: bold;
}
.postpage h1 {
	padding-top: 14px;
}
h2 {
	font-weight: bold;
}
.contentspage h2 {
	margin-bottom: 0;
	font-size: 24px;
}
h3 {
	line-height: 1.2em;
	font-weight: bold;
}
h4 {
	font-size: 16px;
}
.content h4 {
	font-size: 18px;
}
.content ol,  {
	margin-left: 3em;
}
.content ol li, .content ul li {
	margin-bottom: .5em;
	line-height: 1.7em;	
}
.content p {
	line-height: 1.7em;
}
blockquote {
	color: #000;
	border: none;
	background-color: #f6f6f6;
	margin-left: 0;
	padding: 1.5em;
	position: relative;
	font-style: normal;
	font-size: 23px;
	line-height: 1.4em;
}
.forms_comments tr.labels td {
	font-size: 13px;
}


/* =Links
-----------------------------------------------------------------------------*/
a, a.blue { color: #365d8d; }

a:hover {
	color: #c00 !important;
	text-decoration: underline;
}
/*
#area a:visited {
	color: #777;
}
*/
a.red:hover {
	color: #000 !important;
}


/* =Layout
-----------------------------------------------------------------------------*/
#page {
	width: 950px;
	padding: 0 0 45px 0;
	margin: auto;
}
#main {
	overflow: hidden;
	padding-top: 1em;
}
.indexpage #main {
	padding-top: 0;
}
#area {
	float: left;
	width: 620px;
	color: #111;
}
#wide {
	color: #111;
}
#side {
	float: right;
	width: 220px;
	padding: 20px 30px;
	font-size: 15px;
	background-color: #f5f5f5;	
}
#side ul {
	margin-bottom: 2em;
}
#side ul li {
	margin-bottom: 7px;
	line-height: 1.4em;
}
#side nav ul {
	margin-left: 0;
	list-style: none;
}
#side nav ul li {
	overflow: hidden;
	background: url(../i/bg_contents.png) repeat-x bottom;
	background-position: 0 70%;
	margin-bottom: 10px;
}
#side nav ul li em {
	font-style: normal;
	color: #888;
}
#side nav ul li a, #side nav ul li em {
	float: left;
	background-color: #f5f5f5;
	padding-right: 5px;
}
#side nav ul li span {
	float: right;
	background-color: #f5f5f5;
	padding-left: 5px;
	font-size: 13px;	
	color: #888;
}
.date {
	line-height: 1;
	font-size: 13px;
	margin-bottom: 0px;
	position: relative;
	width: 620px;
}
#post_header {
	margin-bottom: 4px;
}
.date span {
	display: inline-block;
	padding: 4px 5px 5px 5px;
	background-color: #f2f2f2;
	color: #555;
	margin-right: 10px;
}
.date a {
	color: #000;
}

#printversion {
	position: absolute;
	top: 7px;
	right: 0px;
	font-size: 11px;
	color: #777;
}


/* =Header
-----------------------------------------------------------------------------*/
#header {
	overflow: hidden;
	padding-top: 26px;
	padding-bottom: 1em;
	margin-bottom: 1.5em;
	border-bottom: 1px dashed #ddd;
}
body.indexpage #header {
	margin-bottom: 2em;
}
body.contentspage #header {
	margin-bottom: 1em;
}
#logo {
	float: left;
	position: relative;
	top: -26px;
	width: 78px;
	height: 57px;
	margin-right: 82px;
	background: url(../i/logo.png) no-repeat bottom #000;
}
#logo a { 
	zoom: 1;
	display: block;
	height: 57px;
}

/* =Nav
-----------------------------------------------------------------------------*/
#nav {
	float: left;
	padding-top: 13px;
	width: 790px;
	overflow: hidden;
}
#nav ul {
	margin: 0;
	list-style: none;
}
#nav ul li {
	float: left;
	line-height: 1;
	margin: 0;
	margin-right: 2em;
	font-size: 15px;
	color: #999;
}
#nav ul li#twittertop, #nav ul li#rsstop {
	float: right;
	margin: 0;
}
#nav ul li#twittertop {
	margin-right: 3em;
}
#nav ul li#twittertop a {
	padding-left: 20px;
	font-size: 13px;
	color: #000;
	background: url(../i/ico_twitter.png) no-repeat;
	background-position: 0 2px;
}
#nav ul li#rsstop a {
	margin-top: -6px;
	padding-left: 29px;
	padding-top: 7px;
	font-size: 13px;
	color: #000;
	display: block;
	height: 24px;
	background: url(../i/ico_rss_big.png) no-repeat;
	background-position: 0 3px;
}

/* =Preview
-----------------------------------------------------------------------------*/
#preview {
	margin: 2px;
	margin-top: 4px;
	margin-bottom: 1.7em;
	padding: 40px;
	padding-bottom: 24px;
	background-color: #fff;
	-webkit-box-shadow: 0 1px 3px #999;
	-moz-box-shadow: 0 1px 3px #999; 
	box-shadow: 0 1px 3px #999;
}
#preview h2 {
	font-size: 24px;
	line-height: 30px;
}
#preview p {
	font-size: 15px;
	line-height: 1.4em;
	margin-bottom: 1em;
}
#preview img {
	float: left;
	margin-right: 20px;
	margin-top: 5px;
	margin-bottom: 10px;
}

/* =Share
-----------------------------------------------------------------------------*/
#share {
	background: url(../i/black_bar.png) no-repeat;
	padding-top: 1.5em;
	margin-bottom: 2em;
}



/* =Lists
-----------------------------------------------------------------------------*/
.postslist {
	margin-top: .2em;
	background-color: #f6f6f6;
	padding: 2em;
	padding-left: 3em;
	padding-bottom: 1.5em;
	margin-left: 0;
	list-style: none;
}
.postslist li a {
	font-size: 20px;
	color: #000;
}
.postslist div {
	font-size: 11px;
	color: #777;
	margin-top: -3px;	
}
.postslist div a {
	font-size: 11px;
	color: #444;
	margin-left: 10px;
	text-decoration: none;	
}
.postslist div a:hover {
	text-decoration: underline;
}
.postslist li {
	margin-bottom: 1em;
}


/* =Control
-----------------------------------------------------------------------------*/
#control {
    margin: 3em 0 1.5em 0;
    list-style: none;
    overflow: hidden;
    color: #777;
}
#control li {
    line-height: 1.3em;
}
#prev {
    float: left;
    width: 45%;
}
#next {
    float: right;
    width: 45%;
    text-align: right;
}


/* =Comments
-----------------------------------------------------------------------------*/
#comments_box {	
	padding: 2em;
	background-color: #fff;
	-webkit-box-shadow: 0 1px 3px #999;
	-moz-box-shadow: 0 1px 3px #999; 
	box-shadow: 0 1px 3px #999;
	margin-left: 2px;
	margin-bottom: 5px;
}
#add_comment_owner .pause {
	margin-bottom: 0;
}
#comments_list {
	margin-left: 0;
	margin-bottom: 1.5em;
	list-style: none;
	margin-top: -10px;
}
#comments_list li {
	position: relative;
	margin: 0;
	padding-top: 10px;
	padding-bottom: 10px;
	overflow: hidden;
/* 	border-bottom: 1px dashed #ddd;	 */
}
#comments_list li.comment_host {
/* 	margin-left: 2em; */
	padding: 1.5em;
	padding-top: .5em;
	padding-bottom: .5em;
	background: #f8f8f8;
	border: 1px solid #ddd;
}
.comment_head {
	font-size: 15px;
}
.comment_date {
	color: #888;
	font-size: 13px;
	margin-left: 10px;
}
.comment_author {
	font-weight: bold;
}

.comment_content p {
	font-size: 15px;
	margin-bottom: .5em;
}

/* =Icons
-----------------------------------------------------------------------------*/
.ico_comments {
	background: url(../i/ico_comments.png) no-repeat; 
	background-position: 0 8px;
	padding-left: 13px;
}
.ico_modal {
	background: url(../i/ico_modal.png) no-repeat; 
	background-position: 0 6px;
	padding-left: 16px;
	color: #000;
}


/* =Post
-----------------------------------------------------------------------------*/
.post_preview {
	margin-bottom: 2.5em;	
	position: relative;
}
.post_preview h2 {
	font-size: 24px;
	margin-bottom: 7px;
	line-height: 1.3em;
}
.post_preview p {
	font-size: 16px;
	line-height: 1.6em;
	margin-bottom: 1em;
}
.post_preview .date {
	margin-bottom: 7px;
	font-size: 12px;
}
.post_preview .date span {
	padding: 1px 5px 1px 5px;
}
.post_preview footer {
	position: relative;
	top: -7px;
}
.post_preview footer a {
	color: #000;
	font-size: 13px;
}
.post_preview footer .ico_comments {
	position: absolute;
	right: 40px;
	top: 0;
	color: #777;
	font-size: 12px;
}

/* =Pager
-----------------------------------------------------------------------------*/
#pager {
	margin-left: 0;
	list-style: none;
	overflow: hidden;	
}
#pager li {
	float: left;
}
#pager_prev, #pager_next {
	font-size: 16px;
	color: #999;
	padding-bottom: 10px;
}
#pager_prev {
	margin-right: 20px;
}
#pages_list {
	clear: both;
	float: none;
}
#pages_list li {
	margin-right: 2px;
}
#pages_list a, #pages_list span {
	display: block;
	line-height: 1;
	padding: 5px 7px 3px 7px;
}
#pages_list span {
	background-color: #f2f2f2;
	color: #999;
}
#pager ul {
	margin: 0;
	list-style: none;
	overflow: hidden;
}


/* =Footer
-----------------------------------------------------------------------------*/
#footer {
	clear: both;
	margin-top: 4.5em;
	padding-bottom: 3em;
	border-top: 2px dashed #ddd;
	font-size: 11px;
	overflow: hidden;
	color: #777;
	padding-top: 1.5em;
}
.mainpage #footer {
	margin-left: 80px;
}
#footer a {
	color: #777;
}
#copy {
	float: left;
}
#footer .email {
	float: right;
}


