/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 3.5rem tall */

@import 'loader.sk-cube-grid.css';
.borde-danger{
    color: #b94a48; 
    border-color: #ee5f5b;
}

.borde-danger:hover{
    color: #b94a48; 
    border-color: #ee5f5b;
}

.borde-danger:focus{
    color: #b94a48; 
    border-color: #ee5f5b;
    box-shadow: 0 0 5px #ee5f5ba6;
}

.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 13px;
    height: 13px;
}

.lds-spinner div {
    transform-origin: 32px 15px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 29px;
    width: 5px;
    height: 3px;
    border-radius: 34%;
    background: #018fd5;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
.activado {
    background-color: #ccc;
    color: #FFF;
    border-color: #3fb618;
}

.activado:hover,
.activado:focus,
.activado:active,
.activado.active,
.open .dropdown-toggle.activado {
    background-color: #3fb618;
    color: #FFF;
    border-color: #3fb618;
}

.seleccion {
    background-color: #3fb618;
}

#input_base {
    width: 158px;
}

.loading_screen {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: white;
    z-index: 16777271;
}

@-webkit-keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fade {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cargando {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-animation: fade .8s alternate infinite;
    animation: fade .8s alternate infinite;
    display: block;
}

body {
    padding-top: 3.5rem;
}

.tabla_grande {
    font-size: 1.2em;
}

.tabla_grande tr {
    cursor: pointer;
}

.tabla_grande_2 {
    height: 400px;
}

.altura_400 {
    height: 400px;
}

/*Detecta EDGE*/

@supports (-ms-ime-align:auto) {
    .altura_400 {
        height: 0px;
    }
}

.modal_grande {
    width: 95%;
    margin-top: 10px;
}

.botones_pdv button {
    margin: 5px;
}

.dropdown-menu {
    width: 100%;
}

.barra_lateral {
    max-height: 300px;
    overflow-y: auto !important;
}

.tabla_fija tbody {
    /*    display: block;
*/
    /* height: 475px;
    min-height: 475px;
    max-height: 475px;*/
    overflow-y: auto !important;
    text-overflow: ellipsis;
    width: 100%;
}

.tabla_fija thead,
.tabla_fija tbody,
.tabla_fija tr {
    display: table;
    /*     display: block;
*/
    width: 100%;
    table-layout: fixed;
}

.tabla_fija thead,
.tabla_fija tbody,
.tabla_fija tr,
.tabla_fija td,
.tabla_fija th {
    overflow: hidden;
    text-overflow: ellipsis;
}

.fix_d_d {
    height: 539px;
    min-height: 539px;
    overflow-y: auto !important;
}

.table>thead>tr>th {
    border-bottom: 0px !important;
}

.table-fixed thead {
    width: 99%;
}

.table-fixed tbody {
    min-height: 475px;
    max-height: 475px;
    overflow-y: auto !important;
    text-overflow: ellipsis;
    width: 100%;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table-fixed tbody td,
.table-fixed thead>tr>th {
    float: left;
    border-bottom-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*tabla fija*/

.sub_total {
    text-align: right;
    font-weight: bold;
    margin-top: 40px;
}

.btn {
    outline: 0;
    border: none;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border-right: none;
    /*box-shadow: inset 2px -3px rgba(0, 0, 0, 0.15);*/
}

.btn:focus {
    outline: 0;
    -webkit-outline: 0;
    -moz-outline: 0;
}

.fullscreen_bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: 50% 50%;
    background-color: #4166F5;
    background: radial-gradient(circle, #abc7f8, #8096c1, #57688c, #303e5b, #0c182e);
    background-repeat: repeat;
    z-index: -100;
}

.form-signin {
    max-width: 280px;
    margin: 0 auto;
    margin-top: 15%;
}

.form-signin .form-signin-heading,
.form-signin {
    margin-bottom: 10px;
}

.buscador_articulos {
    top: 25px !important;
    left: 15px !important;
    margin-top: 25px !important;
}


.form-signin .form-control {
    position: relative;
    font-size: 16px;
    height: auto;
    padding: 10px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.form-signin .form-control:focus {
    z-index: 2;
}

.form-signin input[type="text"] {
    margin-bottom: -1px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-style: solid;
    border-right-style: solid;
    border-bottom-style: none;
    border-left-style: solid;
    border-color: #000;
}

.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top-style: none;
    border-right-style: solid;
    border-bottom-style: solid;
    border-left-style: solid;
    border-color: rgb(0, 0, 0);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.form-signin-heading {
    color: #fff;
    text-align: center;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

/* FIX PARA CORREGIR ERROR DE LA LIBRERIA ANGULAR STRAP SOBRE EL BUSCADOR DE AUTOCOMPLETE, 
    EL MODAL DE RESULTADOS SE MOSTRABA EN POSICIONES ERRONEAS #407595 */

.buscador_articulos {
    top: 25px !important;
    left: 15px !important;
    margin-top: 25px !important;
}

@-webkit-keyframes sk-cubeGridScaleDelay {

    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

@keyframes sk-cubeGridScaleDelay {

    0%,
    70%,
    100% {
        -webkit-transform: scale3D(1, 1, 1);
        transform: scale3D(1, 1, 1);
    }

    35% {
        -webkit-transform: scale3D(0, 0, 1);
        transform: scale3D(0, 0, 1);
    }
}

/*color iqos*/

.navbar-inverse {
    background: linear-gradient(to right, rgb(88, 196, 181) 0%, rgb(16, 128, 213) 100%);
    color: rgb(255, 255, 255);
    text-align: center;
    position: fixed;
    width: 100%;
    z-index: 1000;
    border: 0px;
}

.texto_rojo {
    color: red;
}

.texto_verde {
    color: green;
}

/* botones arriba abajo*/

.spinner input {
    text-align: right;
}

.input-group-btn-vertical {
    position: relative;
    white-space: nowrap;
    /*  width: 2%;
*/
    vertical-align: middle;
    display: table-cell;
}

.input-group-btn-vertical>.btn {
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    padding: 11px;
    margin-left: -1px;
    position: relative;
    border-radius: 0;
}

.input-group-btn-vertical>.btn:first-child {
    border-top-right-radius: 4px;
}

.input-group-btn-vertical>.btn:last-child {
    margin-top: -2px;
    border-bottom-right-radius: 4px;
}

.input-group-btn-vertical i {
    position: absolute;
    top: 2px;
    left: 9px;
}

.estilo_autocompletado {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.carrito {
    font-size: .8em;
}

.doubleicon {
    /*    position: relative;
    width: 48px;
    padding: 10px;
    height: 48px;
    float: left;
    margin: 15px;
    background: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 5px;*/
}

.doubleicon .glyphicon:first-child {
    /* font-size: 26px;*/
}

.doubleicon .glyphicon:last-child {
    position: absolute;
    font-size: 14px;
    height: 14px;
    width: 14px;
    right: 5px;
    top: 19px;
    text-shadow: -2px -1px 0 #fff;
}

.boton_carga_img {
    position: absolute;
    top: 12px;
    left: 28px;
}

.alerta_stock {
    position: absolute;
    top: 12px;
    right: 28px;
    font-size: 23px;
}

.sin_margen {
    margin-top: 0px;
    margin-bottom: 0px;
}

.margen_delimita {
    margin-top: 10px;
    margin-bottom: 10px;
}

#paginacion_articulos>ul {
    margin-top: 12px;
    margin-bottom: 0px;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently  supported by Chrome and Opera */
}

.seleccionable {
    -webkit-touch-callout: auto !important;
    /* iOS Safari */
    -webkit-user-select: auto !important;
    /* Safari */
    -khtml-user-select: auto !important;
    /* Konqueror HTML */
    -moz-user-select: auto !important;
    /* Firefox */
    -ms-user-select: auto !important;
    /* Internet Explorer/Edge */
    user-select: auto !important;
    /* Non-prefixed version, currently  supported by Chrome and Opera */
}

.vertical-align {
    display: flex;
    align-items: center;
}

.ajuste_centro {
    float: none;
    margin: 0 auto;
}

.mod_carrito {
    font-size: 1.01em;
    white-space: nowrap;
    overflow: visible !important;
}

.icono_grande {
    font-size: 1.2em;
}

.placeholder_alto {
    height: 323px !important;
    width: 100% !important;
    object-fit: contain !important;
}

.placeholder_bajo {
    height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
}

.img_lateral_simple {
    height: 200px !important;
    width: 100% !important;
    object-fit: contain !important;
}

.img_lateral_packing {
    height: 158px !important;
    width: 100% !important;
    object-fit: contain !important;
}

.combo {
    padding-top: 0px;
    padding-bottom: 16px;
}

#impresion_factura_f .row {
    margin: 0px !important;
}

.ta-editor {
    min-height: 300px;
    height: auto;
    overflow: auto;
    font-family: inherit;
    font-size: 100%;
}

.modal {
    overflow-y: auto;
}

.modal-open {
    overflow: auto;
}



@media (min-width: 481px) and (max-width: 767px) {
    .estilo_autocompletado {
        width: 100%;
    }

    .separador {
        margin-top: -50px;
        border-bottom: 1px solid #cccccc;
        width: 100%;
        height: 50px;
    }

    .texto_size {
        font-size: 20px;
    }

    .interlineado {
        margin-top: 20px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .estilo_autocompletado {
        width: 100%;
    }

    .separador {
        margin-top: -50px;
        border-bottom: 1px solid #cccccc;
        width: 100%;
        height: 50px;
    }

    .texto_size {
        font-size: 20px;
    }

    .interlineado {
        margin-top: 20px;
    }
}

@media only screen and (max-width: 600px) {
    .estilo_autocompletado {
        width: 100%;
    }

    .separador {
        margin-top: -50px;
        border-bottom: 1px solid #cccccc;
        width: 100%;
        height: 50px;
    }

    .texto_size {
        font-size: 20px;
    }

    .interlineado {
        margin-top: 20px;
    }

    .navbar-toggle {
        display: none;
    }
}

@media only screen and (max-width: 768px) {
    .navbar-toggle {
        display: none;
    }
}

.centrar_th {
    text-align: center;
}

.loader_iqos {
    border: 4px solid #f3f3f3;
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 30px;
    height: 30px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
} 

/*768*/
