/* SCROLLBARS */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
}

:root {
    --sidebar-width: 280px;
    --navbar-height: 50px;
    --base-list-height: 80px;
    --logo-height: calc(var(--navbar-height) + var(--base-list-height));
}

.container-fluid {
    height: 100%;
}

.navbar-main {
    height: var(--navbar-height);
}

.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bs-secondary);
    height: 100vh;
    color: var(--bs-light);
    position: fixed;
}

.sidebar > .sidebar-content > .logo {
    height: var(--logo-height);
    background-color: var(--bs-body-bg);
}

.main-content {
    margin-left: 0;
}

.base-list {
    background-color: white;
    z-index: -1;
    /*height: var(--base-list-height);*/
}

.truncate {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.avatar {
    vertical-align: middle;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 1px solid var(--bs-gray);
}

.flex-1 {
    flex: 1 1 0;
}

.dropdown-hover-all .dropdown-menu, .dropdown-hover > .dropdown-menu.dropend {
    margin-left: -1px !important
}

.dropdown-submenu {
    margin-left: -10px !important
}

@media (min-width: 768px) {
    .main-content {
        margin-left: var(--sidebar-width);
    }
}

.aditional-info {
    padding-left: 1px;
    margin-left: 12px;
}

.vertical-middle {
    vertical-align: middle;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; 
}
.fader-util{
    position:fixed;
    padding:0;
    margin:0;
    display:block;
    top:0;
    left:0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background:rgba(255, 255, 255, 0.25);
}
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.white-fader{
    position:fixed;
    padding:0;
    margin:0;
    top:0;
    left:0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background:rgba(255, 255, 255, 0.25);
    display: block;
    background-color: white;
}  
.loading-spinner {
    text-align: center;
}

.text-primary {
    font-size: 17px;
    --bs-text-opacity: 1;
}