* {
    margin: 0;
    padding: 0;
    font-family: 'DejaVuSans', 'Arial', sans-serif;
}

body{
    padding: 20px;
    font-family: 'DejaVuSans', 'Arial', sans-serif;
}

table {
    width: 100%;
    margin-bottom: 10px;
}
.logo {
    text-align: center;
    vertical-align: top;
}

.logo img {
    width: 100%;
}

.info-empresa {
    text-align: center;
    vertical-align: top;
}
.info-detalle {
    text-align: right;
    vertical-align: top;
}



#detalle-factura {
    border-radius:2mm;
    padding:0mm;
    width:194mm;
    margin-top:2mm;
}
#detalle-factura TABLE {
    margin-bottom:0px;
}
#detalle-factura TABLE THEAD TR TH {
    font-size: 2.5mm;
    line-height: 2.9mm;
    
}
#detalle-factura TABLE TBODY TR TD {
    font-size: 2.5mm;
    line-height: 3.3mm;
    padding-left:1mm;
    padding-right:1mm;
    font-weight:normal;
    color:#000;
}

#detalle-factura TABLE TFOOT TR TD {
    font-size: 2.5mm;
    line-height: 3.0mm;
    padding-left:1mm;
    padding-right:1mm;
}

#anotacion_qr {
    padding:0mm;
    width:174mm;
    font-size:2.8mm;
    height:24mm;
    vertical-align:top;
}

#qrimage {
    vertical-align:top;
    width:28mm;
    text-align:center;    
    font-size: 2mm;
    text-align:center;
    font-weight:bold;
    padding:0px;
}

#certificador {
    position:absolute;
    margin-top:32mm;
    margin-right:37mm;
    width:100%;
    font-size:2.8mm;
    text-align:right;
}

#por_divemosa {
    position:absolute;
    width:90mm;
    font-size: 3mm;
    line-height: 5mm;
    text-align:center;
    font-weight:bold;
    border-top: 0.25mm solid #000;
    padding:0px;
    top: 258mm;
    right:5mm;
}
#firma_sello {
    position:absolute;
    width:90mm;
    font-size: 3mm;
    line-height: 5mm;
    text-align:center;
    font-weight:bold;
    border-top: 0.25mm solid #000;
    padding:0px;
    top: 258mm;
    left:5mm;
}
#firma_nombre {
    position:absolute;
    width:90mm;
    font-size: 2.5mm;
    line-height: 2.5mm;
    text-align:left;
    border-bottom: 0.25mm dotted #000;
    padding:0px;
    top: 264mm;
    left:5mm;
}
#firma_dpi {
    position:absolute;
    width:90mm;
    font-size: 2.5mm;
    line-height: 2.5mm;
    text-align:left;
    border-bottom: 0.25mm dotted #000;
    padding:0px;
    top: 270mm;
    left:5mm;
}
#hoja {
    position:absolute;
    width:90mm;
    font-size: 3mm;
    line-height: 5mm;
    text-align:right;
    padding:0px;
    top: 270mm;
    right:5mm;
    color:#f00;
}


#container-numero_recibo {
    margin-left:126mm;
    margin-bottom:1mm;
    font-size:4mm;
    font-weight:bold;
}

#container-info {
    border-radius:2mm;
    padding:2mm;
    clear: both;
    width:190mm;
    height:31mm;
}

#container-info TABLE {
    margin-bottom:0px;
}


#container-fecha_recibo {
    float:right;
    margin-right:3mm;
    border:0.50mm solid #000;
    border-bottom:0px;
    border-radius:2mm;
    border-bottom-left-radius:0mm;
    border-bottom-right-radius:0mm;
    width:80mm;
}

#container-fecha_recibo TABLE TR TD {
    font-size:4mm;
    text-align:center;
    padding-top:1mm;
    padding-bottom:1mm;
    line-height:5mm;
}
#container-info TABLE {
    font-size:3.2mm;
}
#container-info TABLE TH {
    text-align: left;
}