:root {
    --color-excel: #0E743B;
    --color-excel--shade-10: #0d6835;
    --color-excel--shade-20: #0b5d2f;
    --color-excel--o-75: #0e743abf;
}

.all-unset {
    all: unset;
}
.bg-aliceblue {
    background: aliceblue;
}
.bg-azul-transparentoso {
    background: #95c4ee5e;
}
.bg-black-_05 {
    background-color: rgb(0 0 0 / 5%);
}
.bg-crimson-_1 {
    background-color: #ed143d19;
}
.bg-darkred-_1 {
    background-color: #8b000019;
}
.bg-gold-_1 {
    background-color: #ffd70019;
}
.bg-seagreen-_1 {
    background-color: #2e8b5719;
}
.bg-white-_15 {
    background-color: rgb(255 255 255 / 15%);
}
.bg-white-_65 {
    background-color: rgb(255 255 255 / 65%);
}
.bg-stripped-1 {
    background: repeating-linear-gradient(-45deg, white, white .25rem, darkgray .5rem, darkgray 10px);
}

.btn-excel {
    color: #fff;
    background-color: var(--color-excel);
    border-color: var(--color-excel);
}
.btn-excel.disabled, .btn-excel:disabled {
    color: #fff;
    background-color: var(--color-excel);
    border-color: var(--color-excel);
}
.btn-excel:hover:not(:disabled) {
    color: #fff;
    background-color: var(--color-excel--shade-20);
    border-color: var(--color-excel--shade-20);
}
.btn-excel.focus, .btn-excel:focus {
    color: #fff;
    background-color: var(--color-excel--shade-20);
    border-color: var(--color-excel--shade-20);
    box-shadow: 0 0 0 0.2rem var(--color-excel--o-75);
}
.btn-excel:not(:disabled):not(.disabled).active, .btn-excel:not(:disabled):not(.disabled):active, .show>.btn-excel.dropdown-toggle {
    color: #fff;
    background-color: var(--color-excel--shade-20);
    border-color: var(--color-excel--shade-20);
}
.btn-excel:not(:disabled):not(.disabled).active:focus, .btn-excel:not(:disabled):not(.disabled):active:focus, .show>.btn-excel.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem var(--color-excel--o-75);
}

.font-monospace {
    font-family: monospace;
}

.color-blue {
    color: blue;
}
.color-crimson {
    color: crimson;
}
.color-cadetblue {
    color: cadetblue;
}
.color-darkgray {
    color: darkgray;
}
.color-gray {
    color: gray;
}
.color-darkred {
    color: darkred;
}
.color-darkturquoise {
    color: darkturquoise;
}
.color-green {
    color: green;
}
.color-gold {
    color: gold;
}
.color-goldenrod {
    color: goldenrod;
}
.color-lightgray {
    color: lightgray;
}
.color-limegreen {
    color: limegreen;
}
.color-orange {
    color: orange;
}
.color-seagreen {
    color: seagreen;
}
.color-initial {
    color: initial;
}
.color-transparent {
    color: transparent;
}

.cursor-pointer {
    cursor: pointer;
}

.d-revert {
    display: revert!important;
}
.d-none-important {
    display: none!important;
}
.justify-content-space-between {
    justify-content: space-between;
}
.justify-content-space-evenly {
    justify-content: space-evenly;
}
.line-height-1 {
    line-height: 1;
}
.line-height-1_1 {
    line-height: 1.1;
}
.line-height-1_2 {
    line-height: 1.2;
}
.mb-_5 {
    margin-bottom: .125rem;
}
.mx--1 {
    margin-left: -.25rem;
    margin-right: -.25rem;
}
.mx--2 {
    margin-left: -.5rem;
    margin-right: -.5rem;
}
.mx--3 {
    margin-left: -1rem;
    margin-right: -1rem;
}
.mt--1 {
    margin-top: -.25rem;
}
.mt--2 {
    margin-top: -.5rem;
}
.mt--3 {
    margin-top: -1rem;
}
.mt--5 {
    margin-top: -3rem;
}
.mr--1 {
    margin-right: -.25rem;
}
.mr--1_5 {
    margin-right: -.375rem;
}
.mr--2 {
    margin-right: -.5rem;
}
.ml--1 {
    margin-left: -.25rem;
}
.ml--2 {
    margin-left: -.5rem;
}
.ml--3 {
    margin-left: -1rem;
}
.p-_5 {
    padding: .125rem;
}
.py-_5 {
    padding-bottom: .125rem;
    padding-top: .125rem;
}
.pt-100 {
    padding-top: 100%;
}
.pr-1_5 {
    padding-right: .375rem;
}
table.table-px-1 > * > tr > th,
table.table-px-1 > * > tr > td {
    padding-left: .25rem;
    padding-right: .25rem;
}
table.table-p-1 > * > tr > th,
table.table-p-1 > * > tr > td {
    padding: .25rem;
}

.w-unset-important {
    width: unset!important;
}
.w-0 {
    width: 0;
}
.w-1em {
    width: 1em;
}
.w-40px {
    width: 40px;
}
.w-60px {
    width: 60px;
}
.w-180px {
    width: 180px;
}
.w-min-content {
    width: min-content;
}
.w-min-unset {
    width: unset;
}
.w-min-40px {
    min-width: 40px;
}
.w-min-80px {
    min-width: 80px;
}
.w-min-100px {
    min-width: 100px;
}
.w-min-120px {
    min-width: 120px;
}
.w-min-140px {
    min-width: 140px;
}
.w-min-180px {
    min-width: 180px;
}
.w-min-240px {
    min-width: 240px;
}
.w-min-420px {
    min-width: 420px;
}
.w-max-100 {
    max-width: 100%;
}
.w-max-32px {
    max-width: 32px;
}
.w-max-34px {
    max-width: 34px;
}
.w-max-120px {
    max-width: 120px;
}
.w-max-180px {
    max-width: 180px;
}
.w-max-320px {
    max-width: 320px;
}
.w-max-360px {
    max-width: 360px;
}
.w-max-720px {
    max-width: 720px;
}
.w-max-900px {
    max-width: 900px;
}
.maxw-unset-important {
    max-width: unset !important;
}
.maxw-180px {
    max-width: 180px;
}
.maxw-300px {
    max-width: 300px;
}
.maxw-400px {
    max-width: 400px;
}
.maxw-480px {
    max-width: 480px;
}
.top-0 {
    top: 0;
}
.top-1 {
    top: .25rem;
}
.top-3 {
    top: 1rem;
}
.top-6 {
    top: 6rem;
}
.top--1 {
    top: -.25rem;
}
.top-center {
    top: 50%;
    transform: translateY(-50%);
}
.right-0 {
    right: 0;
}
.right-1 {
    right: .25rem;
}
.right--1 {
    right: -.25rem;
}
.bottom-0 {
    bottom: 0;
}
.bottom-3 {
    bottom: 1rem;
}
.bottom--1 {
    bottom: -.25rem;
}
.left-0 {
    left: 0;
}
.left-1 {
    left: 0.25rem;
}
.left--1 {
    left: -.25rem;
}
.h-unset {
    height: unset;
}
.h-1em {
    height: 1em;
}
.h-1_5em {
    height: 1.5em;
}
.h-1_8em {
    height: 1.8em;
}
.h-2em {
    height: 2em;
}
.h-2_2em {
    height: 2.2em;
}
.h-min-28px {
    min-height: 28px;
}
.h-min-48px {
    min-height: 48px;
}
.h-min-unset {
    min-height: unset;
}
.h-min-unset-important {
    min-height: unset!important;
}
.h-max-240px {
    max-height: 240px;
}
.h-max-360px {
    max-height: 360px;
}
.h-max-480px {
    max-height: 480px;
}
.h-max-580px {
    max-height: 580px;
}
.w-1_5em {
    width: 1.5em;
}
.w-2em {
    width: 2em;
}
.w-2_2em {
    width: 2.2em;
}
.w-min-2em {
    min-width: 2em;
}
.w-min-2_2em {
    min-width: 2.2em;
}
.minh-100vh {
    min-height: 100vh
}

.gap-1 {
    gap: .25rem;
}
.gap-2 {
    gap: .5rem;
}
.gap-3 {
    gap: 1rem;
}
.column-gap-1 {
    column-gap: .25rem;
}
.column-gap-2 {
    column-gap: .5rem;
}
.column-gap-3 {
    column-gap: 1rem;
}
.row-gap-1 {
    row-gap: .25rem;
}
.row-gap-2 {
    row-gap: .5rem;
}
.row-gap-3 {
    row-gap: 1rem;
}

.opacity-20,
.opacity-_2 {
    opacity: .2;
}
.opacity-50 {
    opacity: .5;
}

.overflow-hidden {
    overflow: hidden;
}
.overflow-x-auto {
    overflow-x: auto;
}
.overflow-y-auto {
    overflow-y: auto;
}
.overflow-x-hidden {
    overflow-x: hidden;
}
.overflow-y-hidden {
    overflow-y: hidden;
}

.rounded-3 {
    border-radius: 1rem;
}
.border-darkgray {
    border-color: darkgray!important;
}

.text-decoration-line-through {
    text-decoration: line-through;
}
.text-overflow-ellipsis {
    text-overflow: ellipsis;
}
.text-transform-uppercase {
    text-transform: uppercase;
}
.text-shadow-white {
    text-shadow:
        -1px -1px white,
        1px -1px white,
        -1px 1px white,
        1px 1px white;
}
.text-shadow-1px-white {
    text-shadow:
        -1px -1px 1px white,
        1px -1px 1px white,
        -1px 1px 1px white,
        1px 1px 1px white;
}
.text-shadow-black {
    text-shadow:
        -1px -1px black,
        1px -1px black,
        -1px 1px black,
        1px 1px black;
}
.text-shadow-1px-black {
    text-shadow:
        -1px -1px 1px black,
        1px -1px 1px black,
        -1px 1px 1px black,
        1px 1px 1px black;
}
.vertical-align-top {
    vertical-align: top;
}
.white-space-nowrap {
    white-space: nowrap;
}
.white-space-pre-wrap {
    white-space: pre-wrap;
}
.word-break-break-word {
    word-break: break-word;
}
.z-index-0 {
    z-index: 0;
}
.z-index-1 {
    z-index: 1;
}
.z-index-10 {
    z-index: 10;
}
.z-index--1 {
    z-index: -1;
}

@media (min-width: 576px){ /* sm */
    .d-sm-revert {
        display: revert!important;
    }
}
@media (min-width: 768px){ /* md */
    .d-md-revert {
        display: revert!important;
    }
    .w-md-100 {
        width: 100%;
    }   
    .justify-content-md-space-between {
        justify-content: space-between;
    }
    .justify-content-md-space-evenly {
        justify-content: space-evenly;
    }
}
@media (min-width: 992px){ /* lg */
    .d-lg-revert {
        display: revert!important;
    }
    .top-lg-3 {
        top: 1rem;
    }
}
@media (min-width: 1200px){ /* xl */
    .d-xl-revert {
        display: revert!important;
    }
}

.text-border {
    text-shadow: 1px 1px black, -1px 1px black, -1px -1px black, 1px -1px black;
}
.text-shadow {
    text-shadow: 0 0 2px black;
}


input.appearance-none::-webkit-outer-spin-button,
input.appearance-none::-webkit-inner-spin-button {
    /* Chrome, Safari, Edge, Opera */
  -webkit-appearance: none;
  margin: 0;
}
input.appearance-none[type=number] {
    /* Firefox */
  -moz-appearance: textfield;
}

.bg-transparent {
    background-color: transparent;
}
.bg-imagen-ajustable {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.bg-success--tint-90 {
    background-color: #eaf6ec !important;
}
.bg-warning--tint-90 {
    background-color: #fff9e6 !important;
}
.bg-danger--tint-90 {
    background-color: #fcebec !important;
}

.bg-mascara-o-0_1:not(tr),
.bg-mascara-o-0_25:not(tr),
.bg-mascara-gold-o-0_1:not(tr),
.bg-mascara-gold-o-0_25:not(tr),
tr.bg-mascara-o-0_1 > *,
tr.bg-mascara-o-0_25 > *,
tr.bg-mascara-gold-o-0_1 > *,
tr.bg-mascara-gold-o-0_25 > * {
    --bg-mascara--color: gold;
    position: relative;
}

.bg-mascara-o-0_1:not(tr):before,
.bg-mascara-o-0_25:not(tr):before,
.bg-mascara-gold-o-0_1:not(tr):before,
.bg-mascara-gold-o-0_25:not(tr):before,
tr.bg-mascara-o-0_1 > *:before,
tr.bg-mascara-o-0_25 > *:before,
tr.bg-mascara-gold-o-0_1 > *:before,
tr.bg-mascara-gold-o-0_25 > *:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-mascara--color);
    opacity: 0;
    z-index: 0;
}
.bg-mascara-o-0_1:not(tr):before,
.bg-mascara-gold-o-0_1:not(tr):before,
tr.bg-mascara-o-0_1 > *:before,
tr.bg-mascara-gold-o-0_1 > *:before {
    opacity: 0.1;
}
.bg-mascara-o-0_25:not(tr):before,
.bg-mascara-gold-o-0_25:not(tr):before,
tr.bg-mascara-o-0_25 > *:before,
tr.bg-mascara-gold-o-0_25 > *:before {
    opacity: 0.25;
}
.bg-mascara-o-0_1:not(tr) > *,
.bg-mascara-o-0_25:not(tr) > *,
.bg-mascara-gold-o-0_1:not(tr) > *,
.bg-mascara-gold-o-0_25:not(tr) > *,
tr.bg-mascara-o-0_1 > * > *,
tr.bg-mascara-o-0_25 > * > *,
tr.bg-mascara-gold-o-0_1 > * > *,
tr.bg-mascara-gold-o-0_25 > * > * {
    position: relative;
}


.imagen-contenida {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}
.centrado-absoluto {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* .contenedor-toasts-temporales {
    max-height: 100%;
    overflow-y: auto;
    padding: 1rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 9999;
} */
.contenedor-toasts-temporales {
    position: fixed;
    top: 0;
    right: 0;
    padding: 1rem calc(1rem + 10px) 1rem 1rem;
    max-height: 100%;
    overflow-y: auto;
    z-index: 9999;
}

.caja-sombra-1-1-1-0-15 {
    box-shadow: 0.25rem 0.25rem 0.25rem 0 rgb(0 0 0 / 15%);
}
.modal-dialog.modal-lateral {
    bottom: 0;
    left: 0;
    margin: 0;
    /* max-width: 360px; */
    position: fixed;
    top: 0;
    width: 100%;
}
.modal-dialog.modal-lateral.modal-lateral-sm {
    max-width: 576px;
}
.modal-dialog.modal-lateral.modal-lateral-full {
    max-width: unset;
}
.modal-dialog.modal-lateral.derecha {
    left: unset;
    right: 0;
}
.modal-dialog.modal-lateral .modal-content {
    border-radius: 0;
    border: 0;
    height: 100%;
}
.modal-dialog.modal-lateral .modal-body {
    overflow-y: auto;
}

.modal .contenedor-modal-title {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.modal .contenedor-modal-title .modal-header-buttons {
    margin-left: -.5rem;
    margin-top: .5rem;
}
.modal .contenedor-modal-title .modal-header-buttons > * {
    margin-left: .5rem;
    margin-top: .5rem;
}
.modal .contenedor-modal-title .modal-header-buttons + .close {
    margin-left: 0;
}
.modal.modal-fijo {
    position: fixed;
    right: 0;
    bottom: 0;
    width: unset;
    height: unset;
}
.modal-backdrop.modal-backdrop-fijo {
    display: none;
    height: 100%;
    position: absolute;
    width: 100%;
}
.modal.modal-completo {
    padding: 0 !important;
}
.modal.modal-completo .modal-dialog {
    min-height: 100%;
    margin: 0;
    max-width: unset;
    width: 100%;
}
.modal.modal-completo .modal-content {
    border: none;
    border-radius: 0;
    min-height: 100%;
    position: absolute;
}
.modal .boton-cerrar-modal {
    color: crimson;
}
.modal .boton-cerrar-modal > * {
    font-size: 1.5em;
    line-height: 1;
}
.modal .modal-body .boton-cerrar-modal > * {
    font-size: 2em;
}
.modal .modal-body .boton-cerrar-modal {
    position: absolute;
    right: 8px;
    top: 0;
    z-index: 10;
}

@media (min-width: 576px){
    .modal-dialog.modal-full {
        margin: 1.75rem auto;
        max-width: calc(100% - 3.5rem);
    }
}
@media (min-width: 768px){
    .modal .contenedor-modal-title {
        flex-direction: row;
    }
    .modal .contenedor-modal-title .modal-header-buttons {
        margin-top: -.5rem;
        padding-left: .5rem;
        text-align: right;
    }
}

.fullCalendar-mini-auto {
    width: 100%;
    /* font-size: 10px; */
}
.fullCalendar-mini-auto .fc-toolbar {
    font-size: .9em;
}
.fullCalendar-mini-auto .fc-toolbar h2 {
    font-size: 12px;
    white-space: normal !important;
}
/* click +2 more for popup */
.fullCalendar-mini-auto .fc-more-cell a {
    display: block;
    width: 85%;
    margin: 1px auto 0 auto;
    border-radius: 3px;
    background: grey;
    color: transparent;
    overflow: hidden;
    height: 4px;
}
.fullCalendar-mini-auto .fc-daygrid-more-link {
    font-weight: bold;
}
/* .fullCalendar-mini-auto .fc-more-popover {
    width: 100px;
} */
.fullCalendar-mini-auto .fc-view-month .fc-event, .fc-view-agendaWeek .fc-event, .fc-content {
    font-size: 0;
    overflow: hidden;
    height: 2px;
}
.fullCalendar-mini-auto .fc-view-agendaWeek .fc-event-vert {
    font-size: 0;
    overflow: hidden;
    width: 2px !important;
}
.fullCalendar-mini-auto .fc-agenda-axis {
    width: 20px !important;
    font-size: .7em;
}
.fullCalendar-mini-auto .fc-button-content {
    padding: 0;
}
.fullCalendar a {
    color: inherit;
}

.contenedorItems-2 {
    margin: -0.5rem 0 0 -0.5rem;
}
.contenedorItems-2 > * {
    margin: 0.5rem 0 0 0.5rem;
}

.parpadeante-1s {
    animation: parpadear 1s infinite;
}
@keyframes parpadear {
    0%   { opacity: 1; }
    50%   { opacity: 0; }
    100%   { opacity: 1; }
}

table.tabla-ordenable > thead > tr > th.columna-ordenable {
    cursor: pointer;
}
table.tabla-ordenable > thead > tr > th.orden-asc::after {
    content: " ▲";
}
table.tabla-ordenable > thead > tr > th.orden-desc::after {
    content: " ▼";
}
