/*
** LMS styles
*/

:root {
    --primary-color: #4aa271;
}

* {
    user-select: none;
   -khtml-user-select: none;
   -o-user-select: none;
   -moz-user-select: -moz-none;
   -webkit-user-select: none;
}

::selection { background: transparent;color:inherit; }
::-moz-selection { background: transparent;color:inherit; }

.learner-course-header {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 1em 1.5em;
}

.learner-course-title {
    font-size: 1.75em;
    font-weight: 500;
    margin: 0;
}

.learner-progress-text {
    font-size: 0.9em;
    font-weight: 300;
    color: #666;
    margin-left: 1em;
}

.learner-course-header-buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
    font-weight: 300;
    gap: 2em;
}

.navigation-link {
    font-size: 0.9em;
    display: flex;
    color: #888;
    text-decoration: none;
    align-items: center;
    line-height: 1em;
}

.navigation-link.disabled {
    cursor: not-allowed;
    color: #ddd;
}

.sidebar {
    height: calc(100vh - 2em - 8px - 45.203px);
    border-right: 1px solid #CCC;
    display: flex;
    flex-direction: column;
    padding: 2.5em 1.5em 1em;
}

.lesson-content {
    padding: 3em 3em 1em;
    height: calc(100vh - 2em - 8px - 45.203px);
    overflow-y: scroll;
    text-align: justify;
}

.lesson-content>.lesson-title {
    color: var(--bs-success);
    margin-bottom: 1.5em;
}

.lesson-footer{
    bottom: 1em;
    right: 3em;
}

.lesson-content-content {
    font-size: 1.1em;
    line-height: 1.7em;
}

.lesson-content-content p {
    margin-bottom: 1em;
}

.lesson-content-content ul, .lesson-content-content ol {
    margin-top: -1em;
}

.lesson-content-content h4 {
    margin-top: 2.5em;
    margin-bottom: 1em;
}

.modules {
    overflow: auto;
    overscroll-behavior: contain;
}

.module {
    margin-bottom: 2em;
}

.module h2 {
    font-weight: 500;
    font-size: 1.1em;
    color: var(--bs-success);
    margin-bottom: 1em;
}

.module ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9em;
    font-weight: 300;
}

.module ul li {
    display: flex;
    gap: 0.75em;
    padding: 0.3em 0;
}

.module ul li.active {
    color: var(--bs-success);
    cursor: initial;
    font-weight: 500;
}

.module ul li a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.module ul li a:hover {
    font-weight: 600;
    color: var(--bs-success);
}

.student-links {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2em 1em 0;
}

.contact-teacher {
    margin-bottom: 1em;
}

.learner-button {
    font-size: 0.9em;
    font-weight: 500;
    padding: 0.75em 1em;
    border: 1px solid #111;
    color: #111;
    background: transparent;
    transition: all 300ms;
}

.finished-lesson-button {
    background-color: white;
    opacity: 0.8;
}

.finished-lesson-button:disabled {
    background-color: #fff;
    opacity: 0.8;
}

.learner-button:hover {
    color: white;
    border-color: var(--bs-success);
    background-color: var(--bs-success);
}

.return-to-dashboard {
    font-size: 0.75em;
    font-weight: 300;
    text-decoration: none;
    color: #444;
}

.return-to-dashboard:hover {
    color: var(--bs-success);
    text-decoration: underline;
    font-weight: 500;
}

.nostyles {
    width: 100%;
}

.paars {
    font-weight: bolder;
    color: #ff33cc;
}

.blauw {
    font-weight: bolder;
    color: #31849b;
}

.rood {
    font-weight: bolder;
    color: #ff0000;
}