﻿html {
    --fc-daygrid-event-dot-width: 12px !important;
}

html > body.page-loading {
    overflow: hidden;
}

.spinner-sm {
    --bs-spinner-width: 1.07rem;
    --bs-spinner-height: 1.07rem;
}

.va-sub {
    vertical-align: sub;
}

body[data-sidebar=brand][data-sidebar-size=sm] .vertical-menu #sidebar-menu ul li.mm-active .active {
    color: #FFF !important
}

.fc .fc-daygrid-day.fc-day-holiday {
    background-color: rgba(255,0,0,.1);
}

.fc-event-title {
    text-align: left;
    padding-left: 1px !important;
    display: flex !important;
}

.fc-daygrid-dot-event {
    color: var(--bs-primary);
}

.fc-event, .fc-event-dot {
    background-color: #FFF;
}

.fc .fc-popover {
    z-index: 1000 !important;
}

.fs-25 > i.icon-header {
    font-size: 25px;
    margin-right: 2px;
}

.font-size-16 {
    font-size: 16px;
}


.font-size-20 {
    font-size: 20px;
}

.font-size-28 {
    font-size: 28px;
}

.font-size-30 {
    font-size: 30px;
}


.font-size-80 {
    font-size: 80px;
}



.font-size-100 {
    font-size: 100px;
}

/*
    start::loader
*/
.page-loading * {
    transition: none !important;
    /*overflow: hidden !important;*/
}

.page-loader {
    background-color: rgba(255,255,255,0.95);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: none;
}

.page-loader, .page-loading .page-loader {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Optional: Add some styling to the loading text */
.loader-item span {
    font-size: 16px;
    color: #373737;
}

/*
    end::loader
*/

.h-75px {
    height: 75px;
}

.w-90 {
    width: 90px;
}

.w-110 {
    width: 110px;
}

.w-120 {
    width: 120px;
}

.w-130 {
    width: 130px;
}

.w-200 {
    width: 200px;
}

.w-250 {
    width: 250px;
}

.w-350 {
    width: 350px;
}

.mw-400 {
    min-width: 400px;
}

.b-0 {
    border: 0;
}


/*
    start:datatables
*/

.paginate_button {
    --bs-btn-padding-x: 0.75rem;
    --bs-btn-padding-y: 0.47rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
    --bs-btn-color: var(--bs-body-color);
    --bs-btn-bg: transparent;
    --bs-btn-border-width: var(--bs-border-width);
    --bs-btn-border-color: transparent;
    --bs-btn-border-radius: var(--bs-border-radius);
    --bs-btn-hover-border-color: transparent;
    --bs-btn-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15),0 1px 1px rgba(0, 0, 0, 0.075);
    --bs-btn-disabled-opacity: 0.65;
    --bs-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-btn-focus-shadow-rgb), .5);
    display: inline-block;
    padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
    font-family: var(--bs-btn-font-family);
    font-size: var(--bs-btn-font-size);
    font-weight: var(--bs-btn-font-weight);
    line-height: var(--bs-btn-line-height);
    color: var(--bs-btn-color);
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
    border-radius: var(--bs-btn-border-radius);
    background-color: var(--bs-btn-bg);
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out
}

@media (prefers-reduced-motion:reduce) {
    .paginate_button {
        -webkit-transition: none;
        transition: none
    }
}

.paginate_button:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color)
}

.paginate_button:focus-visible {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
    outline: 0;
    -webkit-box-shadow: var(--bs-btn-focus-box-shadow);
    box-shadow: var(--bs-btn-focus-box-shadow)
}

/*
    end::datatables
*/

.tr-hover:hover td {
    --bs-table-bg-state: #f9fafe !important;
}

.text-right {
    text-align: right;
}

.m-l-1 {
    margin-left: 1px;
}

.m-l-2 {
    margin-left: 2px;
}

.m-l-3 {
    margin-left: 3px;
}

.m-l-4 {
    margin-left: 4px;
}

.m-l-6 {
    margin-left: 6px;
}

.m-l-16 {
    margin-left: 16px;
}

.m-t-1 {
    margin-top: 1px;
}

.m-t-2 {
    margin-top: 2px;
}

.m-t-3 {
    margin-top: 3px;
}

.m-t-4 {
    margin-top: 4px;
}

.m-t-6 {
    margin-top: 6px;
}

.m-t-16 {
    margin-top: 16px;
}

.m-r-1 {
    margin-right: 1px;
}

.m-r-2 {
    margin-right: 2px;
}

.m-r-3 {
    margin-right: 3px;
}

.m-r-4 {
    margin-right: 4px;
}

.m-r-6 {
    margin-right: 6px;
}

.mr-25 {
    margin-right: 25px;
}

.m-b-1 {
    margin-bottom: 1px;
}

.m-b-2 {
    margin-bottom: 2px;
}

.m-b-3 {
    margin-bottom: 3px;
}

.m-b-4 {
    margin-bottom: 4px;
}

.m-b-6 {
    margin-bottom: 6px;
}

.object-center {
    margin: 0 auto;
}

.empty-badge {
    display: block !important;
    height: 24px;
    width: 24px;
}

.pos-relative {
    position: relative;
}

.d-flex-gap-25 {
    gap: 25px;
}

@media screen and (max-width: 768px) {
    .d-flex-gap-25 {
        gap: 0;
    }

    .card.mw-400 {
        min-width: auto;
    }
}


/*
    start::Float double icom in the form field
*/

.form-double-floating-custom {
    position: relative
}

    .form-double-floating-custom > label {
        left: 98px;
        margin-top: 2px
    }

    .form-double-floating-custom > div.choices > div.choices__inner > div.choices__list {
        padding-left: 98px;
    }

    .form-double-floating-custom > .form-control, .form-double-floating-custom > .form-select {
        padding-left: 110px
    }

    .form-double-floating-custom .form-floating-icon {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        font-size: 20px;
        width: 108px;
        color: var(--bs-secondary-color);
        gap: 10px
    }

        .form-double-floating-custom .form-floating-icon svg {
            width: 22px;
            height: 22px
        }

/*
    end::Float double icom in the form field
*/

.form-floating input[type=file] {
    padding-top: 2rem !important;
}


.fc-day-sat, .fc-day-sun {
    background-color: #f7f7f7 !important;
}


@media (min-width:320px) {
    /* smartphones, iPhone, portrait 480x320 phones */
    .fc-event-time, .fc-event-title {
        overflow: hidden;
    }
}

th.gridjs-th {
    z-index: 2;
}

th.gridjs-th-sort:not(:has(button.gridjs-sort-neutral)) {
    background-color: #d9d9d9;
}

td.gridjs-td.bg-danger {
    background-color: rgba(var(--bs-danger-rgb), 0.3) !important;
}

.table-hover > tbody > tr:hover > td.gridjs-td.bg-danger {
    --bs-table-bg-state: rgba(var(--bs-danger-rgb), 0.5) !important;
}

td.gridjs-td.bg-warning {
    background-color: rgba(var(--bs-warning-rgb), 0.5) !important;
}

.table-hover > tbody > tr:hover > td.gridjs-td.bg-warning:hover {
    --bs-table-bg-state: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

/* Choices floating labels */
.form-floating > .choices:focus ~ label, .form-floating > .choices:not(:placeholder-shown) ~ label, .form-floating > .choices ~ label {
    color: rgba(var(--bs-body-color-rgb),.65);
    -webkit-transform: scale(.85) translateY(-.5rem) translateX(.15rem);
    transform: scale(.85) translateY(-.5rem) translateX(.15rem)
}

.form-floating > .choices > .choices__inner {
    padding: 1rem .75rem;
}

    .form-floating > .choices > .choices__inner:focus, .form-floating > .choices > .choices__inner:not(:placeholder-shown) {
        padding-top: 1.925rem;
        padding-bottom: .625rem;
    }

    .form-floating > .choices > .choices__inner > .choices__input {
        float: right;
        position: absolute;
        display: none;
    }

.form-floating.multi-select-search-enabled > .choices > .choices__inner > .choices__input {
    float: unset;
    position: unset;
    display: unset;
}

.is-open .choices__inner {
    border-radius: var(--bs-border-radius);
}

.is-focused .choices__inner, .is-open .choices__inner {
    color: var(--bs-body-color);
    background-color: var(--bs-secondary-bg);
    border-color: #9dbbf0;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.25rem rgba(59,118,225,.25);
    box-shadow: 0 0 0 0.25rem rgba(59,118,225,.25);
}

.table-hover tbody tr.no-hover:hover {
    background-color: inherit;
}

#sidebar-menu ul li a {
    font-size: 15px;
}

    #sidebar-menu ul li a i {
        font-size: 20px;
    }

.border-dashed {
    border-style: dashed;
}

.vertical-middle {
    vertical-align: middle;
}



.display-7 {
    font-size: calc(1.325rem + 1vw);
    font-weight: 300;
    line-height: 1.2
}

@media (min-width:1200px) {
    .display-7 {
        font-size: 2rem
    }
}

.display-8 {
    font-size: calc(1.275rem + 0.7vw);
    font-weight: 300;
    line-height: 1.2
}

@media (min-width:1200px) {
    .display-8 {
        font-size: 1.5rem
    }
}

.is-open .choices__list--dropdown, .is-open .choices__list[aria-expanded] {
    z-index: 9 !important;
}

.user-profile-img .profile-img {
    padding: 10px;
    height: 120px;
}

.px-10 {
    padding: 0 10px;
}

.form-check-input.false-warning:not(:checked) {
    background-color: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.15);
}

    .form-check-input.false-warning:not(:checked):focus {
        border-color: #ffc107;
        outline: 0;
        -webkit-box-shadow: 0 0 0 .25rem rgba(255, 193, 7, 0.5);
        box-shadow: 0 0 0 .25rem rgba(255, 193, 7, 0.5);
    }

.border-left-success-10 {
    border-left: 10px var(--bs-success) solid;
}

.border-left-danger-10 {
    border-left: 10px var(--bs-danger) solid;
}

.border-left-warning-10 {
    border-left: 10px var(--bs-warning) solid;
}

.border-left-info-10 {
    border-left: 10px var(--bs-info) solid;
}

.border-left-primary-10 {
    border-left: 10px var(--bs-primary) solid;
}

.border-left-secondary-10 {
    border-left: 10px var(--bs-secondary) solid;
}

.cursor-pointer {
    cursor: default;
}

    .cursor-pointer:hover {
        cursor: pointer !important;
    }

.choices__item {
    transition: background-color 0.5s ease !important;
}

    .choices__item.shake {
        animation: choices__item-shake 0.3s infinite;
    }

@keyframes choices__item-shake {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(0eg);
    }

    75% {
        transform: rotate(-3deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.th-footer {
    font-weight: normal;
}

.mr-5 {
    margin-right: 5px;
}

.ml-5 {
    margin-left: 5px;
}

.mr-8 {
    margin-right: 8px;
}

.ml-8 {
    margin-left: 8px;
}

.mr-10 {
    margin-right: 10px;
}

.ml-10 {
    margin-left: 10px;
}

.mt-30 {
    margin-top: 30px;
}

.radio-lg {
    width: 25px;
    height: 25px;
}


.accordion-item-transparent {
    background-color: unset;
    border: unset;
}

.noti-icon .noti-dot {
    top: 20px;
    right: 18px;
    height: auto;
    width: auto;
    padding: 1px 4px;
    line-height: 14px;
    font-weight: 500;
    font-size: 13px;
    text-align: center;
}

input:disabled {
    background-color: #f5f5f5 !important;
    cursor: not-allowed;
    color: #6c757d; /* optional: grayed-out text */
}

th.gridjs-th {
    background-color: #e4e6e7;
}


.instructor-title .card {
    display: flex;
    flex-direction: column;
    box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
    background-color: #f7f7f7;
}

.instructor-title .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}