.modal-header-clientes {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 1.5rem 0rem 1.5rem;
    padding: 0rem 0rem .3rem 0rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.p-modal {
    padding-right: 0px!important;
}

.btn-buscar-modal {
    color: #DA0A24;
    background: transparent;
    border-radius: 0rem;
    font-size: 14px;
    width: 100px;
    padding: .4rem .7rem;
    float: right;
    border: 1px solid #DA0A24;
}

.btn-buscar-modal:hover {
    color: #fff;
    background: #DA0A24;
}

.btn-seleccionar-cliente-modal {
    color: #fff;
    background: #DA0A24;
    border-radius: 0rem;
    font-size: 13px;
    width: 100px;
    padding: .4rem;
    float: right;
}

.btn-seleccionar-cliente-modal:hover {
    color: #fff;
    background: #a70515;
}

.modal-title-clientes {
    margin-bottom: 0;
    line-height: 1.5;
    margin-top: 5px;
    font-family: 'Roboto', sans-serif!important;
    font-size: 20px;
    color: #414042;
}

.modal-body-clientes {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem .7rem 1rem 1.5rem;
    overflow: hidden!important;
}

.title-cliente-modal {
	color: #000000;
    font-size: 15px;
    margin-bottom: 8px;
}

.border-modal-table {
    border-bottom: 1px solid #dee2e6;
    margin-right: 25px;
    padding-bottom: 2rem!important;
}

.modal-content-cliente {
    border: 0px solid rgba(0,0,0,0)!important;
    border-radius: 5px!important;
}

.modal-dialog-clientes {
    max-width: 700px;
    margin: 3.5rem auto;
    max-height: 600px;
    min-height: 500px;
    height: 540px;
}

.padx-2 {
	padding-left: 11px;
	padding-right: 15px;
}

.modal-footer-cliente {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 1rem .75rem 1.5rem .75rem;
    border-top: 0px solid #dee2e6;
    border-bottom-right-radius: calc(.3rem - 1px);
    border-bottom-left-radius: calc(.3rem - 1px);
}

.btn-cancelar-modal {
    color: #fff;
    background: #414042;
    border-radius: 0rem;
    font-size: 13px;
    width: 130px;
    padding: .7rem;
}

.btn-cancelar-modal:hover {
    color: #fff;
    background: #231F20;
}

.pady-2 {
    padding-top: .4rem!important;
    padding-bottom: .4rem!important;
}

.tabla-clientes {
    max-height: 235px;
    overflow-y: auto;
    padding-right: 15px;
}

.btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 0%);
    opacity: 1;
}

.btn-cargar-producto {
    color: #fff;
    background: #DA0A24;
    border-radius: 0rem;
    font-size: 13px;
    width: 120px;
    padding: .4rem;
    float: right;
}

.btn-cargar-producto:hover {
    color: #fff;
    background: #a70515;
}

.text-cant-bulto {
    font-size: 14px;
    color: #DA0A24;
}

.modal-dialog-pedidos {
    max-width: 800px;
    margin: 3.5rem auto;
    max-height: 600px;
    min-height: 500px;
    height: 540px;
}

.tabla-pedidos {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 15px;
}

.pads-0 {
    padding-left: 0px!important;
}

.scroll-custom-modal {
    overflow-y: hidden!important;
}

@media screen and (max-width: 767px) {
    .btn-buscar-modal {
        color: #DA0A24;
        background: transparent;
        border-radius: 0rem;
        font-size: 14px;
        width: 100px;
        padding: .45rem .7rem;
        float: none;
        border: 1px solid #DA0A24;
        margin-top: 15px;
    }
    
    .btn-buscar-modal:hover {
        color: #fff;
        background: #DA0A24;
    }

    .modal-dialog-clientes {
        max-width: 700px;
        margin: 4rem auto;
        max-height: 600px;
        min-height: 500px;
        height: 540px;
        padding: 20px;
    }

    .modal-dialog-clientes {
        max-width: 700px;
        margin: 2.5rem auto;
        max-height: 585px;
        min-height: 550px;
        height: 700px;
    }

    .btn-cargar-producto {
        color: #fff;
        background: #DA0A24;
        border-radius: 0rem;
        font-size: 13px;
        width: 120px;
        padding: .4rem;
        float: none;
        margin-top: 15px;
    }

    .pads-0 {
        padding-left: 12px!important;
    }

    .modal-dialog-pedidos {
        max-width: 800px;
        margin: 2rem auto;
        max-height: 700px;
        min-height: 500px;
        height: 675px;
        padding: 20px;
    }

    .tabla-pedidos {
        max-height: 160px;
        overflow-y: auto;
        padding-right: 15px;
    }

    .scroll-custom-modal {
        overflow-y: auto!important;
    }
}

@media screen and (max-width: 576px) {
    .modal-dialog-clientes {
        max-width: 700px;
        margin: 2rem auto;
        max-height: 70vh;
        min-height: 525px;
        height: 540px;
        padding: 20px;
    }

    .tabla-clientes {
        max-height: 130px;
        overflow-y: auto;
        padding-right: 15px;
    }
    .text-cant-bulto {
        font-size: 13px;
        color: #DA0A24;
    }
    .title-cliente-modal {
        color: #000000;
        font-size: 14px;
        margin-bottom: 6px;
    }
    .modal-title-clientes {
        font-size: 18px;
    }
}

@media screen and (max-width: 400px) {
    .pady-2 {
        padding-top: .9rem!important;
        padding-bottom: .8rem!important;
        padding-left: .3rem!important;
    }

    .table-body-mob {
        padding: .8rem .3rem!important;
    }

    .tabla-clientes {
        max-height: 130px;
        overflow-y: auto;
        padding-right: 15px;
    }

    .tabla-pedidos {
        max-height: 160px;
        overflow-y: auto;
        padding-right: 15px;
        overflow-x: hidden;
    }
}
