﻿body {
    --bs-body-font-size: .875rem;
}
.btn {
    --bs-btn-font-size: .875rem;
}
.form-control, .form-select {
    font-size: 0.875rem;
}
.navbar {
    --bs-navbar-padding-y: 0.15rem
}
.dropdown-menu {
    --bs-dropdown-font-size: .875rem;
}
.pagination {
    --bs-pagination-font-size: .875rem;
}
.table-info {
    --bs-table-border-color: revert;
}

/*Datatable*/
@media screen and (max-width: 767px) {
    div.dt-buttons {
        margin-bottom: 0rem;
    }
}

/*Select2*/
.select2-dropdown {
    border: var(--bs-border-width) solid var(--bs-border-color);
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: 4px;
}

select.form-select + .select2-container--default .select2-selection--single {
    height: 35px !important;
    padding-top:0.2rem
}

select.form-select + .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 34px !important;
}

.select2-selection__clear{
    color: red;
}

select.is-invalid + span span .select2-selection--single {
    border-color: var(--bs-form-invalid-border-color);
}


[data-bs-theme=dark] .select2-selection--single {
    background-color: var(--bs-body-bg) !important;
}
[data-bs-theme=dark] .select2-selection__rendered {
    color: #fff !important;
}
[data-bs-theme=dark] .select2-dropdown {
    background-color: var(--bs-body-bg);
}

[data-bs-theme=dark] .select2-container--default .select2-results__option--selected {
    background-color: #343a40
}

/*loader*/
#preloader {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background-color: #FFF;
    z-index: 99999;
    opacity: 0.8;
}

.preloader {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

    .preloader span {
        display: inline-block;
        background-color: #343a40;
        width: 25px;
        height: 25px;
        -webkit-animation: 1s preload ease-in-out infinite;
        animation: preload 1s ease-in-out infinite;
        -webkit-transform: scale(0);
        -ms-transform: scale(0);
        transform: scale(0);
        border-radius: 50%;
    }

        .preloader span:nth-child(1) {
            -webkit-animation-delay: 0s;
            animation-delay: 0s;
        }

        .preloader span:nth-child(2) {
            -webkit-animation-delay: 0.05s;
            animation-delay: 0.1s;
        }

        .preloader span:nth-child(3) {
            -webkit-animation-delay: 0.075s;
            animation-delay: 0.075s;
        }

@-webkit-keyframes preload {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

@keyframes preload {
    0% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}





/*para ellipse navbar lateral*/
.bi {
    display: inline-block;
    width: 1rem;
    height: 1rem;
}




































































body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

html {
    height: -webkit-fill-available;
}

main {
    height: 100vh;
    height: -webkit-fill-available;
    max-height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
}

.dropdown-toggle {
    outline: 0;
}

.btn-toggle {
    padding: .25rem .5rem;
    font-weight: 600;
    color: var(--bs-emphasis-color);
    background-color: transparent;
}

    .btn-toggle:hover,
    .btn-toggle:focus {
        color: rgba(var(--bs-emphasis-color-rgb), .85);
        background-color: var(--bs-tertiary-bg);
    }

    .btn-toggle::before {
        width: 1.25em;
        line-height: 0;
        content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
        transition: transform .35s ease;
        transform-origin: .5em 50%;
    }

[data-bs-theme="dark"] .btn-toggle::before {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%28255,255,255,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e");
}

.btn-toggle[aria-expanded="true"] {
    color: rgba(var(--bs-emphasis-color-rgb), .85);
}

    .btn-toggle[aria-expanded="true"]::before {
        transform: rotate(90deg);
    }

.btn-toggle-nav a {
    padding: .1875rem .5rem;
    margin-top: .125rem;
    margin-left: 1.25rem;
}

    .btn-toggle-nav a:hover,
    .btn-toggle-nav a:focus {
        background-color: var(--bs-tertiary-bg);
    }

.scrollarea {
    overflow-y: auto;
}


















