.bannerabout {
    background-image: url(../images/bannerAbout.jpg);
    background-size: cover;
    background-position: center;
    height: 25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    font-size: 24px;
    padding: 1rem;
}
.card_services {
    border: 3px solid #4d3281 !important;
    border-radius: 20px !important;
    transition: background-color 0.3s, border-color 0.3s;
}

.card_services:hover {
    background-color: #4d3281;
    border-color: white;
}

.card_services:hover .text_services,
.card_services:hover .titreServices {
    color: white; /* Change text color on hover */
}

.card_services:hover .iconService {
    border: 2px solid white;
}
.titreServices {
    color: #4d3281;
}
.text_services {
    font-size: 14px;
    color: #808080;
}
.bg_slider {
    background-image: linear-gradient(#4d3281, #000);
    padding: 0.5rem;
}

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

@keyframes fade {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}
.sliderClass {
    position: relative;
}
@media (max-width: 767px) {
    .sliderClass {
        border-color: transparent;
    }
}
.sliderClass .MS-content {
    margin: 15px 5%;
    overflow: hidden;
    white-space: nowrap;
}
@media (max-width: 767px) {
    .sliderClass .MS-content {
        margin: 0;
    }
}
.sliderClass .MS-content .item {
    display: inline-block;
    /* height: 9rem; */
    overflow: hidden;
    position: relative;
    vertical-align: top;
    width: 33%;
}
@media (max-width: 1200px) {
    .sliderClass .MS-content .item {
        width: 50%;
    }
    #sponsorsSlider .MS-content .item {
        width: 50% !important;
    }
}
@media (max-width: 767px) {
    .sliderClass .MS-content .item {
        width: 100%;
    }
    .mr_top {
        margin-top: 1.5rem !important;
    }
    #sponsorsSlider .MS-content .item {
        width: 50% !important;
    }
}
@media (min-width: 1200px) {
    #teamSlider .MS-content .item {
        width: 20%;
    }
}
.sliderClass .MS-content .item p {
    font-size: 20px;
    line-height: 1;
    vertical-align: middle;
    margin: 0;
    padding: 10px 0;
    text-wrap: wrap;
}
.sliderClass .MS-controls button {
    position: absolute;
    border: none;
    background: transparent;
    font-size: 30px;
    outline: 0;
    top: 50%;
}
.sliderClass .MS-controls button:hover {
    cursor: pointer;
}
.sliderClass .MS-controls .MS-left {
    left: 10px;
}
@media (max-width: 991px) {
    .justifyArrows {
        display: flex;
        justify-content: center !important;
    }
}
@media (max-width: 992px) {
    .widthPourqoiNous {
        width: 100% !important;
    }
    .sliderClass .MS-controls .MS-left {
        left: -2px;
    }
    .bg_nos_valeurs {
        position: static !important;
    }
    .justifyText {
        display: flex;
        justify-content: start !important;
    }
}
.sliderClass .MS-controls .MS-right {
    right: 10px;
}
@media (max-width: 992px) {
    .justifyNumber {
        display: flex;
        justify-content: start !important;
    }
    .sliderClass .MS-controls .MS-right {
        right: -2px;
    }
}

#teamSlider .MS-content .lastItemClass {
    opacity: 0.3;
}
#sponsorsSlider .MS-content .item {
    width: 15%;
}
#sponsorsSlider .MS-content .item img {
    height: 66px !important;
    width: 75px !important;
}
#sponsors2Slider .MS-content .item img {
    height: 75px !important;
    width: 175px !important;
}
.slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}

/* Hide the images by default */

/* Next & previous buttons */
.prev,
.next {
    height: 50px;
    width: 50px;
    color: #4d3281;
    border: 1px solid #4d3281;
    text-decoration: none;
    text-align: center;
    font-size: 31px;
    border-radius: 50%;
}

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

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: #4d3281;
    color: #fff;
}

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

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

/* The dots/bullets/indicators */
.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;
}

.active,
.dot:hover {
    background-color: #717171;
}
.iconService {
    background-color: #4d3281;
    width: 5rem !important;
    height: 5rem;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.iconone {
    width: 70%;
}
.bg_nos_valeurs {
    position: absolute;
    width: 22rem !important;
    height: 21rem;
    left: 35%;
    z-index: -1;
}
.mr_top {
    margin-top: 9rem;
}
.widthPourqoiNous {
    width: 50%;
}
.justifyNumber {
    display: flex;
    justify-content: center;
}
@media (max-width: 991px) {
    .justifyArrows {
        display: flex;
        justify-content: center !important;
    }
}
.justifyArrows {
    display: flex;
    justify-content: start;
}
/* (A1) FORCE ALL ITEMS INTO SINGLE ROW */
.hmove {
    display: flex;
}
.hitem {
    width: 100%;
    flex-shrink: 0;
}
.hwrap {
    overflow: hidden;
}

/* (A2) MOVE ITEMS FROM RIGHT TO LEFT */
/* first item = 0, fourth item = -300% */
@keyframes tickerh {
    0% {
        transform: translatex(100%);
    }
    100% {
        transform: translatex(-40%);
    }
}
.hmove {
    animation: tickerh linear 20s infinite;
}
.hmove:hover {
    animation-play-state: paused;
}

.hitem {
    padding: 10px;
    text-align: center;
}
.hwrap,
.hwrap * {
    box-sizing: border-box;
}
.logo {
    margin-right: 10px;
    height: 5rem; /* Adjust the height as needed */
}
.mySlides {
    display: none;
    justify-content: center; /* Flex property to center the content */
}

.mySlides img {
    margin: auto;
}
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}
.slideshow-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    height: 100%;
}
@media (max-width: 992px) {
    @keyframes tickerh {
        0% {
            transform: translatex(100%);
        }
        100% {
            transform: translatex(-70%);
        }
    }
    .hmove {
        animation: tickerh linear 20s infinite;
    }
}
