.driver-popover.driverjs-theme .driver-popover-title,
.driver-popover.driverjs-theme .driver-popover-description,
.driver-popover.driverjs-theme .driver-popover-progress-text,
.driver-popover.driverjs-theme button
{
    font-family: 'Inter', sans-serif;
}

:root
{
    font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */
    --tblr-font-sans-serif: 'Inter';
    --tblr-body-font-size:0.9rem;
    --tblr-body-line-height: 1.5;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-weight: 450;
}

:host, :root, [data-bs-theme=light] {
    --tblr-page-padding-y: var(--tblr-spacer-5);
}

.navbar-nav{
    line-height: 1
}

.turbo-progress-bar {
    background-color: #FE0000;
}

.form-check{
    margin-bottom: 0;
}

#map{
    height:400px;
}

.badgeCat{
    font-weight: normal;
    /*letter-spacing: normal;*/
    /*margin:  2px 3px 2px 0;*/
}

.badgeBig{
     padding: 5px 14px 7px 14px;
     /*font-weight: normal;*/
 }

.icn-survol:hover .icn-survol-origin,
.icn-survol .icn-survol-replace {
    display: none;
}
.icn-survol:hover .icn-survol-replace {
    display: inline;
}

/*Correction formulaire*/
fieldset .form-check{
    margin-bottom:5px;
}
.vich-file .form-check{
    margin-top:10px;
    margin-bottom:-8px;
}
.vich-file a{
    display: block;
    margin-top:10px;
    margin-bottom:10px;
}

/*.custom-sticky-top {*/
/*    position: sticky;*/
/*    top: 70px;*/
/*}*/

/* fix autocomplete */
.ts-dropdown-content {
    background-color: #fff;
}

.ts-dropdown [data-selectable].option:hover {
     background-color: #f0f1f3;
 }

.read-more .read-more-container {
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background:-webkit-linear-gradient(top, #182433 0%, white 100%);
    background-clip:text;
    -webkit-background-clip:text;
    color:transparent;
}

.read-more .read-more-container.expanded {
    /*max-height: 1000px;*/
    overflow: auto;
    background: none;
    color: #182433;
}

.scroll-margin-top {
    scroll-margin-top: 90px;
}

.megaTitle {
    font-size: 30px;
    line-height: 2.2rem;
    font-weight: bold;
    margin-bottom: 1.5rem !important;
}

.accordion-button-medium {
    font-weight: var(--tblr-font-weight-medium) !important;
}

.cke4-is-invalid {
    border-color: var(--tblr-form-invalid-border-color) !important;
}

.text-truncate-2ln, .text-truncate-3ln, .text-truncate-4ln {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-truncate-2ln {
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.text-truncate-3ln {
    -webkit-line-clamp: 3;
    line-clamp: 3;
}
.text-truncate-4ln {
    -webkit-line-clamp: 4;
    line-clamp: 4;
 }

#scrollTopButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease-in-out; /* Ajoute une transition pour l'opacité */
}

#scrollTopButton.showMe {
    opacity: 1;
}

.grecaptcha-badge{
    bottom: 90px !important;
}

@media (min-width: 992px){
    .navbar-vertical.navbar-expand-lg .navbar-brand {
        padding: 2rem 0;
    }
}

.btn-absolute-top-right, .fav-top-left {
    position: absolute;
}
.btn-absolute-top-right {
    top: 10px;
    right: 10px;
}
.fav-top-left {
    top: 0;
    left: 2px;
}

.triangle {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-left: 50px solid #fff; /* Adjust size and opacity here */
    border-bottom: 50px solid transparent; /* Adjust size here */
    opacity: 70%;
    z-index: 1;
}

.form-select.is-invalid, .was-validated .form-select:invalid {
    border-color: var(--tblr-form-invalid-border-color) !important;
}

.cookie-consent-banner {
    z-index: 2000;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(21, 31, 44, 0.8);
    text-align: center;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.cookie-consent-banner.hidden {
    display: none;
}

.dropdown-item.active{
    color: var(--tblr-navbar-active-color) !important;
}

.shadow-dark {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Ombre noire sur le texte */
}
.shadow-light {
    text-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

/*.bg-azure-yellow-lt {*/
/*    background: linear-gradient(to right, #4299e1 0%, #ecf5fc 30%) !important;*/
/*}*/

.scroll-reveal-item {
    visibility: hidden;
}

.input-group-text {
    padding: .5625rem .75rem !important;
}

.navbar-shadow {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); /* Ombre avec effet */
}

/*Menu main*/

@media (max-width: 992px) {
    .navbar .nav-link-title {
        font-size: 16px !important;
    }
}

.icon-service {
    --tblr-icon-size: 1.6rem;
}
@media (min-width: 576px) {
    .icon-service {
        --tblr-icon-size: 2rem;
    }
}

.col-md-4-prev, .col-md-3-prev {
    flex: 0 0 auto;
    width: 90%;
}

@media (min-width: 768px) {
    .col-md-4-prev {
        flex: 0 0 auto;
        width: 32%;
    }
    .col-md-3-prev {
        flex: 0 0 auto;
        width: 45%;
    }
}

.imgArticle {
    text-align: center;
    margin-top: -40px;
}
@media (min-width: 768px) {
    .imgArticle {
        margin-top: -60px;
    }
}
@media (min-width: 1200px) {
    .imgArticle {
        margin-top: -70px;
    }
}

.font-gradient-rainbow {
    background: linear-gradient(
            45deg,
            #4299e1,   /* Bleu original */
            #6b7aec,   /* Bleu lavande */
            #5a8fe2,   /* Bleu légèrement plus clair */
            #3cb1a4,   /* Vert d'eau moderne */
            #4299e1    /* Retour au bleu initial */
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.bg-gradient-rainbow {
    background: linear-gradient(
            45deg,
            #F2F8FD, /* Bleu original très pâle */
            #F3F5FD, /* Bleu lavande pâle */
            #EAF3FD, /* Bleu légèrement plus clair */
            #EFFBFA, /* Vert d'eau moderne très pâle */
            #F2F8FD  /* Retour au bleu initial très pâle */
    );
}