span.blue {
    background: #5178D0;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.bluelg {
    background: #5178D0;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 2em;
    margin-right: 15px;
    text-align: center;
    width: 2em;
}

span.red {
    background: #f56954;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.redlg {
    background: #f56954;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 2em;
    margin-right: 15px;
    text-align: center;
    width: 2em;
}

span.green {
    background: #00a65a;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.greenlg {
    background: #00a65a;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 2em;
    margin-right: 15px;
    text-align: center;
    width: 2em;
}

span.pink {
    background: #EF0BD8;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.orange {
    background: rgb(231, 108, 6);
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.yellow {
    background: #eb9100;
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.yellowlg {
    background: #eb9100;
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 2em;
    margin-right: 15px;
    text-align: center;
    width: 2em;
}

span.purple {
    background: rgb(160, 58, 255);
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

span.purplelg {
    background: rgb(160, 58, 255);
    border-radius: 1em;
    -moz-border-radius: 1em;
    -webkit-border-radius: 1em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 2em;
    margin-right: 15px;
    text-align: center;
    width: 2em;
}

span.gray {
    background: rgb(96, 91, 100);
    border-radius: 0.8em;
    -moz-border-radius: 0.8em;
    -webkit-border-radius: 0.8em;
    color: #ffffff;
    display: inline-block;
    font-weight: bold;
    line-height: 1.6em;
    margin-right: 15px;
    text-align: center;
    width: 1.6em;
}

.tooltip-inner {
    max-width: 200px;
    padding: 3px 8px;
    color: #fff;
    text-align: center;
    background-color: #16478a;
    border-radius: .25rem;
}


/*Css for top arrow:*/

.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before,
.tooltip.bs-tooltip-top .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 5px 5px 0;
    border-top-color: #16478a;
}


/*Css for right arrow:*/

.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before,
.tooltip.bs-tooltip-right .arrow::before {
    margin-top: -3px;
    content: "";
    border-width: 5px 5px 5px 0;
    border-right-color: #16478a;
}


/*Css for bottom arrow:*/

.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.tooltip.bs-tooltip-bottom .arrow::before {
    margin-left: -3px;
    content: "";
    border-width: 0 5px 5px;
    border-bottom-color: #16478a;
}


/*Css for left arrow:*/

.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before,
.tooltip.bs-tooltip-left .arrow::before {
    right: 0;
    margin-top: -3px;
    content: "";
    border-width: 5px 0 5px 5px;
    border-left-color: #16478a;
}

.ocultar {
    display: none;
}

#codigoPedido {
    color: rgb(224, 53, 53);
    font-weight: bolder;
    text-align: center;
}

.lblformapago {
    background-color: rgb(255 231 231);
    border: 2.5px 2.5px 2.5px 2.5px;
    color: #ff3b00;
    border-color: #ff5d5d;
}

.lbltipodocumento {
    background-color: rgb(237 255 244);
    border: 2.5px 2.5px 2.5px 2.5px;
    color: #2e9d00;
    border-color: #107604;
}

.btn-poroducto-familia {
    background-color: rgb(22 76 124);
    color: #f5f4f4;
    border: 2.5px 2.5px 2.5px 2.5px;
    font-size: 1em;
}

.btnproducto {
    background-color: rgb(255 250 217);
    border: 2.5px 2.5px 2.5px 2.5px;
    border-color: cadetblue;
}

.descripcionproducto {
    color: rgb(32, 41, 54);
    font-weight: normal;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    min-height: 3.25em;
}

.stockproducto {
    color: rgb(181 67 0);
    font-size: 1em;
    font-weight: bolder;
    text-align: left;
    display: inline-block;
    width: 80px;
    background-color: #ffe7d5;
}

.precioproducto {
    color: rgb(1 80 199);
    font-size: 1em;
    font-weight: bolder;
    text-align: right;
    display: inline-block;
    background-color: #dfecff;
    width: 80px;
}

.header-sm {
    padding: 0.5em;
}

.form-group-sm {
    margin-bottom: 0.5rem;
}

#imagenessubidas {
    padding: 0 0 0 0;
    margin: 0 0 0 0;
}

#imagenessubidas li {
    list-style: none;
    margin-bottom: 25px;
}

#imagenessubidas li img {
    cursor: pointer;
}

#gallery img {
    height: 60vw;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 30px 30px 30px 30px;
}

@media (min-width: 576px) {
    #gallery img {
        height: 35vw;
    }
}

@media (min-width: 992px) {
    #gallery img {
        height: 15vw;
    }
}


/*.carousel-item img {
    height: 60vw;
    -o-object-fit: cover;
    object-fit: cover;
}

@media (min-width: 576px) {
    .carousel-item img {
        height: 350px;
    }
}

* {
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

#gallery.custom {
    padding: 0 15px;
}

#gallery.custom img {
    display: block;
    margin: 15px 0;
    border-radius: 300px 30px 300px 300px;
}

#gallery.custom img:hover {
    border-radius: 30px 90px 30px 30px;
}

#exampleModal.custom .modal-content {
    background: none;
    border: none;
}

#exampleModal.custom .modal-header {
    border: none;
}

#exampleModal.custom .modal-header button {
    background: none;
    border-radius: 100px 100px 0 0;
    padding: 5px 10px;
    opacity: 1;
    position: relative;
    top: 3px;
    border: solid 2px white;
}

@media (min-width: 992px) {
    #exampleModal.custom .modal-header button {
        top: 15px;
    }
}

#exampleModal.custom .modal-header button:hover {
    top: 3px;
}

#exampleModal.custom .modal-header span {
    color: white;
}

#exampleModal.custom .modal-body {
    padding: 0;
    border: none;
    position: relative;
}

#exampleModal.custom .modal-body::before,
#exampleModal.custom .modal-body::after {
    content: "";
    height: 50px;
    width: 50px;
    display: block;
    position: absolute;
    background: white;
    border-radius: 3px 10px;
}

@media (min-width: 768px) {
    #exampleModal.custom .modal-body::before,
    #exampleModal.custom .modal-body::after {
        border-radius: 3px 30px;
        height: 100px;
        width: 100px;
    }
}

#exampleModal.custom .modal-body::before {
    top: -5px;
    left: -5px;
}

@media (min-width: 768px) {
    #exampleModal.custom .modal-body::before {
        top: -15px;
        left: -15px;
    }
}

#exampleModal.custom .modal-body::after {
    bottom: -5px;
    right: -5px;
    z-index: -1;
}

@media (min-width: 768px) {
    #exampleModal.custom .modal-body::after {
        bottom: -15px;
        right: -15px;
    }
}

#exampleModal.custom .modal-footer {
    border: none;
    margin-top: 60px;
}

@media (min-width: 992px) {
    #exampleModal.custom .modal-footer {
        margin-top: 40px;
    }
}

#exampleModal.custom .modal-footer .btn {
    margin: auto;
    border: solid 2px white;
    background: none;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 0.1em;
    font-weight: bold;
    padding: 0.2em 0.7em;
}

#exampleModal.custom .modal-footer .btn:hover {
    background: white;
    color: black;
}

#exampleModal.custom .carousel-control-prev,
#exampleModal.custom .carousel-control-next {
    font-size: 2em;
    top: auto;
    opacity: 1;
    bottom: -52px;
}

@media (min-width: 768px) {
    #exampleModal.custom .carousel-control-prev,
    #exampleModal.custom .carousel-control-next {
        top: 0;
        opacity: 0.5;
        bottom: 0;
    }
}

#exampleModal.custom .carousel-control-next-icon,
#exampleModal.custom .carousel-control-prev-icon {
    height: 30px;
    width: 30px;
}

@media (min-width: 768px) {
    #exampleModal.custom .carousel-control-prev {
        left: -90px;
    }
}

@media (min-width: 768px) {
    #exampleModal.custom .carousel-control-next {
        right: -90px;
    }
}

#exampleModal.custom .carousel-indicators {
    bottom: -60px;
}

@media (min-width: 992px) {
    #exampleModal.custom .carousel-indicators {
        bottom: -30px;
    }
}

#exampleModal.custom .carousel-indicators li {
    height: 30px;
    border-radius: 100px;
    background: none;
    border: solid 2px white;
}

@media (min-width: 992px) {
    #exampleModal.custom .carousel-indicators li {
        height: 10px;
    }
}

#exampleModal.custom .carousel-indicators li:hover {
    background: white;
}

#exampleModal.custom .carousel-indicators li.active {
    background: white;
}*/


/* The switch - the box around the slider */

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

@media (min-width: 576px) {
    .switch {
        margin: 0;
    }
}


/* Hide default HTML checkbox */

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


/* The slider */

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked+.slider {
    background-color: #2196f3;
}

input:focus+.slider {
    box-shadow: 0 0 1px #2196f3;
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    transform: translateX(26px);
}


/* Rounded sliders */

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.switch-wrap {
    text-align: center;
    background-color: #b1fbc1;
    padding: 30px;
    border-radius: 3px;
    margin: 30px 0 0;
}

@media (min-width: 576px) {
    .switch-wrap {
        position: fixed;
        bottom: 0;
        display: -webkit-box;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        flex-direction: row-reverse;
        -webkit-box-align: center;
        align-items: center;
        width: 100%;
        -webkit-box-pack: center;
        justify-content: center;
        padding: 10px;
    }
}

.switch-text {
    display: block;
    margin: 0.5em;
}

@media (min-width: 576px) {
    .switch-text {
        margin: 0 1em 0 0;
    }
}

.imageHolder {
    position: relative;
}

.autoajustable {
    display: inline-block;
    width: 50%;
    height: 40px;
    text-align: center;
}

.imageHolder .caption {
    position: absolute;
    width: 100%;
    height: 39px;
    bottom: 0px;
    left: 0px;
    color: #ffffff;
    background: #003e80;
    font-weight: bold;
    opacity: 0.9;
}

.card-warning-light {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.card-success-light {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.card-primary-light {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #bce8f1;
}


/* Arrange buttons */

.btn-matrix {
    flex-wrap: wrap;
    /* allow buttons to jump to another row */
}

.btn-matrix>.btn {
    width: 33%;
    height: 100px;
    /* force buttons to have the same width regardless of content */
}

.btn-matrix>.btn:nth-child(3n + 4) {
    margin-left: 0;
    /* because .btn-group adds `margin-left: -1px;` to all buttons */
}

.btn-matrix>.btn:nth-child(n + 4) {
    margin-top: -1px;
    /* superimpose borders of the buttons from adjacent rows */
}


/* Fix border radius */

.btn-matrix>.btn:first-child {
    border-bottom-left-radius: 0;
}

.btn-matrix>.btn:nth-child(3) {
    border-top-right-radius: 4px !important;
}

.btn-matrix>.btn:nth-last-child(3) {
    border-bottom-left-radius: 4px !important;
}

.btn-matrix>.btn:last-child {
    border-top-right-radius: 0;
}


/* Decorations */

.btn-matrix {
    /*margin: 20px 0;*/
    max-width: 500px;
}

#opGravada,
#igvDetalle,
#icbperTransaccion {
    font-size: 1.5em;
}

#totalDetalle,
#porcIgvTransaccionPedido,
#igvDetalle,
#opGravada {
    font-size: 1.8em;
    height: 1.65em;
}

#nuevoCorrelativoTmp {
    font-size: 2.05em;
    height: 1.55em;
}

#efectivo,
#tarjetaOtros,
#vuelto {
    font-size: 2.25em;
    height: 1.25em;
}

.accesodirecto {
    /*background-color: #5252b7;*/
    background-color: #0a6fcf;
    color: white;
    border-color: #265695;
}

#guardar_datosCrearPedido,
#btnRecuperarTmp {
    font-weight: bold;
    font-size: 1.5em !important;
}

#nuevaSeriePedido,
#nuevoNroPedido {
    font-size: 1.55em;
    height: 1.65em;
}

.productoSeleccionado {
    background-color: #ffffff;
    position: absolute;
    width: 100%;
    height: 500px;
    top: 88%;
    z-index: 2;
}