/* Carousel */

#heroCarouselIndicators {
    overflow: hidden;
}

#heroCarouselIndicators .bgVideoWrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
}

#heroCarouselIndicators video.bg-video {
    opacity: 1;
    object-fit: cover;
    left: 0;
    top: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    max-width: unset;
    transition: all 1.5s ease-out;
}

#heroCarouselIndicators .carousel-indicators {
    bottom: 0px;
    top: auto;
    justify-content: center;
}

#heroCarouselIndicators .carousel-indicators button {
    height: 15px;
    width: 15px;
    border-radius: 50%;
    opacity: 1;
}

.carousel-indicators .active {
    background-color: var(--color-secondary);
}

#heroCarouselIndicators .carousel-caption p {
    margin-bottom: 0px;
    font-size: 1.1em;
}

#heroCarouselIndicators .carousel-item {
    height: 25vh;
    min-height: 250px;
    background-position: center;
    background-size: cover;
}

/* #heroCarouselIndicators .carousel-item.active,
#heroCarouselIndicators .carousel-item-next, 
#heroCarouselIndicators .carousel-item-prev {
    display: flex;
} */

#heroCarouselIndicators .carousel-item .carousel-caption {
    opacity: 1;
    transition: all 2s linear;
    z-index: 3;
}

.carousel-item.active .carousel-caption {
    opacity: 1;
}

.carousel-control-next, .carousel-control-prev {
    width: auto;
}

.carousel-control-prev span.material-icons {
    font-size: 7rem;
    margin-left: -60%;
}

.carousel-control-next span.material-icons {
    font-size: 7rem;
    margin-right: -60%;
}

#mainHero:not(.large-hero) .carousel-control-prev, 
#mainHero:not(.large-hero) .carousel-control-next {
    display: none;
}

#heroCarouselIndicators .carousel-caption {
    text-align: left;
    margin-top: auto;
    margin-bottom: auto;
    position: relative;
    width: 55%;
    bottom: auto;
    right: auto;
    left: 5%;
    padding-bottom: 0px;
    transition: all 0.3s ease;
    /* text-shadow: -1px 0 rgb(53, 53, 53), 
    0 1px rgb(53, 53, 53), 
    1px 0 rgb(53, 53, 53), 
    0 -1px rgb(53, 53, 53); */
}

#heroCarouselIndicators .carousel-item .bg-img {
    height: 100%;
}

@media (max-width: 991px){
    #heroCarouselIndicators .carousel-item {
        height: auto;
    }

    #heroCarouselIndicators .carousel-item .bg-img {
        height: 10rem;
    }

    #heroCarouselIndicators .carousel-indicators {
        bottom: auto;
        top: 8rem;
    }

    #heroCarouselIndicators .carousel-indicators button {
        height: 10px;
        width: 10px;
    }
}