#modalPreciosCliente .modal-header {
    border-bottom: 2px solid #143DD4;
}

#modalPreciosCliente .pc-titulo {
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #143DD4;
    margin: 0;
}

#modalPreciosCliente .pc-subtitulo {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #444;
    letter-spacing: 0.5px;
    margin-top: 4px;
    min-height: 18px;
}

#modalPreciosCliente .pc-buscador {
    position: relative;
    margin-bottom: 10px;
}

#modalPreciosCliente .pc-buscador:after {
    content: "";
    display: block;
    clear: both;
}

#modalPreciosCliente .pc-resultados {
    display: none;
    position: absolute;
    z-index: 1060;
    width: 92%;
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #143DD4;
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

#modalPreciosCliente .pc-item-producto {
    display: block;
    padding: 7px 10px;
    border-bottom: 1px solid #eee;
    color: #222;
    text-decoration: none;
    font-size: 13px;
}

#modalPreciosCliente .pc-item-producto:hover {
    background: #E8EEFF;
    color: #143DD4;
}

#modalPreciosCliente .pc-item-producto span {
    display: block;
    font-size: 11px;
    color: #777;
    letter-spacing: 0.5px;
}

#modalPreciosCliente .pc-sin-resultado {
    padding: 10px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

#modalPreciosCliente .pc-leyenda {
    clear: both;
    background: #EEF2FE;
    border-left: 4px solid #143DD4;
    color: #2b3a6b;
    font-size: 11px;
    letter-spacing: 0.3px;
    padding: 6px 10px;
    margin-bottom: 6px;
}

/* Con las columnas de quesos la tabla no entra en el modal: se desplaza en
   horizontal dentro de su propio contenedor, sin mover el resto. */
#modalPreciosCliente .pc-tabla-contenedor {
    clear: both;
    max-height: 340px;
    overflow-y: auto;
    overflow-x: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#modalPreciosCliente .pc-tabla {
    margin: 0;
    font-size: 13px;
}

#modalPreciosCliente .pc-tabla thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #143DD4;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.5px;
    border: none;
    padding: 7px 6px;
}

#modalPreciosCliente .pc-tabla td {
    vertical-align: middle;
    padding: 5px 6px;
}

#modalPreciosCliente .pc-col-desc small {
    display: block;
    color: #888;
    font-size: 11px;
    letter-spacing: 0.5px;
}

#modalPreciosCliente .pc-col-num {
    text-align: right;
    width: 110px;
}

#modalPreciosCliente .pc-col-btn {
    text-align: center;
    width: 45px;
}

#modalPreciosCliente .pc-input-precio {
    width: 100%;
    text-align: right;
    font-weight: bold;
    color: #143DD4;
    border: 1px solid #bfcbf5;
    border-radius: 3px;
    padding: 3px 5px;
}

#modalPreciosCliente .pc-input-precio:focus {
    border-color: #143DD4;
    outline: none;
}

#modalPreciosCliente .pc-col-param {
    text-align: right;
    width: 90px;
    min-width: 90px;
}

/* Vacio = hereda del producto (gris, con el heredado de placeholder).
   Con valor propio = azul y en negrita, igual que el precio especial. */
#modalPreciosCliente .pc-input-param {
    width: 100%;
    text-align: right;
    color: #999;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 3px 5px;
    background: #fafafa;
}

#modalPreciosCliente .pc-input-param.pc-propio {
    color: #143DD4;
    font-weight: bold;
    border-color: #bfcbf5;
    background: #fff;
}

#modalPreciosCliente .pc-input-param:focus {
    border-color: #143DD4;
    outline: none;
    background: #fff;
}

#modalPreciosCliente .pc-no-aplica {
    text-align: center;
    color: #ccc;
    background: #f7f7f7;
}

#modalPreciosCliente .pc-tag {
    display: inline-block;
    border-radius: 3px;
    padding: 0 5px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
}

#modalPreciosCliente .pc-tag-int {
    background: #143DD4;
}

#modalPreciosCliente .pc-tag-ext {
    background: #E67E22;
}

#modalPreciosCliente .pc-tag-nin {
    background: #7f8c8d;
}

#modalPreciosCliente .pc-baja {
    color: #C0392B;
    font-weight: bold;
}

#modalPreciosCliente .pc-sube {
    color: #196211;
    font-weight: bold;
}

#modalPreciosCliente .pc-vacio {
    text-align: center;
    color: #999;
    font-size: 13px;
    padding: 18px 0;
}

.precio-cliente-bloqueado {
    background-color: #E8F5E9 !important;
    color: #196211 !important;
    font-weight: bold !important;
    cursor: not-allowed;
}

.pc-aviso-cliente {
    display: none;
    background: #E8F5E9;
    border-left: 4px solid #196211;
    color: #196211;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    margin-bottom: 5px;
}

@media (max-width: 767px) {

    #modalPreciosCliente .pc-resultados {
        width: 100%;
    }

    #modalPreciosCliente .pc-col-num {
        width: 80px;
    }

    #modalPreciosCliente .pc-tabla {
        font-size: 12px;
    }
}
