@import url(fonts.css);
/*        RESET       */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video, main {
	margin: 0;
	padding: 0;
	border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, main {
	display: block;
    width: 100%;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
* { box-sizing:border-box;}
* {
    outline: 0px;
    
}


/*----------------------------------------------------------------- */
/* GENERAL */
/*----------------------------------------------------------------- */
body{
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-family:   "Roboto", Helvetica, Verdana , sans-serif; 
    min-height: 100%;
    height: 100%;
}

.flex{
    display: flex;
}

.columna {
    flex-flow: column;
}

.fila{
    flex-flow: row wrap;
    align-items: center;
}

/*----------------------------------------------------------------- */
/* LAYOUT */
/*----------------------------------------------------------------- */
.principal{
    height: 100vh;
    min-height: 100%;
    width: 100%;
      /*FLEX*/
    display: flex;
    flex-flow: column;
}

main{
   flex: 1;
    padding-top: 50px;
    background: #333;
}

.margen-izq{
    padding-left: 230px;
}

.contenido{
    height: 100%;
    padding: 10px;
    background: #ecf0f5;
}

.panel{
    width: 100%;
    margin-bottom: 0px;
    background: #FFF;
    border: 1px solid #ddd;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    
}

.panel-header{
    height: 50px;
    padding: 15px 30px;
    
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    
}

.panel-body{
    
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 10px;
}


header{
    min-height: 50px;
    width: 100%;
    position: absolute;
}

footer{
    min-height: 30px;
    padding: 10px;
    color: #444;
    background: #ffffff;
    border-top: 1px solid #d2d6de;
}

.pad20{
    padding: 30px 15px ;
}

/*----------------------------------------------------------------- */
/* HEADER */
/*----------------------------------------------------------------- */
header, header a{
    color:#f1f1f1;
}

header {
    background: #DD2C00;
    /*#f39c12*/
    
    padding-right: 30px;
    /*FLEX*/
    justify-content: flex-end;
    align-items: center;
}

.logo{
    padding: 5px;
}

#logo-header{
    background: #ffffff;
    border: 2px solid #DDD;
    border-radius: 50%;
}

.main-nav{
    align-items: center;
}

/*.logo{
    width: 231px;
    height: 50px;
    background: #2a2a2a;
    background: #DD2C00;
}

.logo a{
    width: 100%;
    height: 100%;
    display: block;
    padding: 12px 10px;
    text-align: center;
}*/

.main-nav span{
    
    padding-left: 30px;
    padding-right: 10px;
}

.main-nav div img{
    margin-left: 20px;
    margin-right: 5px;
}

.main-nav a{
    padding-left: 30px;
    text-decoration: none;
}

/*----------------------------------------------------------------- */
/* MENU LATERAL */
/*----------------------------------------------------------------- */

.sidebar{
    width: 230px;
    height: 100%;
    position: absolute;
    background: #333;
    color: #FFF;
   /* outline: 1px solid #333;*/
}

.sidebar h3{
    background: #c12f0b;
    text-align: center;
    padding: 12px;
    border-bottom: 20px solid #2a2a2a; 
}

/*MENU*/
.menu{
    list-style: none;
}

.link{
    /*outline:  1px solid #2a2a2a; */
    background: #333;
    transition: border 0.2s;
}

.link:hover{
    background: #444; 
    border-left: 4px solid #DD2C00;
}

.link a{
    display: block;
    color: #FFF;
    text-decoration:none;
    padding: 15px 10px;
}

.link a span{
    padding: 2px 10px;
}

.link a span.icon-caret-down{
    float: right;
}

.active-menu{
    background: #444; 
    border-left: 4px solid #DD2C00;
}

/*Sub menu*/
.sub-menu{
    background: #2a2a2a;
}

.sub-link{
    padding-left: 30px;
}

.sub-link a{
    display: block;
    color: #b5adad;
    text-decoration:none;
    padding: 10px;
}

.sub-link a:hover{
    color: #FFF;
    font-weight: bold;
}

a.active-submenu{
    color: #FFF;
    font-weight: bold;
}

/*extras*/
.separador{
    border-bottom: 20px solid #2a2a2a; 
}


/*----------------------------------------------------------------- */
/* MAIN */
/*----------------------------------------------------------------- */

.teclas-rapidas{
    padding: 10px;
}

.controles{
    padding-bottom: 15px;
    padding-top: 5px;
}

.controles button span{
    padding-right: 5px;
}

.control-tab{
    width: 100%;
    height: 40px;
    border-bottom: 1px solid #DDD;
    margin-bottom: 10px;
}

.control-tab a#tab_permiso, .control-tab a#tab_inventario{
    width: 80px;
}

.control-tab a#tab_asignar, .control-tab a#tab_producto_bajo{
    width: 150px;
}

.control-tab a span{
    color: #ef7403;
    padding-right: 5px;
}


.control-tab a{
    text-decoration: none;
    color: #333;
    text-align: center;
    padding: 10px;
    background: #e8e8e8;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.control-tab a:hover {
    background: #286090;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    color: #fff;
}

a.active-tab {
    background: #337ab7;
   /* border: 1px solid #2e6da4;*/
    color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}


/* TABLA DETALLE  */

.detalle-input{
    width: 165px;
    height: 25px;
    border: 1px solid #DDD;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
    padding-left: 5px;
    padding-right: 5px;
}

.detalle-input-small{
    width: 80px;
    height: 25px;
    border: 1px solid #DDD;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
}



/* Subtotales, IVA y Total */
.color-r{
    color: #d30b0b;
    font-weight: bold;
}

.totales{
    /*align-items: flex-end;*/
    justify-content: space-between;
    padding: 10px 40px;
    font-size: 1.1em;
}

.cambio{
    align-items: flex-end;
    padding: 0px 40px 10px 40px;
    font-size: 1.1em;
}

.cambio div.fila-totales {
    margin-bottom: 15px;
}

.fila-totales{
    width: 340px;
    margin-bottom: 5px;

    
    border: 1px solid #706f6f;
    border-radius: 3px;
    overflow: hidden;
}

.texto-totales{
    text-align: right;
    width: 100px;
    background: #e1e1e1;
    padding: 5px 10px 5px 5px;
    border-right: 1px solid #706f6f;
    font-weight: bold;
    
}

.numero-totales{
    width: 240px;
    /*padding: 2px;*/
    text-align: center;
}

.numero-totales input{
    width: 100%;
    font-size: 1.1em;
    text-align: center;
    border: 0;
    padding: 5px;
}

/*.cambio-form, .cambio-form input{
    background:  #5cb85c;
}*/

.controles-venta{
    padding-bottom: 15px;
    padding-top: 5px;
    
    justify-content: space-between;
}

.folio input{
    text-align: center;
    width: 150px;
    padding: 5px;
    border: 1px solid #a2a2a2;
    border-radius: 4px;
}

#form-venta, .folio{
    padding: 5px 5px;
}

#form-venta div{
    align-items: center;
}

#form-venta select, #form-venta input, .btn-agregar, #form-venta label{
    height: 35px;
}

#form-venta label, .folio label{
    padding: 7px;
}

#form-venta select{
    width: 240px;
    padding: 4px;
    border: 1px solid #a2a2a2;
    border-radius:4px;
    margin-right: 10px;
    overflow: hidden;
}

#form-venta input{
    width: 300px;
    padding: 4px;
    border: 1px solid #a2a2a2;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.ventas-panel input:focus, .modal-body input:focus, .modal-body select:focus{
    background: rgba(239, 232, 228, 0.54);
}



.btn-agregar{
    width: 40px;
    padding: 8px 14px;
    background: #5cb85c; 
    color: #fff;
    text-align: center;
    border-bottom: 2px solid #a2a2a2;
    border-top: 2px solid #a2a2a2;
    border-right: 2px solid #a2a2a2;
    border-left: 0;
    border-bottom-right-radius: 4px;
    border-top-right-radius: 4px;
    overflow: hidden;
}


.footer-venta {
    justify-content: space-between;
}

.footer-venta button span, .footer-venta a span{
    padding: 5px;
}


/* Controles corte */
.controles-corte {
    justify-content: space-between;
    align-items: center;
    
    padding-top: 5px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    
    border-bottom: 1px solid #DDD;
}

.cortes{
    width:480px; 
    justify-content: space-around;
}

.buscar-fecha input{
    height: 33px;
    margin-right: 10px;
    margin-left: 5px;
    
    border: 2px solid #DDD;
    border-radius: 3px;
    overflow: hidden;
}

.to-datepicker, .from-datepicker{
    width: 150px;
    text-align: center;
    font-size: 1.25em;
    cursor: pointer;
}

.corte-datepicker{
    height: 35px;
    width: 150px;
    font-size: 1.25em;
    border: 1px solid #DDD;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
}

.input-ajuste-large{
    height: 35px;
    width: 300px;
    text-align: center;
    vertical-align: middle;
}

.ajuste-datepicker{
    height: 35px;
    width: 300px;
    font-size: 1.25em;
    overflow: hidden;
    text-align: center;
    cursor: pointer;
    vertical-align: middle;
}

.input-ajuste{
    justify-content: space-between;
    align-items: center;
}

/*----------------------------------------------------------------- */
/* DATATABLES */
/*----------------------------------------------------------------- */
.btn-opc{
    margin-left: 5px;
    padding-top: 3px;
    padding-bottom: 2px;
    padding-left: 7px;
    padding-right: 7px;
}

.btn-opc-small{
    margin-left: 3px;
    padding-bottom: 1px;
    padding-top: 1px;
    padding-left: 5px;
    padding-right: 5px;
}

.btn-opc span, .btn-opc-small span{
    padding-right: 5px;
}


.alerta{
    background: #fa8686;
    color: #b50808;
    font-weight: bold;
    padding: 5px;
    border: 1px solid #b50808;
    border-radius: 3px;
}


/*----------------------------------------------------------------- */
/* MODALES */
/*----------------------------------------------------------------- */
.modal-chico{
    width: 350px;
}

.modal-mediano{
    width: 450px;
}

.modal-grande{
    width: 1100px;
}

.small-words{
    font-size: .9em;
    color: #b2b0b0;
    text-align: right;
}

.modal-body input, .modal-body select{
    padding: 5px;
    height: 30px;
    border: solid  2px #DDD ;
    border-radius: 3px;
}

.modal-body div{
    margin-bottom: 10px;
}

.modal-body h4{
    padding: 10px 2px;
}

.modal-body div.permisos{
    width: 100%;
    padding: 10px 5%;
    border: 1px solid #DDD;
    border-radius: 4px;
    
}

.modal-body div.permisos div{
    flex: 1;
}

[type="checkbox"]{
    position: absolute;
    left: -9999px;
}

[type="checkbox"] + label:after{
    content: '';
    position: absolute;
}

[type="checkbox"] + label{
    display: block;
    position: relative;
    padding-left: 26px;
    cursor: pointer;
    line-height: 36px;
    font-size: 16px;
    font-weight: 500;
    transition: color .3s; 
}

[type="checkbox"] + label:after{
    width: 30px;
    height: 30px;
    transition: all .2s;
    top: 0;
    left: 0;
}

/* OFF */
[type="checkbox"]:not(:checked) + label:after {
 background: url('../images/check_off.png') left center no-repeat;
}
/* ON */
[type="checkbox"]:checked + label {
  color: #0c8e0c;
}
[type="checkbox"]:checked + label:after {
  background: url('../images/checkbox.gif') left center no-repeat;
}

.pad-l-10{
    padding-left: 10px;
}

.pad-l-8{
    padding-left: 8px;
}

input#producto{
    width: 375px;
}

select#cat{
    width: 185px;
}

.dos-filas input, .dos-filas select{
    width: 280px;
}

.tres-filas input{
    width: 185px;
}


.ui-autocomplete{
    z-index: 1100;
    background: #FFF;
    border: 2px solid #DDD;
    border-radius: 3px;
    width: 200px;
}


/* Modal venta */
.dinero-venta{
    width: 100%;
    padding: 5px 20px;
}


.dinero-venta label, .dinero-venta input{
    font-size: 1.4em;
}

.dinero-venta label{
    width: 200px;
    height: 45px;
    padding: 10px;
}

.dinero-venta input{
    width: 400px;
    height: 45px;
    padding: 10px;
    text-align: center;
}


.cambio-modal{
    color: #058f2d;
    border: 1px solid #058f2d;
    border-radius: 4px;
    overflow: hidden;
}

/* Modal General */
.general-logo{
    justify-content: center;
    align-items: center;
}

.general-logo img{
    margin: 5px;
    text-align: center;
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    box-shadow: 0px 0px 5px 3px #DDD;
}

/*.general-logo label{
    background: teal;
    border: 1px solid teal;
    border-radius: 5px;
    width: 60%;
    height: 25px;
    color: #FFF;
    text-align: center;
    padding: 2px;
    cursor: pointer;
}

.general-logo label:hover{
    background: #26adad;
}*/

.form-impuesto input{
    width: 206px;
}

/* Modal inventario */
.inventario-prod {
    border-bottom: 1px solid #DDD;
}

/* Modal Producto comun */
.datosComun{
    width: 100%;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-start;
    
    padding: 5px;
}

.datosComun input{
    width: 100%;
    height: 35px;
    margin-top: 5px;   
}

.datosComun label{
    margin-top: 10px;
}


/*----------------------------------------------------------------- */
/* LOGIN */
/*----------------------------------------------------------------- */
.fondo{
    background: #d2d6de;
}

.contenedor-acceder{
    width: 550px;
    height: auto;
   /* background: #444;*/
}

/*.fondo{
    background: url(../images/fondo.jpg) no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}*/

.wraper{
    width: 100%;
    height: 100%;
    
    
    /*FLEX*/
    flex-flow:  column wrap;
    justify-content: center;
    align-items: center;

}

.wraper h2{
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 2.8em;
}



.contenedor-login{
    width: 330px;
    height: auto;
    
   /* color: #d1d1d1;*/
    color: #2a2a2a;
    /*background: #444;*/
    /*background-color: rgba(0, 0, 0,0.6);*/
    /*border: 1px solid #444; 
    border-radius: 10px;
    */
    /*FLEX*/
    justify-content: center;
    align-items: center;
    
}

.form-login{
     /*FLEX*/
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
    text-align: left;
    
    width: 300px;
    height: auto;
    padding: 10px;
}

.form-login input, .form-login h2, .form-login img{
    margin-bottom: 15px;
}

.form-login input{
    padding-left: 10px;
    padding-right: 10px;
    height: 35px;
    color: #333;
    border: 2px solid #DDD;
    border-radius: 3px;
}

.form-login label{
    font-size: .8em;
}

.form-login input, .form-login label{
    display: block;
    width: 100%;
    text-align: left;
}

.form-login #enviarLogin{
    width: 100%;
    height: 35px;
    background: #DD2C00;
    color: #FFF;
    text-align: center;
    border: 0px;
    border-radius: 5px; 
}

.form-login #enviarLogin:hover{
    background: #f04d24;
}

.contenedorMensaje{
    width: 100%;
    height: 50px;
    border-radius: 5px;
}

.contenedorMensaje p{
    padding: 10px;
}

.mensaje{
    font-size: 1em;
    text-align: center;
}

.error {
    text-align: center;
    color:#8b1818;
}

.bien{
    text-align: center;
    color:#3ba832;
}

.active{
    color: #000;
}



/*----------------------------------------------------------------- */
/* FOOTER */
/*----------------------------------------------------------------- */


footer{
    text-align: center;
    font-size: 12px;
}

footer .footer-1{
    padding: 0px 50px;
    FLEX
    justify-content: center;
}

footer .footer-1 a {
    color: rgba(32, 72, 188, 0.95);
}

footer .footer-1 a:hover {
    color: #cbc6c6;
}

.footer-1 a.arriba{
    color: #cbc6c6;
    position: relative;
    left: 40%;
    font-size: 2.5em;
    text-align: right;
}




