/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 25-jul-2020, 11:26:05
    Author     : Administrador
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: arial;
  /*background-image: url("../img/background_login.jpg");*/
  
  
  background-color: #cccccc;
  height: 800px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; 
}
.body_aux {
  font-family: arial;
  background-image: url("../img/background_login.jpg");
  
  
  background-color: #cccccc;
  height: 800px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative; 
}
          /* _________________________________________________________________________________________ 
              |                                ESTRUCTURAS COMUNES                                      |
              |_________________________________________________________________________________________| */

h1, h2, h3, h4, h5, h6 {
    font-family: arial;
    font-weight: bold;
    letter-spacing: 1px;
}
h1{
	font-size: 26px;
}
h2{
	font-size: 20px;
}
h3{
	font-size: 18px;
}
h4{
	font-size: 16px;
}
h5{
	font-size: 14px;
}
h6{
	font-size: 12px;
}
p{
	font-family: arial;
	letter-spacing: 2px;
	font-size: 14px;
	line-height: 20px;
}
a{
	text-decoration: none;
	font-family: arial;
	letter-spacing: 1px;
}
span {
    font-family: arial;
    letter-spacing: 1px;
    font-size: 13px;
    line-height: 20px;
}
header{
	position: fixed;
	width: 100%;
}
.header{
	color: #FFF;
	background: #0a4661;
	height: 40px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
        
}
.logoBar{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: left;
    align-items: left;
}
.optionsBar{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    align-items: center;
}

.optionsBar span {
    color: #FFF;
    font-size: 11pt;
    font-family: arial;
    text-transform: uppercase;
    margin-left: 30px;
}

.optionsBar a {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    margin-left: 30px;
}

nav ul{
	background: #4e4d4d;        /* #058167 */
	/*background: #05817d; */
	list-style: none;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	justify-content: left;
	align-items: center;
        opacity: 0.8;
}
nav ul > li a{
	position: relative;
}
nav a{
	color: #FFF;
	display: block;
	font-size: 10pt;
	font-family: arial;
	padding: 15px 30px;
	text-transform: uppercase;
	letter-spacing: 2px;
	transition: background .5s;
	border-right: 1px solid #686767; /* 319B8F  */
        opacity: 0.8;
        
}
nav .principal > a{
    /*background: url(../img/arrow_bottom.png) no-repeat;*/
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto auto;
    background-position: 94% center;
    background-size: 10px;
}
nav ul li:hover ul{
	display: block; 
}
nav li ul{
	/*background: #177470;*/
	background: #686767; /* 2d9872 */
	display: none;
	flex-direction: column;
	position: absolute;
	align-items: flex-start;
	border-radius: 0 0 10px 10px;
        opacity: 0.8;
}
nav li ul a{
	position: relative;
	padding: 10px 30px;
	border-right: initial;
}
nav li ul a:hover{
	/*background: #2c9595;*/
	background: #515151;  /* 147556 */
}
nav li ul li:last-child{
	border-radius: 0 0 10px 10px;
	overflow: hidden;
}
#container{
	padding: 90px 15px 15px;
}

hr{
    border: 0;
    background: #CCC;
    height: 1px;
    margin: 6px 0;
    display: block;
}
form{
    background: #FFF;
    margin: auto;
    padding: 20px 50px;
    border: 1px solid #d1d1d1;
}
/*label{
    display: block;
    font-size: 12px;
    font-family: ''
    margin: 15px auto 5px auto;      
}*/
/*input,select{
    display: block;
    width: 100%;
    font-size: 11px;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
}*/

.alert{
    width: 100%;
    background: #ffb0b0;
    border-radius: 6px;
    margin: 20px auto; 
    text-align: center;
}
.alertError{
    width: 100%;
    background: #ffb0b0;
    border-radius: 6px;
    margin: 20px auto;
    text-align: center;
}

.alert p{
    padding: 10px;
}
.alertError p{
    padding: 10px;
}


            /* _________________________________________________________________________________________ 
              |                                      LOGIN                                              |
              |_________________________________________________________________________________________| */

            
.form_login {
  width: 400px;
  height: 340px;
  background: #4e4d4d;
  margin: auto;
  margin-top: 180px;
  box-shadow: 7px 13px 37px #000;
  padding: 20px 30px;
  border-top: 4px solid #017bab;
  color: white;
}

.form_login h5 {
  margin: 0;
  text-align: center;
  height: 40px;
  margin-bottom: 30px;
  border-bottom: 1px solid;
  font-size: 20px;
  
}
.form_login_users {
  
  text-align: center;
  margin-bottom: 5px;

  
}
.controls {
  width: 100%;
  border: 1px solid #017bab;
  margin-bottom: 15px;
  padding: 11px 10px;
  background: #252323;
  font-size: 14px;
  font-weight: bold;
  color: white;
  border-radius: 8px;
  text-align: center;
}

.buttons {
  width: 100%;
  height: 40px;
  background: #017bab;
  border: none;
  color: white;
  margin-bottom: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.form_login p{
  height: 40px;
  text-align: right;
  font-size: 10px;
}

.form_login a {
  color: white;
  text-decoration: none;
  font-size: 14px;
}

.form_login a:hover {
  text-decoration: underline;
}

 
/* _________________________________________________________________________________________ 
  |                                  BUSCAR PRODUCTOS                                       |
  |_________________________________________________________________________________________| */


.form_buscar{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    float: right;
    background: initial;
    padding: 5px; 
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    margin-bottom: 4px;
    
}
.form_buscar .btn_buscar{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    
    border-radius: 5px;
    background: #1faac8;
    color: #FFF;
    padding: 5px 20px;
    border: 0;
    cursor: pointer;
    margin-left: 10px;
}
.form_buscar .check_inactivos{
    cursor: pointer;
    margin-left: 10px;
}
.form_buscar .label_buscar{
    margin-left: 10px;
    font-size: 18px;                            
}
.alertBuscar{
    /*width: 30%;*/
    padding: 5px;
    border-radius: 6px;
    margin: 0px auto;
    text-align: left;
    float: left;   
}
.alertBuscar_warning{
    background: #f1948a; 
}
.alertBuscar_correct{
    background: #29e137; 
}

            /* _________________________________________________________________________________________ 
              |                                       PAGINADOR                                         |
              |_________________________________________________________________________________________| */

.paginador ul{
    padding: 15px;
    list-style: none;
    background: #FFF;
    margin-top: 15px;   
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: flex-end;
}
.paginador a, .pagSeleccionada{
    color: #428bca;
    border: 1px solid #ddd;
    padding: 5px;
    display: inline-block;
    font-size: 14px;
    text-align: center;
    width: 35px;
}
.paginador a:hover{
    background: #ddd;
}
.pagSeleccionada{
    color: #FFF;
    background: #428bca;
    border: 1px solid #428bca;
}

            /* _________________________________________________________________________________________ 
              |                           TABLA DE RESULTADOS BUSQUEDA                                  |
              |_________________________________________________________________________________________| */

table{
    border-collapse: collapse;
    font-size: 12px;
    font-family: arial;
    width: 100%;
    text-align: center;
}
table th{
   padding: 10px;
   background: #3d7ba8;
   color: #FFF;
}
table tr:nth-child(odd){
    background: #FFF; 
}
table td{
    padding: 10px;
    
}
.link_more{
    color: #1faac8;
    font-size: 15px;
    padding: 10px;
} 
.link_stock{
    color: #000; /*verde #26ac09*/
    font-size: 15px;
    padding: 10px;
} 
.link_ean{
    color: #000;
    font-size: 15px;
    padding: 10px;
}
.link_add{
    color: #000;
    font-size: 15px;
    padding: 10px;
} 
.link_delete{
    color: #f36a6a;
    font-size: 15px;
    padding: 10px;
} 
.link_pdf{
    color: #3d7ba8;
    font-size: 15px;
    padding: 10px;
} 
.link_inactive{
    color: #a9a9a9;
    font-size: 15px;
    padding: 10px;
    cursor: default;
} 
            /* _________________________________________________________________________________________ 
              |                                 VENTANAS MODALES                                        |
              |_________________________________________________________________________________________| */

.modal{
    position: fixed;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.81);
    display: none;    
}
.bodyModal{
    display: -webkit-inline-flex;
    display: -moz-inline-flex;
    display: -ms-inline-flex;
    display: -o-inline-flex;
    display: inline-flex;

    
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: center;
/*    background-color: #FFF;*/
}
.modal h1{
    color: #0e7250;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 20px;
}
.modal h2{
    font-size: 15px;
    text-transform: uppercase;
    
}
.modal h3{
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 5px;
}
.form_modal{
    width: 500px;
    text-align: left;
    display: inline-block;
    margin: auto;
    padding: 20px 30px 5px;
}
.modal label{
    /*display: inline;*/
    font-size: 15px;
/*    font-family: ''*/
    /*margin: 15px auto 5px auto;*/    
}
.modal input{
    font-size: 15px;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
}


    input[type=number]::-webkit-outer-spin-button,

    input[type=number]::-webkit-inner-spin-button 
        {
            -webkit-appearance: none;
            margin: 0;
        }

input[type=number] {

    -moz-appearance:textfield;

}

.btn_modal{
    display: inline-block;
    background: #239baa;
    color: #FFF;
    padding: 5px 25px;
    border-radius: 4px;
    margin: 20px;
}
.btn_modal_aceptar{ 
  display: inline-block; 
  width: 150px;
  height: 40px;
  background: #82e0aa;
  border: none;
  color: white;
  margin-bottom: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 25px;
}
.btn_modal_cancelar{
  display: inline-block; 
  width: 150px;
  height: 40px;
  background: #f1948a;
  border: none;
  color: white;
  margin-bottom: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-left: 30px;
  margin-top: 25px;
}
.textbox_modal {
  width: 150px;
  border: 1px solid #017bab;
  margin-bottom: 15px;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
}
.textbox_modal_cobrar {
  width: 400px;
  height: 60px;
  border: 1px solid #017bab;
  margin-bottom: 20px;
  padding: 11px 10px;
  font-size: 60px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
}
.textbox_pago {
  display: inline;
  width: 125px;
  border: 1px solid #017bab;
  margin-bottom: 15px;
  padding: 11px 10px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
}
.textbox_nota {
  display: inline;
  width: 250px;
  height: 25px;
  border: 1px solid #017bab;
  padding: 11px 10px;
  font-size: 8px;
  margin-left: 10px;
  border-radius: 8px;
  text-align: left;
}
.checkbox_modal {
 margin-left: 10px; 
}
.warning_modal {
 background-color: #f36a6a; 
}
.correct_modal {
 background-color: #82e0aa; 
}
.notice_modal {
 background-color: #ddeeff; 
}
.select_pago{
    display: inline;
    width: 200px; /*200*/
    margin-right: 10px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
}
.select_estado_pago{
    display: inline;
    width: 80px;
    /*margin-right: 10px;*/
    margin-left: 10px;
    font-size: 11px;
    /*font-weight: bold;*/
    text-align: center;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
}
.fieldset_pagos{
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 1px;
    margin-bottom: 0px;
    
    font-family: arial;
    font-size: 12px;
}

            /* _________________________________________________________________________________________ 
              |                                    TPV ventas                                           |
              |_________________________________________________________________________________________| */

.datos_cliente, .datos_venta, .title_page, .datos_tipo{
	width: 100%;
	max-width: 1250px; /*900*/              /*ANCHO 1/2 (modificar tambien tabla, clase .tbl_venta)*/
	margin: auto;
	margin-bottom: 5px;
}
#detalle_venta tr{
	background-color: #FFF;
}
#detalle_venta td{
	border-bottom: 1px solid #CCC;
}
.datos{
	background-color: #e5e7e9;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;

        justify-content: space-between;

        flex-wrap: wrap;
        /*border: 2px solid #78909C;*/
        padding: 10px;
        /*border-radius: 10px;*/
        /*margin-top: 10px;*/
        border: none;
}
.datos_container{
    background-color: #e5e7e9;  /*#e3ecef*/
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    /*justify-content: space-between;*/
    flex-flow: column;
    
    flex-wrap: wrap;
    border: 2px solid #78909C;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
 
}
.datos input, .select{
    display: block;
    width: 100%;
    font-size: 11px;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
}
.select_documento{
    display: block;
    width: 15%;
    margin-left: 20px;
    font-size: 11px;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
}
.action_cliente{
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	align-items: center;
}

.datos label{
	margin: 5px auto;
}
.wd5{
	width: 5%;
}
.wd10{
	width: 10%;
}
.wd15{
	width: 15%;
}
.wd20{
	width: 20%;
}
.wd25{
	width: 25%;
}
.wd30{
	width: 30%;
}
.wd40{
	width: 40%;
}
.wd50{
	width: 50%;
}
.wd60{
	width: 60%;
}
.wd100{
	width: 100%;
}
#div_registro_cliente, #add_product_venta{
	display: none;
}
.displayN{
	display: none;
}
.tbl_venta{
	max-width: 1250px;                              /*ANCHO 2/2*/
	margin: auto;
        text-align: center;
}
.tbl_venta tfoot td{
	font-weight: bold;
}
.tbl_venta thead th{
	text-align: center;
}
.textright{
	text-align: right;
}
.textcenter{
	text-align: center;
}
.textleft{
	text-align: left;
}
.btn_anular{
	background-color: #f36a6a;
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	padding: 10px;
	margin: 0 3px;
	color: #FFF;
        display:inline-block;
}
.btn_aceptar{
	background-color: #3d7ba8; /* #1883ba */
	border: 0;
	border-radius: 5px;
	cursor: pointer;
	padding: 10px;
	margin: 0 3px;
	color: #FFF;
        display:inline-block;
}

/*.cabecera_tpv2{
  margin: 50px auto;
  border: 1px outset white;     
  text-align: center;   
} 
.cabecera_tpv{

    display: flex;
    background: initial;
    padding: 5px; 
    border-radius: 5px;
    border: 1px solid #e7e7e7;
    margin: 1px auto 1px;
}*/
.total_tpv{
    	font-family: arial;
	letter-spacing: 2px;
	font-size: 40px;
        font-weight: bold;
        padding-right: 30px;
        text-align: right;
}

/*Alerta en numeros*/
.badge {
    font-family: arial;
    font-size: 13px;
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    /*padding: 1px 5px;*/

    font-weight: normal;
    color: #fff;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    text-align: center;
    background-color: #999;
    border-radius: 10px; 

    /*font-size: 1em;*/
    /*padding: 1px 5px;
    font-weight: normal;
    font-size: 1em;
    line-height: inherit;*/
    letter-spacing: .0625em;

}
.badge_danger{
    /*background-color: #e08f95;*/
    background-color: #f36a6a;
}
.badge_warning{
    /*background-color: #f3c56a;*/
    background-color: #f3e76a;
    color: #383838;
}
.badge_correct{
    background-color: #72c279;
}
.badge_attend{
    background-color: #ddeeff;
    color: #000000;
}
.badge_inactive{

    background-color: #A4A4A4;
    /*color: #CCC;*/
    cursor: default;
}
.badge_inactive_light{

    background-color: #DADADA;
    color: #CCC;
    cursor: default;
}
.badge_copied{

    background-color: #72C279; 
}
.circulo {
     width: 100px;
     height: 100px;
     -moz-border-radius: 50%;
     -webkit-border-radius: 50%;
     border-radius: 50%;
     background: #5cb85c;
}
.input_tpv{
    display: block;
    width: 100%;
    font-size: 11px;
    padding: 5px;
    border: 1px solid #85929e;
    border-radius: 5px;
    text-transform: uppercase;
}
.input_ean{
    display: block;
    width: 100%;
    font-size: 15px;
    padding: 5px;
    border: 4px solid #85929e;
    border-radius: 5px; 
    font-weight: bold;      
}
.div_tipo{
    background-color: #e5e7e9;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;

    /*justify-content: space-between;*/
    flex-flow: row;
    
    flex-wrap: wrap;
    border: 2px solid #78909C;
    padding: 10px;
    border-radius: 10px;
    margin-top: 10px;
}
    /* _________________________________________________________________________________________ 
      |                                LISTADO DE VENTAS                                        |
      |_________________________________________________________________________________________| */
    
.form_search_date{
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    border-radius: 10px;
    margin: 10px auto;
}
.form_search_date label{
    margin: 0 10px;
}
.form_search_date input{
    width: auto;
}
.form_search_date .btn_view{
    padding: 8px;
}

.div_filtros{
    background: #FFF;
    border-radius: 10px;
    margin: 10px auto;
}

.btn_view{
    background-color: #1faac8;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    padding: 10px;
    margin: 0 3px;
    color: #FFF;
}
.bloque_pago_envio{
     
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: inline-flex;

    /*justify-content: space-between;*/
    flex-flow: row;
    
    flex-wrap:  wrap;
    
    /*float: left;*/
    
    /*display: inline;*/
    /*background-color: #fff;*/  
    width: 100%;
    height: 300px;
  
    /*padding: 10px;*/
}

.table_detail{
    border-collapse: collapse;
    font-size: 12px;
    font-family: arial;
    width: 100%;
    text-align: left;
    margin: initial;
}
table_detail th{
   padding: 5px;
}

table_detail td{
    padding: 5px;    
}

.boton_normal {
  width: 100%;
  height: 40px;
  background: #017bab;
  border: none;
  color: white;
  margin-bottom: 16px;
  border-radius: 8px;
  cursor: pointer;
}