.carousel-inner {
    padding: 1em;
}

.card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #e1e1e1;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.card {
    background-color: #fff;
    border: 1px solid !important;
    box-shadow: none !important;
    color: #1C63AA;
    border-color: #F5F5F5;
    padding-bottom: 3rem;
    transition: transform .2s;
}

.card:hover {
    transform: scale(1.025);
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #158f7c;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-image {
    margin: 0;
    /* enlever les marges automatiques */
    float: left;
    display: table-cell;
}



.card img {
    max-height: 100%;
    border-radius: 5px;
    object-fit: cover;
}


@media (min-width: 768px) {
    .carousel-item {
        margin-right: 0;
        flex: 0 0 33.333333%;
        display: block;
    }

    .carousel-inner {
        display: flex;
    }
}

.card .img-wrapper {
    max-width: 100%;
    height: 20em;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px;
}

.card img {
    max-height: 100%;
}

@media (max-width: 767px) {
    .card .img-wrapper {
        height: inherit;
    }
}