.swiper {
    width: 100%;
    height: 100%;
}

.front_news_slider .top_block {
    margin-bottom: 48px;
    padding-top: 0;

    display: flex;
    justify-content: space-between;

}

.front_news_slider .top_block .show-all__news-link-desctop{
    top: 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 208px;
    border-radius: 4px 4px 0 0;
    object-fit: cover;
}

.swiper-slide__bottom-name {
    color: #333;
    font-size: 15px;
    text-align: left;
    font-weight: bold;
    display: block;
}

.font_xs.swiper-slide__bottom-date {
    text-align: left;
    margin-bottom: 8px;
    font-size: 14px;
}

.swiper-slide__bottom {
    width: 100%;
    padding: 20px 24px;
    height: 152px;
    border: 1px solid #ebebeb;
    border-top: unset;
    border-radius:0 0 4px 4px;
}

.swiper-button__news {
    position: absolute;
    z-index: 99;
    top: 164px;

    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #ECECEC;
    transition: 0.3s;
    border-radius: 4px;
    cursor: pointer;

    &:hover {
        background: #0b519c;
        border-color: #0b519c;
    }

    &:hover path {
        fill: white;
    }
}


.swiper-slide:hover .swiper-slide__bottom-name {
    color: #094889;
}

.swiper-slide .swiper-slide__bottom-name {
    transition: 0.3s;
}

.swiper-button-prev__news {
    left: -20px;
    transform: rotate(270deg);
}

.swiper-button-next__news {
    right: -20px;
    transform: rotate(90deg);
}

.front_news_slider {
    position: relative;
    margin-bottom: 77px;
}

.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 4px;
}

.swiper-pagination__news {
    justify-content: center;
    gap: 10px;
    margin: 16px 0 24px 0;
}

.swiper-pagination__news .swiper-pagination-bullet-active {
    background: #0B519C;
}

.swiper.mySwiper {
    margin-bottom: 60px;
}

.swiper-pagination__news {
    /* display: none; */
}

.maxwidththeme-swiper__news {
    padding-bottom: 0 !important;
}

.show-all__news-link {
    display: none;
}

.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
    bottom: 15%;
    margin: 0;
}

@media (min-width: 768px) {
    .swiper-pagination__news {
        display: none;
    }

    .swiper.news-slider__swiper {
        padding-bottom: 22px;
    }

    .swiper-slide {
        transition: 0.3s;
    }

    .swiper-slide:hover {
        border-color: #fff;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .1);
        -webkit-transform: translateY(-1px);
        transform: translateY(-1px);
        background-color: #fff;
        z-index: 1;
    }


    /* .front_news_slider {
        margin-bottom: 77px;
    } */

    .show-all__news-link-desctop {
        font-family: Roboto;
        font-size: 16px;
        font-weight: 400;
        line-height: 18.75px;
        text-align: left;
        color: #0C54A0;
        float: right;
        margin-top: 6px;
    }
}

@media (max-width: 768px) {
    body .wrapper1.front_page .top_block a{
        display: none;
    }
    .swiper-slide img {
        height: 226px;
    }

    .swiper-pagination__news {
        /* display: flex; */
    }

    .show-all__news-link-desctop {
        display: none;
    }

    .swiper-button__news {
        display: none;
    }

    .swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,
    .swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
        bottom:68px;
    }

    .show-all__news-link {
        display: flex;
        font-family: Roboto;
        font-size: 16px;
        font-weight: 400;
        line-height: 18.75px;
        text-align: left;
        color: #0C54A0;
        padding: 23px 0;
        width: 100%;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        border: 1px solid #0C54A0;
        border-radius: 4px;
        margin-top: 50px;
        height: 57px;
    }

}