/* Error de minimización. Devolviendo el contenido no minimizado.
(3,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(4,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(5,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(6,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(7,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(8,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(9,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(51,17): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(59,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(60,33): run-time error CSS1039: Token not allowed after unary operator: '-bs-success-rgb'
(60,55): run-time error CSS1039: Token not allowed after unary operator: '-bs-bg-opacity'
(222,32): run-time error CSS1039: Token not allowed after unary operator: '-verde-cell-bg'
(254,28): run-time error CSS1039: Token not allowed after unary operator: '-verde-cell-bg'
(258,28): run-time error CSS1039: Token not allowed after unary operator: '-rojo-cell-bg'
(266,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(283,28): run-time error CSS1039: Token not allowed after unary operator: '-verde-link'
(284,24): run-time error CSS1039: Token not allowed after unary operator: '-verde-link'
(302,21): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(316,24): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(321,24): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(322,28): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(326,28): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(327,24): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(331,24): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(335,28): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(336,24): run-time error CSS1039: Token not allowed after unary operator: '-verde-principal'
(340,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(341,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(342,5): run-time error CSS1062: Expected semicolon or closing curly-brace, found '-'
(346,22): run-time error CSS1039: Token not allowed after unary operator: '-verde-link'
 */

:root {
    --verde-principal: #00800a;
    --verde-titulo: #016900;
    --verde-link: #02bb00;
    --gris-modal: #f7f9fa;
    --gris-fondo: #f1f3f6;
    --verde-cell-bg: #7ad450;
    --rojo-cell-bg: #e36559;
}

body {
    font-size: .875rem;
}

/* Sidebar */

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding: 10px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    min-height: 22rem;
    -webkit-transition-duration: 0.3s !important;
    -moz-transition-duration: 0.3s !important;
    -o-transition-duration: 0.3s !important;
    transition-duration: 0.3s !important;
}

    .sidebar .nav-link {
        color: lightgray;
        font-size: 1rem;
        margin-right: 0.2rem;
        border-bottom: solid 1px rgba(255, 255, 255, .2);
    }

        .sidebar .nav-link:hover {
            color: white;
        }

        .sidebar .nav-link.active {
            color: white;
            border-bottom: double 2px white;
        }

/* Generales */
.tituloGeneral {
    color: var(--verde-principal);
    text-align: center;
    margin-top: 1rem;
    font-size: 1.6rem;
    font-weight: 300;
}

.bg-success2 {
    --bs-bg-opacity: 0.8;
    background-color: rgba(var(--bs-success-rgb),var(--bs-bg-opacity)) !important;
}

.form-label {
    font-weight: 500;
}

/* Tablas */

.dataTables_scrollHeadInner {
    width: 100% !important;
}

table.ACTable tbody tr:hover,
.table-striped > tbody > tr:hover {
    cursor: default;
    background-color: #c7dec6;
}

table.ACTable thead {
    white-space: nowrap !important;
    text-align: center;
}

table.ACTable tbody > tr {
    font-size: 12px;
    font-weight: bold;
}

table.ACTable tbody tr td {
    vertical-align: middle;
    text-align: center;
    padding: 0.2rem 1.5rem;
    white-space: nowrap;
}

    table.ACTable tbody tr td img {
        width: 30px;
        height: 30px;
    }

    table.ACTable tbody tr td button {
        height: 2.5rem;
        width: 2.5rem;
        display: inline-grid;
        justify-content: center;
        align-content: center;
    }

.dataTables_length {
    margin: 1rem 0rem;
}

.hidden {
    display: none !important;
}

.flatpickr-calendar.open {
    z-index: 1000;
}

.flatpickr-mobile {
    width: 100%;
    border-top-left-radius: 0.375rem !important;
    border-bottom-left-radius: 0.375rem !important;
}

#ocultarSidebar {
    position: fixed;
    height: 100%;
    top: 0;
    left: 16.66666667%;
    align-content: center;
    display: grid;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

    #ocultarSidebar > button {
        padding: 0.5rem 0.3rem;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border: none;
    }

.sidebarOculta {
    left: -16.66666667% !important;
    -webkit-transition-duration: 0.3s !important;
    -moz-transition-duration: 0.3s !important;
    -o-transition-duration: 0.3s !important;
    transition-duration: 0.3s !important;
}

.btnSidebarCollapse {
    left: 0% !important;
    -webkit-transition-duration: 0.3s !important;
    -moz-transition-duration: 0.3s !important;
    -o-transition-duration: 0.3s !important;
    transition-duration: 0.3s !important;
}


@media (max-width: 992px) {
    #ocultarSidebar {
        position: fixed;
        height: 100%;
        top: 0;
        left: 25%;
        align-content: center;
        display: grid;
        -webkit-transition-duration: 0.3s !important;
        -moz-transition-duration: 0.3s !important;
        -o-transition-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }

    .sidebarOculta {
        left: -25% !important;
        -webkit-transition-duration: 0.3s !important;
        -moz-transition-duration: 0.3s !important;
        -o-transition-duration: 0.3s !important;
        transition-duration: 0.3s !important;
    }
}

@media (max-width: 992px) {
    .sidebar {
        position: relative;
        padding: 0px;
        left: 0% !important;
        min-height: auto;
    }

    header {
        display: flex !important;
    }

    #divLogo, #logoutSidebar, #ocultarSidebar {
        display: none !important;
    }
}

@media (max-width: 500px) {
    #imgLogo2 {
        height: 30px !important;
    }
}

@media (max-height: 480px) {

    #logoutSidebar {
        position: relative !important;
    }
}

.dropdown-item {
    font-size: 0.8rem;
}

    .dropdown-item:active {
        background-color: var(--verde-cell-bg);
    }

.dropdown-menu[data-bs-popper] {
    right: 0 !important;
    left: auto !important;
}

#logoutSidebar > div {
    margin-bottom: 1rem;
}

    #logoutSidebar > div > span {
        padding: 0.5rem;
        border-bottom: solid 1px;
        margin-bottom: 2rem !important;
    }

#logoutSidebar > a {
    padding: 0.5rem;
}

.tituloModal {
    font-size: 30px;
    color: #ea9a22;
}

.heightCell {
    height: 2.5rem
}

.bg-verde {
    background-color: var(--verde-cell-bg) !important;
}

.bg-rojo {
    background-color: var(--rojo-cell-bg) !important;
}

td.dt-verticalalign {
    vertical-align: middle !important;
}

.tooltip-red {
    --bs-tooltip-bg: var(--bs-danger);
}

#imgLogo, #imgLogo2 {
    filter: hue-rotate(180deg) sepia(1) grayscale(1) contrast(1.5);
}

#imgLogo {
    width: 100%;
    max-width: 15rem;
}

#imgLogo2 {
    height: 3rem;
}

.form-check-input:checked {
    background-color: var(--verde-link);
    border-color: var(--verde-link);
}


/* Links e Inputs */

.page-link,
a:active,
a:link,
a:visited {
    color: #4f9960;
    text-decoration: none;
    cursor: pointer;
}

    .page-link:hover,
    .page-link:focus,
    a:hover {
        color: var(--verde-principal);
        text-decoration: none;
        cursor: pointer;
    }

.form-select:focus,
.form-control:focus,
input[type=submit]:focus {
    border: 1px solid #ced4da;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(128, 255, 0, 0.60);
}

/*  Switchs   */
.custom-control-input:focus ~ .custom-control-label::before {
    border-color: var(--verde-principal) !important;
    box-shadow: 0 0 0 0.2rem rgba(47, 255, 129, 0.25) !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--verde-principal) !important;
    background-color: var(--verde-principal) !important;
}

.custom-control-input:active ~ .custom-control-label::before {
    background-color: var(--verde-principal) !important;
    border-color: var(--verde-principal) !important;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: var(--verde-principal) !important;
}

.custom-control-input-green:not(:disabled):active ~ .custom-control-label::before {
    background-color: var(--verde-principal) !important;
    border-color: var(--verde-principal) !important;
}

.pagination {
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 0, 0.25);
    --bs-pagination-active-bg: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
    --bs-pagination-active-border-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

div.dataTables_processing > div:last-child > div {
    background: var(--verde-link) !important;
}

i.fa-arrow-left {
    color: white;
}