/* SLIDESHOW */
.slideshow {
    height: 800px;
    width: 100%;
}

.slideshow .slideshow-element {
    height: 100%;
    width: 30%;
    overflow: hidden;
    border: solid 1.5px black;
    border-radius: 15px;
    cursor: pointer;
    position: relative;
}

.slideshow .slideshow-element .date {
    color: white;
    margin-bottom: -75px;
    margin-top: -50px;
    z-index: 30;
    position: relative;
}

.slideshow .slideshow-element .date-shadow {
    background-color: black;
    height: 140px;
    position: absolute;
    width: 100%;
    z-index: 10;
    bottom: 75px;
}

.slideshow .slideshow-element .star-menu {
    height: 55px;
    width: 100%;
}

.slideshow .slideshow-element .star-menu img {
    height: 50px !important;
    width: auto;
}

.slideshow .slideshow-element .star-menu .arrow {
    height: 25px !important;
}

.slideshow .slideshow-element .date .day {
    font-size: 175px;
    padding-left: 15px;
    position: relative;
    z-index: 30;
}

.slideshow .slideshow-element .date .month {
    font-size: 90px;
    position: relative;
    z-index: 30;
}

.slideshow .left-arrow {
    height: 70px;
    width: auto;
    left: -40px;
    cursor: pointer;
}

.slideshow .right-arrow {
    height: 70px;
    width: auto;
    right: -40px;
    cursor: pointer;
}

.slideshow .animate-right-out {
    animation-name: slide_right_out;
    animation-duration: 0.5s;
}

.slideshow .animate-right-in {
    animation-name: slide_right_in;
    animation-duration: 0.5s;
}

.slideshow .animate-left-out {
    animation-name: slide_left_out;
    animation-duration: 0.5s;
}

.slideshow .animate-left-in {
    animation-name: slide_left_in;
    animation-duration: 0.5s;
}

@keyframes slide_left_out {
    from {
        transform:translateX(0px);
        opacity: 1;
    }
    to {
        transform:translateX(-100px);
        opacity: 0;
    }
}

@keyframes slide_left_in {
    from {
        transform:translateX(-100px);
        opacity: 0;
    }
    to {
        transform:translateX(0px);
        opacity: 1;
    }
}

@keyframes slide_right_out {
    from {
        transform:translateX(0px);
        opacity: 1;
    }
    to {
        transform:translateX(100px);
        opacity: 0;
    }
}

@keyframes slide_right_in {
    from {
        transform:translateX(100px);
        opacity: 0;
    }
    to {
        transform:translateX(0px);
        opacity: 1;
    }
}

.slideshow .animate-left {
    animation-name: slide_left;
    animation-duration: 0.5s;
}

.slideshow .animate-right {
    animation-name: slide_right;
    animation-duration: 0.5s;
}

@keyframes slide_left {
    from {
        transform:translateX(0px);
    }
    to {
        transform:translateX(-60%);
    }
}

@keyframes slide_right {
    from {
        transform:translateX(0px);
    }
    to {
        transform:translateX(60%);
    }
}

/* the main container element (slideshow-element) MUST BEn 100% when the display is small AND the container must fit the whole content*/
@media(max-width:992px) {
    .slideshow {
        height: fit-content !important;
    }

    .slideshow .slideshow-element {
        height: 700px; /* we have to set here the card height */
        width: 90% !important;
        margin: auto;
        margin-bottom: 25px;
    }

    .slideshow .slideshow-element .date {
        text-align: left !important;
    }

    /* smaller drawbox in small screen */
    .idrawbox {
        height: 375px !important;
    }
}

/* iDrawBox implementation */
.idrawbox {
    width: 100%;
    height: 455px;
}

.idrawbox .background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position:center;
}

.idrawbox .iimage {
    height: 11vh;
    width: auto;
    display: block;
    /*margin: -5vw;*/
}

.idrawbox .card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    object-fit: cover;
    object-position:center;
    z-index: 300;
}