.extension.disabled {
    pointer-events: auto;
    cursor: default;
}

a {
    color: $primary;
    &:hover {
        color: $secondary;
        text-decoration: none;
    }
}

.dropdown-item:active, .dropdown-item:hover, .dropdown-item:focus, .dropdown-item:focus-within {
    background-color: $primary;
}

.moremenu .nav-link.active {
    border-bottom-color: $secondary;
    &:hover,
    &:focus,
    &:active {
        border-bottom-color: $secondary;
        background-color: transparent !important;
    }
}

.simplesearchform .btn .icon {
    vertical-align: middle;
    font-size: 16px;
}

.secondary-navigation {
    margin-top: 25px;
    padding: 0;
    height: 60px;
    margin-bottom: 1em;
    .navigation {
        height: 60px;
        border: 0;
        background-color: #fff;
        border-radius: 8px;
        padding: 10px 20px 0 20px;
        box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
        margin: 0;
        .nav-tabs {
            li.nav-item {
                height: 50px;
                a.nav-link {
                    color: $graytext;
                    height: 100%;
                    padding-bottom: .875rem;
                    &.active {
                        color: $secondary;
                        font-weight: bold;
                        border-bottom-color: $primary
                    }
                    .pix_primarymenu {
                        display: none
                    }
                }
                &:hover {
                    a {
                        color: $primary;
                        background-color: transparent !important;
                    }
                }
            }
        }
    }
}

.tertiary-navigation {
    .navitem {
        .initials-selector {
            .dropdown-toggle {
                box-shadow: none;
                &:hover,
                &:active {
                    background-color: transparent !important;
                }
                &:focus,
                &:focus-visible {
                    border-color: transparent !important;
                }
            }
        }
        .tertiary-navigation-selector {
            .dropdown.select-menu {
                .dropdown-toggle {
                    box-shadow: none;
                    &:hover,
                    &:active {
                        background-color: transparent !important;
                    }
                    &:focus,
                    &:focus-visible {
                        border-color: transparent !important;
                    }
                }
                .dropdown-menu {
                    .dropdown-item {
                        &.active,
                        &:active,
                        &:hover,
                        &:focus,
                        &:focus-within {
                            background-color: #f5f5f8 !important;
                            color: $secondary !important;
                        }
                    }
                }
            }
        }
    }
}

.add_block_button{
    a {
        color: #bbb;
        background: transparent;
        border: 2px dashed #bbb;
        i {
            color: #bbb;
        }
    }
    &:hover {
        border-color: #aaa;
        a {
            color: #aaa !important;
            background: #f5f9fc;
            text-decoration: none !important;
            i {
                color: #aaa;
            }
        }
    }
}

.activity-add {
    color: #bbb;
    background: transparent;
    border: 2px dashed #bbb;
    .pluscontainer {
        border: 1px dashed #bbb;
    }
    &:hover {
        background: #f5f9fc;
        border-color: #aaa;
        color: #aaa;
        .pluscontainer {
            border-color: #bbb;
        }
        .activity-add-text {
            color: #aaa;
            text-decoration: none !important;
        }
    }
}

.changenumsections {
    border-top: 0;
    display: flex;
    padding: 0 !important;
    justify-content: flex-end;
    a {
        padding: .5rem;
        font-size: 12px;
        color: #fff !important;
        background-color: $secondary;
        border-color: $secondary;
        border-radius: 3px !important;
        &:hover {
            filter: brightness(85%);
            text-decoration: none;
        }
    }
}

.page-context-header {
    .page-header-headings {
        h1, h2, h3 {
            font-size: 30px;
            color: $graytext !important;
        }
    }
}

.dropdown-toggle {
    border-color: transparent;
    border-radius: 4px;
    color: $secondary;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.06);
    &:active,
    &:hover {
        background-color: $grayhover !important;
        color: $secondary !important;
        border-color: transparent !important;
    }
    &:focus {
        border-color: $secondary;
        background-color: white;
        color: $secondary;
    }
}
.action-menu-trigger {
    .dropdown {
        .dropdown-toggle {
            box-shadow: none;
        }
    }
}
.dropdown-menu {
    border: 1px solid $secondary;
    border-radius: 4px;
    color: $graytext !important;
    .dropdown-item {
        font-size: 14px;
        color: $graytext !important;
        &:hover {
            background-color: $grayhover;
            color: $secondary !important;
        }
    }
}

.dropdownmoremenu,
.usermenu {
    .dropdown-toggle {
        border-color: transparent;
        border-radius: unset;
        color: $lettermenucolor;
        font-size: unset;
        box-shadow: unset;
        background-color: transparent;
        &:active,
        &:hover {
            background-color: unset !important;
            color: unset !important;
            border-color: transparent !important;
        }
        &:focus {
            border-color: unset;
            background-color: white;
            color: unset;
        }
    }
}

input.form-control {
    min-height: 35px;
    background: #fff;
    border-radius: 4px;
    color: #6D6C83!important;
    font-size: 13px;
    &:focus,
    &:active {
        box-shadow: 0 0 10px rgba(0,0,0,.06)!important;
        color: #6D6C83!important;
    }
    &:focus {
        border: 1px solid $primary;
    }
}

.custom-select {
    min-height: 35px;
    background-color: #fff;
    border-radius: 4px;
    color: #6D6C83!important;
    font-size: 13px;
}

#usernavigation {
    form.editmode-switch-form {
        .input-group {
            label.text-primary {
                color: $graytext !important;
            }
        }
    }
}

.form-check.form-switch {
    .form-check-input {
        background-image: none !important;
        background-color: #fff;
        border-color: $primary;
        cursor: pointer;
        height: 16px;
        &::before {
            content: '';
            display: block;
            height: 12px;
            width: 12px;
            border-radius: 7px;
            position: relative;
            top: 1px;
            left: 1px;
            background-color: $primary;
        }
        &:focus:not(:checked) {
            border-color: $primary;
            background-size: 20px;
        }
        &:checked {
            background-color: $primary;
            border-color: $primary;
            &::before {
                left: 15px;
                background-color: white;
            }
        }
    }
}

.generaltable {
    thead {
        tr {
            th.header {
                font-size: 14px;
                border-bottom: 2px solid $primary;
                border-top: 0;
            }
        }
    }
    tbody {
        tr {
            font-size: 14px;
            &:nth-of-type(odd) {
                background-color: rgba(0, 0, 0, .01) !important;
                &:hover {
                    background-color: rgba(0,0,0,.075) !important;
                }
            }
        }
    }
}

.block_rbreport {
    table.reportbuilder-table {
        tbody {
            tr {
                &:nth-of-type(odd) {
                    background-color: transparent !important;
                    &:hover {
                        background-color: transparent !important;
                    }
                }
            }
        }
    }
}

.moodle-dialogue {
    .moodle-dialogue-content {
        .moodle-dialogue-hd {
            h1, h2, h3, h4, h5 {
                font-size: 22px;
                color: $graytext !important;
            }
        }
        .moodle-dialogue-bd {
            h1, h2, h3, h4, h5 {
                font-size: 22px;
                color: $graytext !important;
            }
            .confirmation-dialogue {
                .confirmation-message {
                    font-size: 14px;
                }
                .confirmation-buttons {
                    .btn {
                        font-size: 14px;
                    }
                }
            }
        }
    }
}

.message-app .list-group .list-group-item:hover {
    background-color: $primary;
}

.message-app .closewidget i.close {
    margin-top: 5px;
}

.message-app {
    .list-group {
        .list-group-item:hover {
            h6 {
                color: #fff !important;
            }
        }
    }
}