:root {
    --secondary_color: #f8f8f8;
    --primary_color: #41af64;
    --input_background: #e0e0e0;
}

.logo_partenaire {
    width: 80px;
}

.logo_partenaire_container {
    height: 80px;
}

body {
    font-family: 'Plus Jakarta Sans';
}

#nav_user ul li:hover {
    border-bottom: 6px solid #ffffff;
    margin-bottom: -6px;
}

#nav_user ul li {
    border-bottom-width: 111px;
}

.relative {
    position: relative;
    white-space: nowrap;
}
/*
li {
    transition-property: all;
    transition-duration: 0.1s;
}
*/

.nav ~ li:hover {
    font-weight: bold;
    border-bottom: 6px solid #1D1D1B;
    margin-bottom: -6px;
}

*/ #EnSavPlus:hover {
    border-bottom: 2px solid #ffffff;
}

#user_logout_icon:hover {
    border-bottom: 0px;
}

#nav_user user nav_logo_esp_priv:hover {
    border-bottom: 0px;
}

#public>.li_no_width {
    width: auto !important;
}

.valid {
    color: #41af64;
}
.invalid {
    color: #E74C3C;
}

.erreur {
    color: #D1111C;
}

.erreur li:hover {
    font-weight: normal;
    border-bottom: 0px;
}

div.subtitle_container {
    background-color: #F8F8F8;
    padding-top: 5px;
    padding-bottom: 5px;
}

p.subtitle {
    font-size: 30px;
    margin-left: 345px;
    margin-bottom: 0px;
}

.primary {
    color: #41af64;
}
.b_primary {
    background-color: #41af64;
}

.secondary {
    color: #f8f8f8;
}
.b_secondary {
    background-color: #f8f8f8;
}

.app_nav {
    box-shadow: -4px 0px 7px 0px rgba(0,0,0,0.5);
    padding: 8px;
}

p {
    margin-bottom: 8px;
}

.f_row {
    display: flex;
    flex-direction: row;
}

.f_row.parent p {
    margin-bottom: 4px;
}

.f_row.child {
    font-size: 0.95em;
    line-height: 80%;
    margin-left: 12px;
    color: hsl(210, 11%, 25%);
}

.f_col {
    display: flex;
    flex-direction: column;
}

.f_grow1 {
    flex-grow: 1;
}

div.closebtn{
    width: 32px;
    height: 32px;
}

.bigger_on_hover:hover{
    width: 32px;
    height: 32px;
    transform: scale(0.6) !important;
    transform-origin: center center;
    pointer-events: all;
}

.vcenter {
    position: absolute;
    top:50%;
    transform: translateY(-50%);
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.text {
    text-align: justify;
}

.inactive {
    opacity: 0.5; 
    pointer-events: none; 
    filter: grayscale(1);
}

@page {
    size: A4;
    margin: 0;
}

.page {
    width: 210mm;
    min-height: 297mm;
    padding: 10mm;
    margin: 10mm auto;
    border: 1px rgba(130, 130, 130, 0.5) solid;
    border-radius: 5px;
    /* background: white; */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.onlyprint {
    display: none !important;
}

.highcharts-figure {
    width:100% !important;
    height:83% !important;
    margin: 0px !important;
}

.page_count {
    counter-increment: pages;
    color: white;
    position: absolute;
    right:16px;
    top:50%;
    transform: translateY(-50%);
}
.page_count::after {
    content: counter(pages) "/ 2";
}
@media print {
    .page {
        width: 210mm;
        min-height: 297mm;
        padding: 10mm;
        margin: 10mm auto;
        border: none;
        border-radius: 0px;
        /* background: white; */
        box-shadow: none;
    }

    .noprint {
        display: none !important;
    }

    .onlyprint {
        display: block !important;
    }

    .content_container {
        overflow-y: hidden !important;
        max-height: none !important;
        max-width: 210mm;
        min-width: 210mm;
        width: 210mm;
        height: fit-content;
    }

    body {
        height: fit-content !important;
        max-height: none !important;
        min-height: none !important;
        overflow-y: visible !important;
        overflow-x: hidden !important;
        width: 210mm;
    }

    html {
        width: 210mm;
        overflow-y: visible !important;
        overflow-x: hidden !important;
    }

    .graphique {
        margin: 8px;
        break-inside: avoid;
    }

    .print_font_12 {
        font-size: 12 !important;
    }
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ff6b6b; /* Couleur du bouton */
    color: white;
    padding: 15px;
    border-radius: 50%; /* Rond */
    text-align: center;
    font-size: 18px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Ombre */
    border: none;
    cursor: pointer;
    z-index: 1000; /* Toujours au-dessus des autres éléments */
    text-decoration: none;
}
