@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css");

.row .center-select {
    width: 90%;
    margin: auto;
}

.sync-editable {
    cursor: pointer;
}

span.sync-input-section {
    display: none;
}

    span.sync-input-section i {
        cursor: pointer;
    }

.sync-input {
    display: none;
}

    .sync-input option {
        cursor: pointer;
    }

.email-input {
    display: none;
}

.email-editable {
    cursor: pointer;
}

.email-input i {
    cursor: pointer;
}

.collapsible {
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    color: #804796;
    font-weight: bold;
    margin: 5px 0;
}

    .collapsible:after {
        content: '\002B';
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }

.collapsibleactive:after {
    content: "\2212";
}

.collapsiblecontent {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/*.form-control-custom {
    display: block;
    height: calc(1.5em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: .9375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #8f959e;
    border-radius: 0;
    -webkit-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    -o-transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}*/

/* Style the tab */
.tab {
    overflow: hidden;
    border-bottom: 1px solid grey;
}

    /* Style the buttons inside the tab */
    .tab button {
        background-color: inherit;
        float: left;
        border: none;
        outline: none;
        cursor: pointer;
        padding: .5rem 1rem;
        transition: 0.1s;
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        border-top-left-radius: .15rem;
        border-top-right-radius: .15rem;
    }

        /* Change background color of buttons on hover */
        .tab button:hover {
            border-color: #e6e7e8;
            background: #e6e7e8;
        }

        /* Create an active/current tablink class */
        .tab button.active {
            color: #495057;
            border-bottom: 5px solid #804796;
        }

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

.flex-contianer {
    display: flex;
    justify-content: space-between;
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 1px 1px;
    width: 90%;
    border-radius: 3px !important;
}

    .custom-file-upload label {
        background-color: rgba(0,0,0,.05) !important;
        cursor: pointer;
        border-radius: 3px !important;
        height: 35px;
    }

label.btn {
    margin: 0;
}

.mform .form-inline .form-control, .mform .form-inline .custom-select, .form-control, .custom-select {
    width: 100%;
    min-width: 100%;
    border-radius: 3px !important;
}

.generaltable tbody tr {
    background-color: white !important;
}

.table-striped tbody tr {
    background-color: white !important;
}

.generaltable thead tr {
    background-color: rgba(0,0,0,.05) !important;
}

.btn:not(.btn-footer-popover) {
    border-radius: 3px !important;
}


.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent !important;
    border-radius: 0.15rem;
}

    .alert::before {
        content: "";
        position: absolute;
        left: 0;
        top: -1px;
        bottom: -1px;
        width: 5px;
    }

*, *::before, *::after {
    box-sizing: border-box;
}

.alert-warning {
    color: #955e20;
    border: 1px solid #fde2c2 !important;
    background-color: transparent !important;
}

    .alert-warning::before {
        background: #f99d35;
    }

.alert-success {
    color: #22a862;
    border: 1px solid #bde5d0 !important;
    background-color: transparent !important;
}

    .alert-success::before {
        background: #22a862;
    }

.alert-info {
    color: #22a862;
    background-color: #fff !important;
    border-color: #eaeaea !important;
    border-left: 0px;
}

    .alert-info::before {
        background: #22a862;
    }

a.page-link {
    border-radius: 50px !important;
}

span.page-link {
    border-radius: 50px;
}

li.page-item {
    padding: 5px;
}

.badge {
    color: white;
    border-radius: 50px !important;
    margin: 3px;
}

.bg-nav {
    background-color: rgba(0,0,0,.05);
}

@media (min-width: 992px) {
    .d-lg-block {
        margin: auto !important;
    }
}

nav.navbar ul.navbar-nav .popover-region {
    margin: auto;
}

[id^="message-drawer-toggle"] {
    height: 25px;
}

#page-navbar {
    display: none;
}

.teachers {
    font-size: 10pt;
}

div[data-fieldtype="autocomplete"] > div, div[data-fieldtype="autocomplete"] > div > .form-control {
    min-width: 100% !important;
}

.form-autocomplete-selection [data-active-selection=true] {
    padding: 0.25em 0.4em !important;
}

.form-autocomplete-selection > .badge-info {
    color: black !important;
    background-color: rgba(0,0,0,.05) !important;
}

ul {
    list-style-type: none;
}

.btn-green {
    color: #fff !important;
    background-color: #22a862 !important;
    border-color: #22a862 !important;
}

.btn-orange {
    color: #fff !important;
    background-color: #f99d35 !important;
    border-color: #f99d35 !important;
}

.course-preview {
    padding-left: 5px;
    padding-right: 5px;
    cursor: auto;
}

.primary-color {
    color: #804896;
}

.top-label {
    font-size: 22px;
    padding-bottom: 3px;
    color: #804896;
    cursor: pointer;
}

.course-label {
    color: #797474;
    font-size: 16px !important;
}

.tree-label {
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 1px;
    color: #804896;
    font-size: 18px;
}

.tree-child {
    padding-bottom: 5px;
}

.top-input {
    display: none;
}

.modal-header > .close {
    display: none;
}

.active-label {
    background-color: #804896;
    color: white;
}

.included-label {
    background-color: #9b7eba;
    color: white;
}

.bg-green {
    background-color: #087872;
    color: #fff;
    font-size: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.switch {
    height: auto !important;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
    border: 4px solid #9e9e9e;
    height: 26px;
    width: 50px;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 15px;
        width: 15px;
        left: 4px;
        bottom: 2px;
        background-color: #9e9e9e;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #fff;
    border: 4px solid #22a862;
}

    input:checked + .slider:before {
        background-color: #22a862;
    }

    input:checked + .slider:before {
        -webkit-transform: translateX(26px);
        -ms-transform: translateX(26px);
        transform: translateX(20px);
    }

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f285" !important;
    font-family: bootstrap-icons !important;
    float: left;
    padding-right: 0.5rem;
    color: #6c757d;
    content: var(--bs-breadcrumb-divider, "/") /* rtl: var(--bs-breadcrumb-divider, "/") */;
    margin-top:5px;
    font-weight: bold;
}

.course-nav {
    display: inline-block;
    background-color: #f2f3f2;
    padding: 5px 20px;
    border-radius: 4px;
    color: black;
    font-weight: bold;
}

.breadcrumb {
    margin-bottom:10px !important;
}

.course-nav.active {
    background-color: white !important;
}

.modal-hide {
    display: none;
}

.flexible.table.table-striped.table-hover.generaltable.generalbox {
    min-height: 0;
}

.collapsable-label::after {
    content: "\25B6";
    color: #804896;
    display: inline-block;
    margin-left: 6px;
}

.collapsable-label-open::after {
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Safari */
    ' transform: rotate(90deg);
}

.closed-cat {
    display: none;
}

.opened-cat {
    display: block;
}

.modal.show .modal-dialog {
    margin-top: 5%;
}

.editmode-switch-form {
    margin: 0 !important;
}

.generaltable th, .generaltable td {
    vertical-align: middle !important;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #76559C;
    transition: width 0.6s ease;
}

.course-mng-actionbuttons {
    display: inline-flex;
    color: #9e9e9e;
}

.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: 2px solid #999;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

    .custom-checkbox:checked {
        background-color: #76559c;
        border-color: #76559c;
    }

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 2px;
    display:none;
}

.row-selected {
    /*border: 2px solid #76559c;*/
    background-color: #e8dbf2 !important;
}

.btn-course-mng-nav {
    align-items: center;
    justify-content: center;
    display: inline-flex !important;
    margin-right: 7px;
    border: none;
    border-radius: 5px !important;
}

.material-icons-outlined, .material-symbols-outlined {
    margin-right: 5px;
}

    .material-icons-outlined.small, .material-icons.small, .material-symbols-outlined.small {
        font-size: 18px !important;
    }

.btn.btn-outlined {
    border: 1px solid #9b7eba !important;
    align-items: center;
    justify-content: center;
    display: inline-flex !important;
    color: #76559c;
    height: 100%;
    padding: 4px 10px;
}

.custom-radio {
    display: none;
}

.custom-label {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    background-color: #f2f3f2;
    margin: 5px;
}

/* When the radio is checked, target the label */
.custom-radio:checked + .custom-label{
    background-color: #76559c;
    color: white;
}

.custom-radio:checked + .custom-label i.material-icons {
    color: white !important;
}

.custom-radio:checked + .c4 {
    background-color: #f7efff !important;
}

.catname-input, .coursename-input {
    display: none;
}

.course-mng-actionbuttons i.material-icons-outlined, 
.course-mng-actionbuttons i.material-symbols-outlined {
    padding: 4px;
    border-radius: 50px;
    cursor: pointer;
    color: #f2f3f2;
}

    .course-mng-actionbuttons i.material-icons-outlined:hover,
    .course-mng-actionbuttons i.material-symbols-outlined:hover {
        color: white !important;
        background-color: #76559c;
    }

.btn-save {
    color: #fff !important;
    background-color: #22a862 !important;
    border-color: #22a862 !important;
    height: 30px;
    line-height: 4px !important;
    border-color: #22a862 !important;
    margin-top:10px;
}

.btn-cancel {
    color: #ca3120 !important;
    background-color: #e6e7e8 !important;
    border-color: #f9f9f9 !important;
    height: 30px;
    line-height: 4px !important;
    border: #e6e7e8 !important;
    margin-top: 10px;
}


thead {
    /*background-color: #f7efff;
    border: none;*/

    border-bottom: 1px solid #ced4da;
}

.institution-select {
    height: 100%;
    font-weight: 600;
    color: black;
    background-color: #f2f3f2 !important;
    font-weight: 600 !important;
    color: black !important;
    border: none !important;
    padding: 0 2rem 0 1rem !important;
    font-size: 14px !important;
}

.table thead th {
    border: none !important;
}

.tooltip-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

    .tooltip-container .tooltip {
        visibility: hidden;
        width: max-content;
        max-width: 200px;
        background-color: #f9f9f9;
        color: #000;
        text-align: left;
        padding: 10px;
        font-size: 14px;
        line-height: 1.4;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        position: absolute;
        z-index: 1;
        bottom: 125%; /* above the element */
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        border-radius: 0.6rem;
    }

    .tooltip-container:hover .tooltip {
        visibility: visible;
        opacity: 1;
    }

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
}

button:disabled, #dropdowndisabled>a {
    background-color: #f2f3f2 !important;
    color: #cccccc !important;
    border: 1px solid #f2f3f2 !important;
}



.table-hover tbody tr:hover, .table-hover tbody tr:hover .cell.c4 {
    background-color: #f7efff !important;
}

    .table-hover tbody tr:hover .course-mng-actionbuttons i.material-icons-outlined,
    .table-hover tbody tr:hover .course-mng-actionbuttons i.material-symbols-outlined {
        color: #cccccc;
    }

.purple {
    color: #76559c;
}

.dropdown-item.dropdown-cmng {
    display: flex !important;
    align-items:center;
}

.table th, .table td {
    vertical-align: middle !important;
}

select#categories {
    width: 100%;
    padding-right: 1.5rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.select-wrapper .material-symbols-outlined {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.5rem;
    color: #000;
}

.custom-body {
    border-top: 1px solid lightgrey;
    border-bottom: 1px solid lightgrey;
    display: block;
    overflow: scroll;
    overflow-x: hidden;
    height: 300px;
}
.custom-header {
    padding: 1rem;
}

.custom-footer {
    padding-bottom: 50px;
}

.modal-body:has(> div.custom-body) {
    padding: 0 !important;
}

.table {
    margin: 1rem 0 !important;
    border: 2px solid white;
}

.custom-label-disabled {
    display: inline-block;
    padding: 7px 20px;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    background-color: white;
    margin: 5px;
}

thead tr {
    background-color: rgba(0, 0, 0, .05) !important;
    color: #76559c;
}

.modal-dialog-scrollable .modal-body {
    overflow-y: hidden;

}