body{
    overflow: hidden;
}
h2{
    margin: 0;
    line-height: 20px;
    padding: 14px 0;
}
h3{
    background-color: #5D5D5D;
    padding:2px 0;
    text-align: center;
    color:white;
    margin-top: 20px;
    margin-bottom: 0px;
    font-weight: normal;
}
h4{
    margin:0;
}
table{
    text-align: left;
    font-size: 1em;
    width: 100%;
}
label{
    font-style: italic;
    color:#6D6D6D;
    padding:10px 0 1px 0;
    margin:0;
}
cite{
    font-size: 0.8em;
    color: #6D6D6D;
}
form{
    margin-bottom:0;
}
form p{
    margin:0;
    color:red;
}
form span{
    line-height: 34px;
    vertical-align: middle;
}
form label{
    margin:0 !important;
}
#login{
    width: 350px;
    max-width: 80%;
    margin: auto;
    padding: 20px 20px;
    margin-top: calc(50vh - 240px);
    background-color: #333;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #181818;
}
#login input{
    text-align: center;
}
#login button{
    margin: 20px 25%;
}

#logo img{
    height: 64px;
}
#menu_principal{
    background-color: #191818;
}
#menu_principal ul{
    list-style-type: none;
    padding:0;
    margin: 0;
}
#menu_principal ul li{
    line-height: 100%;
    color: #999999;
    cursor: pointer;
}
#menu_principal ul li img{
    width: 100%;
    max-width: 50px;
    margin: 0 5px;
}
#menu_principal ul li img,#menu_principal ul li span{
    display: inline-block;
    vertical-align: middle;
}
#menu_principal ul li:hover{
    background-color: #333333;
    color: #FFFFFF;
}
#menu_principal ul li.activo{
    background-color: #1F8DD6;
    color: #FFFFFF;
}
#contenido{
    font-size: 0.8em;
    position:relative;
}
.seleccionar{
    text-align: center;
    background-color: #E1E1E1;
}
.titulo{
    height:48px;
    background-color: #E1E1E1;
    position:relative;
}
#producto_imagen{
    text-align: center;
}
#producto_imagen img{
    max-width:96%;
    max-height: 200px;
    padding: 2%;
}
.lista{
    text-align: left;
    padding: 8px 0;
}
.lista.encabezado{
    font-weight: bold;
    background-color: #E1E1E1;
    border-bottom: #999999 solid 1px;
}
.lista.pie{
    font-weight: bold;
    background-color: #E1E1E1;
    border-top: #999999 solid 1px;
}
.lista.dato{
    border-bottom: #E1E1E1 solid 1px;
}
.lista.dato.observacion-cliente{
    background-color: #FFDE00;
}
.existencia .lista div{
    position:relative;
}
.existencia .lista .total{
    position:absolute;
    right:0;
}
form.existencia{
    margin-top: 10px;
}
form.existencia .lista.dato{
    line-height: 31px;
    vertical-align: middle;
}
.cuadricula{
    width: 95%;
    max-width: 150px;
    border: 1px #E1E1E1 solid;
    margin-bottom: 5px;
    cursor: pointer
}
.cuadricula img{
    width: 100%;
    max-width: 150px;
    height: 225px;
    padding-bottom: 10px;
}
.cuadricula strong{
    text-align: center;
}
.cuadricula.pocas{
    background-color: #FFB6C1;
}
.enlace{
    cursor:pointer;
}
.enlace:hover{
    background-color: #D9F1FF;
}
.enlace.activo{
    background-color: #46AEE7;
    font-weight: bold;
    color: #FFFFFF;
}
.lista_seccion,#producto,#cliente,#venta,#usuario,#tablero,#estadisticas{
    overflow-y: scroll;
}
menu{
    position: absolute;
    right: 0;
    top: 48px;
    background: #fff;
    border: 1px #333 solid;
    margin: 0;
    padding: 0;
}
menu ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
menu ul li{
    padding:10px;
    cursor: pointer;
    white-space: nowrap;
}
menu button{
    width:100%;
    border: none;
    text-align: left;
    padding:10px;
    white-space: nowrap;
    background-color: #FFFFFF;
}
menu ul li:hover, menu button:hover{
    background-color: #D9F1FF;
}

.filtro{
    position:absolute;
    left:0px;
    padding-top: 8px;
    width:calc(67% - 55px);
    display: inline-block;
}
.detalles h2{
    margin-left:50px;
}
.volver{
    width: 48px;
    height: 48px;
    display: inline-block;
    color:black;
    background: url("../img/volver.png");
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}
.volver:hover{
    background: url("../img/volver2.png");
    background-color: #fff;
}
.mostrar_menu{
    width: 48px;
    height: 48px;
    display: inline-block;
    background-image: url("../img/menu.png?3");
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
}
.mostrar_menu:hover{
    background-image: url("../img/menu.svg?1");
}
#producto,#cliente,#venta,#usuario{
    position: relative;
}
.agotado,.pendiente,.historial-venta.registrar,.historial-venta.actualizar, .alerta{
    background-color: #FFB6C1;
}
.agotado:hover,.agotado.activo,.enlace.pendiente:hover,.enlace.pendiente.activo{
    background-color: #8B0000;
    color: #FFFFFF;
}
.enlace.pendiente.expirado{
    background-color: #FF419F;
}
.enlace.pendiente.expirado:hover,.enlace.pendiente.expirado.activo{
    background-color: #FF0080;
    color: #FFFFFF;
}
.pendiente.con-impresion{
    background-color: rgba(255, 104, 31, 0.7);
}
.enlace.pendiente.con-impresion:hover,.enlace.pendiente.con-impresion.activo{
    background-color: rgba(255, 104, 31, 1);
}
.disponible,.vendido,.confirmado,.historial-venta.confirmar-pago{
    background-color: #90EE90;
}
.enlace.disponible:hover,.enlace.disponible.activo,.enlace.vendido:hover,.enlace.vendido.activo,.enlace.confirmado:hover,.enlace.confirmado.activo{
    background-color: #008000;
    color: #FFFFFF;
}
.anulado,.omitido,.historial-venta.anular{
    background-color: #E1E1E1;
}
.enlace.anulado:hover, .enlace.anulado.activo,.enlace.omitido:hover, .enlace.omitido.activo{
    background-color: #6D6D6D;
    color: #FFFFFF;
}
.impreso,.historial-venta.imprimir,.observacion{
    background-color: #FFDE00;
}
.enlace.impreso:hover, .enlace.impreso.activo{
    background-color: #C18400;
    color: #FFFFFF;
}
.enviado,.historial-venta.confirmar-envio{
    background-color: skyblue;
}
.enlace.enviado:hover, .enlace.enviado.activo{
    background-color: blue;
    color: #FFFFFF;
}
.enlace.entregado{
    background-color: rgb(166, 91, 228);
}
.enlace.entregado:hover,.enlace.entregado.activo{
    background-color: purple;
    color: #FFFFFF;
}
.enlace.sucursal{
    background-color: rgb(172, 236, 180);
}
.enlace.sucursal:hover,.enlace.sucursal.activo{
    background-color: rgb(102, 141, 107);
    color: #FFFFFF;
}
.enlace.devuelto{
    background-color: brown;
}
.enlace.devuelto:hover,.enlace.devuelto.activo{
    background-color: rgb(105, 45, 45);
    color: #FFFFFF;
}
.historial-venta.confirmar-entrega{
    background-color: rgb(166, 91, 228);
}
.historial-venta.en-sucursal{
    background-color: rgb(172, 236, 180);
}
.historial-venta.confirmar-devolucion{
    background-color: brown;
}
.enlace input{
    color: #000000;
}
.ver_mas{
    padding: 10px 0;
    line-height: 20px;
    vertical-align: middle;
    margin: 10px 0;
    background-color: #D9F1FF;
    color: #46AEE7;
    text-align:center;
    cursor:pointer;
    font-size:1.2em;
}
.ver_mas:hover{
    background-color: #46AEE7;
    color: white;
}
.ver_mas cite{
    color: #46AEE7;
}
.ver_mas:hover cite{
    color: white;
}
.cargando{
    position:absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width:100%;
    text-align: center;
    background-color: rgba(225,225,225,0.8);
    background-image: url("../img/cargando.svg");
    background-repeat: no-repeat;
    background-position: center;
    letter-spacing: 0;
}
.opciones_formulario{
    margin: 1em 0;
    text-align: center;
}
.button-cancelar{
    color:white;
    background: rgb(202, 60, 60);
}
.texto-derecha{
    text-align: right;
}
.texto-centro{
    text-align: center;
}
.texto-rojo{
    color: red;
}
.texto-verde{
    color: #008000;
}
.texto-azul{
    color: #46AEE7;
}
.checkbox{
    font-style: italic;
    color:#333333;
    padding:15px 0 1px 0;
}
#cliente_datos,#venta_cliente{
    margin-bottom:20px;
}
.quitar{
    font-weight: bolder;
    color:red;
    font-size: 2em;
}
.quitar span{
    cursor: pointer;
}
.tag{
    color: #333333;
    background-color: #82CAF4;
    padding: 0 8px;
    border-radius: 5px;
    margin: 0 4px;
    white-space: nowrap;
}
.noinfo:after{
    content: "Sin Información";
    color:#6D6D6D;
}
#seleccionar-cliente{
    max-height: 300px;
    overflow-y: scroll;
}
.vista_previa{
    text-align: center;
    height:114px;
    line-height: 114px;
    vertical-align: middle;
}
.vista_previa img{
    max-width:100%;
    max-height:114px;
    display: inline;
}
.formulario_producto{
    margin:20px 0 0 0;
    padding:20px 0;
    border-top: #999999 solid 1px;
}
.formulario_productos{
    margin:20px 0 0 0;
}
.totales{
    margin:15px 0;
}
input[type="checkbox"] {
    display:none;
}
input[type="checkbox"] + label span {
    display:inline-block;
    width:19px;
    height:19px;
    margin:-1px 4px 0 0;
    vertical-align:middle;
    background:url(../img/checkbox.png) left top no-repeat;
    cursor:pointer;
}
input[type="checkbox"]:checked + label span {
    background:url(../img/checkbox.png) -19px top no-repeat;
}
.item_tablero{
    /*height: 200px;*/
    margin: 1.5%;
    border: #E2E2E2 1px solid;
    box-shadow: lightgray 2px 2px 10px;
    display:inline-block;
}
.item_tablero h1{
    padding:0;
    margin:0;
    font-weight: bold;
    padding: 3px 1%;
    font-size: 1.5em;
    height: 29px;
    background-color: #F2F2F2;
}
.item_tablero h4{
    padding:0;
    margin:0;
    font-weight: bold;
    text-align: center;
}
.item_tablero div{
    height: 100px;
    padding: 3px 1%;
    display:inline-block;
    vertical-align: top;
    text-align: center;
}
.item_tablero-1{
    width:98%;
}
.item_tablero-1 span{
    font-size: 4em;
}
.item_tablero-1-2{
    width:48%;
}
.item_tablero-1-3{
    width:31%;
}
.item_tablero-1-2 span,.item_tablero-1-3 span{
    font-size: 2.5em;
    padding-top: 15px;
    padding-bottom: 12px;
}
.item_tablero-1-2 img,.item_tablero-1-3 img{
    max-height: 64px;
}
.item_tablero div span,.item_tablero div cite{
    width: 100%;
    display: inline-block;
    text-align: center;
}
.item_tablero div cite{
    font-size: 1em;
}
strong.disponible,strong.apartado,strong.vendido{
    display: inline-block;
    min-width: 30px;
    color:white;
    border-radius: 5px;
}
strong.disponible{
    background-color: #E1E1E1;
    color: #000000;
}
.dato.activo strong.disponible,.dato:hover strong.disponible{
    background-color: #EEEEEE;
}
strong.apartado{
    background-color: #8B0000;
}
.dato.activo strong.apartado,.dato:hover strong.apartado{
    background-color: #FFB6C1;
    color: #000000;
}
strong.vendido{
    background-color: #008000;
}
.dato.activo strong.vendido,.dato:hover strong.vendido{
    background-color: #90EE90;
    color: #000000;
}
.tabla-100{
    width:100%;
}
.highcharts-container{
    width:100% !important;
}
#calendario{
    text-align: center;
}
#calendario img{
    width: 90%;
}
#clipboard{
    position: absolute;
    bottom: -9999px;
    left: -9999px;
}

@media screen and (min-width: 0em){
    #menu_principal{
        height:100vh;
        left: -100%;
        position:absolute;
        z-index: 9999;
        transition: left 0.5s;
    }
    #menu_principal.visible{
        left:0;
    }
    #logo{
        display:none;
    }
    .lista_seccion h2{
        display:none;
    }
    .filtro{
        width:calc(100% - 55px);
        position:relative
    }
    .filtro input,.filtro select{
        position: absolute;
        top:8px;
    }
    .filtro .left-1-4{
        left:25%;
    }
    .filtro .left-1-2{
        left:50%;
    }
    .filtro .left-3-4{
        left:75%;
    }
    .filtro .left-1-3{
        left:33.3%;
    }
    .filtro .left-2-3{
        left:66.7%;
    }
    .lista.dato{
        padding:10px 0;
        min-height:20px;
        line-height: 20px;
        vertical-align: middle;
    }
    .seleccionar{
        padding-top: calc(30vh - 87px);
        padding-bottom: calc(30vh - 88px);
    }
    .oculto{
        display:none;
    }
    .cargando{
        line-height: 120vh;
    }
    .item_tablero{
        width: calc(97% - 2px);
    }
    .seccion,.lista_seccion,.cargando,#producto,#cliente,#venta,#usuario,#tablero,#estadisticas{
        height: calc(100vh);
    }
}
@media screen and (min-width:35.5em){
    #menu_principal{
        display: inline-block;
        height: 64px;
        position: static;
    }
    #menu_principal ul li{
        display: inline-block;
        text-align: center;
        padding-top: 7px;
        padding-bottom: 7px;
    }
    #menu_principal ul li span{
        display:none;
    }
    .seccion,.lista_seccion,.cargando,#producto,#cliente,#venta,#usuario,#tablero,#estadisticas{
        height: calc(100vh - 64px);
    }
}
@media screen and (min-width: 48em){
    #logo{
        display:inline-block;
    }
    .item_tablero{
        width: calc(47% - 2px);
    }
}
@media screen and (min-width: 80em){
    .lista_seccion,.cargando,#producto,#cliente,#venta,#usuario,#tablero,#estadisticas{
        height:100vh;
    }
    .filtro{
        width:calc(67% - 55px);
        display: inline-block;
    }
    .lista_seccion h2{
        display:inline-block;
    }
    .oculto{
        display:inline-block;
    }
    .oculto.vista-completa{
        display:none;
    }
    #menu_principal{
        height:100vh;
    }
    #menu_principal ul li{
        text-align: left;
    }
    #menu_principal ul li span{
        display:inline-block;
    }
    .seleccionar{
        padding-top: calc(50vh - 71px);
        padding-bottom: calc(50vh - 72px);
    }
    .cargando{
        line-height: calc(120vh + 64px);
    }
    .item_tablero{
        width: calc(30% - 2px);
    }
}





/* COLORES PRINCIPALES */
/* menu fondo: #191818 */
/* menu hover: #333333 */
/* menu activo: #1F8DD6 */
/* fuente menu: #999999 */
/* fuente menu activo: #FFFFFF */

/* COLORES PARA LOS ESTATUS */
/* amarillo: #FFAC00 */
/* amarillo2: #F29700 */
/* azul: #53BBF4 */
/* azul2: #46AEE7 */
/* azul3: #D9F1FF */
/* azul4: #82CAF4 */
/* rojo: #FFB6C1 */
/* rojo2: #8B0000 */
/* rojo2: #FF419F */
/* verde: #90EE90 */
/* verde2: #008000 */
/* gris1: #EEEEEE */
/* gris2: #E1E1E1 */
/* gris2: #6D6D6D */
