.deznav .metismenu > li:focus > a, .deznav .metismenu > li:hover > a{
    color: white
}
.metismenu ul a:hover {
    color: white;
}
li.mm-active > a {
    color: #fff !important;
}
.deznav .metismenu ul a.mm-active, .deznav .metismenu ul a:focus, .deznav .metismenu ul a:hover {
    text-decoration: none;
    color: white;
}

.onMobile {
    display: none; /* cachée par défaut */
}

/* classe visible uniquement hors mobile */
.noMobile {
    display: block; /* visible par défaut */
}

/* media query pour les appareils dont la largeur est inférieure à 768px (Mobiles) */
@media (max-width: 767px) {
    .onMobile {
        display: block !important; /* visible uniquement sur mobile */
    }

    .noMobile {
        display: none !important; /* cachée uniquement sur mobile */
    }
}

.onMobile {
    display: none !important; /* cachée par défaut */
}

/* classe visible uniquement hors mobile */
.noMobile {
    display: block !important; /* cachée par défaut */
}

/* media query pour les appareils dont la largeur est inférieure à 768px (Mobiles) */
@media (max-width: 767px) {
    .onMobile {
        display: block !important; /* visible uniquement sur mobile */
    }

    .noMobile {
        display: none !important; /* cachée uniquement sur mobile */
    }
    table{
        border-spacing: 0 !important;
    }
}

/* ============================================================
   ENTREPRISE - AVENANTS
   ============================================================ */

.entreprise-avenants-page {
    padding: 10px 0 40px;
}


/* ============================================================
   HEADER
   ============================================================ */

.entreprise-avenants-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 24px;
}

.entreprise-avenants-header h1 {
    margin: 0 0 5px;

    color: #1c2258;

    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.entreprise-avenants-header p {
    margin: 0;

    color: #8d96a5;

    font-size: 12px;
    font-weight: 400;
}


/* ============================================================
   CARD
   ============================================================ */

.entreprise-avenant-card {
    overflow: hidden;

    width: 100%;

    border: 1px solid #e5e9ef;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
            0 2px 4px rgba(28, 34, 88, .02),
            0 8px 24px rgba(28, 34, 88, .05);
}


/* ============================================================
   CARD HEADER
   ============================================================ */

.entreprise-avenant-card-header {
    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 22px;

    border-bottom: 1px solid #edf0f4;

    background: linear-gradient(
            135deg,
            #ffffff 0%,
            #f8faff 100%
    );
}


/* ============================================================
   OFFRE
   ============================================================ */

.entreprise-avenant-offer-name {
    margin-bottom: 5px;

    color: #303846;

    font-size: 15px;
    font-weight: 700;
}

.entreprise-avenant-contract {
    color: #929baa;

    font-size: 11px;
    font-weight: 400;
}

.entreprise-avenant-contract strong {
    color: #5b6575;

    font-weight: 600;
}


/* ============================================================
   COMPTEUR
   ============================================================ */

.entreprise-avenant-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 5px 11px;

    border-radius: 20px;

    background: #eaf3ff;
    color: #1683ff;

    font-size: 10px;
    font-weight: 700;

    white-space: nowrap;
}


/* ============================================================
   BODY
   ============================================================ */

.entreprise-avenant-card-body {
    width: 100%;

    background: #ffffff;
}


/* ============================================================
   TABLE
   ============================================================ */

.entreprise-avenant-card-body .table-responsive {
    width: 100%;

    overflow-x: auto;
}

.entreprise-avenant-table {
    width: 100%;

    margin: 0;

    border-collapse: collapse;

    background: #ffffff;
}


/* ============================================================
   TABLE HEADER
   ============================================================ */

.entreprise-avenant-table thead th {
    padding: 13px 16px;

    border: 0;
    border-bottom: 1px solid #e7ebf0;

    background: #f7f9fc;

    color: #7b8595;

    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;

    text-transform: uppercase;

    white-space: nowrap;
}


/* ============================================================
   TABLE BODY
   ============================================================ */

.entreprise-avenant-table tbody td {
    padding: 16px;

    border: 0;
    border-bottom: 1px solid #f0f2f5;

    color: #4a5361;

    font-size: 12px;
    font-weight: 400;

    vertical-align: middle;

    white-space: nowrap;
}

.entreprise-avenant-table tbody tr:last-child td {
    border-bottom: 0;
}

.entreprise-avenant-table tbody tr {
    transition: background-color .15s ease;
}

.entreprise-avenant-table tbody tr:hover {
    background: #fafcff;
}


/* ============================================================
   COLONNES CHIFFRÉES
   ============================================================ */

.entreprise-avenant-table tbody td:nth-child(3),
.entreprise-avenant-table tbody td:nth-child(4),
.entreprise-avenant-table tbody td:nth-child(5),
.entreprise-avenant-table tbody td:nth-child(6) {
    color: #374151;

    font-weight: 500;
}


/* ============================================================
   BOUTON PDF
   ============================================================ */

.entreprise-avenant-pdf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 32px;

    padding: 7px 12px;

    border: 1px solid #d8e9ff;
    border-radius: 8px;

    background: #edf5ff;

    color: #1683ff;

    font-size: 10px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
            background-color .15s ease,
            border-color .15s ease,
            color .15s ease,
            box-shadow .15s ease,
            transform .15s ease;
}

.entreprise-avenant-pdf-button i {
    margin-right: 6px;

    font-size: 12px;
}

.entreprise-avenant-pdf-button:hover {
    border-color: #1683ff;

    background: #1683ff;

    color: #ffffff;

    box-shadow: 0 4px 12px rgba(22, 131, 255, .18);

    transform: translateY(-1px);
}

.entreprise-avenant-pdf-button:focus {
    color: #ffffff;

    text-decoration: none;
}


/* ============================================================
   DOCUMENT INDISPONIBLE
   ============================================================ */

.entreprise-avenant-no-document {
    display: inline-flex;
    align-items: center;

    padding: 6px 9px;

    border-radius: 7px;

    background: #f4f5f7;

    color: #9ba3af;

    font-size: 10px;
    font-weight: 500;
}

.entreprise-avenant-no-document i {
    margin-right: 5px;
}


/* ============================================================
   AUCUN AVENANT POUR LE CONTRAT
   ============================================================ */

.entreprise-avenant-empty {
    position: relative;

    padding: 55px 20px;

    color: #929baa;

    font-size: 12px;

    text-align: center;
}

.entreprise-avenant-empty::before {
    content: "\f15c";

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin: 0 auto 13px;

    border-radius: 50%;

    background: #edf5ff;

    color: #1683ff;

    font-family: FontAwesome;
    font-size: 19px;
}


/* ============================================================
   AUCUN CONTRAT
   ============================================================ */

.entreprise-avenant-global-empty {
    padding: 60px 25px;

    border: 1px solid #e5e9ef;
    border-radius: 14px;

    background: #ffffff;

    box-shadow: 0 5px 20px rgba(28, 34, 88, .04);

    text-align: center;
}

.entreprise-avenant-global-empty > i {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background: #edf5ff;

    color: #1683ff;

    font-size: 21px;
}

.entreprise-avenant-global-empty h3 {
    margin: 0 0 7px;

    color: #404957;

    font-size: 14px;
    font-weight: 700;
}

.entreprise-avenant-global-empty p {
    margin: 0;

    color: #969fac;

    font-size: 11px;
}


/* ============================================================
   SCROLL TABLE
   ============================================================ */

.entreprise-avenant-card-body .table-responsive::-webkit-scrollbar {
    height: 6px;
}

.entreprise-avenant-card-body .table-responsive::-webkit-scrollbar-track {
    background: #f3f5f8;
}

.entreprise-avenant-card-body .table-responsive::-webkit-scrollbar-thumb {
    border-radius: 10px;

    background: #cfd6df;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {

    .entreprise-avenants-page {
        padding-top: 0;
    }

    .entreprise-avenants-header {
        margin-bottom: 18px;
    }

    .entreprise-avenants-header h1 {
        font-size: 21px;
    }

    .entreprise-avenant-card {
        border-radius: 11px;
    }

    .entreprise-avenant-card-header {
        align-items: flex-start;
        flex-direction: column;

        padding: 16px 18px;
    }

    .entreprise-avenant-count {
        margin-top: 12px;
    }

    .entreprise-avenant-table {
        min-width: 850px;
    }

    .entreprise-avenant-table thead th {
        padding: 11px 13px;

        font-size: 9px;
    }

    .entreprise-avenant-table tbody td {
        padding: 13px;

        font-size: 11px;
    }

}


/* ============================================================
           NUOMA PRO - PAGE
           ============================================================ */

.nuoma-pro-page {
    padding-bottom: 40px;
}


/* ============================================================
   CARD
   ============================================================ */

.nuoma-pro-card {
    width: 100%;

    margin-bottom: 24px;

    padding: 28px 30px;

    border: 1px solid #edf0f4;
    border-radius: 14px;

    background: #ffffff;

    box-shadow:
            0 3px 8px rgba(28, 34, 88, .025),
            0 12px 30px rgba(28, 34, 88, .045);
}


/* ============================================================
   TITRES
   ============================================================ */

.nuoma-pro-section-heading {
    margin-bottom: 28px;

    text-align: center;
}

.nuoma-pro-section-heading h1,
.nuoma-pro-section-heading h2 {
    margin: 0;

    color: #303642;

    font-family: Montserrat, Arial, sans-serif;

    font-size: 17px;
    font-weight: 600;
}

.nuoma-pro-section-heading p {
    margin: 6px 0 0;

    color: #9199a7;

    font-size: 11px;
}


/* ============================================================
   OFFRE
   ============================================================ */

.nuoma-pro-offer-content {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 100px;
}

.nuoma-pro-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 5px 30px;
}

.nuoma-pro-logo img {
    width: 160px;
    max-width: 100%;
}

.nuoma-pro-offer-divider {
    width: 2px;
    height: 70px;

    margin: 0 28px;

    border-radius: 4px;

    background: #5623bc;
}

.nuoma-pro-guarantees {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 10px;
}

.nuoma-pro-guarantee {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 35px;

    padding: 5px 15px;

    border: 2px solid #5623bc;
    border-radius: 30px;

    color: #5623bc;

    font-family: Montserrat, Arial, sans-serif;

    font-size: 14px;
    font-weight: 400;

    text-transform: uppercase;

    white-space: nowrap;
}


/* ============================================================
   SERVICES
   ============================================================ */

.nuoma-pro-services-grid {
    display: grid;

    grid-template-columns: repeat(7, 1fr);

    gap: 15px;
}

.nuoma-pro-service {
    min-width: 0;

    padding: 10px 5px;

    text-align: center;
}

.nuoma-pro-service-icon {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 10px;
}

.nuoma-pro-service-icon img {
    max-width: 68px;
    max-height: 68px;
}

.nuoma-pro-service-title {
    color: #1c2258;

    font-family: Montserrat, Arial, sans-serif;

    font-size: 10px;
    font-weight: 600;

    line-height: 1.35;

    text-transform: uppercase;
}

.nuoma-pro-service-subtitle {
    margin-top: 4px;

    color: #5623bc;

    font-size: 10px;
    font-weight: 700;

    line-height: 1.3;
}


/* ============================================================
   DOCUMENTS
   ============================================================ */

.nuoma-pro-documents-section {
    margin-top: 30px;
}

.nuoma-pro-documents-heading {
    margin-bottom: 18px;
}

.nuoma-pro-documents-grid {
    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 16px;
}

.nuoma-pro-document-card {
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    border: 1px solid #e6eaf0;
    border-radius: 13px;

    background: #ffffff;

    box-shadow: 0 5px 18px rgba(33, 43, 72, .045);

    transition:
            transform .15s ease,
            box-shadow .15s ease;
}

.nuoma-pro-document-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 9px 26px rgba(33, 43, 72, .08);
}


/* ============================================================
   DOCUMENT HEADER
   ============================================================ */

.nuoma-pro-document-header {
    min-height: 95px;

    padding: 17px 16px 13px;

    text-align: center;
}

.nuoma-pro-document-type {
    display: inline-block;

    margin-bottom: 6px;

    color: #9aa2ae;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: .6px;
}

.nuoma-pro-document-header h3 {
    margin: 0;

    color: #343c49;

    font-family: Montserrat, Arial, sans-serif;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;
}

.nuoma-pro-document-level {
    display: inline-flex;

    margin-top: 6px;
    padding: 3px 8px;

    border-radius: 10px;

    background: #f0ebff;

    color: #5623bc;

    font-size: 8px;
    font-weight: 700;
}


/* ============================================================
   APERCU PDF
   ============================================================ */

.nuoma-pro-document-preview {
    position: relative;

    overflow: hidden;

    margin: 0 13px;

    border: 1px solid #edf0f4;
    border-radius: 9px;

    background: #f6f7f9;

    aspect-ratio: 0.72;
}

.nuoma-pro-document-preview img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    object-fit: cover;
    object-position: top;
}


/* ============================================================
   DOCUMENT FOOTER
   ============================================================ */

.nuoma-pro-document-footer {
    margin-top: auto;

    padding: 14px 13px 15px;

    text-align: center;
}

.nuoma-pro-document-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 31px;

    padding: 6px 12px;

    border: 1px solid #dcd2fa;
    border-radius: 7px;

    background: #f7f4ff;

    color: #5623bc;

    font-size: 9px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
            background-color .15s ease,
            color .15s ease,
            border-color .15s ease;
}

.nuoma-pro-document-button i {
    margin-right: 6px;
}

.nuoma-pro-document-button:hover {
    border-color: #5623bc;

    background: #5623bc;

    color: #ffffff;
}


/* ============================================================
   TABLETTE
   ============================================================ */

@media (max-width: 1199px) {

    .nuoma-pro-services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .nuoma-pro-documents-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .nuoma-pro-card {
        padding: 22px 16px;

        border-radius: 11px;
    }

    .nuoma-pro-section-heading {
        margin-bottom: 22px;
    }


    /* OFFRE */

    .nuoma-pro-offer-content {
        flex-direction: column;

        min-height: 0;
    }

    .nuoma-pro-logo {
        padding: 5px 0 18px;
    }

    .nuoma-pro-logo img {
        width: 145px;
    }

    .nuoma-pro-offer-divider {
        width: 60px;
        height: 2px;

        margin: 0 0 20px;
    }

    .nuoma-pro-guarantees {
        justify-content: center;

        width: 100%;
    }

    .nuoma-pro-guarantee {
        min-height: 32px;

        padding: 4px 12px;

        font-size: 12px;
    }


    /* SERVICES */

    .nuoma-pro-services-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 22px 10px;
    }

    .nuoma-pro-service-icon {
        height: 65px;
    }


    /* DOCUMENTS */

    .nuoma-pro-documents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .nuoma-pro-document-header {
        min-height: 90px;

        padding: 14px 10px 10px;
    }

}


/* ============================================================
   PETIT MOBILE
   ============================================================ */

@media (max-width: 420px) {

    .nuoma-pro-documents-grid {
        grid-template-columns: 1fr;
    }

    .nuoma-pro-document-preview {
        max-height: 390px;
    }

}


