.link_popup{
    /* position: fixed; */
    bottom: 30px;
    right: 30px;
    width:300px;
    height: 65px;
    color: #fff;
    padding: 10px 0px;
    background: rgba(0, 0, 0, 0.7);
    transition: .5s;
    opacity: 0;
}
.container{

}
.news_slide_title{
    display: flex;
justify-content: center;
}
.link_popup .text{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: center;
    margin: auto;
    color: #FFFFFF;
}
.link_popup .close{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    cursor: pointer;
    text-align: center;
    margin: auto;
    text-decoration-line: underline;

    color: rgba(255, 255, 255, 0.5);
}
.news_block{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.news_item{
    width: 355px;
    height: 418px;
    position: relative;
    margin-bottom: 75px;
}
.news_item_s{
    width: 246px;
    height: 357px;
    position: relative;
    margin-bottom: 75px;
    background: #fff;
}
.sh_block:hover .news_share{
    opacity: 1;
}
.sh_block{
    position: relative;
    margin-right: 60px;
}
.news_item_a{
    margin-right: 60px;
    position: relative;
}

.news_img{
    max-width: 100%;
    width: 100%;
    max-height: 250px;
    object-fit: cover;
}
.nihover{
    position: relative;
    transition: .5s;
}
.nihover .news_img{
    height: 174px;
}
.nihover:hover:before{
    opacity: 1;

}
.nihover:before{
    content: 'читать';
    opacity: 0;
    margin: auto;
    transition: .5s;
    position: absolute;
    top: 0%;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    font-weight: 600;
    font-size: 17.5px;
    line-height: 21px;
    color: #F0C660;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    display: flex;
    justify-content: center;
    vertical-align: middle;
    align-items: center;


}
.news_share{
    z-index: 1000;
    opacity: 0;
    transition: .5s;
    position: absolute;
    margin-left: 0;
    margin-right: 0;
    width: 35px;
    height: 35px;
    right: 10px;
    top: 10px;
    background-image: url("/bitrix/templates/barkraft/images/new_design/news_detail.svg");
    background-repeat: no-repeat;
    background-size: contain;
    border: unset;
    border-radius: 50%;
    font-size: 0px;
    cursor: pointer;
}
.news_share:hover{
    background-image: url("/bitrix/templates/barkraft/images/new_design/nd_hover.svg");
}
.news_name{
    margin-top: 15px;
    font-weight: 300;
    font-size: 24px;
    line-height: 29px;
    color: #000000;
    height: 60px;
    overflow: hidden;
}
.news_name_s{
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    padding: 10px;
}

.news_name:hover ~ .info_news_block .news_read{
    transform: translateX(-55px);
}
.news_name:hover ~ .info_news_block .news_read:after{
    opacity: 1;
}
.news_name:hover{
    color: #FEB500;
}
.news_preview{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    margin-top: 5px;
    color: rgba(0, 0, 0, 0.5);
    height: 66px;
    overflow: hidden;

}
.news_preview p{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    text-align: unset;
    color: rgba(0, 0, 0, 0.5)
}
.news_preview_s{
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    padding: 0px 10px;
}
.info_news_block{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    margin-top: 25px;
}
.news_time{
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    color: rgba(0, 0, 0, 1);
    display: flex;

}
.news_time_s{
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;

    /* identical to box height */
    text-decoration-line: underline;
    color: rgba(0, 0, 0, 0.5);
    padding: 10px 0px 10px 10px;
}
.news_read{
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #FEB500;
    display: flex;
    margin-left: auto;
    position: relative;
    transition: .5s;
}
.news_read:hover{
    transform: translateX(-55px);
}
.news_read:hover:after{
    opacity: 1;
}
.news_read:after{
    content: '';
    opacity: 0;
    position: absolute;
    margin-left: 0;
    margin-right: 0;
    left: 57px;
    width: 50px;
    height: 22px;
    top: 5px;
    background-image: url("/bitrix/templates/barkraft/images/new_design/read_arrow.svg");
    background-repeat: no-repeat;
}
.s_result_number{
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 70px;
    /* identical to box height */

    color: #808080;
}

.s_results{
    width: 100%;


}
.s_result{
    border-bottom: 1px solid #E6E6E6;
    padding: 20px 0px;
}
body .search-page .s_result:first-child{

    border-top: 1px solid #E6E6E6 !important;
}
.sr_name{
    font-weight: 300;
    font-size: 24px;
    line-height: 29px;
    color: #000000;
    cursor: pointer;

}
.sr_name:hover{

    color: #FFB400;
}
.sr_detail{
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    margin-top: 10px;
    color: rgba(0, 0, 0, 0.5);
}
.sr_crumb a{
    color: rgba(0, 0, 0, 0.5);
}
.sr_crumb a:hover{
    color: rgba(255, 180, 0, 0.5) !important;
}
.src_a{
    color: rgba(0, 0, 0, 0.5) !important;
}
.sr_crumb{
    font-weight: 300;
    margin-top: 30px;
    font-size: 14px;
    line-height: 17px;
    color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}
body .news_slider .slick-arrow{
    position: absolute;
    top: 45%;
    z-index: 10;
    font-size: 0;
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.news_slider{
    position: relative;
    margin-top: 100px;
}
body .news_slider .slick-prev:hover{
    background-image: url("/bitrix/templates/barkraft/images/new_design/s_prev.png")!important;
}
body .news_slider .slick-prev{
    left: -5%;
    background-image: url("/bitrix/templates/barkraft/images/new_design/s_prev.png")!important;
}
body .news_slider .slick-prev:before{
    content: '';
}
body .news_slider .slick-next{
    background-image: url("/bitrix/templates/barkraft/images/new_design/s_next.png")!important;
    right: -5%;
}
body .news_slider .slick-next:hover{
    background-image: url("/bitrix/templates/barkraft/images/new_design/s_next.png") !important;
}
body .news_slider .slick-next:before{
    content: '';
}
body .news_slider .slick-slide{
    margin-right: unset;
    margin: 0px 30px;

}
body .news_slider_block .slick-list{
    height: 400px;
}
body .news_slider .slick-dots {
    margin: 0;
}
body .news_slider .slick-dots li button:before{
    content: '';
}

.slide_item_new{
    background: #fff;
}
.news_slide_name{
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    padding: 10px;
    height: 34px;
}
.news_slide_preview{
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    color: #000000;
    padding: 0px 10px;
    height: 50px;
}
.news_slide_date_form{
    display: flex;
    padding: 0px 10px;
}
.news_slide_date{
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;

    /* identical to box height */
    text-decoration-line: underline;

    color: rgba(0, 0, 0, 0.5);


}
body .news_all_btn{
    width: 100%;
    margin-top: 80px;
}

body .news_all_btn a:hover{
    background: #FFB400;
   color: #fff;
}
body .news_all_btn a{
    width: 110px;
    transition: .3s;
    font-weight: 300;
    font-size: 17.5px;
    line-height: 21px;
    display: flex;
    margin: auto;
    /* identical to box height */
    text-align: center;
    color: #000000;
    border: 3px solid #FFB400;
    padding: 11px 16px;
}

.news_detail_block{
    width: 100%;
    transform: translateY(50px);
}
.nd_detail_block{
    display: flex;
}
.dn_time, .dn_view{
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    display: flex;
    align-items: center;
    color: rgba(0, 0, 0, 0.5);
}
.dn_view{
    display: flex;
    margin-left: auto;
    position: relative;
}
.dn_view:before{
    content: '';
    position: absolute;
    left: -30px;
    top: 0;
    width: 24px;
    height: 24px;
    background-image: url("/bitrix/templates/barkraft/images/new_design/view.svg");
    background-repeat: no-repeat;
}
.dn_title{
    font-weight: 400;
    font-size: 36px;
    line-height: 43px;
    margin-top: 32px;
    color: #000000;
}
.dn_block{
    margin-top: 45px;
    display: flex;
}
.dn_video_block{

}
.dn_video{
    width: 100%;
}
.dn_video iframe{
    width: 100%;
    height: 500px;
}
.dn_slider{
    margin-top: 30px;
    max-width: 800px;
    position: relative;
}
.dn_slider_item{
    width: 100% ;
    position: relative;
}
.dn_slider .slick-list .slick-track .image{
    width: 330px;
    height: 220px;

}
.dn_slider_item img{
    width: 10%;
}
.dn_slider_item:before{
    content: '';
    width: 33%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}
.dn_slider_item:after{
    content: '';
    width: 33%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    transform: rotate(-180deg);
}
body .dn_slider .slick-arrow{
    position: absolute;
    width: 33%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
    transition: .3s;
}
body .slick-prev:before{
    content: '';
}
body .slick-next:before{
    content: '';
}
.dn_text_block{
    width: 50%;
    margin-left: 60px;
}
body .dn_slider .slick-prev{
    background-image: url("/bitrix/templates/barkraft/images/new_design/dn_prev.svg");
    background-repeat: no-repeat;
    left: 0;
    background-position: center;
}
body .dn_slider .slick-next{
    background-image: url("/bitrix/templates/barkraft/images/new_design/dn_next.svg");
    background-repeat: no-repeat;
    right: 0;

    background-position: center;
}
body .dn_slider .slick-prev:hover{
    background-image: url("/bitrix/templates/barkraft/images/new_design/dn_prev_2.svg");
}
body .dn_slider .slick-next:hover{
    background-image: url("/bitrix/templates/barkraft/images/new_design/dn_next_2.svg");
}
.dn_text{
    font-size: 18px;
    line-height: 22px;
    text-align: justify;
    color: #000000;
}
.dn_istok{
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 75px;
}

.dn_istok_link{
    display: block;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    text-decoration-line: underline;
    color: #FFB400 !important;
}
.dn_back{
    margin-top: 45px;
}
.dbb{
    width: 150px !important;
}
.dn_back_btn{
    font-weight: 300;
    font-size: 17.5px;
    line-height: 21px;
    /* identical to box height */
    color: #000000;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 11px 0px;
    border: 3px solid #FFB400;
    position: relative;
    padding-left: 30px;
}

.dn_back_btn:before{
    content: '';
    position: absolute;
    width: 25px;
    height: 22px;
    background-image: url("/bitrix/templates/barkraft/images/new_design/back.svg");
    background-repeat: no-repeat;
    left: 30px;
    top: 35%;
}
.dn_download_block{
    display: flex;
    flex-wrap: wrap;
    margin-top: 120px;
}
.dn_file{
    width: 190px;
    height: 190px;
    background: #F9F9F9;
    border: 1px dashed rgba(0, 0, 0, 0.2);
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    position: relative;
    transition: .5s;
}
.dn_file:hover .dn_file_type{
color: #FFB400;
}
.dn_file:hover:before{
    opacity: 1;
}
.dn_file:before{
    content: '';
    opacity: 0;
    transition: .5s;
    position: absolute;
    width: 25px;
    height: 25px;
    left: 15px;
    top: 15px;
    background-image: url("/bitrix/templates/barkraft/images/new_design/download.svg");
    background-repeat: no-repeat;
}
.dn_file_type{
    display: flex;
    margin: auto;
    text-align: center;
    justify-content: center;
    font-size: 36px;
    line-height: 43px;
    text-align: center;
    color: #AFAFAF;
    margin-top: 60px;
}
.dn_file_size{
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;

    /* identical to box height */
    text-align: center;

    color: rgba(0, 0, 0, 0.3);


}
@media (min-width: 1631px) {
    div.news_block > .sh_block:nth-of-type(4n){
        margin-right: 0px;
    }
}
@media (max-width: 1200px) {
    body .products-block-new{
        width: 100%;
    }
    body .products-block{
        padding: 80px 0px;
    }
    .dn_video iframe {
        width: 100%;
        height: 400px;
    }

}
@media (max-width: 1000px) {
    .dn_block{
        display: block;
    }
    .dn_video_block{
        width: 100%;
    }
    .dn_text_block{
        margin-top: 60px;
        width: 100%;
        margin-left: 0px;
    }
    .dn_slider{
        width: 470px;
    }


}
@media (min-width: 1231px) and (max-width: 1631px) {
    div.news_block > .sh_block:nth-of-type(3n){
        margin-right: 0px;
    }

    .news_block{
        margin: auto;
        width: calc((355px * 3) + 120px);
    }

}
@media  (min-width: 1060px) and (max-width: 1230px) {
    .news_item{
        max-width: 300px;
        margin-bottom: 50px;
    }
    div.news_block > .sh_block:nth-of-type(3n){
        margin-right: 0px;
    }
    .news_block{
        margin: auto;
        width: calc((300px * 3) + 120px);
    }
}
@media (max-width: 1060px) {
    .news_item{
        max-width: 355px;
        margin-bottom: 50px;
    }
    .news_block{
        margin: auto;
        width: calc((355px * 2) + 60px);
    }
    div.news_block > .sh_block:nth-of-type(2n){
        margin-right: 0px;
    }


}
@media (max-width: 800px) {
    .news_item{
        max-width: 300px;
        margin-bottom: 50px;
    }
    .news_block{
        margin: auto;
        width: calc((300px * 2) + 60px);
    }
}
@media (max-width: 700px) {
    .news_item{
        max-width: 355px;
        margin-bottom: 50px;
    }
    .news_block{
        margin: auto;
        width:355px;
    }
    div.news_block > .sh_block:nth-of-type(1n){
        margin-right: 0px;
    }
}
@media (max-width: 550px) {
    .nihover .news_img{
        height: 250px;
    }
    body .products-block {
        padding: 0;
    }
}
@media (max-width: 500px) {
    body .news_all_btn a{
        width: 75% !important;
        text-align: center;
        justify-content: center;
        height: auto;
    }
}
@media (max-width: 475px) {
    .dn_slider{
        width: 100%;
    }
    .dn_title{
        font-size: 28px;
    }
    .dn_video iframe{
        height: 300px;
    }
    .link_popup{
        width: 100%;
        right: 0;
        bottom: 0;
        left: 0;
    }
}
@media (max-width: 420px) {
    .news_name{
        font-size: 20px;
    }
    .news_preview{
        font-size: 22px;
    }
    .nd_detail_block{

        margin-top: 30px
    }
    .news_time{
        font-size: 16px;
    }
    .news_item{
        height: 430px;
    }
    .dn_file{
        width: 136px;
        height: 136px;
    }

    .dn_file_type{
        margin-top: 35px;
    }
    .dn_video iframe {
        height: 300px;
    }
    .dn_file_type{
        font-size: 24px;
    }
}
@media (max-width: 375px) {
    body .news_slider_block .slick-list {
        height: 350px;
    }
    .dn_istok_link{
        font-size: 20px;
    }
    .dn_video iframe {
        height: 200px;
    }
    .nihover .news_img{
        height: 174px;
    }
    .news_item{
        max-width: 300px;
        margin-bottom: 30px;
    }
    .news_block{
        margin: auto;
        width:300px;
    }
}