/*
 * Webasyst Default 3.0 theme family
 *
 * Blog app CSS
 * (requires linking base default.css file from the Site app)
 *
 * @link http://www.webasyst.com/
 * @author Webasyst LLC
 * @copyright 2015 Webasyst LLC
 * @package Webasyst
 *
 * ... extends base Site app's default.css
 */
.b-promo-box__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 2px;
  margin-left: 0.45px;
}
/*#wrapper { background: #F5F5F5 }*/
.news-section { background: #F5F5F5 }
#post-stream .p-section {
  padding: 0;
}

.sidebar .search { margin: 16px 26px 16px 16px; }
.sidebar .search .search-wrapper { background: #fff; }
.sidebar .search input { margin-bottom: 0; }

.subscribe { padding: 6px 16px; margin-bottom: 20px; }
.subscribe ul { list-style: none; padding-left: 0; margin-bottom: 0; margin-top: 0; }
.subscribe ul li { margin: 12px 0; }
.subscribe ul li a { text-decoration: none; }
.subscribe ul li i.icon16 { margin-top: 0.1em; margin-right: 0.5em; }
.subscribe #twitter-follow-code { overflow: hidden; }

.post { margin-bottom: 80px; }
.post h3 { font-size: 2em; margin-right: 5px; margin-bottom: 8px; }
.post h3 a { text-decoration: none; }
.post img { max-width: 100%; height: auto !important; }
.post iframe { max-width: 100%; }
.post .text { margin-top: 5px; margin-right: 10px; }
.post textarea { width: 100%; min-height: 300px; margin-top: 10px; height: 250px; }
.post.search-match { margin-top: 20px; margin-bottom: 50px; }
.post.search-match h3 { font-size: 1.5em; margin-bottom: 5px; }
.post.search-match p { margin-top: 5px; }

.credentials { overflow: hidden; line-height: 1.3em; }
.credentials a,
.credentials span { display: inline-block; vertical-align: middle; padding-left: 0; }
.credentials .userpic { min-width: 20px; display: block; float: left; margin-right: 2px; border-radius: 50%; }
.credentials .username { margin: 0; }
.credentials .username, .credentials .username a { color: #777; padding: 0; display: inline; }
.credentials a.username:hover { color: red; }
.credentials .date,
.credentials .icon16 { margin: 0 3px; }
.credentials img.userpic { width: 20px; }
.post .credentials { margin-bottom: 20px;}

.photo-album-attachment ul.thumbs { padding-left: 0; }
.photo-album-attachment ul.thumbs li { list-style: none; display: inline-block; margin: 0 20px 20px 0; }
.photo-album-attachment .photo { margin-bottom: 20px; }
.photo-album-attachment .photo img { margin-top: -10px; }
.post .photo-album-attachment { padding-top: 10px; }

.comments { margin: 30px 50px 10px 0; }
.comments h3 { margin: 0 0 20px; }
.comments h4 { margin: 0 0 10px; }
.comments .credentials .date { margin: 0 5px; padding-top: 1px; }
.comments .credentials .userpic { margin-right: 5px; }
.comments .credentials .userpic.icon16 { min-width: 0; width: 16px; height: 16px; margin: 7px 4px 0; }
.comments textarea { height: 100px; min-height: 100px; width: 75%; margin-top: 0; } 
.comments ul,
.comments ul li { padding: 0; margin: 0 0 20px 0; list-style: none;}
.comments ul li ul { margin:20px 0 0 0; }
.comments ul li span.hint a { color: #aaa; text-decoration: underline; }
.comments .text { margin: 5px 0 5px 28px; }
.comments .actions { margin: 0 0 5px 28px; font-size: 0.9em; }
.comments ul li a.comment-delete { margin: 0 0 0 5px; padding: 0; color: #d99; text-decoration: underline; }
.comments ul li a.comment-delete:hover { background: red; color: white; }
.comments ul li ul { padding-left: 25px; }
.comments ul li .comment-form { padding: 10px 30px; margin-top: 0; }
.comments ul li .comment-form textarea { min-height: 100px; }
.comment.in-reply-to { background: #eee; margin: -8px -8px -13px; padding: 8px 35px 8px 8px; position: relative; }
.comment.new { background: #ffc; margin: -8px -8px -13px; padding: 8px 35px 8px 8px; }

ul.auth-type { padding: 0 0 10px !important; list-style: none; }
ul.auth-type li { padding-right: 10px; display: inline-block; float: left\9; display: inline\9; }
ul.auth-type li a { padding: 5px 6px; }
ul.auth-type li a img { margin-right: 5px; top: 4px; position: relative; }

.comment-form { padding: 0; margin-top: 30px; }
.comment-form h4 { margin: 0 0 20px; font-weight: normal; }
.comment-form-fields p { margin: 0 0 10px; }
.comment-form-fields p a { display: inline !important; }
.comment-form-fields label { width: 160px; display: block; clear: left; float: left; margin: 0 10px 0 0; color: #aaa; padding-top: 3px; }
.comment-form-fields input { width: 20em; }
.comment-form textarea { min-width: 70%; min-height: 160px; }
.comment-form .comment-submit { padding:0 0 0 170px;}
.comment-form .userpic { width: 20px; height: 20px; float: left; margin-right: 5px; border-radius: 50%; }
.comment-form ul.menu-h.auth-type li a img { float: left; margin-right: 3px; position: relative; top: 2px; }
.comment-form ul.menu-h.auth-type { padding-bottom: 20px; }

.pageless-wrapper { font-style: italic; }

html.realtime-preview,
html.realtime-preview body { background: #fff; }
html.realtime-preview .globalheader,
html.realtime-preview .globalfooter { display: none; }
html.realtime-preview .content { margin-right: 0; }
html.realtime-preview .page { top: 0; margin: 10px 0; }

.news-main__page .b-news-item-wrap {
  max-width: 24.532%;
  min-width: 24.532%;
  margin-top: 13px;
}
.b-promo-box {
  background-color: inherit;
  padding: 0;
}
.b-promo-box__inner.type-minimal {
    padding: 2px !important;
}
.news-main__page .b-news-item__img-wrap {
    height:231px;
}
.main-news__slider-wrap.news-main__page {
    margin-top: -12px;
}
.b-news-item__title { min-height:70px; padding: 16px 16px 2px; }
[id^="post-"] .breadcrumb li.breadcrumb-item:last-child { display:none; }
.products-catalogue__pagination li a, .products-catalogue__pagination li span {
    min-width: 40px;
    height: 40px;
}
.b-news-item__img-wrap img, .owl-carousel .owl-item .b-news-item__img-wrap img {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
}
.js-main-blog-news .b-news-item__img-wrap { height:231px; margin-bottom:0; }
.js-main-blog-news .b-news-item__title {
    min-height: 70px;
    gap:0;
    padding: 16px 16px 2px;
}
.js-main-blog-news .b-news-item__bot { margin-top:8px; }
.b-main-news { margin-top:8px; margin-bottom:8px; }
.col-xl-7.b-blog-view {
    padding-top: 2px;
}
/*
.js-main-blog-news.owl-theme .owl-nav [class*=owl-] {
    top: 48%;
}
.js-main-blog-news.owl-theme .owl-nav .owl-next {
    right: 4px;
}
.js-main-blog-news.owl-theme .owl-nav .owl-prev {
    left: 4px;
}
*/
/* Plugins
---------- */

ul.menu-v.categories { margin-bottom: 20px; }
ul.menu-v.categories li { border: none; }
ul.menu-v.categories li a { padding: 5px 16px; }
ul.menu-v.categories li.selected a { color: #000; text-decoration: none; font-weight: bold; }

.tags.cloud { text-align: center; }
.col-xl-7 {
    flex: 1 0 70%;
    max-width: 1032px;
    padding:0;
}
.b-blog-view__title {
    font-size: 24px;
    text-align: left;
    margin: 0;
    font-weight: 700;
}
.b-blog-view__date {
    text-align: left;
    font-weight: 500;
    color: rgba(22, 22, 25, 0.5);
    font-size: 14px;
    line-height: 22px;
}
.b-blog-view__image { margin-top:0px; }
.b-blog-view__wrapper {
    background: #fff;
    border-radius: 4px;
    margin-top: 6px;
    overflow: hidden;
    padding: 24px 32px;
}

.b-news-item__title > a {
    max-height:38px
}
.news-main__page .b-news-item-wrap:hover .b-news-item__title > a {
    max-height:138px;
    min-height:38px;
}
.b-news-item-wrap {
  min-height: 320px;
  height: inherit;
}
/* TABLET
========= */

@media screen and (min-width: 760px) and (max-width: 1024px) {

    .sidebar { width: 180px; }
    .content.with-sidebar { margin-right: 180px; overflow-x: visible; }
    .post { overflow-x: hidden; }
    
    .comment-form-fields input,
    .comment-form textarea { width: auto; min-width: 0; }
    
    .subscribe { padding-left: 10px; padding-right: 10px; }
   
}


/* MOBILE
========= */

@media screen and (max-width: 760px) {
.b-blog-view__wrapper {
    padding: 16px 10px;
}
.news-main__page .b-news-item-wrap {
  max-width: 100%;
  width: 100%;
  margin-top: 0px;
}
.b-news-item, .b-news-item__img-wrap img {
    max-width: 100%;
}
.main-news__slider-wrap.news-main__page {
    margin-top: -2px;
}
.container {
    padding-left: 8px;
    padding-right: 8px;
}
.b-promo-box__inner.type-minimal {
    padding: 2px 0px 1px 0 !important;
}
.b-heading {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 20px;
    margin-top: 1px!important;
}
.b-news-item-wrap {
    height: 326px;
}
.b-news-item__img-wrap img {
    height: 231px;
}
.b-news-item__title {
    margin-bottom:0;
}
.b-news-item__title {
    padding: 16px 8px;
}
.b-news-item__title > a {
    min-height: 39px;
}
a.b-news-item__more {
    padding:0;
}
.b-news-item .b-news-item__bot {
    align-items: baseline;
    padding-right: 8px;
}
.b-blog-view__title {
    font-size: 20px;
    line-height:25px;
    margin-top: 3px;
}
    .search,
    .category-plugin,
    .tag-plugin,
    .nav-sidebar hr,
    .timeline { display: none; }
    
    .subscribe ul li { display: inline-block; }
    .subscribe ul li a span { display: none; }
    .subscribe:after { clear: both; }
    .subscribe #twitter-follow-code { display: none; }
    
    .sidebar { padding: 0 15px !important; }
     
    .post { margin-right: 0 !important; overflow-x: hidden; }
    .post h3 { font-size: 1.6em; }
    .post img { max-width: 100%; height: auto !important; }
    
    .comment-form-fields label { width: auto; float: none; }
    .comment-form-fields input { width: 80%; }
    .comment-form textarea { width: 90%; }
    .comment-form .comment-submit { padding-left: 0; }
    .comment-form .wa-captcha img { margin-bottom: 10px; }
    
    html.realtime-preview body { padding-top: 0; }
    html.realtime-preview .container { margin: 0 10px; }
    html.realtime-preview .post h1 { font-size: 2.6em; }

}