html {
    font-family: Segoe UI;
}

.nextra-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #e0e0e0 #f4f4f4;
}

.main {
    max-width: 100%;
    /* max-width: 1760px; */
    margin: 0 auto;
    height: 100%;
    display: flex;
}

/* #sitemap, #content{
    height: 100%;
    overflow: auto;
} */

.hide {
    display: none;
}

#sitemap {
    width: 424px;
    min-width: 424px;
    box-sizing: border-box;
    background-color: #f4f4f4;
    padding: 0;
    overflow-x: hidden;
}

#sitemap h2,
#sitemap h3,
#sitemap h4 {
    font-weight: normal;
    font-size: 14px;
    padding: 10px 15px;
    margin: 0;
    color: rgb(107, 114, 128);
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sitemap h2 {
    font-size: 1.1em;
    position: sticky;
    top: 0;
    background-color: inherit;
}

#sitemap h2:hover,
#sitemap h3:hover,
#sitemap h4.data:hover,
#sitemap h2.selected,
#sitemap h3.selected,
#sitemap h4.selected {
    color: rgb(0, 76, 163);
    background-color: rgb(224, 239, 255);

    font-weight: 600;
}

#sitemap h2:hover,
#sitemap h3:hover,
#sitemap h4.data:hover {
    background-color: rgb(229, 231, 235)
}

#sitemap h4 {
    cursor: default;
}

#sitemap h4.data {
    cursor: pointer;
    padding-left: 20px;
    display: flex;
    align-content: center;
    gap: 10px;
}



#sitemap .module {
    padding-left: 20px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    display: none;
}

#sitemap .session {
    margin-left: 20px;
    border-left: 1px solid #8a8484;
    display: none;
}

#main-content {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #f9f9f9;
    position: relative;
    /* display: flex;
    flex-direction: column; */
}

#title {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;

    padding: 5px 0;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1em;
    font-weight: 600;

    min-height: 38px;
    box-sizing: border-box;
    position: sticky;
    top: 0;

}

.title-content {
    margin-left: 45px;
}

#title h1,
#title h2,
#title h3,
#title h4 {
    margin: 0;
    padding: 0;
    font-weight: bold;
    color: rgb(107, 114, 128);
    text-overflow: ellipsis;
    white-space: nowrap;
}

#title h1 {
    margin: 0px 10px 10px;
    margin-left: 60px;
    border-right: 1px solid rgb(107, 114, 128);
    padding-right: 20px;
}

#title h2 {
    margin: 0 10px 0px;
    margin-left: 60px;
}


#title h3 {
    width: 100%;
    margin: 0 10px 0px;
    font-size: medium;
    font-weight: 700;
}

#title h4 {
    width: 100%;
    margin: 0 10px 0px;
    font-weight: 600;
    font-size: larger;
}

#title h4:empty {
    display: none;
}
#title h4:empty + #checkAll{
    display: none;
}

#checkAll{
    margin-left: 10px;
    margin-top: 10px;
}

#content {
    padding: 15px;
    flex: 1;
    overflow: auto;
}

button.btn-sitemap {
    width: 32px;
    height: 32px;
    position: absolute;
    margin: 0px;
    cursor: pointer;
    top: 0;
    z-index: 1;
}

button#btn-sitemap2 {
    margin: 5px;
    right: 5px;
    top: 7px;
}

@media screen and (max-width: 490px) {

    /* #sitemap {
        display: none;
    } */
    button#btn-sitemap2 {
        display: block;
    }

    /* button#btn-sitemap{
        display: none;
    }    */
}

@media screen and (min-width: 490px) {
    button#btn-sitemap2 {
        display: none;
    }

    button#btn-sitemap {
        display: block;
        margin: 8px;
    }

    #title {
        min-height: 48px;
    }

    #title h1,
    #title h2,
    #title h3 {
        font-size: 1.2em;
    }
}

.btn-sitemap img {
    width: 100%;
    height: 100%;
}

.file {
    margin: 6px 20px;
    display: flex;
    gap: 10px;
}

.file img {
    width: 20px;
    height: 20px;
}

.question {
    border: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid gray;
}
.answers {
    margin-bottom: 20px;
}
.answer-item {
    margin-bottom: 5px;
}
.answer-item label {
    margin-left: 5px;
}
.answer-item label.correct {
    color: green;
}
.answer-item label.wrong {
    color: red;
}
.question-check {
    margin-bottom: 20px;
}
.question-solutions {
    margin-bottom: 20px;
}
.question-solutions p {
    margin: 0
}
