/* ----------------------- */
/* Slideshow custom styles */
/* ----------------------- */

.slideshow_swiper {
    height: 100%;
}


.slideshow_swiper .swiper-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(70, 70, 70);
}
.slideshow_swiper .swiper-slide img {
    width: 100%;
    height: 100%;
}
.slideshow_swiper .swiper-slide .slideshow_caption h2 {
    opacity: 0;
    transform: translate(0px, 2em);
    transition: 1s transform .5s ease, 1s opacity .5s ease;
}

.slideshow_swiper .swiper-slide.swiper-slide-active .slideshow_caption h2 {
    opacity: 1;
    transform: translate(0px, 0px);
    transition: 1s transform .5s ease, 1s opacity .5s ease;
}
.slideshow_caption span {
    display: block;
    position: absolute;
    min-height: 2em;
    line-height: 2em;
    font-size: 0.8em;
    /* width: 100vw; */
    white-space: normal;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0000006e;
    line-height: 1.2;
    text-align: left;
    padding: 0.4em;
}

.slideshow_caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--mr-color-accent-tint);
    vertical-align: middle;
    white-space: normal;
    position: absolute;
    inset: 0;
    height: 100%;
}

.slideshow_swiper .slideshow_caption h2 {
    border-bottom: none;
    color: var(--mr-color-light);
    text-shadow: 0 0 10px black, 0 0 10px black, 0 0 10px black;
    font-size: 3.5vw;
    line-height: 1;
    transition: 1s transform .5s ease, 1s opacity .5s ease;
    margin-top: 0;
    text-align: center;
}

.slideshow_swiper .slideshow_caption h3 {
    border-bottom: none;
    color: var(--mr-color-accent-shade);
    text-shadow: 0 0 10px black, 0 0 10px black, 0 0 10px black;
    font-size: 2vw;
    line-height: 1;
    opacity: 0;
    text-align: center;
}

.slideshow_swiper .swiper-slide.swiper-slide-active .slideshow_caption h3 {
    opacity: 1;
    transition: .5s opacity 1.5s ease;
}
