.news-detail-content h1, .news-detail-content h2, .news-detail-content h3, .news-detail-content h4, .news-detail-content h5 {
    text-align: center;
    font-weight: bold;
}

.news-figure-right {
    margin: 20px 0 20px 20px;
    float: right;
}

.news-figure-right figcaption {
    text-align: center;
    padding: 3px 0 10px;
}

.news-figure-left {
    margin: 20px 20px 20px 0;
    float: left;
}

.news-figure-left figcaption {
    text-align: center;
    padding: 3px 0 10px;
}

img.news-image {
    border: 2px solid #e5e5e5;
    border-radius: 5px;
}

img.news-image.news-image-left {
    margin: 20px 20px 20px 0;
    float: left;
}

img.news-image.news-image-right {
    margin: 20px 20px 20px 0;
    float: right;
}

.news-background-head {
    /*background: url('/local/templates/samovarov-grad/images/blog/test-background-news-detale.png') no-repeat center;*/
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 245px;
    border-radius: 5px;
    background-size: cover;
    margin-bottom: 25px;
}
.news-background-head-black{
    width: 100%;
    height: 245px;
    border-radius: 5px;
    background-color: #00000040;
    display: flex;
    flex-direction: column;

}
.news-background-head h1 {
    width: 500px;
    margin: auto;
    font-family: Philosopher;
    font-size: 37px;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.news-head-info {
    display: flex;
    flex-direction: row;
    margin-bottom: 15px;
}

.news-item-time {
    display: inline-block;
}

.news-item-show {
    display: inline-block;
}

.news-head-info .news-item-date, .news-head-info .news-item-time, .news-head-info .news-item-show {
    font-size: 14px;
    text-align: left;
    color: #ffffff;
    background: none;
    margin-right: 20px;
}

.news-head-info .news-item-date {
    margin: auto 20px auto 10px;
}

.news-item-right {
    margin: auto 0 auto auto;
}

.news-head-info .tags a {
    margin: 0 10px;
    font-size: 14px;
    text-align: left;
    color: #ffffff;
    border-bottom: dotted 2px #ffffff;
}

.news-head-info .news-item-time img, .news-head-info .news-item-show img {
    margin-right: 5px;
    display: inline;
    position: relative;
    bottom: 2px;
}

.news-table-contents h3 {
    padding-left: 30px;
    font-size: 20px;
    font-family: 'PT Sans', Arial, Serif;
    font-weight: normal;
}
.news-table-contents {
    margin-bottom: 20px;
}

.news-table-contents .news-table-content {
    padding-left: 30px;
    border: solid 2px #f0f4f6;
}

.news-table-contents .news-table-content ul {
    color: #e4af32;
}

.news-table-contents .news-table-content a {
    font-size: 16px;
    text-align: left;
    color: #171726;
    border-bottom: dotted 2px #171726;
    line-height: 2.25;
}

.news-detail-content h3 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 30px;
}

.news-detail-content img {
    margin: 10px;
}

.news .news-subscribe {
    background: url("/local/templates/samovarov-grad/images/blog/background-subscribe.png");
    width: 815px;
    height: 88px;
    border-radius: 5px;
    display: flex;
    padding: 0 16px;
    margin-bottom: 50px;
}

.news .news-subscribe .news-subscribe-text {
    width: 240px;
    font-family: Philosopher;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.3px;
    text-align: left;
    color: #fefeff;
    display: inline-block;
    margin: auto;
}

.news .news-subscribe .news-subscribe-email {
    width: 280px;
    height: 42px;
    background-color: #fbfbfb;
    border: solid 1px #e6e6e6;
    border-radius: 0;
    margin: auto;
}

.news .news-subscribe .button {
    width: 180px;
    height: 42px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin: auto;
}

.news-detail-share h4 {
    font-family: 'PT Sans', Arial, Serif;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-align: left;
    color: #171726;
    display: inline-block;
}

.news-svg-icon {
    display: inline-block;
    margin: 0 7px;
    position: relative;
    bottom: 3px;
}

.news-svg-icon img {
    width: 25px;
    height: 25px;
}

.news-svg-icon a {
    border: none;
}

.news .news-item-date {
    line-height: 1.25;
    letter-spacing: normal;
    text-align: left;
    color: #7e7e7e;
    background: none;
    font-size: 16px;
    display: inline-block;
    font-family: "PT Sans", Arial, serif;
    padding: 0;
    width: 49%;
    margin-bottom: 6px;
}

.news .news-item-time {
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: normal;
    text-align: right;
    color: #7e7e7e;
    display: inline-block;
    width: 49%;
    font-family: "PT Sans", Arial, serif;
    padding-right: 3px;
}

.news .news-item-time img {
    margin-right: 5px;
    display: inline;
    position: relative;
    bottom: 2px;
}

.news .news-item.groups {
    display: inline-block;
    margin: 0 10px;
}

.news .news-item.group {
    width: 255px;
    height: 388px;
    border-radius: 3px;
    background-color: #ffffff;
    border: solid 2px #f1f1f1;
    margin-bottom: 50px;
}

.news .news-item.group .button {
    margin: auto;
    width: 210px;
    height: 40px;
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 5px;
}

.news .news-item.group .news-item-title {
    margin: 10px 20px;
}

.news .news-item.group .news-item-title a {
    font-size: 15px;
    font-weight: bold;
    color: #171726;
    border: none;

    font-family: "PT Sans", Arial, serif;
}

.news .news-item.group .news-item-image {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #e5e5e5;
}

.news .news-item.group .news-item-image img {
    width: 255px;
    height: 200px;
}

.news .news-item.group .news-item-descr {
    font-size: 13px;
    line-height: 1.38;
    text-align: left;
    color: #2a2a38;
    width: 210px;
    margin: 10px 20px;
    font-family: "PT Sans", Arial, serif;
}

.news-detail-after-content h3 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 30px;
}


@media (max-width: 719px) {
    .news .news-item.groups {
        width: 255px;
        margin: auto;
        display: block;
    }

    .news .news-item.group {
        width: 100%;
    }

    .news .news-subscribe {
        background: url(/local/templates/samovarov-grad/images/blog/background-subscribe-big.png);
        width: 100%;
        height: 200px;
        flex-direction: column;
        background-position: center;
        background-size: cover;
    }

    .news .news-subscribe .news-subscribe-email {
        width: auto;
    }

    .news-background-head h1 {
        width: auto;
        font-size: 22px;
    }

    .news-head-info {
        display: flex;
        flex-direction: column;
    }

    .news-head-info .news-item-date {
        margin: auto;
    }

    .news-item-right {
        margin: 10px auto 0;
    }

    .news-head-info .tags {
        text-align: center;
    }

    .news-table-contents .news-table-content {
        padding-left: 0;
    }
    .news-detail-share h4{
        font-size: 13px;
    }
    .news-svg-icon {
        margin-bottom: 10px;
    }
    .news-detail-share{
        border-top: 1px solid #d0d0d0;
        padding-top: 11px;
    }
    .news-table-contents h3 {
        padding-left: 0;
    }
    .news-table-contents .news-table-content a {
        font-size: 15px;
    }
    .news-detail-content h3 {
        text-align: center;
        font-size: 23px;
    }
}

@media (min-width: 720px) and (max-width: 991px) {
    .news .news-item.groups {
        margin: 0 40px;
    }

    .news .news-subscribe {
        width: 700px;
    }

    .news .news-subscribe .news-subscribe-text {
        font-size: 25px;
        width: 220px;
    }

    .news .news-subscribe .button {
        width: 150px;
    }

    .news .news-subscribe .news-subscribe-email {
        width: 220px;
    }

    .news {
        width: 700px;
        margin: auto;
    }
}

@media (min-width: 992px) {
    .news .news-item.groups:first-child, .news .news-item.groups:nth-child(4n) {
        margin: 0 10px 0 0;
    }

    .news .news-item.groups:nth-child(3n) {
        margin: 0 0 0 10px;
    }

}

@media (min-width: 992px) and (max-width: 1024px) {
    .news {
        width: 815px;
        margin: auto;
    }
}

@media (max-width: 500px) {

    .breadcrumbs{
        display: none;
    }
}

