.loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: hidden; /* oculto por defecto */
}

td, th {
    vertical-align: middle !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

.btn-table {
    font-size: 8px !important
}

/* Ocultar flechas en input de tipo numbre */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para ocultar las flechas en Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Input Invisible sin bordes ni nada */
.inputInvisible {
    width: 0%; 
    height: 0%; 
    background-color: transparent; 
    color: transparent; 
    border-color: transparent;
}

.inputInvisible:focus {
    border: none;
    outline: none;
}

.table-responsive{
    height: 500px;
}
.table-responsive thead{
    position: sticky;
    top: 0;
    z-index: 10;
    border: 0;
}
.col-break-spaces{
    width: 45px;
    white-space: break-spaces;
}
.todoUnaLinea {
    white-space: nowrap;
}

.table-muy-danger{
    background-color: #DC3545DD !important;
    color: #fff !important;
}

.table-muy-warning{
    background-color: #FFE95ADD !important;
    color: #000 !important;
}

.table-muy-success{
    background-color: #35DBCDDD !important;
    color: #000 !important;
}

.pulse{animation: animate 3s linear infinite;position: relative;z-index: 10;}
.pulse i{position: relative;display: flex;justify-content: center;align-items: center;font-size: 13px;color: #fff;height: 100%;cursor: pointer}@keyframes animate{0%{box-shadow: 0 0 0 0 #17a2b8 , 0 0 0 0 #17a2b8}40%{box-shadow: 0 0 0 25px rgb(255, 109, 74, 0) , 0 0 0 0 #17a2b8}80%{box-shadow: 0 0 0 25px rgb(255, 109, 74, 0) , 0 0 0 15px rgb(255, 109, 74, 0)}100%{box-shadow: 0 0 0 0 rgb(255, 109, 74, 0) , 0 0 0 30px rgb(255, 109, 74, 0)}}

table.dataTable thead>tr>th.dt-orderable-asc, table.dataTable thead>tr>th.dt-orderable-desc, table.dataTable thead>tr>th.dt-ordering-asc, table.dataTable thead>tr>th.dt-ordering-desc, table.dataTable thead>tr>td.dt-orderable-asc, table.dataTable thead>tr>td.dt-orderable-desc, table.dataTable thead>tr>td.dt-ordering-asc, table.dataTable thead>tr>td.dt-ordering-desc{
    padding-right: 15px !important;
}
table.dataTable thead>tr>th.dt-orderable-asc span.dt-column-order, table.dataTable thead>tr>th.dt-orderable-desc span.dt-column-order, table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order, table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order, table.dataTable thead>tr>td.dt-orderable-asc span.dt-column-order, table.dataTable thead>tr>td.dt-orderable-desc span.dt-column-order, table.dataTable thead>tr>td.dt-ordering-asc span.dt-column-order, table.dataTable thead>tr>td.dt-ordering-desc span.dt-column-order{
    width: auto !important;
    right: 12px !important;
}
@media (min-width:992px) {
    .modal-lg,.modal-xl {
        max-width:800px
    }
}

@media (min-width:1200px) {
    .modal-xl {
        max-width:1140px
    }
}

.form-control-plaintext.is-invalid{
    border: 1px solid #dc3545;
    border-radius: .25rem;
}

.modal-dialog-scrollable{display:-ms-flexbox;display:flex;max-height:calc(100% - 1rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 1rem);overflow:hidden}.modal-dialog-scrollable .modal-footer,.modal-dialog-scrollable .modal-header{-ms-flex-negative:0;flex-shrink:0}.modal-dialog-scrollable .modal-body{overflow-y:auto}.modal-dialog-centered{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:calc(100% - 1rem)}.modal-dialog-centered::before{display:block;height:calc(100vh - 1rem);height:-webkit-min-content;height:-moz-min-content;height:min-content;content:""}.modal-dialog-centered.modal-dialog-scrollable{-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;height:100%}.modal-dialog-centered.modal-dialog-scrollable .modal-content{max-height:none}.modal-dialog-centered.modal-dialog-scrollable::before{content:none}.modal-dialog-scrollable{max-height:calc(100% - 3.5rem)}.modal-dialog-scrollable .modal-content{max-height:calc(100vh - 3.5rem)}

.fondoRojo {
    background-color: rgb(255, 200, 200) !important;
}

.fondoVerde {
    background-color: rgb(196, 255, 178) !important;
}

.fondoAzul {
    background-color: rgb(160, 216, 240) !important;
}

.table-VAC {
    color: #000;
    background-color: rgb(215, 228, 188);
}
.table-ENF {
    color: #000;
    background-color: rgb(255, 153, 0);
}
.table-ART {
    color: #000;
    background-color: rgb(178, 161, 199);
}
.table-SUS {
    color: #000;
    background-color: rgb(255, 0, 0);
}
.table-CAS {
    color: #000;
    background-color: rgb(0, 176, 240);
}
.table-OTR {
    color: #000;
    background-color: rgb(148, 139, 84);
}

.form-control-xs{
    padding: 0 !important;
    font-size: 10px !important;
}

.text-tachado{
    text-decoration: line-through;
}