/* FULL HTML */

strong {
    font-weight: 500;
}

.full-html ul > li:not(.sidebar-menu__item),
.texte-riche ul > li:not(.sidebar-menu__item) {
    list-style: none;
    display: flex;
    align-items: flex-start;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.5625rem;
    color: #2E2E2E;
    margin-block-start: 0 !important;
}

.full-html ul > li:not(.sidebar-menu__item)::before,
.texte-riche ul > li:not(.sidebar-menu__item)::before {
    content: "\e900";
    font-family: "onacvg-icons";
    font-size: 0.5rem;
    font-weight: 300;
    color: #A92931;
    margin-right: 15px;
}


/* Titre bleu */
.titre-bleu {
    color: #132A67 !important;
    font-size: 1.875rem !important;
    font-weight: 500 !important;
    line-height: 1.5625rem !important;
}


/* =========================
   ACCORDÉON 
========================= */
.fr-accordion:before{
    box-shadow: none !important
}


.fr-accordion ul>li {
    list-style: none !important;
    position: relative !important;
    padding-left: 1.4rem !important;
    color: #132A67 !important;
    font-weight: 500 !important;
}

.fr-accordion ul>li::before {
    content: "\2713" !important;
    color: white !important;
    font-family: "onacvg-icons" !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.fr-accordion__btn::after {
    --icon-size: 1rem !important;
    content: "\e906";
    font-size: 0.5rem;
    font-weight: 400;
    font-family: "onacvg-icons";
    color: white;
}

.accordeon-custom-title {
    border-bottom: 1px solid rgb(19, 42, 103);
    padding-bottom: 0px;
}

p.sous-titre-accordeon {
    margin-left: -13px;
    margin-top: -15px;
}

.accordeon-custom-title button,
.sous-titre-accordeon {
    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    color: #132A67 !important;
    padding: 0 !important;
    background-color: transparent !important;
}

/* .fr-accordion__btn:focus {
    border: #132a67 1px solid;
} */

.custom-accordeon {
    justify-content: space-between;
}

.custom-accordeon-content {
    font-family: 'Montserrat', "Arial", sans-serif;
    max-width: 45%;
    font-weight: 500 !important;
    color: #132a67 !important;
    margin-top: 3%;
    margin-left: -4%;
}


/* =========================
   APERÇU CONTENU 
========================= */
.apercu-contenu {
    gap: 40px;
}

.apercu-contenu__image {
    flex: 0 0 22%;
    max-width: 22%;
    width: 22%;
}

.apercu-contenu-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.apercu-contenu__title {
    font-family: 'Karma' !important;
    font-weight: 400 !important;
    line-height: 2.5rem !important;
    margin-bottom: 20px !important;
    color: black !important;
    font-size: 1.5625rem !important;
    line-height: 1.875rem !important;
}

.cat_actu,
.cat_date {
    display: inline !important;
    font-size: 0.75rem !important;
    line-height: 1.25rem !important;
    font-family: Montserrat, Arial, sans-serif !important;
    font-weight: 400 !important;
}

.cat_actu {
    color: #A92931 !important;
}

.cat_date {
    color: #132A67 !important;
}

.fr-link-contenu {
    font-size: 12px !important;
    line-height: 25px !important;
    font-weight: 400 !important;
    font-family: Montserrat, Arial, sans-serif !important;
    color: rgb(19, 42, 103);
}

/* =========================
   BLOC TÉLÉCHARGEMENT 
========================= */
.bloc_telechargement,
.bloc_telechargement__file {
    background-color: #fff;
    border-radius: 3px;
}

.bloc_telechargement__file .btn {
    width: 250px;
}

.bloc_telechargement-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
}

.bloc_telechargement__title{
    font-family: 'Karma' !important;
    font-weight: 400 !important;
    line-height: 2.5rem !important;
    margin-bottom: 20px !important;
    color: black !important;
    font-size: 1.375rem !important;
}

.bloc_telechargement__image img {
    max-height: 215px;
}

.bloc_telechargement__image {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    justify-content: center;
    max-width: 200px;
    text-align: center;
    border-right: 2px solid #F2F2F2;
}

.icon-download::before {
    content: "\e90b";
    color: #fff;
    font-size: 1.5rem;
    font-family: 'onacvg-icons';
}

.btn {
    font-size: 12px;
    font-weight: 400;
}

.btn.two-tones {
    background-color: #fff;
    padding: 0;
}

.btn.two-tones::after {
    display: none;
}

.btn.two-tones>* {
    align-items: center;
    display: flex;
    height: inherit;
    justify-content: center;
}

.btn.two-tones .icon {
    background: #0D7BC6;
    font-size: 20px;
    border-radius: 3px 0 0 3px;
    flex-shrink: 0;
    width: 70px;
}

.btn.two-tones .bg-lightblue,
.btn.two-tones .icon {
    border-radius: 3px 0 0 3px;
    flex-shrink: 0;
    width: 70px;
}

.btn.two-tones .bg-darkblue,
.btn.two-tones .link-title {
    border-radius: 0 3px 3px 0;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
}

.btn.two-tones .link-title {
    transition: color 0.4s, background-color 0.4s;
}

.btn.two-tones .bg-darkblue::before,
.btn.two-tones .link-title::before {
    background: #0D7BC6;
    bottom: 0;
    content: '';
    left: 0;
    position: absolute;
    top: 0;
    transition: all 0.4s;
    width: 0;
    z-index: -1;
}

.btn.two-tones:hover .link-title::before {
    width: 100%;
}

.btn,
.btn.two-tones .bg-darkblue,
.btn.two-tones .link-title,
.btn a {
    transition: color 0.4s, background-color 0.4s;
}

.file .btn {
    height: 60px;
}

.file .btn .icon {
    font-size: 24px;
}

.file .btn .link-title {
    display: flex;
    flex-direction: column;
    background-color: #132a67;
}

.fr-btn {
    --hover-tint: var(--hover);
    --idle: transparent;
    --hover: var(--background-action-high-blue-france-hover);
    --active: var(--background-action-high-blue-france-active);
    align-items: center;
    padding-left: 0;
}

.sidebar-right .bloc_telechargement__image {
    margin: 0 auto;
}

.sidebar-right .bloc_telechargement-content {
    text-align: center;
}

.sidebar-right .bloc_telechargement-content p {
    font-size: 20px !important;
    line-height: 30px !important;
    font-weight: 400 !important;
}

/* =========================
   CITATION (citation.php)
========================= */
.pdb-fr-quote {
    border-left: 2px solid #A92931;
    margin: 70px 0;
    padding: 35px 60px 35px 45px !important;
    background: transparent;
    font-family: 'Karma', serif;
    position: relative;
    width: fit-content;
}

.pdb-fr-quote::before,
.pdb-fr-quote::after {
    display: none !important;
}

.pdb-fr-quote__line {
    position: absolute;
    left: -2px;
    width: 70px;
    height: 2px;
    background: #A92931;
    display: block;
}

.pdb-fr-quote__line--top {
    top: 0;
}

.pdb-fr-quote__line--bottom {
    bottom: 0;
}

.pdb-fr-quote blockquote {
    margin: 0;
    padding: 0;
    width: 100%;
}

.pdb-fr-quote blockquote p {
    color: #000 !important;
    font-family: 'Karma' !important;
    font-size: 2.1875rem !important;
    font-weight: 400 !important;
    line-height: 3.125rem !important;
    margin: 0 !important;
    word-break: break-word;
}

.pdb-fr-quote figcaption {
    margin-top: 0.5rem;
    width: 100%;
}

.pdb-fr-quote .pdb-fr-quote__author {
    font-style: italic !important;
    font-weight: 300 !important;
    font-size: 0.875rem !important;
    color: #666;
    margin: 15px 0 -15px 0;
    font-family: 'Montserrat', "Arial", sans-serif;
}

/* =========================
   LIENS SUR FOND BLANC 
========================= */
.lsfb-custom {
    margin-top: 0 !important;
    margin-bottom: 0.1rem !important;
}

.pdb-link {
    max-width: 85%;
}

.pdb-liens_sur_fond_blanc__links {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 3px !important;
    align-items: center;
}

.pdb-liens_sur_fond_blanc__links .fr-link {
    text-decoration: none;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pdb-liens_sur_fond_blanc__links a {
    color: #000;
    font-family: 'Karma';
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 2.0625rem;
}

.pdb-liens_sur_fond_blanc__links a.fr-link[target="_blank"] {
    position: relative;
    justify-content: space-between;
    padding-right: 1.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2.2rem;
}

.pdb-liens_sur_fond_blanc__links a.fr-link[target="_blank"]::after {
    content: "";
    width: 1.8rem;
    height: 1.8rem;
    display: inline-block;
    background-repeat: no-repeat;
}

.external-link-line::before {
    content: "\e90c";
    color: #132A67;
    font-family: 'onacvg-icons';
    font-size: 1.25rem !important;
    font-weight: 400 !important;
}

a.fr-link {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1rem;
    color: #000091;
}

a::after {
    content: none !important;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}


/*
Droit et demarche
*/
.demarche-liee {
    justify-content: space-between;
}


/* =========================
   RESPONSIVE — TABLETTE / PETIT DESKTOP (max-width: 1059px)
========================= */
@media (max-width: 1059px) {

    .bloc_telechargement__image:not(.demarche-bloc-telechargement) {
        display: none !important;
    }

    .separation {
        display: none !important;
    }

    /* Citation */
    .pdb-fr-quote {
        padding: 30px 0 15px 30px !important;
    }

    .pdb-fr-quote blockquote p {
        font-size: 1.25rem !important;
        line-height: 1.5625rem !important;
        font-weight: 400 !important;
    }

    .pdb-fr-quote__line {
        left: -2px;
        width: 8%;
    }

    .pdb-fr-quote__author {
        font-size: 0.875rem !important;
    }

    /* Liens fond blanc */
    #page-de-base .pdb-liens_sur_fond_blanc__links {
        padding: 1.875rem 0 1.5625rem !important;
    }

    .pdb-liens_sur_fond_blanc__links a {
        font-size: 1.125rem !important;
    }

    /* Boutons / fichier */
    .icon-download, 
    .link-title:not(.link-title-accordeon) {
        color: #132A67 !important;
    }

    .icon-download:before{
        color: #2e2e2e !important;
    }

    .btn.two-tones .icon, 
    .link-title:not(.link-title-accordeon)   {
        color: #2e2e2e !important;
        background: none !important;
    }

    .btn.two-tones:hover,
    .btn.two-tones:hover .link-title:not(.link-title-accordeon)::before   {
        background: none !important;
    }
    .btn.two-tones:hover .link-title:not(.link-title-accordeon) {
        transition: none !important;
    }
    

    .file .btn .link-title:not(.link-title-accordeon),
    .file-info {
        display: flex !important;
        flex-direction: row !important;
        background-color: transparent !important;
    }

    .file-info {
        width: 200px;
    }

    .link-title {
        font-family: Montserrat, Arial, sans-serif !important;
        font-size: 0.75rem !important;
        font-weight: 400 !important;
        line-height: 1rem !important;
    }

    /* Aperçu contenu */
    #page-de-base .apercu-contenu-content {
        padding-left: 0 !important;
    }

    .apercu-contenu,
    .apercu-contenu-content p {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .apercu-contenu__title {
        font-size: 1.5625rem !important;
        line-height: 1.875rem !important;
    }

    .cat_date,
    .cat_actu {
        margin-top: 3%;
        font-size: 0.75rem !important;
        line-height: 1rem !important;
    }

    /* Liens génériques */
    a.fr-link:not(.pdb-liens_sur_fond_blanc__links *) {
        color: #132A67 !important;
        font-size: 0.75rem !important;
        font-weight: 400;
        text-decoration: underline;
        text-transform: uppercase;
        transition: color 0.4s;
        margin-top: 10px;
    }

    /* Bloc téléchargement */
    .bloc_telechargement__title {
        font-family: 'Karma', serif !important;
        font-size: 1.125rem !important;
        font-weight: 400 !important;
        line-height: 1.375rem !important;
    }

    .bloc_telechargement__file {
        background-color: #fff !important;
        border-radius: 3px !important;
        margin: -25px 0 0 -20px !important;
    }

    .bloc_telechargement-content {
        padding: 20px 30px !important;
    }

    .fr-btn {
        --hover-tint: none;
        --idle: none;
        --hover: none;
        --active: none;
        align-items: center;
        padding-left: 0;
    }
}

/* =========================
   RESPONSIVE — MOBILE (max-width: 768px)
========================= */
@media (max-width: 768px) {

    .bloc-telechargement {
        display: flex;
        flex-direction: column;
    }

    .bloc-telechargement__left,
    .bloc-telechargement__right {
        width: 100%;
        text-align: center;
        border-right: none;
    }

    .bloc-telechargement__left {
        border-bottom: 1px solid #dcdcdc;
    }

    .bloc-telechargement__btn {
        justify-content: center;
    }
}