.loading-page {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    background-color: #435ebe;
    z-index: 1051;
}

.loading-page .loading-content {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader>div {
    animation: is-rotating 1s infinite;
    animation-duration: 1.2s;
    animation-delay: 0;
    border: 4px solid #e5e5e5;
    border-radius: 50%;
    border-top-color: blue;
    height: 35px;
    width: 35px;
}

@keyframes is-rotating {
    to {
        transform: rotate(2turn);
    }
}

/**
 * LOADING SWEETALERT2
 */
.swal2-loading {
    padding-bottom: 20px !important;
}

*:focus,
*:active {
    outline: 0 !important;
}

.sweet-alert button.confirm {
    outline: none !important;
}


.table-responsive {
    min-height: 500px;
}

.table-responsive .table {
    width: 99% !important;
}

.custom-file-input {
    color: transparent;
}

.custom-file-input::-webkit-file-upload-button {
    visibility: hidden;
}

.custom-file-input::before {
    content: 'Select some files';
    color: black;
    display: inline-block;
    background: #435EBE;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}

.custom-file-input:hover::before {
    border-color: black;
}

.custom-file-input:active {
    outline: 0;
}

.custom-file-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

.boder-dashed {
    border-style: dashed !important;
}

.dropdown-menu {
    --bs-dropdown-min-width: 0rem !important;
}

.table-condensed td>span {
    border: 1px solid rgb(229, 237, 244) !important
}

#save-floating {
    bottom: 3%;
    right: 2%;
    z-index: 1000;
}

.sidebar-view {
    margin-top: -1rem;
}

#datatableMenu {
    position: absolute;
    z-index: 1000000;
}

/* .tabulator-row.tabulator-row-even {
    background-color: #b2d1ef !important;
} */
/* select2 dark */
body.theme-dark {
    .select2-container .select2-selection--single {
        background-color: rgb(27, 27, 41) !important;
        border-color: rgb(53, 53, 79) !important;
        color: rgb(186, 192, 196) !important;
    }

    .select2-container .select2-selection--multiple {
        background-color: rgb(27, 27, 41) !important;
        border-color: rgb(53, 53, 79) !important;
        color: rgb(186, 192, 196) !important;
    }

    .select2-container .select2-selection--single .select2-container--focus .select2-container--open {
        box-shadow: 0 0 0 .25rem rgb(39, 46, 81);
    }

    .select2-container .select2-selection--nultiple .select2-container--focus .select2-container--open {
        box-shadow: 0 0 0 .25rem rgb(39, 46, 81);
    }

    .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
        color: rgb(186, 192, 196) !important;
    }

    .select2-container .select2-search__field {
        background-color: rgb(27, 27, 41) !important;
        border-color: rgb(53, 53, 79) !important;
        color: rgb(186, 192, 196) !important;
    }

    .select2-container .select2-selection__placeholder {
        color: rgb(186, 192, 196) !important;
    }

    .select2-container .select2-selection__rendered {
        color: rgb(186, 192, 196) !important;
    }

    .select2-results ul li {
        color: rgb(186, 192, 196) !important;
    }

    .select2-results ul li[aria-selected=true] {
        background-color: rgb(82, 82, 94) !important;
    }

    .select2-results ul li.select2-results__option--selected {
        background-color: rgb(39, 46, 81) !important;
    }

    .select2-results ul li.select2-results__option--selected[aria-selected=true] {
        background-color: rgb(39, 46, 81) !important;
    }

    /*.select2-container .select2-search__field {
        box-shadow:  0 0 0 .25rem rgb(39, 46, 81);
    }*/

    .select2-dropdown {
        background-color: rgb(27, 27, 41) !important;
    }
}

/* tabulator dark */
body.theme-dark {
    .tabulator {
        background-color: #1e1e2d !important;
        border: 1px solid rgb(53, 53, 79) !important;
    }

    .tabulator .tabulator-header {
        border-top: 1px solid rgb(53, 53, 79) !important;
        border-bottom: 1px solid rgb(221, 221, 221) !important;
    }

    .tabulator .tabulator-header .tabulator-col {
        border-right: none;
        background-color: #1e1e2d !important;
    }

    .tabulator .tabulator-header-contents {
        background-color: #1e1e2d !important;
    }

    .tabulator-row {
        background-color: #1e1e2d;
        border-bottom: 1px solid rgb(63, 63, 63) !important;
    }
}

.logo>a>img {
    max-width: 135px;
    height: auto !important;
}

.nav-tabs {
    --bs-nav-tabs-border-width: auto !important;
}

span[data-toggle=tooltip] {
    font-size: 20px;
    color: #ffa800;
    padding-left: 5px;
    padding-bottom: 2px;
}
