/*simple carousel*/

.carousel > * {
    box-sizing:border-box;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

/* Hide the images by default */
.carousel-item {
    display: none;
}

/* Next & previous buttons */
.carousel .prev,
.carousel .next {
    cursor: pointer;
    position: absolute;
    display: block;

    float:left;

    top: 40%;
    padding: 34px 40px;
    margin:0;

    color: white;
    font-weight: bold;
    font-size: 18px;

    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */

    text-align: center;

    text-shadow:
        0px 2px 4px rgba(0,0,0,0.8),
        0px 4px 8px rgba(0,0,0,0.6);

}

.carousel,
.carousel .wrapper{
    position: relative;
}

.carousel .next {
    right: 0px;
}

.carousel .wrapper:hover .prev,
.carousel .wrapper:hover .next{
    background-color: rgba(0,0,0,0.5);
}

/* Caption text */
.carousel .text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

/* Number text (1/3 etc) */
.carousel .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

/* The dots/bullets/indicators */
.carousel .dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.carousel .active,
.carousel .dot:hover {
    background-color: #717171;
}

/* Fading animation */
.carousel .fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {
        opacity: .4
    }
    to {
        opacity: 1
    }
}


@media (max-width: 669px) {
    .carousel .prev,
    .carousel .next {
        top: 100%;

        margin: 0px;
        padding: 8px 20px;

        color:var(--color-darkgrey);
        text-shadow:none;
        
        font-weight: 400;
    }

    .carousel .next {
        right: 10px;
    }

    .carousel .wrapper:hover .prev,
    .carousel .wrapper:hover .next{
        background-color: inherit;
    }
}