/*
  Theme Name: Vse o trubah
  Theme URI: http://vse-o-trubah.ru
  Description: Private Template
  Version: 1.0
  Author: Izbagov R.
  Author URI: http://moslem.ws
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
img, ins, kbd, q, s, samp, tt, var,
dl, dt, dd, 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: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}

/*--- COMMON ---*/
html {
  height: 100%;
}

* html body {
  height: 100%;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #666;
  min-height: 100%;
  position: relative;
}

select, input, textarea {
  font-family: 'Open Sans', sans-serif;
}

#main {
  padding-bottom: 200px;
}
#main:after {
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
  clear: both;
}

table {
width: 100%;
border: 1px solid #dedede;
margin-bottom: 15px;
}

table td {
border: 1px solid #dedede;
padding: 10px;
}

blockquote {
  background: #4abcf3 url(img/ping.png) -28px -31px no-repeat;
  padding: 30px 40px 30px 100px;
  line-height: 27px;
  color: #fff;
  margin: 0 0 15px;
}

blockquote p { margin: 0; }

a {
  color: #26a7e3;
}
a:hover {
  text-decoration: none;
}

p {
  line-height: 27px;
  margin: 0 0 15px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  margin: 0 0 15px;
}

h1 {
  font-size: 32px;
  font-weight: 500;
  color: #115778;
  
}

h2 {
  font-size: 24px;
  font-weight: 400;
  color: #26a7e3;
}

h3 {
  font-size: 20px;
  color: #26a7e3;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 12px;
}

.wrap {
  width: 940px;
  margin: 0 auto;
}

/*--- HEADER ---*/
#header {
  background: url(img/header.png) repeat-x;
  height: 180px;
}

#header-wrap {
  background: url(img/headerwrap.png) 50% 0% no-repeat;
  width: 940px;
  margin: 0 auto;
  height: 127px;
  padding-top: 17px;
}

#logo {
  background: url(img/logo.png) no-repeat;
  width: 333px;
  height: 111px;
  display: block;
  float: left;
  margin-left: -9px;
}

#search {
  /*background: url(img/search.png); */
  width: 402px;
  height: 37px;
  float: right;
  margin-top: 20px;
}

/*--- MENU ---*/
#menu {
  float: right;
  margin-top: -14px;
}
#menu ul li {
  display: inline-block;
  margin-left: 2px;
}
#menu ul li.active a {
  background: #30abe4;
  color: #fff;
}
#menu ul li a {
  background: #115778;
  color: #95dbfb;
  display: block;
  padding: 9px 17px;
  text-decoration: none;
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 0 0 4px 4px;
  -moz-border-radius: 0 0 4px 4px;
  -ms-border-radius: 0 0 4px 4px;
  -o-border-radius: 0 0 4px 4px;
  border-radius: 0 0 4px 4px;
}
#menu ul li a:hover {
  background: #30abe4;
  color: #fff;
}

/*--- CONTAINER ---*/
#container {
  margin-top: 20px;
}

#content {
  width: 700px;
  float: left;
}

#page ul, #page ol { margin-bottom: 10px; 
margin-top: 10px;}
#page ul li {
  background: url(img/arrow.png) 10px 8px no-repeat;
  padding-left: 30px;
  line-height: 27px;
  margin-bottom: 12px;
}


#page ol ol { margin-top: 15px; }
#page ol li { margin-bottom: 12px; 
line-height: 27px;}
#page ol ul { margin: 10px 0 20px; }

#contents {
  width: 580px;
  margin: 20px auto;
  border: 1px solid  #b6b6b6;
  background: #f3f0fb;
  padding: 15px 20px;
}

#error {
  font-size: 72px;
  font-weight: bold;
  color: #333;
  text-shadow: -3px -3px 0 #000;
  text-transform: uppercase;
}

#error span { color: #C41A1C; }

#related-title, #comments-title {
  padding: 15px;
  font-size: 16px;
  color: #fff;
  background: #26A7E3;
  margin-bottom: 20px;
}

#related-posts { margin-bottom: 5px; }
#related-posts ul { margin-left: -46px; }
#related-posts ul li {
  float: left;
  width: 140px;
  margin-left: 46px;
  padding: 0;
  background: none;
}

#related-posts .rp-image { display: block; }
#related-posts .rp-title {
  margin-top: 3px;
  line-height: 18px;
  display: block;
}
#related-posts a {
  color: #999;
  font-size: 12px;
}

#sidebar {
  margin-left: 720px;
}

/*--- CONTENT ---*/
#title {
  color: #115778;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid  #d4d4d4;
  padding-bottom: 7px;
  margin-bottom: 25px;
}

.ci-title {
  color: #27a7e3;
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
}

.category-items {
  border-bottom: 1px solid  #d4d4d4;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
.category-items.last {
  border-bottom: none;
  padding-bottom: 0;
}
.category-items ul li {
  float: left;
  width: 153px;
  padding: 12px 10px 0 10px;
  line-height: 16px;
  height: 108px;
  text-align: center;
  border-right: 1px solid #d7e4e3;
  border-bottom: 1px solid #d7e4e3;
}
.category-items ul li.last { border-right: none; }
.category-items ul li a {
  color: #26a7e3;
  text-decoration: none;
}
.category-items ul li a:hover {
  text-decoration: underline;
}
.category-items ul li .ci-img {
  height: 60px;
  margin-bottom: 5px;
  display: block;
}
.category-items ul li.bright {
  border-right: none;
}
.category-items ul li.bbottom {
  border-bottom: none;
}

/*--- breadcrumbs ---*/
#breadcrumbs {
  text-transform: none;
  font-size: 12px;
}
#breadcrumbs a { color: #115778; }
#breadcrumbs img {
  margin: 0 10px;
  vertical-align: middle;
}

/*--- COMMENTS ---*/

.form-allowed-tags { display: none; }

#comment-form {
  margin-bottom: 20px;
}

#comment-form .comment-field {
  margin-bottom: 10px;
}

#comment-form .comment-field label {
  margin-bottom: 5px;
  display: inline-block;
}

#comment-form .comment-field input[type="text"], #comment-form textarea {
  color: #999;
  font-size: 12px;
  padding: 2px 10px;
  width: 260px;
  border: 1px solid #d1d1d1;
}

#comment-form textarea {
  width: 680px;
  padding: 10px;
}

#comment-submit {
  text-align: right;
}

#comment-submit input {
  background: url(img/readmore.png);
  width: 117px;
  height: 25px;
  line-height: 25px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  text-align: center;
  border: none;
  outline: none;
  cursor: pointer;
}

#comments-list {
  margin-bottom: 20px;
}

#comments-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-wrap { overflow: hidden; }
.comment-left {
  float: left;
}
.comment-info { margin-bottom: 10px; }
.comment-right {
  color: #999;
  font-size: 12px;
}
.comment-right p { line-height: 18px; }
.ci-name { font-size: 14px; }
.ci-date {
  color: #c5c5c5;
  margin-left: 10px;
}

.comment-right {
  margin-left: 115px;
}

::-webkit-input-placeholder {
    color:    #999;
}
:-moz-placeholder { 
    color:    #999;
    opacity:  1;
}
::-moz-placeholder {
    color:    #999;
    opacity:  1;
}
:-ms-input-placeholder {
    color:    #999;
}


/*--- SIDEBAR ---*/
.sbart .box-title, .star .box-title {
  background: #4ABCF3 url(img/sbart.png) 10px 50% no-repeat !important;
}
.sbart ul li, .star ul li {
  margin-bottom: 15px;
  overflow: hidden;
}
.sbart ul li a, .star ul li a {
  font-size: 13px;
  color: #999;
  line-height: 19px;
}
.sbart ul li .sbart-image, .star ul li .sbart-image {
  padding-top: 4px;
  float: left;
  width: 100px;
  display: block;
}
.sbart ul li .sbart-title, .star ul li .sbart-title {
  margin: 0 0 0 110px;
  display: block;
}

.box {
  margin-bottom: 40px;
}
.box ul li {
  margin-bottom: 18px;
}
.box .box-title {
  margin-bottom: 20px;
  background: #4ABCF3;
  color: #fff;
  padding: 12px 12px 12px 35px;
  font-size: 16px;
}
.box .box-title .all-art {
  float: right;
}
.box .box-title .all-art a {
  background: #d7891e url(img/all-art.png) 100% 50% no-repeat;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px 3px 6px;
}
.box .box-title .all-art a:hover {
  text-decoration: underline;
}

.rubric .box-title {
  background: #4ABCF3 url(img/sbrub.png) 10px 50% no-repeat !important;
}

.star .box-title {
  background: #4ABCF3 url(img/star.png) 10px 50% no-repeat !important;
}

.ri-wrap {
  overflow: hidden;
}

.rubric-item {
  margin-bottom: 25px;
}

.ri-left {
  width: 105px;
  padding-top: 5px;
  float: left;
  text-align: center;
}
.ri-left span {
  display: inline-block;
  margin-top: 10px;
  color: #27a7e3;
}

.ri-right {
  margin-left: 110px;
  word-wrap: break-word;
}
.ri-right ul li {
  margin-bottom: 5px;
}
.ri-right ul li a {
  font-size: 12px;
}
.ri-right ul li a:hover {
  text-decoration: none;
}

.pagination {
  text-align: right;
}
.pagination a, .pagination span.current {
  display: inline-block;
  background: #a2cfe3;
  color: #fff;
  font-size: 16px;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  text-decoration: none;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
.pagination a:hover {
  background-color: #92c7de;
}
.pagination a.prev {
  background: #a2cfe3 url(img/prev.png) 50% 50% no-repeat;
  text-indent: -9999px;
}
.pagination a.prev:hover {
  background-color: #92c7de;
}
.pagination a.next {
  background: #a2cfe3 url(img/next.png) 50% 50% no-repeat;
  text-indent: -9999px;
}
.pagination a.next:hover {
  background-color: #92c7de;
}

.pagination span.current {
  background-color: #bfe2f1;
}

/*--- category ---*/
#category {
  margin-top: -10px;
}

.post {
  border-bottom: 1px solid  #d4d4d4;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.category-post:last-child {
  border-bottom: none;
}

.category-title {
  margin-bottom: 10px;
}
.category-title a {
  font-weight: 400;
  font-size: 18px;
}

.category-cont {
  overflow: hidden;
}

.category-image {
  float: left;
  padding-top: 5px;
}

.category-text {
  margin-left: 170px;
  line-height: 22px;
}

.readmore {
  text-align: right;
}
.readmore a {
  background: url(img/readmore.png);
  width: 117px;
  height: 25px;
  line-height: 25px;
  display: inline-block;
  text-decoration: none;
  color: #fff;
  text-align: center;
}
.readmore a:hover {
  opacity: 0.9;
}

/*--- FOOTER ---*/
#footer {
  background: #0a4460 url(img/footer.png) repeat-x;
  padding-top: 25px;
  width: 100%;
  height: 145px;
  position: absolute;
  bottom: 0;
  margin-top: 30px;
  font-size: 12px;
  color: #4eadc9;
}

#flogo {
  background: url(img/flogo.png) no-repeat;
  width: 154px;
  height: 97px;
  display: block;
}

#copy {
  margin-top: 8px;
}

#counts {
  float: right;
}
#counts ul li {
  margin-left: 5px;
  display: inline-block;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
  margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
  display:block;
  margin:5px auto 5px auto;
}
.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
.aligncenter {
  display:block;
  margin:5px auto 15px auto;
}
a img.alignright {
  float:right;
  margin:5px 0 20px 20px;
}
a img.alignnone {
  margin:5px 20px 20px 0;
}
a img.alignleft {
  float:left;
  margin:5px 20px 20px 0;
}
a img.aligncenter {
  display:block;
  margin-left:auto;
  margin-right:auto;
}
.wp-caption {
  background:#FFF;
  max-width:96%;
border: 1px solid #ddd;

}
.wp-caption.alignnone {
  margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
  margin:5px 20px 20px 0;
}
.wp-caption.alignright {
  margin:5px 0 20px 20px;
}
.wp-caption img {
  border:0 none;
  height:auto;
  margin:0;
  padding:0;
  width:100%;
}
.wp-caption .wp-caption-text,
.gallery-caption {
  background: #EEEEFF;
  font-size:16px;
  margin: -7px 0 0 0;
  padding: 1px 10px 1px 11px;
  color: #666;
  font-style: italic;
  z-index: 12;
  position: relative;

}
.wp-caption a { color: #fff; }


#ya-site-form0 .ya-site-form__form * { border: 0px; }
#ya-site-form0 .ya-site-form__search-wrap { border: 0px; }

#ya-site-form0 .ya-site-form__submit {
background: url(img/look.png);
/*width: 45px;*/
/*line-height: 25px; */
color:#fff;
}
/*
#ya-site-form0 .ya-site-form__submit, #ya-site-form0 .ya-site-form__search-precise {
        color: #fff !important;
}*/

/* =Navigation
-------------------------------------------------------------- */

.navigation {
	margin: 0 0 1.7em 0;
	overflow: hidden;
}
.navigation a { text-decoration:none;}

.navigation a:visited {
	color: #3399FF;
}
.navigation a:visited:hover,
.navigation a:active,
.navigation a:hover {
	color: #df0000;
	text-decoration:underline;
}
.nav-previous {
	float: left;
	width: 50%;
}
.nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#nav-above {
}
#nav-above,
.single #nav-below {
	display: none;
}
.paged #nav-above,
.single #nav-above {
	display: block;
}

/*--- adverts ---*/
div.relkama1 {
	border-top: 4px solid #EC5566;
	border-bottom: 4px solid #EC5566; 
}

/* оформляем советы */
.infobox {
	width: 80%;
	margin-top:2em;
	margin-left: auto;
	margin-right: auto;
    border-radius: 10px 10px;
    -moz-border-radius: 10px 10px;
    -webkit-border-radius: 10px 10px;
    padding: 10px 10px 15px 80px;
	margin: 0px 0px 0px 0px;
	-webkit-box-shadow: 2px 2px 3px #999;
	-moz-box-shadow: 2px 2px 3px #999;
    /*IE min-height hack*/
    min-height:40px;
    height:auto !important;
    height:40px;
    overflow:visible;
    	position:relative;
	bottom:6px;
	left: 6px;
	border: 1px solid #999999;
    /*Set the position of the background image*/
    background-position: 20px 50%;
    background-repeat: no-repeat;
    text-align: justify;
	/* IE5 hack */
	\margin: 0px 0px -3px 0px;
	ma\rgin:  0px 0px 0px 0px;
  background-color: #d1ebf0;
  background-image: url(https://kanalizaciya-prosto.ru/wp-content/themes/truby/img/note.png);
  padding: 30px 40px 30px 100px;
  line-height: 24px;
  color: #666;
  margin: 20px 0 15px;
}

.sidebar {
width: 25%;
display: table-cell;
}
.content {
width: 75%;
display: table-cell;
padding:10px;
}
@media screen and (max-width: 640px) {
.content, .sidebar {
display: table-footer-group;
}
}

#fixblock{width:250px; position:absolute;}
