html {
    overflow-y: scroll;
}

body {
    user-select: none;
}

module-component::part(body) {
    margin:0;
    padding:0;
    background: transparent;
}

.align-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
}

ul {
 list-style: none;
 padding: 0;
}

.dashboard-alerts-container {
    z-index: 1500;
    position: fixed;
    bottom: 28px;
    right: 22px;
    width: 80vw;
    max-width: 350px;
}


.sidebar-mini .dashboard-above-container
/*.sidebar-expand .dashboard-above-container*/ {
    transition: margin-left .3s ease-in-out;
    margin-left: 250px;
}

.sidebar-collapse .dashboard-above-container {
    margin-left: 4.6rem !important;
}

.sidebar-closed .dashboard-above-container {
    margin-left: 0 !important;
}

.sidebar-open .dashboard-above-container {
    margin-left: 0;
}

@media (min-width: 768px) {
    .sidebar-open .dashboard-above-container {
        margin-left: 250px;
    }
    .sidebar-closed .dashboard-above-container {
        margin-left: 4.6rem !important;
    }
}

@media (max-width: 991.98px) {
    .sidebar-open .dashboard-above-container {
        margin-left: 0 !important;
    }
    .sidebar-closed .dashboard-above-container {
        margin-left: 0 !important;
    }
}

.toast {
    border: 2px outset rgba(0,0,0,.2);
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.2);
    backdrop-filter: blur(5px);
}

.dark-mode .toast {
    border: 2px outset rgba(255,255,255,.2);
    box-shadow: 0 0.25rem 0.75rem rgba(255,255,255,.1);
}

.toast:hover {
    background-color: rgba(255,255,255,.95);
}

.toast a {
    color: #000;
}

.toast-header i {
    margin-right: 5px;
}

.toast-body {
    color: #000;
    word-break: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.toast-body img {
    width: 38px;
    height: 38px;
    border-radius: 5px;
    border: 1px solid silver;
    padding: 1px;
    margin: 2px 10px 1px 2px;
    vertical-align: middle;
    float: left;
}

.toast-body .img-round {
    border-radius: 100%;
}

.toast-body .img-borderless {
    border: 0;
    border-radius: 0;
}

nav.main-header {
    height: 4.6rem;
    overflow: visible;
}

.main-sidebar {
    position: fixed !important;
}

.sidebar-middle-container {
    min-height: 95px
}

.sidebar::-webkit-scrollbar,
.sidebar-collapse .sidebar::-webkit-scrollbar,
.sidebar-collapse .sidebar:hover::-webkit-scrollbar {
    width: 0.0rem !important;
}

.sidebar::-webkit-scrollbar,
.sidebar-expand .sidebar::-webkit-scrollbar,
.sidebar-expand .sidebar:hover::-webkit-scrollbar {
    width: 0.3rem !important;
}

.sidebar::-webkit-scrollbar-thumb,
.sidebar-expand .sidebar::-webkit-scrollbar-thumb,
.sidebar-expand .sidebar:hover::-webkit-scrollbar-thumb {
    background-color: #4b545b !important;
}

.sidebar,
.sidebar-expand .sidebar {
    height: calc(100% - (1.2rem + 1px)) !important;
    scrollbar-color: #4b545b transparent !important;
}

.content-container {
    min-height: calc(100vh - calc(9.6rem));
}

.dashboard-sidebar-top {
    max-height: 14rem;
    overflow-y: auto;
}

.dashboard-sidebar-top,
.dashboard-sidebar-bottom,
.sidebar-collapse .dashboard-sidebar-top,
.sidebar-collapse .dashboard-sidebar-bottom {
    margin-right: 0rem !important;
}

.dashboard-sidebar-top,
.dashboard-sidebar-bottom,
.sidebar-expand .dashboard-sidebar-top,
.sidebar-expand .dashboard-sidebar-bottom {
    margin-right: 0.3rem !important;
}

.dashboard-sidebar-middle {
    margin-bottom: 0;
    padding-right: 2px;
}

.dashboard-footer-left,
.dashboard-footer-right {
    min-height: 33px;
    padding: 4px;
}

.dashboard-widgets {
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
}

.dashboard-widgets .dashboard-module {
    flex-grow: 1;
    flex-basis: 200px;
    min-width: 200px;
    min-height: 200px;
    max-height: 250px;
    margin: 10px;
}

.dashboard-widgets .dashboard-module--medium {
    flex-grow: 2;
    flex-basis: 300px;
}

.dashboard-widgets .dashboard-module--large {
    flex-grow: 3;
    flex-basis: 400px;
}

.dashboard-widgets .dashboard-module--full {
    flex-shrink: 0;
    flex-basis: auto;
    width: -webkit-fill-available;
}

.dashboard-widgets .dashboard-component {
    width: 100%;
    height: 100%;
    display: block;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.nav-sidebar .nav-item > .nav-link {
    margin-right: 0.15rem;
}

.content-spacer {
    padding: 15px 0.5rem;
}

.footer-0 {
    margin-left: 0 !important;
    background-color: #fff;
    border-top: 1px solid #dee2e6;
    color: #869099;
    padding: 1rem;
    min-height: 3.1rem;
}

.dark-mode .navbar-white,
.dark-mode .footer-0 {
    background-color: #3c454c !important;
    color: #e0e1e2;
}

.dark-mode .navbar-light .navbar-nav .nav-link {
    color: rgba(255,255,255,.5);
}

.dark-mode .toast:hover {
    background-color: rgba(0,0,0,.9);
}

.dark-mode .toast a {
    color: #fff;
}

.dark-mode .toast-body {
    color: #eee;
}
