/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
    background: -webkit-radial-gradient(rgba(20, 20, 20, .8), rgba(0, 0, 0, .8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    /* hide "loading..." text */
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: '';
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* sidebar icon fix start */
.main-sidebar .sidebar-brand {
    margin: 10% 0;
    height: auto;
}
.main-sidebar .main-logo {
    width: 40%;
}
.main-sidebar .small-logo {
    width: 70%;
}

/* Prevent broken layout after expand when NiceScroll left inline styles */
body:not(.sidebar-mini) .main-sidebar {
    width: 250px !important;
    position: fixed !important;
    left: 0 !important;
}
/* sidebar icon fix end */


.btn-primary,
.btn-success,
.btn-outline-secondary,
.btn-info,
.btn-danger,
.btn-secondary,
.badge-danger,
.badge-info,
.badge-success {
    border-radius: 22px;
}

.btn-success.btn.btn-sm, .btn-primary.btn.btn-sm {
    padding: .10rem 0.5rem;
}
.btn-primary.disabled,
.btn-outline-secondary.disabled,
.btn-info.disabled,
.btn-danger.disabled {
    border-radius: 22px;
}

.form-control {
    border-radius: 22px;
}

.section .section-header {
    border-radius: 22px;
}

.card {
    border-radius: 22px;
}

.page-item.active .page-link {
    border-radius: 22px;
}

.card.card-statistic-1 .card-icon, .card.card-statistic-2 .card-icon {
    border-radius: 22px;
}

.modal-content {
    border-radius: 22px;
}

.card.card-hero .card-header {
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

a.dashboard-stat-card {
    color: inherit;
}

a.dashboard-stat-card:hover {
    color: inherit;
    text-decoration: none;
}

a.dashboard-stat-card .card {
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

a.dashboard-stat-card:hover .card {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.notification-admin {
    border-radius: 22px;
}

.navbar-notification-badge {
    position: absolute;
    top: 4px;
    right: 0;
    font-size: 10px;
    min-width: 18px;
    height: 18px;
    line-height: 18px;
    padding: 0 5px;
    border-radius: 999px;
}

.notification-toggle {
    position: relative;
}

.navbar-notification-menu .dropdown-item {
    white-space: normal;
    align-items: flex-start;
}

.navbar-notification-menu .dropdown-item-desc {
    min-width: 0;
}

.navbar-notification-menu .navbar-notification-text {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.page-link:hover {
    border-radius: 22px;
}