﻿.label-junta {
    margin: 0 !important;
}

.label-junta-normal {
    margin: 0 !important;
    font-weight: normal !important;
}

.bg-light-orange {
    background-color: #FFA07A; 
}

.text-dark-orange {
    color: #FF4500;
}

.btn-orange {
    color: #fff;
    background-color: #FF4500;
    border-color: #FF4500;
    box-shadow: none;
}

.btn-purple {
    color: #fff;
    background-color: var(--purple);
    border-color: var(--purple);
    box-shadow: none;
}

.btn-purple:hover {
    color: #fff;
    background-color: #9932CC; /* Un púrpura más claro */
    border-color: #9932CC;
}

.text-brown {
    color: #A0522D !important; /* Marrón oscuro */
}

.bg-orange {
    background-color: var(--orange);
}

.bg-light-dark {
    background-color: #e7e8e9 !important;
}

.bg-light-success {
    background-color: rgba(27, 197, 189, 0.2) !important;
}

.bg-light-warning {
    background-color: rgba(255, 168, 0, 0.2) !important;
}

.bg-dark-purple {
    background-color: #800080 !important;
}

.bg-purple {
    background-color: var(--purple) !important;
}

.bg-light-purple {
    background-color: #D8BFD8 !important;
}

.border-purple {
    border: 1px solid var(--purple);
}

.text-purple {
    color: var(--purple) !important;
}

.text-light-info {
    color: #859cb8 !important;
}

.border-orange {
    border: 1px solid #FF4500;
}

.text-oliva {
    color: #a84719 !important;
}

.text-orange {
    color: var(--orange) !important;
}

.e-bigger .e-grid .e-grid-status-text {
    position: relative;
    top: -2px;
}

td.e-rowcell .e-grid-status-text.e-verde {
    color: #00cc00;
    position: relative;
}

td.e-rowcell .e-grid-status-text.e-rojo {
    color: #e60000;
    position: relative;
}

td.e-rowcell .e-grid-status-text.e-amarillo {
    color: orange;
    position: relative;
}

.bootstrap5 .e-checkboxfiltertext .e-grid-status-temp .e-grid-status-text.e-verde,
.bootstrap5 .e-checkboxfiltertext .e-grid-status-temp .e-grid-status-text.e-rojo,
.bootstrap5 .e-checkboxfiltertext .e-grid-status-temp .e-grid-status-text.e-amarillo {
    position: relative;
    top: 1.5px;
}

.e-bigger.bootstrap5 .e-checkboxfiltertext .e-grid-status-temp .e-grid-status-text.e-verde,
.e-bigger.bootstrap5 .e-checkboxfiltertext .e-grid-status-temp .e-grid-status-text.e-rojo,
.e-bigger.bootstrap5 .e-checkboxfiltertext .e-grid-status-temp .e-grid-status-text.e-amarillo {
    top: -0.5px;
}

.e-grid-status-temp.e-rojo {
    background-color: #ffd7cc;
}

.e-grid-status-temp.e-verde {
    background-color: #ccffcc;
}

.e-grid-status-temp.e-amarillo {
    background-color: lightyellow;
}

.e-grid-status-text.e-verde {
    color: #00cc00;
}

.e-grid-status-text.e-rojo {
    color: #e60000;
}

.e-grid-status-text.e-amarillo {
    color: orange;
}

/* Color morado */
.custom-purple {
    --bs-primary: #7c37ad;
    --bs-secondary: #c1b5e5;
    --bs-success: #8f5cd2;
    --bs-warning: #b97cff;
    --bs-danger: #5a189a;
}

/* Color turquesa */
.custom-turquoise {
    --bs-primary: #17a2b8;
    --bs-secondary: #b6e3e9;
    --bs-success: #00bcd4;
    --bs-warning: #4db6ac;
    --bs-danger: #ef9a9a;
}

.bg-light-primary {
    background-color: #b2d3e6 !important;
}

.bg-light-danger {
    background-color: #f5a6a6 !important;
}

.bg-light-grey {
    background-color: #f8f9fa !important;
}

.border-grey {
    border: 1px solid #dfe1e4;
}

.border-danger {
    border: 1px solid #dc3545;
}

.font-bold {
    font-weight: bold;
}

.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-left-color: #dc3545;
    animation: spin 1s ease infinite;
}

.bg-claro {
    background-color: #dfe1e4 !important;
}

.text-pink {
    color: var(--pink) !important;
}

.text-light-pink {
    color: #ff9fea !important;
}

.callout.callout-pink {
    border-left-color: #FF1493;
}

.bg-light-pink {
    background-color: #FFB6C1;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.custom-modal-extralarge {
    max-width: 75%; 
}

.custom-modal-extralargeplus {
    max-width: 90%;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #007bff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #ffffff !important;
}

.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px) !important; /* O el valor que desees */
}

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0
}

.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0
}

.modal-fullscreen .modal-footer, .modal-fullscreen .modal-header {
    border-radius: 0
}

.modal-fullscreen .modal-body {
    overflow-y: auto
}

@media (max-width:575.98px) {
    .modal-fullscreen-sm-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-sm-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-sm-down .modal-footer, .modal-fullscreen-sm-down .modal-header {
        border-radius: 0
    }

    .modal-fullscreen-sm-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:767.98px) {
    .modal-fullscreen-md-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-md-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-md-down .modal-footer, .modal-fullscreen-md-down .modal-header {
        border-radius: 0
    }

    .modal-fullscreen-md-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:991.98px) {
    .modal-fullscreen-lg-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-lg-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-lg-down .modal-footer, .modal-fullscreen-lg-down .modal-header {
        border-radius: 0
    }

    .modal-fullscreen-lg-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:1199.98px) {
    .modal-fullscreen-xl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-xl-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-xl-down .modal-footer, .modal-fullscreen-xl-down .modal-header {
        border-radius: 0
    }

    .modal-fullscreen-xl-down .modal-body {
        overflow-y: auto
    }
}

@media (max-width:1399.98px) {
    .modal-fullscreen-xxl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0
    }

    .modal-fullscreen-xxl-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0
    }

    .modal-fullscreen-xxl-down .modal-footer, .modal-fullscreen-xxl-down .modal-header {
        border-radius: 0
    }

    .modal-fullscreen-xxl-down .modal-body {
        overflow-y: auto
    }
}

.eli-separador {
    border-top: 2px solid var(--blue);
    height: 1px;
    margin: 0;
}

.row-eli {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0.2rem; /* Compensa el margen de las columnas */
}

.col-eli-1, .col-eli-2, .col-eli-3, .col-eli-4 {
    box-sizing: border-box; /* Asegura que el padding y el margen se incluyan en el ancho */
    margin: 0.25rem; /* Ajusta el margen */
}

.col-eli-1 {
    flex: 0 0 calc((100% / 24) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24) - 0.5rem);
}

.col-eli-2 {
    flex: 0 0 calc((100% / 24 * 2) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 2) - 0.5rem);
}

.col-eli-3 {
    flex: 0 0 calc((100% / 24 * 3) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 3) - 0.5rem);
}

.col-eli-4 {
    flex: 0 0 calc((100% / 24 * 4) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 4) - 0.5rem);
}

.col-eli-5 {
    flex: 0 0 calc((100% / 24 * 5) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 5) - 0.5rem);
}

.col-eli-6 {
    flex: 0 0 calc((100% / 24 * 6) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 6) - 0.5rem);
}

.col-eli-7 {
    flex: 0 0 calc((100% / 24 * 7) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 7) - 0.5rem);
}

.col-eli-8 {
    flex: 0 0 calc((100% / 24 * 8) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 8) - 0.5rem);
}

.col-eli-9 {
    flex: 0 0 calc((100% / 24 * 9) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 9) - 0.5rem);
}

.col-eli-10 {
    flex: 0 0 calc((100% / 24 * 10) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 10) - 0.5rem);
}

.col-eli-11 {
    flex: 0 0 calc((100% / 24 * 11) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 11) - 0.5rem);
}

.col-eli-12 {
    flex: 0 0 calc((100% / 24 * 12) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 12) - 0.5rem);
}

.col-eli-13 {
    flex: 0 0 calc((100% / 24 * 13) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 13) - 0.5rem);
}

.col-eli-14 {
    flex: 0 0 calc((100% / 24 * 14) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 14) - 0.5rem);
}

.col-eli-15 {
    flex: 0 0 calc((100% / 24 * 15) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 15) - 0.5rem);
}

.col-eli-16 {
    flex: 0 0 calc((100% / 24 * 16) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 16) - 0.5rem);
}

.col-eli-17 {
    flex: 0 0 calc((100% / 24 * 17) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 17) - 0.5rem);
}

.col-eli-18 {
    flex: 0 0 calc((100% / 24 * 18) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 18) - 0.5rem);
}

.col-eli-19 {
    flex: 0 0 calc((100% / 24 * 19) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 19) - 0.5rem);
}

.col-eli-20 {
    flex: 0 0 calc((100% / 24 * 20) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 20) - 0.5rem);
}

.col-eli-21 {
    flex: 0 0 calc((100% / 24 * 21) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 21) - 0.5rem);
}

.col-eli-22 {
    flex: 0 0 calc((100% / 24 * 22) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 22) - 0.5rem);
}

.col-eli-23 {
    flex: 0 0 calc((100% / 24 * 23) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 23) - 0.5rem);
}

.col-eli-24 {
    flex: 0 0 calc((100% / 24 * 24) - 0.5rem); /* Ajusta el ancho */
    max-width: calc((100% / 24 * 24) - 0.5rem);
}

.eli-sin-cursor {
    cursor: none !important;
}

.nav-subitem {
    margin-left: 1.5rem !important;
}

.eli-oculto {
    display: none;
}

.eli-highlight {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    line-height: .9rem;
}

.eli-highlight.facturado-total {
    background-color: var(--success);
}

.eli-highlight.facturado-parcial {
    background-color: var(--warning);
}

.eli-highlight.no-facturado {
    background-color: var(--danger);
}

.eli-highlight.no-confirmado {
    background-color: var(--purple);
}

.eli-highlight.cliente-sin-oc {
    background-color: var(--primary);
}

.eli-highlight.oc-asignada {
    background-color: var(--success);
}

.eli-highlight.oc-no-asignada {
    background-color: var(--danger);
}