<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html data-editor-version="2" class="sg-campaigns" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <style type="text/css">
    body,
    p,
    div {
        font-family: arial, helvetica, sans-serif;
        font-size: 14px;
    }

    body {
        color: #000000;
    }

    body a {
        color: #1188E6;
        text-decoration: none;
    }

    p {
        margin: 0;
        padding: 0;
    }

    table.wrapper {
        width: 100% !important;
        table-layout: fixed;
        -webkit-font-smoothing: antialiased;
        -webkit-text-size-adjust: 100%;
        -moz-text-size-adjust: 100%;
        -ms-text-size-adjust: 100%;
    }

    img.max-width {
        max-width: 100% !important;
    }

    .column.of-2 {
        width: 50%;
    }

    .column.of-3 {
        width: 33.333%;
    }

    .column.of-4 {
        width: 25%;
    }

    ul ul ul ul {
        list-style-type: disc !important;
    }

    ol ol {
        list-style-type: lower-roman !important;
    }

    ol ol ol {
        list-style-type: lower-latin !important;
    }

    ol ol ol ol {
        list-style-type: decimal !important;
    }
    .barcode {
                padding: 1.5mm;
                margin: 0;
                vertical-align: top;
                color: #000044;
            }
           
              .caja{
                background-color:red;
                width:100%;
                height:120px;
                border:3px solid black;
                display:flex;
              }
              hr{
                margin:1px;
                color:#25476a;
              }
              table, th, td {
                border: 1px solid black;
                border-collapse: collapse;
              }
              td{
                padding:7px;
              }

    @media screen and (max-width:480px) {

        .preheader .rightColumnContent,
        .footer .rightColumnContent {
            text-align: left !important;
        }

        .preheader .rightColumnContent div,
        .preheader .rightColumnContent span,
        .footer .rightColumnContent div,
        .footer .rightColumnContent span {
            text-align: left !important;
        }

        .preheader .rightColumnContent,
        .preheader .leftColumnContent {
            font-size: 80% !important;
            padding: 5px 0;
        }

        table.wrapper-mobile {
            width: 100% !important;
            table-layout: fixed;
        }

        img.max-width {
            height: auto !important;
            max-width: 100% !important;
        }

        a.bulletproof-button {
            display: block !important;
            width: auto !important;
            font-size: 80%;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }

        .columns {
            width: 100% !important;
        }

        .column {
            display: block !important;
            width: 100% !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
        }

        .social-icon-column {
            display: inline-block !important;
        }
    }
    </style>
</head>

<body>
    <center class="wrapper" data-link-color="#1188E6"
        data-body-style="font-size:14px; font-family:arial,helvetica,sans-serif; color:#000000; background-color:#ffb349;">
        <div width="100%" style="text-align:center;"> 
            <img width="8%" src="../../'.$logo.'" >
        </div>
       
        <div width="100%" style="text-align:center;padding-top:8px"> 
            <span><b>'.$razon.'</b></span>
        </div> 
        <hr>
        <hr>
        <div width="100%" style="text-align:center;padding-top:8px"> 
            <span style="font-size:12px;color:red">CARGO DE TRAMITE VIRTUAL</span>
        </div>


        <table width="100%"  style="font-size:12px; margin-top:12px">
            <tr>
                <td style="width:50%" colspan="1"><b>Numero de Expediente: </b>'.$row['expe_num'].'</td>
                <td style="width:50%" colspan="2"><b>Fecha y Hora: </b>'.date('d/m/Y H:i:s',strtotime($row['doc_fecharegistro'])).'</td>
            </tr>
            <tr>
                <td colspan="3"><b>Nombres: </b>'.$row['doc_nombreremitente'].'</td>
            </tr>
            <tr>
                <td colspan="1"><b>Apellido Paterno: </b>'.$row['doc_apepatremitente'].'</td>
                <td colspan="2"><b>Apellido Materno: </b>'.$row['doc_apematremitente'].'</td>
            </tr>
            <tr>
                <td colspan="1"><b>DNI: </b>'.$row['doc_dniremitente'].'</td>
                <td colspan="2"><b>RUC: </b>'.$row['doc_ruc'].'</td>
            </tr>
            <tr >
                <td colspan="3"><b>Razon Social: </b>'.$row['doc_empresa'].' </td>
            </tr>
            <tr >
                <td colspan="3"><b>Correo Electronico: </b>'.$row['doc_emailremitente'].' </td>
            </tr>
            <tr>
                <td colspan="1" style="width:30%"><b>Tipo Documento: </b>'.$row['tipodoc_descripcion'].'</td>
                <td colspan="1" style="width:30%"><b>Nro. Documento.: </b>'.$row['doc_nrodocumento'].'</td>
                <td colspan="1" style="width:30%"><b>Folios: </b>'.$row['doc_folio'].'</td>
            </tr>
            <tr>
                <td colspan="3"><b>Procedimiento Administrativo: </b>'.$row['tupa_descripcion'].'</td>
            </tr>
        
      </table>


        
        <div width="100%" cellpadding="8" style="margin-top:10px">
                <div>
                    <div class="barcodecell" style="text-align:center;" >
                        <barcode code="'.$row['documento_id'].'" type="QR" class="barcode" size="1.0" disableborder="1" />
                        
                    </div>
                   
                </div>
                <div width="100%" style="text-align:center;padding-top:8px">
                <span width="100%"  style="font-size:10px;text-align:center;">Utiliza el Codigo QR para dar seguimineto a tu tramite</span>
                </div>
                
        </div>
    </center>
</body>

</html>