/*
Theme Name: kniguru
Theme URI: http://tao-media.ru
Description: A plain and simple theme that just works. Fixed width, two columns, left sidebar, standards compliant.
Version: 1.0.0
Author: fedor108
Author URI: http://tao-media.ru
Tags: fixed-width, two-columns, right-sidebar, blue, white, light, threaded-comments
*/

@font-face {
 font-family: MyCustomFont;
 src: url("ChinaCyr.eot") /* EOT file for IE */
}
@font-face {
 font-family: MyCustomFont;
 src: url("ChinaCyr.ttf") /* TTF file for CSS3 browsers */
}

body {
	font-size: 14px;
	font-family: Arial, Helvetica, sans-serif;
	color:#000;
	
	}

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.8em;
	}

h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Sans-Serif;
	font-weight: normal;
	text-transform:none;
	text-align:left;
}

h1 { font-size: 2.4em; }
h2 { font-size: 2em; }
h3 { font-size: 1.2em; }
h4 { font-size: 1em;}
h5 { font-size: 1em;}

pre {
	overflow:auto;
}

acronym, abbr
{
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
	border-bottom: 1px dashed #999;
}

strong {	
	color:#606060;
}

a {
	color: #00a3f7;
}
a:visited {
	color: #00a3f7;
}
a:hover{
  color: #3ebdff;
}


hr {
	display: none;
	}

a img {
	border: none;
	}


/* Layout */

body, html {
	margin: 0;
	padding: 0;
  height:100%; /* Задаём 100% высоту для html и body */
  position:relative; /* Если этого не задать, в Опере почему-то футер не прижимается сразу,*/
}

#page {
	margin: 0 auto;
	padding: 0;
	width: 1024px;
	
  min-height:100%; /* Задаем минимальную высоту 100% */
  _height:100%; /* Задаем высоту 100% в ИЕ6 с помощью хака */
}

#wrapper {
	padding:55px 0 74px 0;
	width:100%;
}

#content-main {
	padding:0;
  	width: 470px;
	float:left;
	font-size:14px;
	padding:0 35px 0 0;
}
#content {
	padding:0;
  	width: 770px;
	float:left;	
	font-size:14px;
}
#content h2 {
	font-family:Arial, Helvetica, sans-serif;
	margin: 7px 0 35px 0;
	padding:0;
	text-align:left;
	font-size:32px;
	text-transform: none;
	font-weight: normal;
}

#content .post.profile h2 + h2 {
        display: none;
}


#content-main h2 {
	font-family:Arial, Helvetica, sans-serif;
	margin: 7px 0 35px 0;
	padding:0;
line-height:100%;
	text-align:left;
	font-size:32px;
	text-transform: none;
	font-weight: normal;
}
#content h3 {
	font-family:Arial, Helvetica, sans-serif;
	margin: 0;
	padding:0;
	text-align:left;
	font-size:18px;
	text-transform: none;
	font-weight: normal;
	clear:both;
}

#content-main h3 {
	font-family:Arial, Helvetica, sans-serif;
	margin: 0;
	padding:0;
	text-align:left;
	font-size:18px;
	text-transform: none;
	font-weight: normal;
}

#content h4 {font-style: italic; margin:2em 0 0 0; padding: 0;}
#content h5 {font-weight: bold; color:#606060; margin:0; padding: 0;}

.text-block{
  margin: 2.2em 0;
  padding: 0; 
  clear: both;
}

.exerpt{
	margin: 8px 0 8px 0;
	padding:0;
	font-size:14px;
	color: #434343;
	width:535px;
	line-height: 120%;
}
.exerpt p{
	margin: 0;
	padding:0;
}

#sidebar {
	width:185px;
	float:left;	
	margin:0 50px 0 0;
	padding:0;
}
#sidebar2 {
	width:270px;
	float:left;	
	padding:0;
	margin: 12px 0 0 50px;

}
#promolink {
	width:300px;
	float:left;
	margin:0;
	padding:0px;
	height: 59px;
	line-height: 54px;
	font-family:Georgia;
	font-size:24px;
	font-style:italic;
}
#promolink a{
    color:#ec3a94;
}

#promolink a:hover{
    color:#009f4c;
}


/* Header */
#headerimage {
	padding:0px;
	margin: 0px;
	height: 368px;
	width: 1024px;
}

#header h1 {
	margin:10px 0;
}

#header .description {
	font-size:1.2em;
}

.menu-main-container {
	margin: 0px 0 0;
	padding: 0px;
	float: right;
	height:59px;
	width:692px;
	font-family: Arial;

	background-image: url(images/hmenu.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	font-size:18px;
}

.menu-main-container ul {
	display:inline;
	margin:0;
	padding:0 0 0 25px;
	line-height: 59px;
}
.menu-main-container {
	display:inline;
	margin:0;
	padding:0;
	line-height: 59px;
}

	
.menu-main-container ul li {
	display:inline;
	margin:0 0 0 23px;
	padding:0 0 0 10px;
	border-left: 1px solid #FFFFFF;
	line-height: 50px;
}

.menu-main-container ul li {

}

.menu-main-container ul li a {
	color:#FFFFFF;
	text-decoration: none;
}

.menu-main-container ul li.current_page_item{
	color:#000000;
	border-left: 1px solid #000000;

}
.menu-main-container ul li.current_page_item	a{
	color:#000000;
}
.menu-main-container ul li.current_page_item	a:hover{
	color:#000000;
}
.menu-main-container ul li a:hover{
	color:#ff33ac;
}

.menu-main-container ul li#hmenu_rss {
	background:url('images/rss.png') no-repeat;
	padding-left:20px;
}	

#header {
	margin: 0px;
	padding: 0px;
	height: 368px;
	width: 1024px;
}


/* End header */

/* Post */

.post {
	margin: 0 0 25px 0;
	padding:0px; 
	text-align: left;
	overflow:hidden;
	clear:both;
	}

.post h2 {
	font-family:Arial, Helvetica, sans-serif;
	margin: 7px 0 35px 0;
	padding:0;
	text-align:left;
	font-size:32px;
	text-transform: none;
	font-weight: normal;
}

.post h3.post-title {
	font-weight:bold;
	font-size:18px;
	margin:0;
	padding:0;
	text-align:left;
}	

.post h3 {
	font-weight:bold;
	font-size:18px;
	margin:0;
	padding:0;
	text-align:left;
	color: #007136;
}


div.archive-title {
	font-size:1.6em;
	font-weight:bold;
}

.post hr {
	display: block;
	}

.postmetadata {
	clear: both;
	font-size:12px;
	color:#9a9a9a;
	margin: 5px 0 12px 0;
	font-style: italic;
}

.authorname{
	font-size:16px;
	color:#9a9a9a;
	margin: 0 0 12px 0;
	font-style: italic;
	font-weight:bold;
}

.postmetadata-category{
	clear: both;
	font-size:12px;
	color:#9a9a9a;
	margin: 5px 0 12px 0;
	font-style: normal;
}
.clear {
	clear: both;
	float: none;
	width: 100%;
}

.entry {
	font-size:14px;
	line-height:150%;
	margin:0;
}
.entry p{
	margin: 15px 0 15px 0;
}
.entry blockquote {
	border:1px dashed #ccc;
	font-size:0.9em;
	padding:5px 20px;
	margin:10px 0;
	background:#f8f8f8;
}

.entry blockquote blockquote {
	font-size:1em;
}

.entry fieldset {
	border:1px dashed #ccc;
}

.entry fieldset legend {
	font-weight:bold;
	text-transform:uppercase;
}

.entry table {
	border-width:0 1px 1px 0;
	border-style:solid;
	border-color:#ccc;
	font-size:0.9em;
}


.entry table tr td {
	padding:5px 10px;
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;

}

.entry table tr th {
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;
	padding:5px 10px;
	background:#f4f4f4;
	color:#666;
	font-weight:bold;
	text-transform:uppercase;
	text-align:center;
}

.entry ol { list-style-type:decimal; }
.entry ol ol {	list-style-type:lower-alpha; }
.entry ol ol ol {	list-style-type:lower-roman; }


p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.alignright {
	padding:0;
	margin: 2px 0 5px 16px;
	display: inline;
	float:right;
	}

.alignleft {
	padding:0;
	margin: 2px 16px 5px 0;
	display: inline;
	float:left;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.navigation .alignleft {
	text-align:left;
}
.navigation .alignright {
	text-align:right;
}

.navigation {
	font-size:1.2em;
	clear:both;
	margin:0;
}	


.wp-caption {
	border: 1px solid #ccc;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
}


.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.searchbox {
	padding:20px 0 0 0;
	text-align:left;
	clear:both;
}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}


/* Comments*/

#comments {
	font-size:1.4em;
	line-height:1.4em;
	margin: 20px 0;
}

.commentlist {
	margin:20px 0;
	padding:0 0 1px 0;
	background:url('images/border_h.png') repeat-x bottom;
}

.commentlist li {
	list-style:none;
	margin:0;
	padding:0;
	border-top: 1px dashed #ccc;
	/*background:url('images/border_h.png') repeat-x top;*/
}

li.comment div, li.pingback div {
	padding:20px;
	overflow:auto;
}

li.comment div div, li.pingback div div {
	padding:0;
	overflow:visible;
}

.commentlist li.even {
	background-color:#fff; /*fafafa*/
}

.commentlist li.odd {
	background-color:#fff; /*f6f6f6*/
}

ul.children li {
	list-style:none;
}

ul.children {
	padding-left:80px;
	
	background:url('images/arr.jpg') no-repeat left top;
}
#comment_frame{
	border: 1px dashed #ccc;

}

.submit{
	width: 220px;
	height: 32px;
	padding: 0 0 2px;
	font: 16px "Trebuchet MS", Tahoma, Arial, sans-serif;
	outline: none;
	position: relative;
	cursor: pointer;
	border-radius: 3px;
	color: #555;
	border: 1px solid #BBB;
	border-top: 1px solid #D0D0D0;
	border-bottom: 1px solid #A5A5A5;
	text-shadow: 1px 1px #FAFAFA;
	background: -moz-linear-gradient(top,  #eeeeee 0%, #e2e2e2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#e2e2e2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* IE10+ */
	background: linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
	background-color: #E8E8E8;
}
.submit::-moz-focus-inner{border:0}
.submit:hover {
	border-top: 1px solid #C2C2C2;
	background: -moz-linear-gradient(top,  #e4e4e4 0%, #e9e9e9 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4e4e4), color-stop(100%,#e9e9e9)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* IE10+ */
	background: linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e4e4', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
	background-color: #E8E8E8;
}
.submit:active {
	top: 3px;
	border: 1px solid #B9B9B9;
	border-top: 1px solid #959595;
	border-bottom: 1px solid #CACACA;
	background: #E3E3E3;
}

img.avatar {
	float:right;
	border:1px solid #ccc;
	padding:2px;
	margin:0;
	background:#fff;
}

.comment-meta, .reply {
	margin:0;
	padding:0;
	font-size:0.8em;
}

.comment-author cite {
	font-style:normal;
	font-weight:bold;
}


textarea#comment {
	width:100%;

}

#comments div.navigation {
	font-size:0.8em;
}

/* Sidebar */
	
#sidebar {
	font: 16px Georgia, "Times New Roman", Times, serif;
	}

#sidebar a {
	color: #176cb4;
}
#sidebar a:visited {
	color: #176cb4;
}
#sidebar a:hover{
  color: #00a3f7;
}

#sidebar .current-category-ancestor a{
  color: #000;
  text-decoration: none;
}
#sidebar .current-menu-item a{
  color: #000;
  text-decoration: none;
}

#sidebar h2 {
	font: bold 14px Arial, Helvetica, sans-serif;
	color: #606060;
	padding: 0;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	margin:0;
	padding:0;
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 20px;
	}
#sidebar ul li ul{
	margin:0;
	padding:0;
	list-style-type: none;
	list-style-image: none;
	margin: 0 0 45px 0;
	font-style:italic;
}
#sidebar ul li ul li{
	margin: 0 0 15px 20px;
	padding:0;
}


#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 0;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 20px;
	}

#sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
	
/* Calendar */
#wp-calendar {
	empty-cells: show;
	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;
	font-weight:bold;
	}

#wp-calendar caption {
	font-weight:bold;
	text-transform:uppercase;
	text-align:left;
	margin:0 0 5px 8px;
	color:#666;
	}

#wp-calendar td {
	padding: 3px 5px;
	text-align: center;
	}
	
#wp-calendar td#today {
	background:#eee;
}	

#wp-calendar td#prev a {
	padding: 0;
	text-align:left;
	font-weight:normal;
}

#wp-calendar td#next a {
	padding: 0;
	text-align:right;
	font-weight:normal;
}


/* End Calendar */


/* Footer */	

#footer {
    line-height: 68px;
	padding:20px 0px 1px 0px;
	margin:-88px 0 0 0;
	text-align:center;
	font-size:12px;
	color:#606060;
	text-align:left;
	clear: both;
	height:68px; 
	position:relative; 
	width:1024px;
	float:none;
}
#footer2 {
    line-height: 68px;
	padding:20px 0px 1px 0px;
	margin:-88px 0 0 0;
	text-align:center;
	font-size:12px;
	color:#606060;
	text-align:left;
	height:68px; 
	position:relative; 
	width:1024px;
	float:none;
	clear: both;
}

#partnerfoot
 {
	text-align:left;
	font-size:12px;
	clear: both;
	width:1024px;
	float:none;
	padding:0px 0 200px 0;
	margin:50px 0 0 0;
	position:relative;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #666666;
}
#partnerfoot h3{
	font: bold 14px Arial, Helvetica, sans-serif;
	color: #606060;
	float:none;
	clear:both;
	padding-top:30px;
}

.pbanner{
	border: 1px solid #999999;
	padding:0;
	margin: 20px 40px 20px 0;
	width:220px;
	height:80px;
	float: left;
	display:block;
	text-align: center;
	
}
.pbanner img {
	vertical-align: middle;
	position: relative;
	left: 50%;
	top: 50%;
	margin: -20px 0 0 -220px;
	padding:0;
}

/* Страница партнёров */
#post-835 .entry h3{
	margin-top:20px;
	
}
#post-835 .entry img.alignleft{
	padding:10px 60px 30px 0px;

}

/* Custom */

.news{
	font-family:Arial, Helvetica, sans-serif;
	color:#434343;
	font-size:12px;
	padding:0;
	margin: 0 0 22px 0;
}
.news p{
	padding:0;
	margin: 13px 0 13px 0;  
}
.news-category{
	font-family:Georgia, "Times New Roman", Times, serif;
	color:#176cb4;
	font-size:16px;
	font-style:italic;
	
}
.news-title {
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	color: #010101;
}
.news-title a{
	color: #010101;
}
.news-date {
	color: #9a9a9a;
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	margin: 0 0 13px 0;  
}
.pologenie p{
	margin-left: 20px;
	
}
#content .pologenie h3 {
	margin-top: 0px;
}

#content .sovet h3 {
	margin-top: 36px;
}

.ratings{
margin: 20px 0;
padding: 0 0 20px 0;
}

.ratings h3{
  color: #000;
  margin: 20px 0 20px 0; 
  display: block; 
}
.post-ratings {
	margin-top: 20px;
}

#comments{
  font-size: 14px;
}
#respond p{
  font-size: 14px;

}
.res-item{
  margin: 0 0 28px 0px;
}

.res-user-list{
  font-size: 12px;
  margin: 10px 0 10px 40px;
}
.res-user{
  margin: 10px 0 10px 0;
}

.res-comment{
  margin: 0 0  0 80px;
}
.res-item-info{
  font-size: 12px;
  font-style: italic;
}
.yashare-auto-init{
  float:right;
}
.partner-1{
	margin-top:20px;
	margin-right: 30px;
	margin-bottom: 30px;
	float:left;
}
.partner-2{
	margin-top:20px;
	margin-right: 30px;
	margin-bottom: 30px;
	float:left;
}

/* Спец раздел для администраторов */
.admin-menu{}
.admin-menu li {display: inline; padding: 10px; margin: 10px; border: 1px solid #666;}


.genre {
	font-weight: bold;
	color: #606060;
	margin: 0; 			
}
.age {
	font-style: italic;
	margin: 0; 
}

.pod{
	font-style: italic;
	text-align: right;
	padding: 0 0 1em 0;
}

.epi {
	text-align: right;
	font-style: italic;
}

.wp_link_pages {

}
.wp_link_pages a{
}

.wp_link_pages span{

}

.profile-form{
  float: left;
  margin: 0;
  padding: 10px 20px 20px 20px;
  border: dashed 1px gray;
  background: #fff;
  width: 720px;
}
.profile-form input,
.profile-form select,
.profile-form textarea {
  width: 250px;
  float: right;
  font: 14px Arial;
  padding: 5px;
}

.profile-form input[type="text"] {
border:1px solid grey;

}
.profile-form input[type="date"] {
border:1px solid grey;

}
.profile-form textarea {
border:1px solid grey;

}
.profile-form input[type="image"] {
  width: 160px;
  margin: 10px 0;
  float: none;
}

.profile-form textarea {
  height: 60px;
}


.profile-form input[type="submit"]{
	
	height: 32px;
	padding: 0 0 2px;
	font: 16px "Trebuchet MS", Tahoma, Arial, sans-serif;
	outline: none;
	position: relative;
	cursor: pointer;
	border-radius: 3px;
	color: #555;
	border: 1px solid #BBB;
	border-top: 1px solid #D0D0D0;
	border-bottom: 1px solid #A5A5A5;
	text-shadow: 1px 1px #FAFAFA;
	background: -moz-linear-gradient(top,  #eeeeee 0%, #e2e2e2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#e2e2e2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* IE10+ */
	background: linear-gradient(top,  #eeeeee 0%,#e2e2e2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#e2e2e2',GradientType=0 ); /* IE6-9 */
	background-color: #E8E8E8;
}
.profile-form input[type="submit"]::-moz-focus-inner{border:0}
.profile-form input[type="submit"]:hover {
	border-top: 1px solid #C2C2C2;
	background: -moz-linear-gradient(top,  #e4e4e4 0%, #e9e9e9 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4e4e4), color-stop(100%,#e9e9e9)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* IE10+ */
	background: linear-gradient(top,  #e4e4e4 0%,#e9e9e9 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4e4e4', endColorstr='#e9e9e9',GradientType=0 ); /* IE6-9 */
	background-color: #E8E8E8;
}
.profile-form input[type="submit"]:active {
	top: 3px;
	border: 1px solid #B9B9B9;
	border-top: 1px solid #959595;
	border-bottom: 1px solid #CACACA;
	background: #E3E3E3;
}



.profile-form input[type="submit"]{
	width: 264px;
}


.profile-form span{
  display: block;
  float: left;
  width: 120px;
  text-align: right;
  vertical-align: center;
  padding: 8px 0px;
}
.profile-form .field {
  clear: both;
  padding: 20px 0;
}

.flash {
  margin: 20px 0;
  padding: 10px 20px;
  border: solid 2px #99CC33;
}


.member-info{
	width: 400px;
	float: left;
}

.member-request{
	width: 280px;
	float: right;
	padding-top: 20px; 
}

/* страница партнеры */
#post-835 .entry a {
  display:  block;
  float:    left;
  width:    250px;
  height:   90px;
  /*margin:   40px 60px 40px 0;*/
}
#alert_postratings{
    border: 2px solid red;
    margin: 20px 0;
    padding: 10px 20px;
}

.log {width:280px; height:280px;    float: left;
    margin: 0 20px 20px 20px;
    /*border: 1px #ddd solid;*/}
.log img {max-width:280px; height:auto;}
