/*
Theme Name:   Elan
Theme URI:    https://example.com/
Description:  Child theme for Twenty Twenty-Five
Author:       YNY Solutions Inc.
Author URI:   https://example.com/
Template:     twentytwentyfive
Version:      1.0.0
Text Domain:  elan
*/

/* Font Face Declarations - Source Sans 3 */
@font-face {
    font-family: 'Source Sans 3';
    src: url('assets/fonts/SourceSans3-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('assets/fonts/SourceSans3-Italic.ttf') format('truetype');
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('assets/fonts/SourceSans3-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('assets/fonts/SourceSans3-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Source Sans 3';
    src: url('assets/fonts/SourceSans3-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('assets/fonts/poppins.light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --wp--style--global--content-size: 100% !important;
    --wp--style--global--wide-size: 100% !important;

    /* Padding */
    --padding-section: 80px 0 100px 0;
    --padding-section-tablet: 60px 40px 80px 40px;
    --padding-section-mobile: 40px 16px 40px 16px;

    /* Font  */
    --font-family-primary: 'Source Sans 3', sans-serif;

    /* Typography */

    /* List Card */
    --list-card-accueil-font-size: 16px;
    --list-card-accueil-line-height: normal;

    --list-card-accueil-hover-font-size: 16px;
    --list-card-accueil-hover-line-height: normal;

    /* Paragraph */
    --p-font-size: 19px;
    --p-line-height: normal;

    /* Préambule */
    --preambule-font-size: 22px;
    --preambule-line-height: normal;

    /* Headings */
    --h1-font-size: 38px;
    --h1-line-height: 50px;

    --h1-page-font-size: 48px;
    --h1-page-line-height: 50px;

    --h2-font-size: 26px;
    --h2-line-height: normal;

    --h2-page-font-size: 38px;
    --h2-page-line-height: 50px;

    --h2-accueil-font-size: 32px;
    --h2-accueil-line-height: 42px;

    --h2-card-font-size: 22px;
    --h2-card-line-height: normal;

    --h3-font-size: 30px;
    --h3-line-height: 40px;

    --h4-font-size: 28px;
    --h4-line-height: auto;

    --h5-font-size: 22px;
    --h5-line-height: auto;

    /* Links */
    --h-lien-pour-en-savoir-plus-font-size: 22px;
    --h-lien-pour-en-savoir-plus-line-height: normal;

    /* Tooltip */
    --infobulle-font-size: 15px;
    --infobulle-line-height: normal;

    /* Breadcrumb */
    --breadcrumb-font-size: 15px;
    --breadcrumb-line-height: normal;

    /* Mobile Typography */

    /* Paragraph */
    --mobile-p-font-size: 16px;
    --mobile-p-line-height: normal;

    /* Préambule */
    --mobile-preambule-font-size: 18px;
    --mobile-preambule-line-height: normal;

    /* H1 */
    --mobile-h1-page-font-size: 32px;
    --mobile-h1-page-line-height: normal;

    --mobile-h1-font-size: 26px;
    --mobile-h1-line-height: 34px;

    /* H2 */
    --mobile-h2-font-size: 19px;
    --mobile-h2-line-height: 26px;

    --mobile-h2-accueil-font-size: 28px;
    --mobile-h2-accueil-line-height: 31px;

    --mobile-h2-page-font-size: 28px;
    --mobile-h2-page-line-height: 36px;

    --mobile-h2-card-font-size: 17px;
    --mobile-h2-card-line-height: 22px;

    /* H3 */
    --mobile-h3-font-size: 24px;
    --mobile-h3-line-height: 30px;

    /* H4 */
    --mobile-h4-font-size: 22px;
    --mobile-h4-line-height: 28px;

    /* H5 */
    --mobile-h5-font-size: 18px;
    --mobile-h5-line-height: normal;

    /* List Card Accueil */
    --mobile-list-card-accueil-font-size: 15px;
    --mobile-list-card-accueil-line-height: normal;

    /* Breadcrumbs */
    --mobile-breadcrumbs-font-size: 14px;
    --mobile-breadcrumbs-line-height: normal;

    /* Colors */

    /* Bleu */
    --bleu-100-texte: #344E67;
    --bleu-80-principal: #4E6EA7;
    --bleu-70-bg-hover: #A3B8D9;
    --bleu-40-bg: #DBE2EE;
    --bleu-10: #F5F7FB;

    /* Vert */
    --vert-100: #287B31;
    --vert-80: #2E9D3A;
    --vert-70-bg-hover: #8FD8A2;
    --vert-40-bg: #D0ECD6;
    --vert-10: #EBF9EE;
    --vert-lime: #47C351;

    /* Gris */
    --gris-100: #000000;
    --gris-60: #707070;
    --gris-30: #B2B2B2;
    --gris-20: #D7D7D7;
    --gris-10-bg: #F5F5F5;
    --blanc: #FFFFFF;

    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #b6c6de, #d0ecd6);
    --gradient-blue-subsection: linear-gradient(135deg, #DBE2EE, #F5F5F5);
    --gradient-green-subsection: linear-gradient(135deg, #D0ECD6, #F5F5F5);
}

#wpadminbar {
    z-index: 200000 !important;
}

/* Show focus only when it is meaningful (usually keyboard) */
:focus {
    outline: none;
    /* reset default fallback so only focus-visible controls styling */
}

/* Keep a visible focus for keyboard users */
:focus-visible {
    outline: 3px solid black;
    /* choose accessible color/size */
    outline-offset: 2px;
}

/* Hide focus when the element does not match :focus-visible
   (this is what removes the ring for mouse clicks) */
:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    /* Prevent text wrapping */
    border: 0;
}

body,
html {
    overflow-x: hidden;
}



body {
    font-family: var(--font-family-primary);
    letter-spacing: normal;
}

strong {
    font-weight: 700 !important;
}

p {
    font-size: var(--p-font-size);
    line-height: var(--p-line-height);
    font-weight: 400;
    color: var(--bleu-100-texte);

    @media (max-width: 640px) {
        font-size: var(--mobile-p-font-size);
        line-height: var(--mobile-p-line-height);
    }
}

.citation-longue {
    display: block;
    margin: 0 2em !important;

    p {
        margin: 0 !important;
        font-size: inherit;
        line-height: inherit;
    }

    p+p {
        margin-top: 0.8em !important;
    }

    @media (max-width: 640px) {
        margin: 0 1.2em !important;
    }
}

h1 {
    font-size: var(--h1-page-font-size);
    line-height: var(--h1-page-line-height);
    font-weight: 700;
    color: var(--bleu-100-texte);

    @media (max-width: 640px) {
        font-size: var(--mobile-h1-page-font-size);
        line-height: var(--mobile-h1-page-line-height);
    }
}

h2 {
    font-size: var(--h2-page-font-size);
    line-height: var(--h2-page-line-height);
    font-weight: 600;
    color: var(--bleu-100-texte);

    @media (max-width: 640px) {
        font-size: var(--mobile-h2-page-font-size);
        line-height: var(--mobile-h2-page-line-height);
    }
}

h2.wp-block-heading a>em {
    font-size: 21px !important;
    @media (max-width: 640px) {
        font-size: 16px !important;
    }
}

h3 {
    font-size: var(--h3-font-size);
    line-height: var(--h3-line-height);
    font-weight: 700;
    color: var(--bleu-100-texte);

    @media (max-width: 640px) {
        font-size: var(--mobile-h3-font-size);
        line-height: var(--mobile-h3-line-height);
    }
}

h4 {
    font-size: var(--h4-font-size);
    line-height: var(--h4-line-height);
    font-weight: 600;
    color: var(--bleu-100-texte);

    @media (max-width: 640px) {
        font-size: var(--mobile-h4-font-size);
        line-height: var(--mobile-h4-line-height);
    }
}

h5 {
    font-size: var(--h5-font-size);
    line-height: var(--h5-line-height);
    font-weight: 700;
    color: var(--bleu-100-texte);
}

/* Links in paragraphs: stay inline (override inline-flex on external links) */
p a {
    display: inline !important;
}

/* External links in headings/lists: avoid flex pushing the icon to the far edge */
h1 a[target="_blank"],
h2 a[target="_blank"],
h3 a[target="_blank"],
h4 a[target="_blank"],
h5 a[target="_blank"],
h6 a[target="_blank"],
li a[target="_blank"] {
    display: inline !important;
}

li {
    font-family: var(--font-family-primary);
    font-size: var(--p-font-size) !important;
    line-height: var(--p-line-height);
    font-weight: 400;
    color: var(--bleu-100-texte);

    @media (max-width: 640px) {
        font-size: var(--mobile-p-font-size) !important;
        line-height: var(--mobile-p-line-height) !important;
    }
}


ul li::marker {
    font-size: 0.8rem;
    vertical-align: middle !important;
}

ol li::marker {
    font-weight: bold;
}

/* Nested lists - empty bullets for inner lists */
li ul {
    margin-top: 10px !important;
    list-style-type: circle;
    padding-left: 28px !important;
    margin-bottom: 17px !important;

    li {
        ul {
            list-style-type: disc;
        }
    }
}

a {
    font-weight: inherit;
    text-decoration: underline;

    &:hover {
        color: var(--bleu-80-principal);
        text-decoration: underline;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    color: var(--bleu-100-texte);

    p {
        margin: 0;
    }

    ul {
        padding-left: 28px !important;
        margin-block-start: 17px !important;

        li {
            margin-bottom: 6px;
        }
    }

    li {
        font-size: 18px !important;
        @media (max-width: 640px) {
            font-size: 16px !important;
        }
        ul {
            margin-bottom: 0 !important;
        }
    }

    ul+strong {
        margin-top: 25px;
        margin-bottom: 0 !important;
        display: block;

    }


    @media (max-width: 1024px) {
        font-size: 16px;
    }
}

table tr td:first-child {
    font-weight: 700 !important;

    em, span {
        font-weight: 400 !important;
    }
}

.activites-favorisant-la-reussite-table-2 tr td:first-child {
    font-weight: 400 !important;
}

/* table tr td:first-child strong,
table tr td:first-child b {
    font-weight: inherit !important;
} */

table tr td:not(:first-child) {
    font-weight: 400;
}

table tr td>p,
table tr td>ul,
table tr td>ol,
table tr td>div {
    display: block;
    margin-bottom: 10px;
}

table tr td:first-child>p:last-child,
table tr td:first-child>ul:last-child,
table tr td:first-child>ol:last-child,
table tr td:first-child>div:last-child {
    margin-bottom: 0;
}

/* Column widths */
.table-50-50{
    th:first-child:nth-last-child(2),
    td:first-child:nth-last-child(2) {
        width: 50%;
    }

    /* Target the sibling of that specific first column (effectively the 2nd column in a 2-column layout) */
    th:first-child:nth-last-child(2)~th,
    td:first-child:nth-last-child(2)~td {
        width: 50%;
    }
}

/* Target the 1st column, BUT ONLY if it is also the 2nd from the last (meaning there are exactly 2) */
th:first-child:nth-last-child(2),
td:first-child:nth-last-child(2) {
    width: 30%;
}

/* Target the sibling of that specific first column (effectively the 2nd column in a 2-column layout) */
th:first-child:nth-last-child(2)~th,
td:first-child:nth-last-child(2)~td {
    width: 70%;
}

/* Target the 1st column (when there are exactly 3) */
th:first-child:nth-last-child(3),
td:first-child:nth-last-child(3) {
    width: 22%;
}

/* Target the siblings (the 2nd and 3rd columns) */
th:first-child:nth-last-child(3)~th,
td:first-child:nth-last-child(3)~td {
    width: 39%;
}

/* Target the 1st column (when there are exactly 4) */
th:first-child:nth-last-child(4),
td:first-child:nth-last-child(4) {
    width: 20%;
}

/* Target the siblings (the 2nd, 3rd, and 4th columns) */
th:first-child:nth-last-child(4)~th,
td:first-child:nth-last-child(4)~td {
    width: 26%;
}

/* Mobile: equal width columns */
@media (max-width: 640px) {
    table {
        width: 100% !important;
    }

    th,
    td {
        width: auto !important;
        max-width: none;
    }
}

th,
td {
    vertical-align: top;
    padding: 20px !important;
    text-align: left;

    @media (max-width: 640px) {
        padding: 10px !important;
    }
}

/* Table cell borders */
td {
    border: 1px solid var(--bleu-100-texte);
}

thead {
    border-bottom: 0 !important;
}

/* Header styling */
th {
    background-color: var(--bleu-100-texte);
    color: var(--blanc);
    font-weight: bold;
}

thead th:first-child {
    border-left: 1px solid var(--bleu-100-texte);
}

/* Put a white border on the right of ALL header cells */
thead th {
    border-right: 1px solid white !important;
}

/* Put back the normal border on the last header cell */
thead th:last-child {
    border-right: 1px solid var(--bleu-100-texte) !important;
}

.wp-block-table th {
    border: unset;
}


/* Move figcaption above the table visually */
figure.wp-block-table {
    display: flex;
    flex-direction: column;
}

figure.wp-block-table figcaption {
    order: -1;
    font-size: 18px;
    color: var(--bleu-100-texte);
    font-weight: 700;
    margin-bottom: 16px;
    margin-top: 0;
}

td>ul:first-of-type:first-child {
    margin-top: 0 !important;
}

td>ul:last-child {
    margin-bottom: 0;
}


.h1-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px !important;
    text-align: center !important;
    background: var(--gradient-blue);

    @media (max-width: 1024px) {
        flex-direction: column;
        padding: 29px 16px !important;
        align-items: center;
    }

    .h1-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 1100px;
        position: relative;
        flex-wrap: wrap;

        @media (max-width: 1024px) {
            flex-direction: column;
            align-items: center;
        }

        h1,
        p {
            font-size: var(--h1-page-font-size) !important;
            line-height: var(--h1-page-line-height) !important;
            font-weight: 700;
            margin: 0;
            text-align: center;
            max-width: 600px;

            @media (max-width: 1024px) {
                order: 2;
            }

            @media (max-width: 640px) {
                order: 2;
                font-size: var(--mobile-h1-page-font-size) !important;
                line-height: var(--mobile-h1-page-line-height) !important;
            }
        }

        figure {
            position: absolute;
            right: 0;
            max-width: 300px;

            @media (max-width: 1024px) {
                position: static;
                order: 1;
                margin-bottom: 10px;
                max-width: 170px;
            }

            @media (max-width: 640px) {
                max-width: 112px;
            }
        }
    }
}


.h1-container--subsection-bleu,
.h1-container--subsection-vert {
    height: 280px;

    @media (max-width: 640px) {
        height: 200px;
    }
}

/* Subsection Blue */
.h1-container--subsection-bleu {
    background: var(--gradient-blue-subsection);
}

/* Subsection Green */
.h1-container--subsection-vert {
    background: var(--gradient-green-subsection);

    h1 {
        color: var(--vert-100);
    }
}

/* Content Blue */
.h1-container--contenu-bleu {
    background: var(--bleu-40-bg);

    h1 {
        font-size: var(--h1-font-size) !important;
        line-height: var(--h1-line-height) !important;

        @media (max-width: 640px) {
            font-size: var(--mobile-h1-font-size) !important;
            line-height: var(--mobile-h1-line-height) !important;
        }
    }
}

/* Content Green */
.h1-container--contenu-vert {
    background: var(--vert-40-bg);

    h1 {
        color: var(--vert-100);
        font-size: var(--h1-font-size) !important;
        line-height: var(--h1-line-height) !important;

        @media (max-width: 640px) {
            font-size: var(--mobile-h1-font-size) !important;
            line-height: var(--mobile-h1-line-height) !important;
        }
    }
}


/* Breadcrumbs */
.breadcrumbs {
    box-sizing: content-box;
    font-size: var(--breadcrumb-font-size);
    line-height: var(--breadcrumb-line-height);
    font-weight: 400;
    color: var(--gris-60);
    padding: 8px 40px !important;

    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;

    a {
        color: var(--gris-60);
        text-decoration: none;

        &:hover {
            text-decoration: underline;
        }
    }

    @media (max-width: 1024px) {
        font-size: var(--mobile-breadcrumbs-font-size);
        line-height: var(--mobile-breadcrumbs-line-height);
        padding: 8px 40px !important;
    }

    @media (max-width: 640px) {
        padding: 8px 16px !important;
    }
}

.breadcrumb-separator {
    display: inline-flex;
    align-items: center;

    img {
        width: 16px;
        height: 16px;
        display: block;
    }
}

.breadcrumbs.has-content {
    position: relative;
}

.breadcrumbs.has-content::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100vw;
    border-bottom: 1px solid var(--gris-20);
    pointer-events: none;
}


/* a {
    text-decoration: underline;
    font-weight: 400;

    &:hover {
        color: var(--bleu-80-principal);
    }
} */

.custom-dropdown {
    position: relative;
    display: inline-block;

    .selected {
        font-family: 'Source Sans 3', sans-serif !important;
        font-weight: 500 !important;
        font-size: 16px !important;
        color: var(--bleu-100-texte) !important;
        border: 1px solid var(--bleu-100-texte) !important;
        border-radius: 15px !important;
        padding: 4px 12px 4px 16px !important;
        max-height: 32px !important;
        white-space: nowrap;
        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;

        .dropdown-arrow-img {
            width: 12px;
            height: 12px;
            flex-shrink: 0;
            margin-left: auto;
        }
    }

    .dropdown-options {
        z-index: 1000;
        display: none;
        background: var(--blanc);
        border-end-end-radius: 5px !important;
        border-end-start-radius: 5px !important;
        border-top-left-radius: 5px !important;
        border-top-right-radius: 0 !important;
        color: var(--bleu-100-texte);
        position: absolute;
        top: -22px;
        left: 0;
        border: 1px solid var(--bleu-100-texte) !important;
        list-style: none;
        padding: 0 !important;
        overflow: hidden;
        cursor: pointer;

        li {
            padding: 4px 16px 4px 16px !important;
            font-size: 16px;
            font-weight: 500;
            white-space: nowrap;

            &:hover {
                background-color: var(--bleu-40-bg);
                color: var(--bleu-100-texte);
            }
        }
    }

    &:hover .dropdown-options {
        display: block;
    }
}

/* Specific dropdown widths to match their widest option */
#post-per-page-dropdown .selected {
    min-width: 115px;
}

#category-filter-dropdown .selected {
    min-width: 175px;
}

/* Ouverture au clic / clavier : toutes les options restent dans le DOM */
#category-filter-dropdown .dropdown-options.show {
    display: block;
}

#category-filter-dropdown .dropdown-options li.is-active {
    background-color: var(--bleu-40-bg);
}

#a-propos .selected {
    min-width: 195px;
    justify-content: center;

    .dropdown-arrow-img {
        margin-left: 0;
    }
}

#a-propos:hover .selected,
#a-propos:focus-within .selected {
    justify-content: space-between;

    .dropdown-arrow-img {
        margin-left: auto;
    }
}

.scroll-btn {
    position: fixed;
    bottom: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Default position for lexique */
.has-lexique .scroll-btn {
    left: calc(50% + 460px + 12px);
}

/* Different position for contenu */
.has-contenu .scroll-btn {
    left: calc(50% + 490px + 12px);
}

/* Position for a-propos */
.has-apropos .scroll-btn {
    left: calc(50% + 460px + 12px);
}

@media (max-width: 1024px) {
    .scroll-btn {
        display: none;
    }
}

.searchwp-highlight {
    color: inherit !important;
    background-color: #DBE2EE !important;
    border-radius: 2px;
}

#btn-voir-plus {
    display: none;
}

.neg-indent {
    text-indent: -5cm;
    padding-left: 5cm;
}

/* Info Bulle */
.tooltip {
    position: relative;
    display: inline;
    white-space: normal;
    cursor: pointer;
    -webkit-text-decoration-line: underline;
    -webkit-text-decoration-style: dotted;
    -webkit-text-decoration-color: var(--color-0E7399);
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-color: var(--color-0E7399);
    text-underline-offset: 3px;
}

.tooltip-inline-end {
    white-space: nowrap;
}

.tooltip-inline-end::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("/wp-content/uploads/2025/11/icon-lexique.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 2px;
    vertical-align: middle;
    text-decoration: none;
}


.tooltip[aria-expanded="true"] .tooltipcontent {
    visibility: visible !important;
    opacity: 1 !important;
}

.tooltip .tooltipcontent:focus-visible {
    visibility: visible;
    opacity: 1;
}

.tooltip .tooltipcontent {
    font-size: 15px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
    white-space: normal;
    visibility: hidden;
    width: max-content;
    max-width: 250px;
    background-color: var(--gris-10-bg) !important;
    color: inherit !important;
    text-align: left;
    border-radius: 6px !important;
    padding: 10px;
    position: absolute;
    z-index: 1;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    text-decoration: none;
    outline: none;
    border: 2px dotted var(--bleu-80-principal) !important;
}

.tooltip .tooltipcontent .tooltiptitle {
    font-weight: 700 !important;
    display: block;
    margin-bottom: 10px;
}

.tooltip:focus-visible {
    outline: 2px solid black;
    outline-offset: 2px;
}

a[target="_blank"] {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.hanging-indent {
    padding-left: 0.5cm;
    text-indent: -0.5cm;
    color: var(--gris-60) !important;
    overflow-wrap: anywhere;
    word-break: break-word;

    a {
        display: inline;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    em {
        font-weight: 400 !important;
    }

    .external-icon {
        display: none;
    }
}
.external-icon{
    margin-left: 5px;
}

.external-icon {
    margin-bottom: -4px;
}
table a[target="_blank"] {
    display: inline !important;
}



.search-query-bold {
    font-weight: 700 !important;
}

.noresults-des {
    padding-top: 20px !important;
    font-weight: 400 !important;
}

.no-resultsdes {
    font-weight: 400 !important;
    padding-bottom: 20px !important;
}

/* Hide SearchWP live search results container when showing */
.searchwp-live-search-results-showing {
    display: none !important;
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background-image: url("/wp-content/uploads/2026/02/icon-effacer-mot.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.note {
    font-size: 0.6em;
    color: var(--bleu-100-texte) !important;

    svg {
        width: 16px !important;
        height: 16px !important;
    }
}
.padding-left-28{
    padding-left: 28px !important;
}
.margin-left-minus-28{
    margin-left: -28px !important;
}
.wp-block-table {
    overflow: visible !important;
  }
  
  .wp-block-table table {
    width: 100% !important;
  }

  .table-equal-column{
    th:first-child:nth-last-child(2),
    th:first-child:nth-last-child(2)~th
     {
        width: 50% !important;
    }
  }
    .table-20-80{
        th:first-child:nth-last-child(2),
        td:first-child:nth-last-child(2) {
                width: 20% !important;
        }

        th:first-child:nth-last-child(2)~th,
        td:first-child:nth-last-child(2)~td {
                width: 80% !important;
        }
    }
  .table-75-25{
    th:first-child:nth-last-child(2){
        width: 75% !important;
    }
    th:first-child:nth-last-child(2)~th{
        width: 25% !important;
    }
  }
  .table-50-50 {
    th:first-child:nth-last-child(2),
    td:first-child:nth-last-child(2) {
            width: 50% !important;
    }

    th:first-child:nth-last-child(2)~th,
    td:first-child:nth-last-child(2)~td {
            width: 50% !important;
    }
  }
    .table-50-25-25{
        th:first-child:nth-last-child(3),
        td:first-child:nth-last-child(3) {
                width: 50% !important;
        }

        th:first-child:nth-last-child(3)~th,
        td:first-child:nth-last-child(3)~td {
                width: 25% !important;
        }
    }
    .tooltip * {
        font-style: normal !important;
    }

    ol > li > ul {        
        list-style-type: disc;
        list-style-position: outside;
    }

    ol > li > ul > li > ul {
        list-style-type: circle;        
        margin-bottom: 0 !important;
    }

    ol > li > ul > li > ul > li > ul {
        list-style: none;        
        margin-bottom: 0 !important;
    }
    ol > li > ul > li > ul > li > ul > li {
        padding-left: 1em;
    }
    ol > li > ul > li > ul > li > ul > li::before {
        content: "–";
        display: inline-block;
        width: 1em;
        margin-left: -1em;
        color: inherit;
        font-size: 0.9em;
        vertical-align: middle;
    }

    ul > li > ul > li > ul {
        list-style: none;
        margin-bottom: 0 !important;
    }
    ul > li > ul > li > ul > li {
        padding-left: 1em;
    }
    ul > li > ul > li > ul > li::before {
        content: "–";
        display: inline-block;
        width: 1em;
        margin-left: -1em;
        color: inherit;
        font-size: 0.9em;
        vertical-align: middle;
    }
.margin-bottom-0{
    margin-bottom: 0 !important;
}

@media (max-width: 640px) {
    .contenu-container,
    .contenu-container .contenu,
    .dropdown-contenu,
    .a-propos-container,
    .entry-content,
    .wp-block-post-content,
    .is-layout-constrained {
        min-width: 0;
        max-width: 100%;
    }

    .table-scroll {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        contain: inline-size;
    }

    .table-scroll table {
        min-width: 800px;
        table-layout: fixed;
    }

    .table-scroll th:first-child,
    .table-scroll td:first-child {
        width: 50vw !important;
    }
}
.wp-block-list.alphabetique {
    list-style-type: upper-alpha;
}

.sous-menu-page-container{
    h2.wp-block-heading {
        display: block;
        padding: 0;
        position: relative;
        a {
            display: block;
            padding: 10px 50px 10px 10px;
            position: relative;
            z-index: 999;
        }
        &::after
        {
            position: absolute;
            top: calc(50% - 15px)!important;
            right: 10px;
            z-index: 1;
        }
    }
}