/* Base */
.courseindex {
    background: #fff;
    padding: 8px 0;
}

/* Section Title */
.courseindex .courseindex-section-title {
    padding: 14px 20px;
    background: transparent;
    transition: all 0.25s ease;
    margin: 2px 0;
}

.courseindex .courseindex-section-title:hover {
    background-color: #1D1E2C !important;
}

.courseindex .courseindex-section-title:hover .courseindex-link, .courseindex .courseindex-section-title:hover .courseindex-chevron {
    color: #ffffff !important;
}

.courseindex .courseindex-section-title.active,
.courseindex .courseindex-section.current .courseindex-section-title {
    background: #f0f2f5;
}

.courseindex .courseindex-section-title .courseindex-link {
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.courseindex .courseindex-section-title:hover .courseindex-link,
.courseindex .courseindex-section-title.active .courseindex-link {
    color: #2C2E43;
}

/* Subsection Container */
.courseindex .courseindex-item-content {
    background: #fafbfc;
    margin-left: 24px;
    border-left: 1px solid #e1e4e8;
}

/* Activity Items */
.courseindex .courseindex-item {
    padding: 10px 16px;
    /* margin: 2px 8px; */
    border-radius: 6px;
    transition: all 0.2s ease;
}

.courseindex .courseindex-item:hover {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.courseindex .courseindex-item.active {
    background: #fff;
    padding-left: 13px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.courseindex .courseindex-item .courseindex-link {
    color: #586069;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.courseindex .courseindex-item:hover .courseindex-link {
    color: #24292e;
}

.courseindex .courseindex-item.active .courseindex-link {
    color: #2C2E43;
    font-weight: 600;
}

/* Icons */
.courseindex .activityicon {
    opacity: 0.8;
}

.courseindex .activityicon img {
    width: 18px;
    height: 18px;
}

/* Lock Icon */
.courseindex .courseindex-section-title .fa-lock,
.courseindex .courseindex-section-title i[class*="lock"] {
    color: #dc3545;
}

/* Scrollbar */
.courseindex::-webkit-scrollbar {
    width: 8px;
}

.courseindex::-webkit-scrollbar-track {
    background: #f6f8fa;
}

.courseindex::-webkit-scrollbar-thumb {
    background: #d1d5da;
    border-radius: 4px;
}

.courseindex::-webkit-scrollbar-thumb:hover {
    background: #959da5;
}

.firstinitial, .lastinitial {
    display: none !important;
}

#usernavigation .popover-region:nth-child(2) {
    display: none !important;
}

#page-mod-quiz-review .comment, #page-mod-quiz-review .history, #page-mod-quiz-review .state, #page-mod-quiz-review .grade, #page-mod-quiz-review .editquestion, #page-mod-quiz-review .page-header-wrapper, #page-mod-quiz-review .secondary-navigation{
    display: none;
}

#page-footer-frontpage {
    display: none !important;
}
