/*
Theme Name: truba-info
Description: Markup by Andrey Morkovin
Author: Andrey Morkovin
*/

/* Normalize & Reset */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:101%;vertical-align:baseline}
html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section,summary{display:block}
audio,canvas,video{display:inline-block}
audio:not([controls]){display:none;height:0}
[hidden]{display:none}
a{outline:none}
abbr[title]{border-bottom:1px dotted}
pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}
sub,sup{font-size:75%;line-height:0;position:relative}
sup{top:-0.5em}
sub{bottom:-0.25em}
fieldset{border:1px solid #c0c0c0;margin:0 2px;padding:.35em .625em .75em}
button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}
button,input{line-height:normal}
button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer}
button[disabled],input[disabled]{cursor:default}
input[type="checkbox"],input[type="radio"]{box-sizing:border-box;padding:0}
input[type="search"]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}
button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}
textarea{overflow:auto;vertical-align:top}
input:focus,button:focus,select:focus,textarea:focus{outline:none}
table{border-collapse:collapse;border-spacing:0}
/* end Normalize & Reset */

html {
	min-width: 1000px;
}
body {
	font: 14px/20px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	color: #4e4e4e;
}
a {
	color: #ff6c00;
}
a:hover {
	text-decoration: none;
	color: #000;
}
p {margin: 0 0 23px}

blockquote{
	padding: 15px 15px 15px 85px;
	margin: 20px 0;
	background: #fcffbb url("/wp-content/themes/truba-info/i/bq-bg.png") no-repeat 18px 14px;
	position: relative;
	color: #1c1c1c;
	min-height: 55px;
	border-top: 6px solid #f7ec6d;
}
blockquote p {
	padding: 0;
}
blockquote p:last-child {
	margin-bottom: 0;
}
.clear {
	clear: both;
	overflow: hidden;
	height: 0;
}
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto !important;
	margin-right: auto !important;
}
.alignleft {float: left;}
img.alignleft {margin: 5px 15px 5px 0;}
.alignright {float: right;}
img.alignright {margin: 5px 0 5px 15px;}

.wrapper{
	width: 1000px;
	margin: 0 auto;
	background: #fff;
}
.main{
	overflow: hidden;
	position: relative;
	padding-bottom: 20px;
}
.content{
	width: 728px;
	float: left;
}
.content-wrap{
	margin: 0 15px;
}
.sidebar{
	width: 250px;
	float: right;
	overflow: hidden;
}


.single-title, .category-title, .related-posts-title, #comments_block_title, .section .section__title{
	font-size: 20px;
	font-weight: bold;
	line-height: 22px;
	text-transform: uppercase;
	color: #000;
	padding-bottom: 20px;
	margin-bottom: 9px;
	background: url("/wp-content/themes/truba-info/i/title-border.png") repeat-x 0 100%;
}

/* Header
-----------------------------------------------------------------------------*/
.header{
	background: url("/wp-content/themes/truba-info/i/bg-heder.jpg") repeat-x;
}


.header__wrap{
	height: 201px;
	width: 1000px;
	margin: 0 auto;
	position: relative;
}

.header-logo{
	position: absolute;
	left: 30px;
	top: 25px;
	color: #fff;
	background: url("/wp-content/themes/truba-info/i/logo.png") no-repeat;
	padding: 35px 0 23px 117px;
	font-size: 13px;
}
.header-logo .domen-name{
	color: #f5c032;
	text-transform: uppercase;
	font-size: 28px;
	font-weight: bold;
	display: block;
	margin-bottom: 2px;
}
a.header-logo{
	text-decoration: none;
	color: #fff;
}

.header__search {
	position: absolute;
	top: 53px;
	right: 0;
	width: 296px;
	height: 38px;
	background: #e8e8e8;
}
.header__search__field {
	width: 175px;
	background: none;
	border: none;
	padding: 11px 18px;
	color: #4b4b4b;
}
.header__search__button {
	position: absolute;
	top: 0;
	right: 0;
	width: 45px;
	height: 39px;
	background: url("/wp-content/themes/truba-info/i/search-btn.png") no-repeat 50% 50%;
	border: none;
}

/*Home
-----------------------------------------------------------------------------*/
.new-posts-home{
	overflow: hidden;
	margin-bottom: 20px;
}
.new-posts-home li{
	list-style: none;
	float: left;
	width: 212px;
	margin-right: 27px;
	text-align: center;
	margin-bottom: 17px;
	position: relative;
}
.new-posts-home li:nth-child(3n){
	margin-right: 0;
}
.new-posts-home li:nth-child(3n+1){
	clear: both;
}

.new-posts-home__img-url{
	position: relative;
}
.new-post-home__url{
	position: absolute;
	bottom: 5px;
	left: 0;
	width: 202px;
	padding: 13px 5px;
	background: #282828 url("/wp-content/themes/truba-info/i/top-post-home.jpg") no-repeat 0 100%;
	font-size: 15px;
	line-height: 17px;
	color: #f7ec6d;
}
.new-post-home__url:hover{
	background: #f8ed6d url("/wp-content/themes/truba-info/i/top-post-home.jpg") no-repeat 100% 100%;
}

.new-post-home__category{
	padding: 5px 0 6px 33px;
	font-size: 12px;
	line-height: 13px;
	background: url("/wp-content/themes/truba-info/i/category-bg.png") no-repeat;
	width: 169px;
	text-align: left;
}
.new-post-home__category a{
	color: #545454;
}
.new-post-home__category a:hover{
	color: #ff6c00;
}

.home-article .entry{
	padding: 0 10px;
}

/*Sidebar
-----------------------------------------------------------------------------*/
.sidebar .section{
	margin-bottom: 9px;
}

.sidebar .section__title{
	margin-bottom: 0;
}


#category_sidebar li{
	font-size: 15px;
	line-height: 17px;
	color: #000;
	list-style: none;
	background-color: #DFDFDF;
	border: 1px solid #000;
	text-align: center;
	margin-bottom: 1px;
}
#category_sidebar .current-menu-item{
	background: #f7ec6d;
}
#category_sidebar li a{
	color: #000;
	text-decoration: none;
}
#category_sidebar li a:hover{
	color: #ff8933;
}

#top_posts li, #new_posts_sidebar li{
	overflow: hidden;
	line-height: 17px;
	list-style: none;
	padding-bottom: 17px;
	margin-bottom: 17px;
	border-bottom: 1px solid #d1d1d1;
}
#top_posts li a, #new_posts_sidebar li a{
	color: #000;
}
#top_posts li a:hover, #new_posts_sidebar li a:hover{
	color: #ff6c00;
}
#top_posts li:last-child, #new_posts_sidebar li:last-child{
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}
#top_posts li:first-child, #new_posts_sidebar li:first-child{
	margin-top: 15px;
}
#top_posts img, #new_posts_sidebar img{
	float: left;
	margin-right: 10px;
}

/*Archive
-----------------------------------------------------------------------------*/
.category-description{
	overflow: hidden;
	margin-top: 15px;
}
.category-description .entry{
	text-align: justify;
}

#category_image{
	float: left;
	margin: 0 10px 10px 0;
}

.category-post-item-archive{
	overflow: hidden;
	margin-bottom: 20px;
	background: #eee;
	padding: 15px;
	box-shadow: inset 2px 2px 6px rgba(0,0,0,0.1);
}
.category-post-item-archive img{
	float: left;
	margin-right: 13px;
	box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
	border: 2px solid #fff;
	border-radius: 3px;
}
.category-post-item-archive .announcement_title{
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 22px;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.5);
}
.category-post-item-archive .announcement_title a{
	color: #000;
}
.announcement_content{
	color: #4d4d4d;
}

.crumbs{
	padding: 0 0 15px 17px;
	color: #000;
}
.crumbs li{
	display: inline;
	position: relative;
	padding-right: 10px;
}
.crumbs li:after{
	content: "/";
	position: absolute;
	top: -1px;
	right: 1px;
}
.crumbs li:last-child:after{
	content: '';
	position: absolute;
	right: -12px;
	top: 8px;
	width: 17px;
	height: 7px;
	background: url("/wp-content/themes/truba-info/i/crumbs-last-arrow.png") no-repeat;
}
.crumbs li a{
	color: #000;
}	

.pagination{
	margin: 18px 0 37px;
	font-weight: bold;
}
.pagination ul{
	text-align: center;
}
.pagination ul li{
	display: inline;
	list-style: none;
	margin-right: 5px;
}
.pagination ul li a, .pagination ul li span{
	padding: 6px 10px;
	background: linear-gradient(to top, #f1f1f1, #f9f9f9);
	border: 1px solid #d9d9d9;
	border-radius: 5px;
	color: #6b6b6b;
	text-decoration: none;
}
.pagination ul li a:hover, .pagination ul li span{
	background: #f6e963;
	border: 1px solid #e1d375;
	color: #000;
	text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

/* Page
-----------------------------------------------------------------------------*/
.single .entry{
	overflow: hidden;
	text-align: justify;
}
.single img{
	max-width: 688px;
}

.entry h1, .entry h2, .entry h3, .entry h4{
	font-size: 18px;
	line-height: 20px;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
	margin: 15px 0 10px;
}
.entry h3, .entry h4{
	font-size: 16px;
	line-height: 18px;
	margin-bottom: 5px;
	text-transform: none;
}

.break-word {
        word-wrap: break-word;
}

.single ul{
	margin: 20px 0 20px 18px;
	list-style: none;
	color: #1c1c1c;
}

.single ul li{
	margin-bottom: 6px;
	background: url("/wp-content/themes/truba-info/i/li-bg.png") no-repeat 0 5px;
	padding-left: 20px;
}

.single ol{
	margin: 20px 0px 20px 24px;
	counter-reset: li;
	list-style: none outside none;
	color: #1c1c1c;
}
.single ol>li{
	position: relative;
	margin-left: 30px;
	margin-bottom: 6px;
}
.single ol > li::before { 
	content: counter(li);
	counter-increment: li;
	height: 23px;
	left: -37px;
	position: absolute;
	text-align: center;
	top: 1px;
	width: 23px;
	color: #000;
	font-weight: bold;
	line-height: 23px;
	background: #f7ec6d;
	border-radius: 50%;
}

.single .wp-caption{
	margin: 10px;
	line-height: 0;
	font-size: 0;
}
.single .wp-caption img{
	line-height: 0;
	font-size: 0;
}
.single .wp-caption .wp-caption-text{
	text-align: center;
	padding: 10px 5px 20px;
	line-height: 14px;
	font-size: 12px;
	margin-right: 10px;
	color: #fff;
	background: #1d1d1d url("/wp-content/themes/truba-info/i/bg-heder.jpg") 0 100% repeat-x;
}
.single .wp-caption p{
	margin-bottom: 0;
}

.related-posts-title{
	border-bottom: none;
}
.related-items{
	overflow: hidden;
	margin-bottom: 20px;
}
.related-items li{
	list-style: none;
	float: left;
	margin-right: 25px;
	margin-bottom: 10px;
	width: 212px;
	position: relative;
}
.related-items li:nth-child(3n){
	margin-right: 0;
}
.related-items li:nth-child(3n+1){
	clear: both;
}
.related-item__title{
	position: absolute;
	bottom: 4px;
	left: 0;
	background: #282828 url("/wp-content/themes/truba-info/i/top-post-home.jpg") no-repeat 0 100%;
	font-size: 15px;
	line-height: 17px;
	color: #f7ec6d;
	text-align: center;
	padding: 8px 10px 21px;
	width: 192px;
	text-align: center;
}
.related-item__title:hover{
	background: #f8ed6d url("/wp-content/themes/truba-info/i/top-post-home.jpg") no-repeat 100% 100%;
}

.table-of-content{
	background: #fcffbb;
	width: 437px;
	padding: 10px;
	border-radius: 5px;
}
.table-of-content__title{
	font-size: 16px;
	color: #3d3d3d;
	margin-left: 10px;
}
.table-of-content ul{
	margin-top: 10px;
}
.table-of-content ul li{
	margin-bottom: 6px;
	background: url("/wp-content/themes/truba-info/i/li-bg.png") no-repeat 0 5px;
	padding-left: 20px;
}

.yandex_single{
	text-align: center;
	margin: 20px 0 30px;
}

/*Comments
-----------------------------------------------------------------------------*/
.comments_block{
	position: relative;
}

.comment{
	overflow: hidden;
	margin-top: 14px;
	padding-top: 11px;
	position: relative;
	background: #e9e9e9;
	color: #2f2f2f;
}

.author_name a{
	color: #000;
}

.gravatar{
	float: left;
	margin-left: 19px;
}
.comment_content{
	width: 85%;
	float: left;
}

.cauthor{
	margin-left: 22px;
	margin-bottom: 4px;
}

.commentlist>li{
	list-style: none;
}
.comments_block .children>li{
	list-style: none;	
}

.comments_block .children{
	margin-left: 30px;
}

.commentlist li #respond {margin: 0 20px}
.commentlist li li #respond {margin: 0 15px 0 -35px}
.commentlist li li li #respond {margin: 0 15px 0 -85px}
.commentlist li li li li #respond {margin: 0 15px 0 -135px}
.commentlist li li li li li #respond {margin: 0 15px 0 -185px}
.commentlist li li li li li li #respond {margin: 0 15px 0 -235px}
.commentlist li li li li li li li #respond {margin: 0 15px 0 -285px}
.commentlist li li li li li li li li #respond {margin: 0 15px 0 -335px}
.commentlist li li li li li li li li li #respond {margin: 0 15px 0 -385px}
.commentlist li li li li li li li li li li #respond {margin: 0 15px 0 -435px}

.comments_block #respond{
	margin-bottom: 20px;
	background: #e6e6e6;
	position: relative;
}

.comments_block #comments_form_title{
	color: #353535;
	font-size: 20px;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 20px;
	padding-left: 20px;
}

.ctext{
	padding: 10px 20px;
}
.ctext p{
	margin-bottom: 7px;
}

#cancel-comment-reply{
	position: absolute;
	top: 10px;
	right: 10px;
}

.comments_block .reply{
	position: absolute;
	bottom: 5px;
	right: 10px;
}
.comment-reply-link{
	text-decoration: none;
	border-bottom: 1px dotted #ff6c00;
}
.comment-reply-link:hover{
	border-bottom: 1px dotted #000;		
}

.author_name{
	font-weight: bold;
}

#commentform{
	padding: 20px;
	margin: 0 20px;
}

#title_commentform{
	font: 18px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	color: #ac0408;
	margin-bottom: 14px;
}

#add_comment_name_email{
	overflow: hidden;
}
#add_comment_name, #add_comment_email{
	margin-bottom: 10px;
}


#add_comment_name input, #add_comment_email input, #add_comment_site input{
	width: 270px;
	border: 1px solid #d5d5d5;
	border-radius: 7px;
	padding: 7px 10px;
	font: 12px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	color: #565656;
}

.comments_block .req{
	color: red;
	font: 24px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
}

#comment_textarea{
	width: 94%;
	margin-top: 13px;
	border: 1px solid #d5d5d5;
	border-radius: 7px;
	font: 12px Arial, "Helvetica CY", "Nimbus Sans L", sans-serif;
	color: #565656;
	padding: 7px 10px;
}

#submit_comment_form{
	background: #f8ed6d url("/assets/no-image.svg") repeat-x 0 50%;
	color: #000;
	font: 14px Tahoma, "Geneva CY", sans-serif;
	padding: 10px 20px;
	margin-top: 12px;
	border: none;
	border-radius: 5px;
	box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}
#submit_comment_form:hover{
	background: #f8ed6d url("/assets/no-image.svg") repeat-x 0 20px;
	box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2);
}

ol.commentlist>li{
	margin-bottom: 20px;
}

.comments_block .comment_date{
	font-size: 12px;
	margin-left: 6px;
}

/* Footer
-----------------------------------------------------------------------------*/
.footer{
	height: 100px;
	background: #1c1c1c url("/wp-content/themes/truba-info/i/footer-bg.jpg") repeat-x;
	color: #fff;
	position: relative;
}
.footer__wrap{
	width: 1000px;
	margin: 0 auto;
	position: relative;
}

.footer-nav{
	padding-top: 23px;
	text-align: center;
}
.footer-nav li{
	display: inline;
	margin-right: 14px;
}
.footer-nav li:last-child:after{
	content: '';
}
.footer-nav a{
	color: #fff;
}
.footer-nav li span{
	font-weight: bold;
}

.footer__copyright{
	position: absolute;
	top: 50px;
	left: 50px;
	text-align: center;
}

.footer__contacts{
	position: absolute;
	top: 74px;
	left: 0;
}

.footer__stat{
	position: absolute;
	top: 60px;
	right: 5px;
}

.social-icon{
	position: absolute;
	top: 56px;
	right: 90px;
}

.count{
	position: absolute;
	top: 56px;
	right: 25px;
	width: 300px;
}

.count_a{
	float: left;
	width: 95px;
}

.social-icon a{
	width: 37px;
	height: 37px;
	background: url("/wp-content/themes/truba-info/i/social-icon-bg.png") repeat-x;
	display: block;
	float: left;
	text-indent: -9999px;
	margin-right: 7px;
}
.social-icon .ok{
	background-position: -48px 0;
}
.social-icon .fb{
	background-position: -98px 0;
}
.social-icon .tw{
	background-position: -147px 0;
}
.social-icon .gp{
	background-position: -195px 0;
}
.social-icon .yt{
	background-position: -244px 0;
}