
/************************** BLOG PAGE *************************************/
.page-blog {
    background: url(../images/blog_fon.jpg) no-repeat scroll center top transparent;
}
.tags-blog {
    padding: 29px 0 38px;
}
.tags-blog a{
    font-size: 14px;
    line-height: 32px;
    background: #FFF;
    display: inline-block;
    padding: 0 26px;
    color: #404040;
    text-decoration: none;
    margin-right: 12px;
}
.tags-blog a:hover{
    background: #f2f1f1;
}
.page-blog h1{
    margin-top: 0;
    font-size: 24px;
    line-height: 33px;
    margin-bottom: 38px;
}
.page-blog .blog-views {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.page-blog .item-list .pager{
    margin-top: 0;
}
.page-blog .blog-views .row-blog {
    background: #FFF;
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.25);
    margin-bottom: 42px;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    padding-bottom: 26px;
}
.page-blog .blog-views .row-blog:hover{
    box-shadow: 0px 0px 17px rgba(0, 0, 0, 0.5);
}
.page-blog .blog-views .row-blog:nth-child(3n){
    margin-right: 0;
}
.page-blog .blog-views .row-blog .image,
.similar-blog .content-similar .blog-item .image {
    display: block;
    overflow: hidden;
}
.page-blog .blog-views .row-blog .image img,
.similar-blog .content-similar .blog-item .image img {
    -webkit-transition: all 0.5s ease-in 0s;
    -moz-transition: all 0.5s ease-in 0s;
    -o-transition: all 0.5s ease-in 0s;
    transition: all 0.5s ease-in 0s;
    vertical-align: top;
    width: 100%;
}
.page-blog .blog-views .row-blog .image:hover img, .similar-blog .content-similar .blog-item .image:hover img {
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);

}
.page-blog .blog-views .row-blog .post-date {
    position: absolute;
    left: 0;
    top: 0;
    background: #FFF;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    width: 112px;
    color: #404040;
    font-size: 16px;
    line-height: 42px;
    text-align: center;
    z-index: 2;
}
.page-blog .blog-views .row-blog .name,
.page-blog .blog-views .row-blog .category,
.page-blog .blog-views .row-blog .text,
.page-blog .blog-views .row-blog .more{
    padding: 0 15px;
}
.page-blog .blog-views .row-blog .category{
    display: block;
    margin: 14px 0 18px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    line-height: 19px;
}
.page-blog .blog-views .row-blog .category:hover,
.page-blog .blog-views .row-blog .name:hover{
    text-decoration: underline;
}
.page-blog .blog-views .row-blog .name {
    font-size: 18px;
    line-height: 25px;
    font-weight: bold;
    text-decoration: none;
    color: #404040;
    display: block;
}
.page-blog .blog-views .row-blog .text {
    line-height: 19px;
    margin: 13px 0 27px;
    padding-bottom: 40px;
}
.page-blog .blog-views .row-blog div.more {
    text-align: center;
    position: absolute;
    left: 0;
    overflow: hidden;
    width: 100%;
    bottom: 26px;
}
.page-blog .blog-views .row-blog .more a{
    width: 160px;
    line-height: 40px;
    display: inline-block;
    background: #89BE3F;
    color: #FFF;
    font-weight: bold;
    text-decoration: none;
}
.page-blog .blog-views .row-blog .more a:hover{
    background: #729e36;
}

/*Open Blog page*/
.node-type-blog .tags-blog{
    width: 350px;
}
.node-type-blog .tags-blog a{
    background: #ededed;
    margin-bottom: 13px;
}
.node-type-blog .tags-blog a:hover {
    background: #e2dede;
}
.node-type-blog .post-date{
    margin: 0 0 17px;
    font-size: 14px;
    line-height: 19px;
}
.node-type-blog .image-blog {
    margin-bottom: 31px;
}
.node-type-blog .image-blog img{
    max-width: 100%;
}
.node-type-blog .content-blog .blog-text {
    width: calc(100% - 380px);
}
.node-type-blog article ul li {
    list-style-type: none;
    background: url(../images/list-blog.png) 0 9px no-repeat;
    padding: 2px 0 3px 12px;
    line-height: 130%;
}
.node-type-blog article ul ul li, .node-type-blog article ol ul li{
    background: url(../images/list-blog2.png) 0 9px no-repeat;
}

.node-type-blog article ul ul, .node-type-blog article ol ul{
    margin: 0;
    padding-bottom: 0;
}

.node-type-blog article ul {
    background: #F2F4E2;
    padding: 10px;
}
.node-type-blog article ol{
    list-style-type: none; /* Убираем исходные маркеры */
    counter-reset: num; /* Задаём имя счетчика */
}
.node-type-blog article ol li{
    margin-bottom: 7px;
}
.node-type-blog article ol li:before{
    content: counters(num, ".") " ";
    counter-increment: num;
    color: #484848;
    background: #F2F2F2;
    width: 21px;
    height: 21px;
    display: inline-block;
    text-align: center;
    line-height: 21px;
    border-radius: 50%;
    margin-right: 12px;
    font-weight: 600;
}
.node-type-blog article ol ol{
    padding-left: 33px;
}
.node-type-blog article ol ol li:before{
    background: none;
}
.node-type-blog article a {
    color: #0071b3;
}
.node-type-blog article a:hover {
    color: #4B780D;
}
.share-social {
    padding: 20px 0;
    border-top: 1px solid #c4c4c4;
    margin-top: 15px;
}
.share-social ul {
    margin: 0 !important;
}
.share-social ul li a > span.ya-share2__badge {
    background-color: #86959a !important;
    border-bottom: 1px solid #32a2ad;
}
.share-social .ya-share2__container_size_m .ya-share2__item {
    margin: 0 19px 0 0;
    padding-left: 0;
    background: none;
}
.share-social .ya-share2__container_size_m .ya-share2__icon {
    height: 30px;
    width: 30px;
}


/*Похожие материлы*/
.similar-blog {
    padding-top: 30px;
}
.similar-blog .title-similar{
    font-size: 21px;
    line-height: 33px;
    font-weight: bold;
    margin-bottom: 30px;
}
.similar-blog .content-similar .blog-item{
    display: inline-block;
    width: 267px;
    margin-right: 30px;
    margin-bottom: 30px;
    vertical-align: top;
}
.similar-blog .content-similar .blog-item:nth-child(4n) {
    margin-right: 0;
}
.similar-blog .content-similar .blog-item img {
    width: 100%;
}
.similar-blog .content-similar .blog-item .title {
    display: block;
    margin-top: 16px;
    line-height: 19px;
    text-decoration: none;
}
.similar-blog .content-similar .blog-item .title:hover{
    text-decoration: underline;
}

/************************** END BLOG PAGE *************************************/
@media (max-width: 991px) {
    .tags-blog {
        padding: 29px 0 10px;
    }
    .tags-blog a {
        margin-bottom: 20px;
    }
    .content-blog .tags-blog {
        margin-top: 20px;
        top: 0!important;
        width: 100%;
    }
    .node-type-blog .content-blog .blog-text {
        width: 100%;
    }
    .similar-blog .content-similar .blog-item {
        width: calc(50% - 17px);
    }
    .similar-blog .content-similar .blog-item:nth-child(2n) {
        margin-right: 0;
    }
}