/*********************************************************************/
/* Bootstrap 4 Multiple Item Carousel */
/*********************************************************************/
/* medium - display 2  */
@media (min-width: 768px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next {

        transform: translateX(50%);

    }

    .carousel-inner .carousel-item-left.active,
    .carousel-inner .carousel-item-prev {

        transform: translateX(-50%);

    }

}

/* small - display 3  */
@media (max-width: 420px) {
    .demo .curseur {
        width: 20px;
    }
}

/* large - display 3 */
@media (min-width: 992px) {

    .carousel-inner .carousel-item-right.active,
    .carousel-inner .carousel-item-next {

        transform: translateX(33%);

    }

    .carousel-inner .carousel-item-left.active,
    .carousel-inner .carousel-item-prev {

        transform: translateX(-33%);

    }
}

@media (max-width: 768px) {
    .carousel-inner .carousel-item > div {

        display: none;
    }

    .carousel-inner .carousel-item > div:first-child {
        display: inline-block;

    }
}


.carousel-item > .item > img {
    margin: auto;
}

.carousel-inner .carousel-item-right,
.carousel-inner .carousel-item-left {

    transform: translateX(0);

}


.carousel-item {
    height: 350px;

}

#carousel {
    /* height: 350px;
      overflow: hidden;
     width: 100%;*/
}


.carousel-indicators li {
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #960004;

}


.carousel-indicators {
    bottom: -5px;

}

* {
    box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */
.containergalerie {
    position: relative;
    background-color: #0a0a0a;
    width: 500px;

}

/* Hide the images by default */
.mySlides {
    display: none;
}

/* Add a pointer when hovering over the thumbnail images */
.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 40%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

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

/* Container for image text */
.caption-container {
    text-align: center;
    background-color: #222;
    padding: 2px 16px;
    color: white;
}

.rowgalerie:after {
    content: "";
    display: table;
    clear: both;
}

/* Six columns side by side */
.column {
    float: left;
    width: auto;
}

/* Add a transparency effect for thumnbail images */
.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

/* Style the Image Used to Trigger the Modal */
.mySlides {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.mySlides:hover {
    opacity: 0.7;
}

/* The Modal (background) */
.modal-gal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 2px; /* Location of the box */
    left: 50%;
    top: 0;
    width: fit-content; /* Full width */
    height: auto; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0, 0, 0); /* Fallback color */
    background-color: rgba(0, 0, 0); /* Black w/ opacity */

}
@media (max-width: 420px) {
    .modal-gal {
        left: unset;
        margin: auto;
        overflow: auto;
    }

    .modal-content-gal {

        width: 100%;
        overflow: auto;


    }
}

    /* Modal Content (Image) */
.modal-content-gal {
    margin: auto;
    display: block;
    /*width: 50%;*/
    max-width: 700px;

}


/* Caption of Modal Image (Image Text) - Same Width as the Image */
.modal-caption-gal {
    margin: auto;
    display: block;
    width: 150px;
    max-width: 700px;
    text-align: center;
    color: #FFF;
    padding: 10px 0;
    height: 80px;
}




/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #960004;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.containercarousel {
    display: inline-flex;
    margin: fill;
    position: relative;
    align-content: center;
    background-color: black;
    width: 260px;
    height: 350px;

}