#shadow-host-companion {
    padding: 0px !important;
}

#toast-container>div {
    opacity: 1 !important;
}




/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .features-image {
    position: relative;
    min-height: 400px;
}

.alt-services .features-image img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.alt-services h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    position: relative;
}

.alt-services h3:after {
    content: "";
    background: var(--accent-color);
    position: absolute;
    display: block;
    width: 50px;
    height: 3px;
    left: 0;
    bottom: 0;
}

.alt-services .icon-box {
    margin-top: 15px;
}

.alt-services .icon-box i {
    color: var(--accent-color);
    background-color: var(--surface-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 16px;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    line-height: 0;
    box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.alt-services .icon-box:hover i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.alt-services .icon-box h4 {
    font-weight: 600;
    margin: 7px 4px;
    font-size: 16px;
}

.alt-services .icon-box h4 a {
    color: var(--heading-color);
    transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
    color: var(--accent-color);
}

.alt-services .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}





.accordion-item {
    margin: 15px 0px;
}

/* Barre jaune à gauche pour l'item actif */
.accordion-item.active {
    border-left: 6px solid #ff9f00 !important;
    box-shadow: 0px 3px 10px #b1b1b1;
}

/* Supprimer l'ombre au clic */
.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    box-shadow: none !important;
}

/* Style pour l'accordion */
.accordion-button::after {
    content: '\f107';
    /* Par défaut, l'icône de la flèche vers le bas */
    font-family: 'Font Awesome 5 Free';
    /* Utilisation de Font Awesome */
    font-weight: 900;
    /* Poids de la police pour que l'icône s'affiche correctement */
    background-image: none !important;
}

/* Icone pour la section fermée */
.accordion-button.collapsed::after {
    content: '\f105';
    /* Icône de la flèche vers la droite ou vers le haut selon votre préférence */
}


.accordion-button:focus {
    box-shadow: none !important;
}


.accordion-button {
    font-weight: 600 !important;
    font-size: 18px !important;
}






.btn-outline-warning:hover {
    color: #fff !important;
}










.card_media {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card_media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out;
}

/* Style du bouton */
.mediateque_button {
    opacity: 0;
    transform: translateY(10px);
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #ffc500;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 21px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.mediateque_button:hover {
    background-color: #e68900;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Effet au survol */
.card_media:hover {
    transform: translateY(-20px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card_media:hover .overlay {
    background: rgba(0, 0, 0, 0.7);
    transform: scale(1.05);
}

.card_media:hover .mediateque_button {
    opacity: 1;
    transform: translateY(0);
    color: #ffffff;
    font-size: 18px;
    padding: 15px 24px;

}





.bande_tricolore {
    line-height: 1.2 !important;
}


html .bg-color-secondary,
html .bg-secondary {
    background-color: #10761f !important;
}

html .bg-color-tertiary,
html .bg-tertiary {
    background-color: #ffbe00 !important;
}

html .bg-color-quaternary,
html .bg-quaternary {
    background-color: #eb0000 !important;
}




#copy-link {
    cursor: pointer;
    text-decoration: none !important;
}

#copy-link:hover {
    text-decoration: underline;
}


.modal-header button {
    background: none !important;
    border: none !important;
    font-size: 40px !important;
}












.pdf-card {
    border: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.2);
}

.pdf-icon {
    font-size: 40px;
    color: #e74c3c;
    margin-right: 15px;
}

.pdf-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.pdf-button {
    /* background-color: #007bff; */
    color: #065989;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    border: none;
}

.pdf-button:hover {
    background-color: #065989;
    color: #fff !important;
}




.vision_accueil {
    background-image: linear-gradient(to bottom right, #0065a1 60%, #ffde50);
    padding: 20px;
    border-radius: 10px;
}

.ctn_vision_accueil {
    width: 84%;
    margin: 0 auto 60px auto;
}


.premiere_section {
    /* background: url('../../assets/images/logo_clair.png') !important; */
}

/* CSS pour hero carousel premier element  */
/* width: 35%;
    margin-right: 60%;
margin-bottom: 300px; */




/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.flash-info {
    font-weight: 400;
    font-size: 16px;
    margin: 0px 0px;
}


.truncate-texte {
    line-height: 30px;
    text-align: justify;
    font-size: 16px;
    word-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}
