/* Styles CSS pour la mise en page */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    width: 100vw;
    
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    
    overflow: hidden;
}

.toc-container {
    height: 100%;
    width: 300px;
    border-left : solid;
    border-right : solid;
    border-color: #64c5c9;
    overflow: auto;
    
}

.toc-container h2 {
    height: 100px;
    width: 100%;
    
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
    .toc-container .toc {
        padding-left: 12px;
    }
        .toc-container .toc .title_toc1 {
            padding-left: 5px;
            color: #64c5c9;
            font-family: sans-serif;
            font-weight: bold;
            font-size: 1.1em;
            text-decoration: none;
        }
        .toc-container .toc .title_toc2 {
            padding-left: 10px;
            color: #64c5c9;
            font-family: sans-serif;
            font-weight: bold;
            font-size: 1em;
            text-decoration: none;
        }
        .toc-container .toc .title_toc3 {
            padding-left: 15px;
            color: black;
            font-family: sans-serif;
            font-style: italic;
            font-size: 0.9em;
            text-decoration: none;
        }
        .toc-container .toc .title_toc4 {
            padding-left: 20px;
            color: black;
            font-family: sans-serif;
            font-style: italic;
            font-size: 0.8em;
            text-decoration: none;
        }





.main_page {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #F5F5F5;
    width: 100%;
    height: calc(100vh - 139px);
    flex: 1;
}

.bandeau_general {
    height: 139px;
    width: 100%;
    
    padding: 0 12px;
    
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    
    background: url(../img/bandeau-help.jpg) fixed no-repeat;
}
    .bandeau_general .premiere_partie {
        flex-grow: 1;
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .bandeau_general .title {
        color: #1c2833;
        text-decoration: none;
        font-family: sans-serif;
        background-color: #EDEFE3;
        padding: 5px;
        transition: .2s ease-in-out;

        font-size: 2.2rem;
        letter-spacing: 1px;
    }
    .bandeau_general  .title:hover {
            font-family: sans-serif;
            text-decoration: none;
            padding: 5px;
            background-color: #64c5c9;
            color: white;

            box-shadow: 0px 2px 6px 0 black;
            transition: .2s ease-in-out;
        }
    .bandeau_general .premiere_partie .menu {
        color: #1c2833;
        text-decoration: none;
        font-family: sans-serif;
        background-color: #EDEFE3;
        padding: 5px;
        transition: .2s ease-in-out;
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

        .bandeau_general .premiere_partie .menu:hover {
            font-family: sans-serif;
            text-decoration: none;
            padding: 5px;
            background-color: #64c5c9;
            color: white;
            box-shadow: 0px 2px 6px 0 black;
            transition: .2s ease-in-out;
        }

    .bandeau_general .search_container {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .bandeau_general .search_container .bottom {
        margin-top: 12px;
    }
        .bandeau_general .search_container .download {
            margin-top: 12px;
            color: #1c2833;
            text-decoration: none;
            font-family: sans-serif;
            background-color: #EDEFE3;
            padding: 5px;
            transition: .2s ease-in-out;
            font-size: 1.2rem;
            letter-spacing: 1px;
        }

            .bandeau_general .search_container .download:hover {
                font-family: sans-serif;
                text-decoration: none;
                padding: 5px;
                background-color: #64c5c9;
                color: white;
                box-shadow: 0px 2px 6px 0 black;
                transition: .2s ease-in-out;
            }
.content {
    height: calc(100vh - 139px);
    width: calc(100vw - 300px);
    margin: 15px;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #F5F5F5;
}
    .content p {
        font-family: sans-serif;
        color: #1c2833;
        font-family: Calibri
    }
    .content h1 {
        font-family: sans-serif;
        color: #64c5c9;
        font-family: Calibri
    }
    .content h2 {
        font-family: sans-serif;
        color: #64c5c9;
        font-family: Calibri
    }
    .content h3 {
        font-family: sans-serif;
        color: #1c2833;
        font-style: italic;
        font-family: Calibri
    }
    .content h4 {
        font-family: sans-serif;
        color: #1c2833;
        font-style: italic;
        font-family: Calibri
    }

    .img-resize {
    max-width: 50%;
    height: auto;
    display: block;
}
.highlight {
    background-color: yellow;
}
.highlight-current {
    background-color: lightgreen;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary {
    list-style: none;
    cursor: pointer;
}

details[open] summary::before{
    content: ''; 
    display: inline-block;
    width: 16px; 
    height: 16px; 
    background-image: url(../img/cicon2.png); 
    background-size: cover;
    transition: transform 0.3s ease-in-out;
}


details:not([open]) summary::before{
    content: ''; 
    display: inline-block;
    width: 16px; 
    height: 16px; 
    background-image: url(../img/cicon1.png); 
    background-size: cover;
    transition: transform 0.3s ease-in-out;
}