/* Slideshow container */
/* Carousel contrôlé par Bootstrap */
.carousel-inner {
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
    margin: 0 auto;
    width: 95%;
}
.carousel {
    max-width: 1000px;
    position: relative;
    margin: auto;
    padding: 20px 50px 45px;
    z-index: 2;
}
.carousel h2 {
    color: #fff;
    font-size: 36px;
    margin-bottom: 5px;
    text-align: center;
}
.carousel-inner .content {
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 320px;
    column-gap: 20px;
}
.carousel-inner .text {
    display: flex;
    flex-direction: column;
    /*justify-content: space-between;*/
    padding: 35px;
}
.carousel-inner .text h3 {
    color: #23356B;
    font-size: 26px;
    margin-bottom: 5px;
    margin-top: 0;
}
.carousel-inner .text .dates {
    color: #0072B8;
    font-weight: 500;
    margin-bottom: 15px;
}
.carousel-inner .text a {
    width: max-content;
}
.carousel-inner .text img {
    align-self: start;
    margin-bottom: 15px;
}
.carousel-inner .image {
    background-size: cover;
    background-position: center;
    min-width: 315px;
    width: 30%;
    position: relative;
}
.carousel-inner .image .logo-evenement {
    background-color: rgba(35,53, 107, 0.8);
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: 75% 30%;
    width: 160px;
    height: 160px;
    border-radius: 0 0 0 160px;
    position: absolute;
    top: 0;
    right: 0;
}
.carousel-indicators {
    bottom: 0;
    left: auto;
    margin: 20px auto;
    position: relative;
    width: max-content;
}
.carousel-indicators::before {
    background-color: #fff;
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 6px;
    z-index: -1;
}
.carousel-indicators li, .carousel-indicators [data-bs-target] {
    background-color: #fff;
    border: none;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.2);
    height: 13px;
    width: 13px;
    margin-left: 0;
    margin-right: 90px;
    border-radius: 10px;
    opacity: 1;
}
.carousel-indicators li:last-child, .carousel-indicators button:last-child {
    margin-right: 0;
}
.carousel-indicators .active {
    background-color: #CAF500;
    height: 13px;
    width: 13px;
    outline: 4px solid #CAF500 !important;
    outline-offset: 4px;
    border: none;
    margin-right: 90px;
}
.carousel-control-next {
    right: -40px;
}
.carousel-control-prev {
    left: -40px;
}
.carousel-control-next, .carousel-control-prev {
    opacity: .8;
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: transparent no-repeat center center;
    background-size: 65%;
    position: relative;
}
.carousel-control-next-icon::before, .carousel-control-prev-icon::before {
    background-color: #fff;
    border-radius: 48px;
    box-shadow: 0 0 10px 2px rgba(0,0,0,0.3);
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: -1;
}
.carousel-control-prev-icon {
    background-image: url("/media/cpgnykvr/picto-fleche-precedent.svg");
}
.carousel-control-next-icon {
    background-image: url("/media/kytmbtb5/picto-fleche-avance-1.svg");
}

@media screen and (max-width: 960px) {
    .carousel {
        padding: 10px;
    }
    .carousel-inner {
        width: 100%;
    }
    .carousel-inner .content {
        flex-direction: column-reverse;
    }
    .carousel-inner .text h3 {
        font-size: 23px;
    }
    .carousel-inner .image {
        width: 100%;
        height: 25vh;
    }
    .carousel-control-next-icon, .carousel-control-prev-icon {
        display: none;
    }
}
        