.select2-selection__rendered {
    line-height: 36px !important;
}
.select2-container .select2-selection--single {
    height: 36px !important;
}
.select2-selection__arrow {
    height: 36px !important;
}
.gastscroll{
 height:350px;
 overflow-y: scroll;
 padding-right: 0;    
}
.producto-btn {
    width: 100%;
}

@media (min-width: 768px) {
    .producto-btn {
        width: auto;
    }
}
.modalproductos{
    margin-top: 1rem;
}
@media (min-width: 768px) {
    .modalproductos {
        width: 700px!important;
        max-width: 700px!important;
        margin-top: 1rem;
    }
}
@media (max-width: 767.98px) {
    #modalProductoVenta {
        padding: 0.5rem !important;
    }

    #modalProductoVenta .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: calc(100vh - 1rem);
    }

    #modalProductoVenta .modal-content {
        max-height: calc(100vh - 1rem);
        border-radius: 14px;
        overflow: hidden;
    }

    #modalProductoVenta .modal-header {
        padding: 0.75rem 0.9rem;
        gap: 0.5rem;
        align-items: flex-start;
    }

    #modalProductoVenta .modal-title {
        font-size: 0.95rem;
        line-height: 1.3;
        margin: 0 !important;
    }

    #modalProductoVenta .modal-body {
        padding: 0.85rem 0.85rem 0 !important;
        overflow-y: auto;
    }

    #modalProductoVenta .modal-footer {
        padding: 0.85rem;
        background: #fff;
    }

    #modalProductoVenta .input-group-text {
        white-space: normal;
    }
}
@media (max-width: 767.98px) {
    .footer-productos {
        flex-direction: column;
    }

    .footer-productos > button,
    .footer-productos > div {
        width: 100%;
    }
}
.container-scroll-ord{
  height:450px;
 overflow-y: scroll;
 padding-right: 0;     
}
.ctagraficoscroll{
height:350px;
overflow-y: scroll;    
}
.bt-codnew{
  width:28%; 
  margin: 2px!important;
}
.bt-codnew5{
 width:17%; 
 margin: 1px!important;
} 
div.modal-header{
    background-color: #012a6f;
    margin-top: -1px;
    margin-right: -1px;
}
/*sweet alert colors*/
.swal2-popup .swal2-styled.swal2-cancel {
    color: #012a6f!important;
}
.swal2-popup .swal2-styled.swal2-confirm {
    background-color: #012a6f!important;
    border-left-color: #012a6f!important;
    border-right-color: #012a6f!important;
}
.busqrepocroll{
  height:80vh;
  overflow-y: scroll;
  padding-right: 0;
  -webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.emprescroll {
  height:300px;
  overflow-y: scroll;
  padding-right: 0;
    -webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.busqcroll{
 height:80vh;
overflow-y: scroll;
padding-right: 0;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;        
}
@media (max-width: 767.98px) {
  .busqcroll {
    height: 45vh;
  }
}
.fixtop {
    position: sticky;
    top: 0;
    color:#fff;
    background-color: #343a40; /* Fondo igual al de .text-white */
    z-index: 2; /* Para que no se solapen */
}
.container-scroll-fac{
 height:290px;
 overflow-y: scroll;
 padding-right: 0;    
}
.facturas-table-row,
.facturas-summary-row,
.facturas-actions-row {
    margin-left: 0;
    margin-right: 0;
}

.facturas-table-wrap {
    padding-left: 0;
    padding-right: 0;
}
@media (max-width: 767.98px) {
    .facturas-mobile-table {
        table-layout: fixed;
        width: 100%;
        margin-bottom: 0;
    }

    .facturas-mobile-table th,
    .facturas-mobile-table td {
        padding: 0.5rem 0.3rem;
        vertical-align: middle;
        font-size: 0.85rem;
    }

    .facturas-mobile-table .col-accion-mobile {
        width: 42px;
        min-width: 42px;
    }

    .facturas-mobile-table .col-cant-mobile {
        width: 76px;
        min-width: 76px;
    }

    .facturas-mobile-table .col-total-mobile {
        width: 94px;
        min-width: 94px;
    }

    .facturas-mobile-table .acciones-factura {
        padding-top: 0.45rem !important;
    }

    .facturas-mobile-table .acciones-factura a {
        display: block;
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .facturas-mobile-table .acciones-factura a:last-child {
        margin-bottom: 0;
    }

    .facturas-mobile-table .acciones-factura svg {
        width: 25px;
        height: 25px;
    }

    .facturas-mobile-table .cantidad-factura-input {
        max-width: 62px !important;
        padding: 0.2rem 0.3rem;
        font-size: 0.83rem;
    }

    .facturas-mobile-table .descripcion-factura-cell {
        font-size: 0.84rem;
        line-height: 1.2;
        word-break: break-word;
    }

    .facturas-mobile-table .total-factura-cell h6,
    .facturas-mobile-table .cantidad-factura-cell h6 {
        margin-bottom: 0;
        font-size: 0.84rem;
    }

    .facturas-table-wrap,
    .facturas-summary-row > [class*="col-"],
    .facturas-actions-row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    .facturas-actions-row .btn {
        width: 100%;
    }
}
.container-scroll-coti{
 height:430px;
 overflow-y: scroll;
 padding-right: 0; 
}
