.aptus-news-img_text_slider {
    background: #fff;
}

.posts-img_text_slider {
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    padding: 0 80px;
}

.posts-img_text_slider .vn-carousel.carousel-main {
    width: 100%;
    margin: 0;
}

.posts-img_text_slider .vn-carousel {
    height: 70vh;
    min-height: 300px;
}

.posts-img_text_slider .vn-carousel.carousel-nav {
    width: 30%;
    padding-left: .5em;
}

.posts-img_text_slider .vn-carousel.carousel-nav .flickity-slider {
    display: flex;
    flex-direction: column;
    position: initial;
    transform: translateX(0%) !important;
}

.posts-img_text_slider .vn-carousel.carousel-nav .carousel-cell {
    width: 100%;
    position: initial !important;
    border-radius: 0 5px 5px 0;
    height: 76px;
    cursor: default;
    background: #014C83;
    background-size: 250% 250%;
    background-position: 100% 100%;
    padding: 2px;
    margin-bottom: 5px;
    transition: 1s;
}

.posts-img_text_slider .vn-carousel.carousel-nav .carousel-cell:last-of-type {
    margin-top: 0;
}

.posts-img_text_slider .carousel-nav .carousel-cell.is-nav-selected {
    background: var(--yellow);
}

.posts-img_text_slider .carousel-nav .carousel-cell.is-nav-selected h4 {
    color: #222;
}

.posts-img_text_slider .vn-carousel.carousel-nav .img {
    width: 20%;
}

.posts-img_text_slider .vn-carousel.carousel-nav .leak-title {
    width: 80%;
    padding: 0em 0 0em .5em;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
}

.posts-img_text_slider .carousel-cell {
    width: 100%;
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    font-weight: bold;
}

.carousel-cell .inner-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
}

.posts-img_text_slider .carousel-cell .cell-content {
    width: 35%;
    color: #333;
    padding: 1em;
}

.posts-img_text_slider .carousel-cell .cell-content h3 {
    font-weight: bold;
    color: var(--red);
}

.posts-img_text_slider .carousel-cell .cell-content .leak-content {
    font-weight: normal;
    margin-bottom: 1em;
    max-height: 31vh;
    overflow: hidden;
}

.posts-img_text_slider .carousel-cell .img {
    width: 65%;
    height: 100%;
    background-size: contain;
    background-position: center;
    position: relative;
    background-repeat: no-repeat;
}

.posts-img_text_slider .carousel-cell .img .inner-img-content .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, .5);
    z-index: 0;
    display: none;
}

.posts-img_text_slider .carousel-cell .img .inner-img-content .inner-leak-title {
    display: none;
}

.posts-img_text_slider .carousel-nav .carousel-cell {
    height: 80px;
    width: 100px;
}

.posts-img_text_slider .carousel-nav .carousel-cell:before {
    font-size: 50px;
    line-height: 80px;
}

.posts-img_text_slider .carousel-cell .cell-content a.leak-link {
    background-color: rgba(0, 0, 0, .05);
    color: #333;
    font-weight: bold;
    border-radius: 5px;
    position: absolute;
    bottom: 17px;
}

.posts-img_text_slider .carousel-cell .cell-content a.leak-link:hover {
    background-color: #333;
    color: #fff;
}

.posts-img_text_slider .flickity-page-dots .dot {
    background-color: #333;
}

.vn-carousel .flickity-viewport {
    height: 100% !important;
}

.posts-img_text_slider .carousel-cell {
    height: 100%;
}

.aptus-news.aptus-news-img_text_slider {
    width: 100vw;
    margin: 0 0 0 50%;
    position: relative;
    transform: translateX(-50%);
    padding: 0;
}

.aptus-news.aptus-news-img_text_slider::before {
    content: '';
    background-image: url(/static/mysite/images/patterns/pattern_05_red.png);
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: .1;
    background-size: 80px;
    background-position: 7px -16px;
}

.aptus-news.aptus-news-img_text_slider>.overlay {
    background: linear-gradient(180deg, transparent, #f5f5f5 120%);
}

.carousel-nav .img,
.carousel-nav .leak-title {
    height: 100% !important;
}


/* Navigation buttons */

.aptus-news-img_text_slider .flickity-prev-next-button,
.aptus-news-img_text_slider .flickity-prev-next-button * {
    transition: .2s;
}

.aptus-news-img_text_slider .flickity-prev-next-button {
    top: auto;
    bottom: -5px;
    background-color: rgba(0, 0, 0, .05);
}

.aptus-news-img_text_slider .flickity-prev-next-button:hover {
    color: white;
    background-color: #333;
}

.aptus-news-img_text_slider .flickity-prev-next-button.next {
    right: 20px;
}

.aptus-news-img_text_slider .flickity-prev-next-button.previous {
    right: 70px;
    left: auto;
}


/* Adapt slider to LARGE screen sizes */

.posts-img_text_slider .leak-title {
    font-size: 1.7vw;
}

.posts-img_text_slider .leak-content .rich-text * {
    font-size: 1.1vw;
}

.posts-img_text_slider .carousel-cell .cell-content a.leak-link {
    font-size: 1.05vw;
    padding: .6vw 1.5vw;
    bottom: 1.5vw;
}

.aptus-news-img_text_slider .flickity-button.flickity-prev-next-button {
    width: 3.3vw;
    height: 3.3vw;
    right: 1.5vw;
    bottom: 0;
}

.aptus-news-img_text_slider .flickity-button.flickity-prev-next-button.previous {
    right: 5.2vw
}


/* Adapt slider to LARGE screen sizes */


/* Navigation dots */

.flickity-page-dots {
    display: none;
}


/* Media queries */

@media (max-width: 768px) {
    .posts-img_text_slider {
        padding: 0 0;
    }
    .posts-img_text_slider .vn-carousel {
        height: 500px;
    }
    .posts-img_text_slider .carousel-cell .img {
        height: 60%;
        width: 100%;
        flex: .8;
    }
    .posts-img_text_slider .carousel-cell .cell-content {
        width: 100%;
        padding-bottom: 37px;
        flex: 1;
        height: 40%;
    }
    .aptus-news-img_text_slider {
        padding: 0;
    }
    .posts-img_text_slider .vn-carousel.carousel-nav {
        width: 0;
        min-width: 0;
        display: none;
    }
    .posts-img_text_slider .carousel-cell {
        width: 100%;
    }
    .posts-img_text_slider .carousel-cell .cell-content .leak-content {
        height: 100%;
    }
    .posts-img_text_slider .carousel-cell .cell-content .leak-content .rich-text {
        height: 75%;
        overflow: hidden;
    }
    .carousel-cell .inner-content {
        flex-direction: column;
        align-items: stretch;
    }
    .posts-img_text_slider .leak-title {
        font-size: 20px;
        padding: 10px 20px;
    }
    .posts-img_text_slider .carousel-cell .cell-content a.leak-link {
        font-size: 15px;
    }
    .posts-img_text_slider .leak-content .rich-text * {
        font-size: 13px;
    }
    .aptus-news-img_text_slider .flickity-button.flickity-prev-next-button {
        display: block;
        width: 25px;
        height: 25px;
        right: 20px;
        bottom: -3px;
    }
    .aptus-news-img_text_slider .flickity-button.flickity-prev-next-button.previous {
        right: 50px;
    }
}

@media (max-width: 528px) {
    .slider-bottom-extention .block a {
        padding: 0.5em 1em;
    }
}