.formation body:not(.modal *) {
    color: #402D26;
    background-color: #f5efeb;
    margin: 0 auto;
}

.formation .bandeau:not(.modal *) {
    width: 60%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.formation h1:not(.modal *),
.formation h2:not(.modal *),
.formation h3:not(.modal *) {
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 0;
}

.formation h1:not(.modal *) {
    font-size: 1.875rem;
    margin-top: 1.875rem;
    margin-bottom: 0.875rem;
}

.formation h2:not(.modal *) {
    font-size: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.formation h3:not(.modal *) {
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.25rem;
}

.formation .text_inside:not(.modal *) {
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 30px;
    line-height: 1.4;
}

.formation li.text_inside:not(.modal *) {
    line-height: 1.2;
    margin: 0px;
    padding-left: 1em; 
    text-indent: -1em;
}

.formation li.text_inside:not(.modal *)::before {
    content: "•"; /* Adds a bullet point before the item */
    padding-right: 0.5em; /* Space between the bullet point and the text */
    color: #000; /* Color for the bullet point */
}

.formation ul:not(.modal *) {
    margin: 0;
    margin-block-start: 0.6em;
    margin-block-end: 0.6em;
}

.formation li>ul:first-child:not(.modal *) {
    margin-block-start: 0.6em;
}

.formation ul>li:not(.modal *) {
    list-style: disc;
}

.formation ul:not(.modal *) {
    padding-inline-start: 1.7em;
}

.formation ul>li:not(.modal *) {
    padding-left: 0.1em;
}

.formation a:not(.modal *),
.formation a.visited:not(.modal *) {
    color: #283C53;
    text-decoration: none;
}  

.formation a:hover:not(.modal *) {
    color: #866246;
    text-decoration: underline;
}

.formation .table_of_contents-item:not(.modal *) {
    display: block;
    line-height: 1.3;
    padding: 0.125rem;
}

.formation .table_of_contents-indent-1:not(.modal *) {
    margin-left: 1.5rem;
}

.formation .table_of_contents-indent-2:not(.modal *) {
    margin-left: 3rem;
}

.formation .table_of_contents-indent-3:not(.modal *) {
    margin-left: 4.5rem;
}

.formation .table_of_contents-link:not(.modal *) {
    text-decoration: none;
    color: #402D26;
    border-bottom: px solid rgba(55, 53, 47, 0.18);
}

.formation table:not(.modal *),
.formation th:not(.modal *),
.formation td:not(.modal *) {
    border: 1px solid rgba(55, 53, 47, 0.09);
    border-collapse: collapse;
}
.formation table.no-style:not(.modal *) {
    border: inherit;
    border-collapse: inherit;
    border-bottom: inherit;
}

.formation th:not(.modal *),
.formation td:not(.modal *) {
    font-weight: normal;
    padding: 0.3em 0.6em;
    line-height: 1.5;
    min-height: 1.5em;
    text-align: left;
}

.formation thead th:not(.modal *) {
    font-weight: bold; 
    }
    
.formation .simple-table:not(.modal *) {
    empty-cells: show;
    margin: 1em;
    border-radius: 12px;
    border-collapse: separate; /* Important pour border-radius sur table */
    border-spacing: 0; /* Supprime l'espace entre les cellules */
    border: 1px solid #402D26; /* Ajoute une bordure pour visualiser l'arrondi */
    overflow: hidden; /* Permet de masquer le contenu débordant à l'intérieur de l'arrondi */
}

.formation .simple-table td:not(.modal *) {
    height: 29px;
    min-width: 120px;
}

.formation .simple-table th:not(.modal *) {
    height: 29px;
    min-width: 120px;
}

.formation .column-list:not(.modal *) {
    display: flex;
    justify-content: space-between;
}

.formation .column:not(.modal *) {
    padding: 0 1em;
}

.formation .column:first-child:not(.modal *) {
    padding-left: 0;
}

.formation .column:last-child:not(.modal *) {
    padding-right: 0;
}

.formation .code:not(.modal *),
.formation code:not(.modal *) {
    background: rgba(135, 131, 120, 0.15);
    padding: 0.2em 0.4em;
    border-radius: 10px;
    tab-size: 2;
}

.formation code:not(.modal *) {
    color: #eb5757;
}

.formation .code:not(.modal *) {
    font-family: "SFMono-Regular", Menlo, Consolas, "PT Mono", "Liberation Mono", Courier, monospace;
    background: white;
    display: inline-block;
    margin-left: 1em;
    padding-inline-start: 2em;
    padding-right: 10em;
    padding-bottom: 1em;
    padding-top: 1em;
    max-width: 100%; /* Assurez-vous que la boîte ne dépasse pas la largeur de son conteneur */
    overflow: auto; /* Ajoute une barre de défilement si le contenu déborde */
}

.formation .code>code:not(.modal *) {
    background: none;
    block-size: auto;
    padding: 0;
    font-size: 90%;
    color: #563C24;
}

:target::before { /* Permet de faire un décalage pour l'utilisation du sommaire avec la navbar */
    content: " ";
    display: block;
    height: 5.3rem;         /* hauteur de la partie fixe */
    margin-top: -5.3rem;    /* moins la hauteur de la partie fixe */
  }