*{
    margin: 0;padding: 0; /*font-family:'Source Sans Pro';*/
    font-size: 12px;
}
p{
    font-family:sans-serif; font-size: 14px;color: #444444;text-align: left;line-height: 21px;
}
body{
    padding: 20px;
    box-sizing: border-box;
    color: #444444;
    font-family:sans-serif; font-size: 14px;
}
        .company_logo {
            min-width: 150px;
            max-width: 100%;
            height: auto;
        }
.wrap{
    width: 1050px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
}
.logofactura{
    max-width: 290px;
    height: auto;
    margin: 5px 0;
}
table{
    width: 100%;
}
table td{
    padding: 7px 15px;
    box-sizing: border-box;
}
.tabletop td{
    text-align: center;
    font-size: 14px;
    padding: 0 0 20px 0;
}
.tablareceipt{
    width: 100%;
}
.tablareceipt td{
    text-align: center;
    width: 336px;
}
.tablareceipt td p{
    text-transform: uppercase;
    font-size: 12px;
    line-height: 14px;
    font-weight: bold;
    color: #5e5e5e;
    padding: 0;
    margin: 0;
    text-align: center;
}
.tablareceipt i{
    color: #444444;
}
.datoruc{
    width: auto;
    float: right;
    border: solid 1px #000;
}
.datoruc p{
    font-size: 18px !important;
    line-height: 22px !important;
    margin: 5px 0 !important;
}
.iconoimpresion a{
    text-align: right;
}

.tabladatos td{
    width: inherit;
    padding: 0;
}
.tabladatos p{
    text-align: center;
    color: #444444;
    text-align: left;
}
.tdatoslabel{
    padding: 0;
}
.tdatodlabeldos{
    
}
.tdatoslabel p{
    width: auto !important;
    float: left;
    background: #fff;
    position: relative;
    padding: 0 5px 0 0;
}
.tdatoslabel p:after{
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    z-index: 2;
}
.tablageneral{
    border: solid 1px #a09f9f;
    width: 100%;
    height: auto;
    margin: 20px 0 0 0;
}
.invoice{
    width: 200px;
    text-align: right;
}
.titulotable{
    font-weight: bold;
    border-spacing: 0;
    background: #f4f4f4;
}
.detalletable td, .titulotable td{
    text-align: left;
    vertical-align: middle;
    border: none !important;
}
.ulttable{
    border-right: none !important;
}
.titulotable td{
    border-bottom: solid 1px #a09f9f;
}
.nombredetalle, .cantidadtabla{
    width: 50px;
    text-align: left !important;
}
.preciotabla{
    width: 106px;
}
.sinborde td{
    border-top: solid 0px #d7d6d6 !important;
}
.tablegracias{
    margin: 30px 0 0 0;
}
.tablegracias td{
    text-align: left;
    font-weight: normal;
    font-size: 15px;
    padding: 0;
}
.tablacostos{
    margin: 10px 0 0 1px;
    border-top: none;
    border-bottom: none;
    border-left: none;
    border: none !important;
}
.tablacostos td{
    position: relative;
}
.imprenta{
    width: 280px;
    border-right: none !important;
}
.imprenta p{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    color: #444444;
}
.cancelado{
    text-align: center !important;
}
.cancelado p{
    width: auto;
    padding: 0 60px;
    border-top: dashed 1px rgba(0,0,0,0.9);
    text-align: center;
    display: inline-block;
    float: none;
    color: #444444;
}
.fintabla{
    border-bottom: solid 1px #a09f9f !important;
}
.boletanombre p{
    font-size: 15px !important;
    line-height: 22px !important;
    text-transform: none !important;
    font-weight: normal !important;
}
.tdatofecha{
    width: 160px !important;
    border-bottom: dashed 1px #000 !important;
    margin: 5px 0 !important;
}
.tdatomes{
   width: 110px !important; 
}
.tdatonombre{
    width: 700px !important; 
    border-bottom: dashed 1px #000 !important;
    margin: 5px 0 !important;
}
.sinborde{
    border-right: none !important;
}
.fintablados{
    
}
.tablacan td{
    width: 33.3%;
}
.tablacan p{
    text-align: center;
    line-height: 30px;
    position: relative;
}
.tablacan p span, .caneladotd span{
    width: 200px;
    height: 1px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    margin-left: -100px;
    border-top: dashed 1px #000 !important;
}
.tdatoemision{
    width: 970px !important;
}
.tdcanc{
    text-align: center;
}
.caneladotd{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    text-align: center;
}
.tdatocre{
    width: calc(50% - 20px) !important;
    margin: 0 20px 0 0 !important;
}
.tdatocons{
    border-bottom: none !important;
}
.flotantediv{
    position: absolute;
    top: 0;
    left: 0;
}
.motivcred{
    width: auto;
    padding: 5px 0;
}
.motivcred p{
    font-size: 12px;
}
.motivcred label{
    width: 200px;
}

.reception{
    width: calc(100% - 20px);
    height: auto;
    padding: 5px 0;
    margin: 5px 0;
    border-top: dashed 1px rgba(0,0,0,0.5);
    float: left;
    box-sizing: border-box;
}
.datoappcred{
    border-bottom: solid 1px #000;
    position: relative;
    min-height: 21px;
    width: 800px;
    float: left;
}
.datoappcred span{
    position: absolute;
    background: #fff;
    bottom: -1px;
    left: 0;
    z-index: 1;
}
.datoappcred2{
    width: 180px;
}
.datoappcred3{
    width: 250px;
}
.tablacandos{
    margin: 70px 0 0 0;
    border: none !important;
}
.tablacandos td{
    border: none !important;
}
.codigofac{
    border-radius: 20px;
    border: solid 1px rgba(0,0,0,0.3);
    padding: 5px 10px;
    font-size: 13px;
    font-weight: bold;
    background: rgba(0,0,0,0.1);
}
.codigoqr{
    float: right;
    width: 70px;    
}
.codigoqr img{
    width: 100%;
    height: auto;
}
input[type=checkbox] { display: inline; }


/*DETALLE */
.cabecera_detalle {
    text-align: center; 
    font-family: Arial Narrow, Arial, sans-serif;
    font-size: 11px; 
    border: 1px solid black; 
    border-collapse: collapse; 
    font-weight: bold;
}

.cabecera_documento {
    font-family: Arial Narrow, Arial, sans-serif;
    padding: 0px !important;
    width: 190px !important; 
    border: solid 1px black; 
    font-size: 15px !important; 
    line-height: 25px !important; 
    margin: 5px 0 !important;
    border-radius: 0.2em;
}

.cabecera_detalle_items {
    text-align: center; 
    padding: 5px 0px 5px 3px !important; 
    font-family: Arial Narrow, Arial, sans-serif;
    font-size: 11px; 
    border: 1px solid black; 
    border-collapse: collapse;
    border: none !important;
}

.cabecera_detalle_1 {
    text-align: center; 
    font-family: Arial Narrow, Arial, sans-serif; 
    padding: 1px 0px 0px 3px !important; 
    width: 20% !important; 
    font-size: 10px; 
    border: 1px solid black; 
    border-collapse: collapse; 
    font-weight: bold;
}

.cabecera_detalle_2 {
    text-align: center; 
    font-family: Arial Narrow, Arial, sans-serif; 
    padding: 13px 0px 13px 3px !important; 
    width: 20% !important; 
    font-size: 10px; border: 1px solid black; 
    border-collapse: collapse; 
    font-weight: bold;
}