/* =============================================================================
   # RGAA
   ========================================================================== */

.a_blocappli {
    margin: 0;
}

.a_blocappli .StaticPage .underline {
    margin: 0;
}

.a_blocappli .a_titre1,
.a_blocappli .a_titre1ei_sronly,
.a_blocappli .ei_titlelabel.ei_mainblocfctl_title .ei_titletext {
    display: none;
    visibility: hidden;
}

.a_blocappli .ei_mainblocfctl a {
    color: #004494;
    word-break: break-word;
    text-decoration: underline;
}
.a_blocappli .ei_mainblocfctl a:hover {
    color: #212121;
    text-decoration: none;
}
.a_blocappli .ei_mainblocfctl ul {
    list-style: disc inside;
    margin: 0 0 20px 20px;
    color: #727275;
}

.a_blocappli .ei_mainblocfctl ul ul {
    margin-left: 40px;
    list-style: circle;
}

.a_blocappli .ei_mainblocfctl p,
.a_blocappli .ei_mainblocfctl li:last-child {
    margin-bottom: 20px;
}

.a_blocappli .ei_mainblocfctl li::marker {
    color: #E2001A;
    font-weight: bold;
}

/* =============================================================================
# RGAA - TITRES
========================================================================== */

.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_header:first-child .ei_titlelabel .ei_titletext,
.a_blocappli .ei_mainblocfctl .ei_fnblock .ei_fnblock_header .ei_titlelabel .ei_titletext {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 2rem;
    font-weight: 700;
}

.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext {
    padding: 0;
    margin: 2.5rem 0 1rem 0;
}

.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_header .ei_titlelabel {
    padding: 0;
}

.a_blocappli .ei_mainblocfctl .ei_fnblock .ei_fnblock_header .ei_titlelabel .ei_titletext {
    margin-bottom: 20px;
}

/* =============================================================================
# RGAA - SOUS-TITRES
========================================================================== */

.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_body .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext,
.a_blocappli .ei_mainblocfctl .ei_fnblock .ei_fnblock_body .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext {
    color: #3A3B41;
    text-transform: initial;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 1.7rem;
    font-weight: bold;
    margin: 0 0 10px 0;
}

.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_body .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext,
.a_blocappli .ei_mainblocfctl .ei_fnblock .ei_fnblock_body .ei_gpblock .ei_gpblock_header .ei_titlelabel {
    padding: 0;
}

/* =============================================================================
# RGAA - TABLEAU
========================================================================== */

.a_blocappli table,
.a_blocappli table thead tr th,
.a_blocappli table tbody tr th,
.a_blocappli table tbody tr td {
    border: 1px solid #1F284D;
    padding: 5px 15px !important;
    border-collapse: collapse;
    text-align: left;
    background-color: transparent;
    font-size: 1.5rem;
}

.a_blocappli table {
    margin-bottom: 20px;
    width: 100%;
}

.a_blocappli table thead tr th {
    text-transform: uppercase;
    vertical-align: middle;
    text-align: center;
}

.a_blocappli table thead tr th:first-child {
    text-align: left;
}

.a_blocappli table tbody tr th.rupture {
    border: 0;
}

.a_blocappli table tbody tr td:not(:first-child) {
    vertical-align: middle;
    text-align: center;
}

.a_blocappli table tbody tr td p:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 896px) {
    .a_blocappli table thead,
    .layout_default.layout_1c table th {
        position: initial;
        font-size: 1.3rem;
    }

    .a_blocappli table tr {
        display: table-row;
        border-top: 0;
        border-color: #212121;
    }

    .a_blocappli table td {
        display: table-cell;
        padding: 15px;
        font-size: 1.4rem !important;
        padding: 0 !important;
    }

    .a_blocappli table tbody tr td ul,
    .a_blocappli table tbody tr td ul li {
        font-size: 1.4rem;
    }

    .layout_default.layout_1c table p {
        font-size: 1.4rem !important;
    }

    .layout_default.layout_1c table th:first-of-type,
    .a_blocappli table tbody tr td:first-child {
        padding: 10px !important;
    }
}

/* =============================================================================
   # RGAA - ZONE "CONTACTS" (EX SUR PAGE : ./accessibilite/aide-accessibilite)
   ========================================================================== */

.a_blocappli .ei_mainblocfctl .ei_fnblock .ei_fnblock_body {
    border: 1px solid #327CD2;
    padding: 30px;
    margin: 0 10px;
}

/* =============================================================================
   # RGAA - ZONE "COLLAPSE" (EX SUR PAGE : ./accessibilite/schema-pluriannuel)
   ========================================================================== */

/* PERMET DE POSITIONNER LES SOUS-TITRES � GAUCHE ET LES BOUTONS + OU - � DROITE */
.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_body .devb_blockcenter .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext {
    display: flex;
    justify-content: space-between;
}

/* PERMET DE CENTRER LES BOUTONS + OU - SUR LA HAUTEUR */
.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_body .devb_blockcenter .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext span {
    display: flex;
}

/* FORCE L'ALIGNEMENT DU TEXTE, QUAND CE N'EST PAS UN TABLEAU, SUR LA GAUCHE */
.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_body .devb_blockcenter .ei_gpblock .ei_gpblock_body .bloctxt.info p {
    font-size: 1.6rem;
    text-align: left;
}

.a_blocappli .ei_mainblocfctl button {
    border-radius: 0;
    border: 1px solid rgba(0,68,148,1);
    background-color: rgba(0,68,148,1);
    padding: 0;
}

/* PERMET DE STYLISER LES BOUTONS + OU - */
.a_blocappli .ei_mainblocfctl .ei_gpblock .ei_gpblock_body .devb_blockcenter .ei_gpblock .ei_gpblock_header .ei_titlelabel .ei_titletext button span:first-child {
    padding: .375rem .75rem;
    background-color: rgba(0,68,148,1);
    color: #FFFFFF;
    width: 23.59px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =============================================================================
    # RGAA
   ========================================================================== */

/* RÈGLE SPÉCIFIQUE POUR CNCM-MEDIAS CONCERNANT LES BOUTONS + / - SUR LA PAGE ./ACCESSIBILITE/SCHEMA-PLURIANNUEL */

.a_blocappli .ei_mainblocfctl button {
    min-height: 26px;
}

/* =============================================================================
    # DIVERS
   ========================================================================== */

.infosRgpd .mentions p {
    font-size: 1.2rem !important;
    line-height: 130% !important;
}

.infosRgpd .formRow label {
    width: 100%;
}

.infosRgpd .inputField.contact + p {
    margin-top: 0;
}

.infosRgpd .warningBox {
    padding: 16px 40px;
    margin: 32px 0;
}

.infosRgpd .warningBox .text-container {
    display: flex;
    gap: 8px;
}
.infosRgpd .warningBox.warningBox-blue {
    border: solid 1px #006EA0;
    background-color: #EBF9FF;
}

.infosRgpd .warningBox .text-container::before {
    font-family: icoBTX;
}

.infosRgpd .warningBox.warningBox-blue .text-container::before {
    content: "info";
}

.infosRgpd .warningBox.warningBox-blue .text-container p {
    line-height: 150% !important;
}


/***************************************************************************************************************************/
/* Style pour formulaire */
/***************************************************************************************************************************/
.inputField {
    border-radius: 4px;
}
.mention.bloctxt {
    font-size: 1.4rem;
}
.mandatory::before {
    content: "*";
    display: inline-block;
    color: #d40202;
}
.formRgpdWrapper {
    margin-top: 16px;
}
#infosContactMail .btn{
    margin: auto;
    margin-top: 16px;
    display: block;
    padding: 12px 16px;
    border: none;
    background-color: #8181c2;
    font-size: 1.6rem;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

#infosContactMail .btn:focus,
#infosContactMail .btn:hover{
    background-color: #636397;
}

#infosContactMail .formRow textarea.inputField {
    width: 100%;
    min-height: 140px;
}
#infosContactMail .formRow .infos {
    text-align: right;
}
#infosContactMail .persoInfos .formRow {
    margin: 0;
    padding-bottom: 20px;
}
#infosContactMail .persoInfos input {
    width: 100%;
}
.form-error, label.error {
    position: absolute;
    bottom: 0px;
    margin: 0;
    font-size: 1.1rem;
}
.inputField.error {
    border-color: #d40202 !important;
}
@media screen and (min-width: 1000px) {
    #infosContactMail {
        width: 70%;
        margin: auto;
    }

    #infosContactMail .persoInfos {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        
    }
}

.bloctxt.mentions {
    margin-top: 16px;
}