.grade-input {
    width: 80px !important;
    text-align: center;
}

.grade-input.saving {
    background-color: #fff3cd;
}

.grade-input.saved {
    background-color: #d4edda;
}

.grade-input.error {
    background-color: #f8d7da;
}

.grade-input::-webkit-inner-spin-button,
.grade-input::-webkit-outer-spin-button {
    opacity: 1;
}

.notification-item.notification-new {
    animation: notification-highlight 2s ease;
}

@keyframes notification-highlight {
    0% {
        background-color: rgba(70, 128, 255, 0.1);
    }
    70% {
        background-color: rgba(70, 128, 255, 0.1);
    }
    100% {
        background-color: transparent;
    }
}

.animate-bell {
    animation: bell-shake 0.5s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
    transform-origin: top center;
}

@keyframes bell-shake {
    0%,
    100% {
        transform: rotate(0);
    }
    20%,
    60% {
        transform: rotate(-15deg);
    }
    40%,
    80% {
        transform: rotate(15deg);
    }
}

.welcome-banner {
    overflow: hidden;
    position: relative;
}

.welcome-banner::after {
    content: "";
    background-image: url("../images/layout/img-dropbox-bg.svg");
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.5;
    background-position: bottom right;
    background-size: 100%;
    background-repeat: no-repeat;
}

.welcome-banner > * {
    position: relative;
    z-index: 5;
}

.welcome-banner .img-welcome-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 2;
    padding-right: 64px;
}

@media (max-width: 768px) {
    .welcome-banner .img-welcome-banner {
        padding-right: 24px;
    }
}

.welcome-banner .img-welcome-banner img {
    width: 100%;
}

#nprogress .bar {
    background: #e77817 !important;
}

#nprogress .peg {
    box-shadow: 0 0 10px #e77817, 0 0 5px #e77817 !important;
}

#nprogress .spinner-icon {
    border-top-color: #e77817 !important;
    border-left-color: #e77817 !important;
}

.text-dt-responsive {
    white-space: normal;
    word-wrap: break-word;
}

.choices__list--dropdown {
    z-index: 9999 !important;
}

.choices[data-type*="select-multiple"] .choices__list--dropdown {
    z-index: 9999 !important;
}

.leaflet-control-container {
    z-index: 2;
}
