/*Red line on subheaders*/

.video-carousel-content .red-line-subtitle img {
    margin-bottom: 0.3rem;
}

/*Text content responsive*/

@media screen and (max-width: 992px) {
    .video-carousel-content {
        flex-wrap: wrap !important;
    }
    .video-carousel-content .wp-block-group {
        flex-basis: 100% !important;
    }
    .video-carousel-content .wp-block-group .wp-block-group {
        width: 100%;
    }
    .video-carousel-content .wp-block-buttons {
        float: left;
    }
}

/*Slider buttons*/

.video-carousel-buttons {
    position: absolute;
    left: calc((100% - 1200px) / 2);
    z-index: 1;
}
@media screen and (max-width: 1400px) {
    .video-carousel-buttons {
        left: 54px;
    }
}

/*Slider wrapper*/

#video-carousel {
    position: relative;
}
#video-carousel .title-block-section {
    text-transform: uppercase;
    color: #fff;
    font-size: 8.75rem;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #e2e2e2;
    font-weight: bold;
    position: absolute;
    right: 0rem;
    top: 13.5rem;
    box-sizing: border-box;
    z-index: -1;
}
@media screen and (max-width: 1280px) {
    #video-carousel .title-block-section {
        font-size: 5.75rem;
        top: 15.4rem;
    }
}
@media screen and (max-width: 980px) {
    #video-carousel .title-block-section {
        font-size: 5.75rem;
        top: 19.8rem;
    }
}
@media screen and (max-width: 600px) {
    #video-carousel .title-block-section {
        font-size: 5rem;
        top: 26.7rem;
    }
    #video-carousel .video-carousel {
        margin-top: 0.5rem !important;
    }
}
@media screen and (max-width: 500px) {
    #product-navigator .title-block-section {
        font-size: 3.5rem;
        top: -3.2rem;
    }
}

.video-carousel {
    overflow-x: hidden;
    padding-left: 200px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
@media screen and (max-width: 992px) {
    .video-carousel {
        padding-left: var(--wp--style--root--padding-left);
    }
}

@media screen and (max-width: 1400px) {
    #video-carousel .video-carousel-content {
        padding-right: var(--wp--style--root--padding-right) !important;
        padding-left: var(--wp--style--root--padding-left) !important;
    }
}

/*Slider content*/

.video-carousel > div {
    /*padding-left: 180px;*/
    padding-left: calc((100% - 1460px) / 2) !important;
    justify-content: left !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: none !important;
}
@media screen and (max-width: 1400px) {
    .video-carousel > div {
        padding-left: 23px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 992px) {
    .video-carousel > div > div {
        border-radius: 0px 0px 4px 4px;
    }
}

.video-carousel > div > div > figure > img {
    border-radius: 4px;
}
@media screen and (max-width: 769px) {
    .video-carousel > div > div > figure > img {
        border-radius: 4px 4px 0px 0px;
    }
}

/*Slider text white block*/

.video-carousel > div > div {
    width: 536px !important;
    display: block;
    float: left;
    position: relative;
    left: 0px;
    flex: none;
    margin-right: 23px;
    transition: left 0.6s ease-in-out;
}
@media screen and (max-width: 769px) {
    .video-carousel > div > div {
        background-color: white;
        width: 312px !important;
    }
}

.video-carousel .white-box {
    position: relative;
    width: 392px;
    left: 112px;
    top: -47px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 4px;
}
@media screen and (max-width: 769px) {
    .video-carousel .white-box {
        width: 100%;
        top: 0px;
        left: 0px;
        border-radius: 0px 0px 4px 4px;
    }
}

/*Limited 3 lines text*/

.video-carousel p.video-carousel-3-lines {
    max-height: 54px;
    overflow: hidden;
}

@media screen and (max-width: 992px) {
    .video-carousel .wp-block-columns {
        flex-wrap: wrap;
    }
    .video-carousel .wp-block-column {
        flex-basis: 48% !important;
    }
}

@media screen and (max-width: 769px) {
    .video-carousel .wp-block-column {
        flex-basis: 100% !important;
    }
}

.video-carousel-placeholder {
    position: relative;
}

.video-carousel-placeholder::before {
    content: "";
    display: block;
    position: absolute;
    width: 124px;
    height: 124px;
    left: 205px;
    top: 80px;
    background-image: url(../../assets/images/play-button.png);
    background-size: contain;
}

@media screen and (max-width: 769px) {
    .video-carousel-placeholder::before {
        width: 62px;
        height: 62px;
        left: 125px;
        top: 57px;
    }
}
