﻿html, body {
    height: 100%; /* pour le scroll spy */
}
body {
    margin: 0;
    padding: 0 10px;
    line-height: normal;
    font-family: arial, helvetica, sans-serif;
}
p {
    margin-block-start: 1rem;
    margin-block-end: 1rem;
}
p, h1, h2, h3, h4 {
    text-align: left;
    line-height: normal;
}
/*span, h1, h2, h3, h4 {*/

h1, h2, h3 {
    font-weight: 700;
}
h1 {
    font-size: 2rem;
    margin-top: inherit;
    margin-bottom: inherit;
    margin-block-start: 1.34rem;
    margin-block-end: 1.34rem;
}
h2 {
    font-size: 1.5rem;
    margin-top: inherit;
    margin-bottom: inherit;
    margin-block-start: 1.245rem;
    margin-block-end: 1.245rem;
}
h3 {
    font-size: 1.17rem;
    margin-block-start: 1.17rem;
    margin-block-end: 1.17rem;
}
span {
    font-size: 10pt;
}
img {
    vertical-align: inherit;
    max-width: 100%;
}

#TableMatieres {
    font-size: 14px;
    padding-bottom: 20px;
}
@media (min-width: 1200px) {
    body {
        padding: 0;
    }
    #TableMatieres {
        position: sticky;
        top: 0;
        width: 285px; /* 1200px - 900px - 15px pour la barre de scroll vertical */
        padding: 15px 20px 15px 10px;
        max-height: 100vh;
        overflow: auto;
    }
}
#TableMatieres .collapse > div {
    display: flex;
    flex-direction: column;
}
#TableMatieres .menuItem {
    display: flex;
    padding: .5rem 0 .5rem 1.5rem;
}
#TableMatieres div.menuItem {
    padding-left: 0;
}
#TableMatieres a[data-bs-toggle=collapse] {
    width: 1.5rem;
}
#TableMatieres div.collapseContainer {
    margin-left: 30px;
}
#TableMatieres a {
    text-decoration: none;
    cursor: pointer;
}
#TableMatieres .bi.bi-chevron-right, #TableMatieres .bi.bi-chevron-down {
    -webkit-text-stroke: 2px;
}
#TableMatieres .collapseContainer .bi {
    font-size: 12px;
}
@media screen {
    #TableMatieres a.active {
        font-weight: 700;
    }
}

div#TableMatieres + div {
    max-width: 900px;
}

.pagebreak {
    page-break-after: always;
}

@media print {
    body {
        /*min-width: inherit !important;*/
        padding: 0;
    }
    #TableMatieres {
        font-size: 10pt;
        padding-bottom: 0;
    }
    #TableMatieres .collapse {
        display: inherit;
    }
    #TableMatieres .menuItem {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}