<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">

<head>
    <!--[if (gte mso 9)|(IE)]><xml><o:OfficeDocumentSettings><o:AllowPNG/><o:PixelsPerInch>96</o:PixelsPerInch></o:OfficeDocumentSettings></xml><![endif]-->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- So that mobile will display zoomed in -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- enable media queries for windows phone 8 -->
    <meta name="format-detection" content="telephone=no"> <!-- disable auto telephone linking in iOS -->
    <meta name="format-detection" content="date=no"> <!-- disable auto date linking in iOS -->
    <meta name="format-detection" content="address=no"> <!-- disable auto address linking in iOS -->
    <meta name="format-detection" content="email=no"> <!-- disable auto email linking in iOS -->
    <title></title>

    <!--[if (gte mso 9)|(IE)]>
<style type="text/css">
  table, tr, td, div, span, p, a {font-family: Arial,Helvetica,sans-serif !important;}
  td a {color: inherit !important; text-decoration: none !important;}
  a {color: inherit !important; text-decoration: none !important;}
</style>
<![endif]-->

    <style type="text/css">
        /*Basics*/
        body {
            margin: 0px !important;
            padding: 0px !important;
            display: block !important;
            min-width: 100% !important;
            width: 100% !important;
            -webkit-text-size-adjust: none;
            font-family: 'Roboto', sans-serif !important;
        }

        table {
            border-spacing: 0;
            mso-table-lspace: 0pt;
            mso-table-rspace: 0pt;
        }

        table td {
            border-collapse: collapse;
        }

        strong {
            font-weight: bold !important;
        }

        td img {
            -ms-interpolation-mode: bicubic;
            display: block;
            width: auto;
            max-width: auto;
            height: auto;
            margin: auto;
        }

        td p {
            margin: 0 !important;
            padding: 0 !important;
            display: inline-block !important;
            font-family: inherit !important;
        }

        td a {
            text-decoration: none !important;
        }

        /*Outlook*/
        .ExternalClass {
            width: 100%;
        }

        .ExternalClass,
        .ExternalClass p,
        .ExternalClass span,
        .ExternalClass font,
        .ExternalClass td,
        .ExternalClass div {
            line-height: inherit;
        }

        .ReadMsgBody {
            width: 100%;
            background-color: #ffffff;
        }

        /* iOS BLUE LINKS */
        a[x-apple-data-detectors] {
            color: inherit !important;
            text-decoration: none !important;
            font-size: inherit !important;
            font-family: inherit !important;
            font-weight: inherit !important;
            line-height: inherit !important;
        }

        /*Gmail blue links*/
        u+#body a {
            color: inherit;
            text-decoration: none;
            font-size: inherit;
            font-family: inherit;
            font-weight: inherit;
            line-height: inherit;
        }

        /*Buttons fix*/
        .undoreset a,
        .undoreset a:hover {
            text-decoration: none !important;
        }

        .yshortcuts a {
            border-bottom: none !important;
        }

        .ios-footer a {
            color: #aaaaaa !important;
            text-decoration: none;
        }

        /*Responsive*/
        @media screen and (max-width: 599px) {
            td.img-responsive img {
                width: 100% !important;
                max-width: 100% !important;
                height: auto !important;
                margin: auto;
            }

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

            table.center-float,
            td.center-float {
                float: none !important;
            }

            /* Esta la he eliminado de las celdas */
            td.center-text {
                text-align: center !important;
            }

            /* Esta la he creado yo */
            td.desplazar-derecha {
                padding-left: 8px !important;
            }

            td.container-padding {
                /* width: 100% !important; */
                padding-left: 15px !important;
                padding-right: 15px !important;
            }

            table.hide-mobile,
            tr.hide-mobile,
            td.hide-mobile,
            br.hide-mobile {
                display: none !important;
            }

            td.menu-container {
                text-align: center !important;
            }

            td.autoheight {
                height: auto !important;
            }

            td.height200 {
                height: 200px !important;
            }

            td.border-rounded {
                border-radius: 6px !important;
            }

            td.border-none {
                border: none !important;
            }

            table.mobile-padding {
                margin: 15px 0 !important;
            }
        }
    </style>

    <!-- Tipografía Google -->
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap" rel="stylesheet">
    <!-- FIN Tipografía Google -->

</head>

<body style="margin-top: 0; margin-bottom: 0; padding-top: 0; padding-bottom: 0; width: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;" bgcolor="#ffffff">
  

<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%">
    <tr>
        <td class="title-5" align="center" valign="top">
            <!-- body-bg-color -->            
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" class="row" style="width:100%;max-width:100%;">
                <tr>
                    <td class="body-bg-color" align="center" valign="top" bgcolor="#ffffff">
                        <!-- bg-color -->
                        <table border="0" width="800" align="center" cellpadding="0" cellspacing="0" class="row" style="width:800px;max-width:800px;">
                            <tr>
                                <td class="bg-color" align="center" valign="top" bgcolor="#ffffff">
                                    <!-- container -->
                                    <table width="768" border="0" cellpadding="0" cellspacing="0" align="center" class="row" style="width:768px;max-width:768px;">
                                        <tr>
                                            <td valign="middle" align="center" height="10" style="font-size:20px;line-height:20px;">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td valign="middle" align="center">
                                                <a href="<?php 

                                                $imagen = str_replace(' ', '_', strtolower($data['instalacion_nombre'])) . '.png';
                                                echo $data['domainLink']; ?>" target="_blank"><img style="display: block; width: 450px; max-width: 450px; display: block; border: 0px;" src="<?php echo $data['domainLink']; ?>/wp-content/plugins/visitas/modules/visitas/reservas/images/<?php echo $imagen; ?>" width="450" border="0" alt="" /></a>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="middle" align="center" height="10" style="font-size:40px;line-height:40px;">&nbsp;</td>
                                        </tr>
                                        <tr>
                                            <td align="center" valign="top" class="container-padding">

<!-- --------------------------------- SALUDO ------------------------------------------------------------------>
<?php $tipo_saludo = "done"; ?>
<!-- subtitle -->
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left" style="width:100%; max-width:100%;">
    <tr>
        <td class="subtitle" valign="middle" align="center" style="font-family: 'Roboto', sans-serif; font-size: 36px; line-height: 42px; font-weight: 200; font-style: normal; color: #161616; text-transform: uppercase; text-decoration: none; letter-spacing: 0.03em;">

            Hello <?php echo $data['nombre']; ?>
           
        </td>
    </tr>
</table>
<!-- subtitle -->

<!-- space -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td valign="middle" align="center" height="22" style="font-size:10px;line-height:10px;">&nbsp;</td>
    </tr>
</table>
<!-- space -->

<!-- title -->
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
    <tr>
        <td class="title" valign="middle" align="center" style="font-family: 'Roboto', sans-serif; font-size: 17px; line-height: 30px; font-weight: 400; font-style: normal; color: #161616; text-decoration: none; letter-spacing: 0px;">
            your puchase has been <?php echo $tipo_saludo; ?> <strong style="font-weight: 600;">succesfully</strong>.
        </td>
    </tr>
</table>
<!-- title -->


<!-- --------------------------------- FIN SALUDO --------------------------------------------------------------->

<!-- --------------------------------- CONTAINER QR/PASSBOOK ---------------------------------------------------->

<table width="100%" border="0" cellpadding="0" cellspacing="0" align="center" class="row" style="width:100%;max-width:100%;">
    <tr>
        <td align="center" valign="top" class="container-padding">
            
            <!-- title -->
            <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:560px;">
                <tr>
                    <td class="title center-text" valign="middle" align="center" style="font-family:'Roboto', sans-serif; font-size: 17px; line-height: 30px; font-weight: 400; font-style: normal; color: #353535; text-decoration: none; letter-spacing: 0px;">

                        You have <?php echo $data['accion']; ?> a purchase from <?php echo $data['plazas']; ?> people to <span style="font-weight: 600;"><?php echo $data['servicio_nombre_reserva']; ?></span> for your visit <span style="font-weight: 600;">to <?php echo $data['instalacion_nombre']; ?></span>
                        <a href="<?php echo $data['instalacion_mapa']?>" target="_blank"  style="color:#353535;font-style: italic;font-size: 16px;">(view google maps)</a>,
                        <?php if ($data['fecha_reserva'] != '') : ?>the day <span style="color: #353535; font-weight: 600;"> <?php echo $data['fecha_reserva']; ?></span> at <span style="color: #353535;font-weight: 600;"><?php echo $data['horario']; ?></span> <?php endif; ?>
                        
                    </td>
                </tr>
            </table>
            <!-- title -->

            <!-- space -->
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                <tr>
                    <td valign="middle" align="center" height="32">&nbsp;</td>
                </tr>
            </table>
            <!-- space -->

            <!-- Input text -->
            <table style="font-family:'Roboto', sans-serif;">
                <tr>
                    <td style="text-align: center;">
                        <p style="font-weight: 400; letter-spacing: 1px; font-size: 15px;">BOOKING REFERENCE</p>

                        <!-- space -->
                        <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                            <tr>
                                <td valign="middle" align="center" height="5">  </td>
                            </tr>
                        </table>
                        <!-- space -->

                        <img class="imagen_qr" src="<?php echo $data['domainLink']; ?>/wp-content/plugins/visitas/modules/visitas/reservas/images/QR/<?php echo $data['localizador'] . '.png'; ?>" alt="Localizador reserva" />
                    </td>
                </tr>

                <tr>
                    <td>

                        <p style="width: 170px; line-height: 40px; text-align: center;  font-size: 24px; font-weight: 600; letter-spacing: 2px; ">


                            <!-- LOCALIZADOR -->
                            <?php  
                                print $data['localizador']; 
                            ?> 
                           
                        </p>
                    </td>
                </tr>
            </table>
            <!-- Input text -->


            <!-- title -->
            <!-- <table   border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
            <tr>
              <td
              class="title center-text"
              valign="middle"
              align="center"
              style="font-family:'Roboto', sans-serif;
                    font-size: 20px;
                    line-height: 35px;
                    font-weight: 400;
                    font-style: normal;
                    color: #353535;
                    text-decoration: none;
                    letter-spacing: 0px;">


                      ó puedes guardarlo en tu móvil en formato <strong>passbook/passwallet:<strong>

              </td>
            </tr>
        </table>  -->
            <!-- title -->

            <!-- space -->
            <!-- <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
          <tr>
            <td valign="middle" align="center" height="20">&nbsp;</td>
          </tr>
        </table>  -->
            <!-- space -->

            <!-- title -->
            <!-- <table   border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
            <tr>
              <td class="localizador" colspan="3" style="padding:10px; text-align:center;font-size: 21px;">
                    <table width="100%" cellspacing="0" cellpadding="0">
                        <tr>
                            <td style="text-align:center;">
                                <span style="border:1px solid #000;padding:20px 15px; font-size: 18px;border-radius: 5px;">
                                    <a href="<?php echo $data['domainLink']; ?>/wp-content/themes/divi-child/passbook.php?l=<?php echo $data['loc_encryp']; ?>&w=1" target="_blank" style="color: #000;text-decoration: none;">
                                        <img style="vertical-align: middle;width:50px;display: inline;" width="50" src="<?php echo $data['domainLink']; ?>/wp-content/plugins/visitas/modules/visitas/reservas/images/ico-wallet.png" alt="Añadir a Wallet (PassBook)"/>
                                        Añadir a Wallet (PassBook)
                                    </a>
                                </span>
                             </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>  -->
            <!-- title -->
        </td>
    </tr>
</table>

<!-- space -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td class="space-control" valign="middle" align="center" height="35">&nbsp;</td>
    </tr>
</table>
<!-- space -->

<!-- --------------------------------- FIN CONTAINER QR/PASSBOOK ------------------------------------------------>


<table width="100%" >
<tr>
    <td align="left" valign="top" style="width:21%">
        <!-- -------------------------------------- DATOS RESERVA ------------------------------------------------------------ -->
        <!-- tabla-contenedora -->
        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
            <tr>

                <td align="left" valign="top" style="padding-bottom: 16px;" bgcolor="#ffffff">

                    <!-- contenida-tabla -->

                    <!-- sm-title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
                        <tr>
                            <td class="sm-title" valign="top" align="left" style="font-family:'Playfair Display', serif !important; line-height: 24px; font-style: normal;  font-weight: 600; font-size: 18px; letter-spacing: 0.03em; color: #353535; padding: 0 8px 8px;border-bottom: 1px dashed #dddddd;">


                                <!-- BILLETE DE COMPRA / RESERVA REALIZADA -->
                                <?php if ($data['pago_instalacion'] != 1) { ?>
                                    Purchase Ticket
                                <?php } else { ?>
                                    Purchase Done
                                <?php } ?>
                            </td>
                        </tr>
                    </table>
                    <!-- sm-title -->

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="12" style="font-size: 12px; line-height: 12px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- CONDICIONAL PARA EL ID DE PEDIDO -->
                    <?php if ($data['id_pedido'] != 0) { ?>

                        <!-- title -->
                        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                            <tr>
                                <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">


                                    <span style="font-weight: 400; text-transform: uppercase;">Payment id</span> <br />

                                    <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                        <!-- ID DE PEDIDO -->
                                        <?php echo $data['id_pedido']; ?>
                                    </span>

                                </td>
                            </tr>
                        </table>
                        <!-- title -->

                    <?php } ?>

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                   
                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">



                                <span style="font-weight: 400; text-transform: uppercase;">CELLER</span> <br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                    <!-- BODEGA -->
                                    <?php echo $data['instalacion_nombre']; ?>
                                </span>

                            </td>
                        </tr>
                    </table>
                    <!-- title -->

                      <!-- space -->
                      <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">



                                <span style="font-weight: 400; text-transform: uppercase;">SERVICE</span> <br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                    <!-- SERVICIO -->
                                    <?php echo $data['servicio_nombre_reserva']; ?>
                                </span>

                            </td>
                        </tr>
                    </table>
                    <!-- title -->

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- title -->
                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                <span style="font-weight: 400; text-transform: uppercase;">PURCHASE DATE:</span> <br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                    <!-- FECHA DE COMPRA -->
                                    <?php echo $data['fecha_compra']; ?>
                                </span>
                            </td>
                        </tr>
                    </table>
                    <!-- title -->

                    <?php if ($data['creditos'] == 1) { ?>

                        <!-- space -->
                        <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                            <tr>
                                <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                            </tr>
                        </table>
                        <!-- space -->

                        <!-- title -->
                        <!-- title -->
                        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                            <tr>
                                <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">



                                    <span style="font-weight: 400; text-transform: uppercase;">Total credits:</span> <br />

                                    <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                        <!-- CRÉDITOS TOTALES -->
                                        <?php echo $data['creditos_totales'] . ' crédits'; ?>
                                    </span>

                                </td>
                            </tr>
                        </table>
                        <!-- title -->

                        <!-- space -->
                        <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                            <tr>
                                <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                            </tr>
                        </table>
                        <!-- space -->

                        <!-- title -->
                        <!-- title -->
                        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                            <tr>
                                <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">



                                    <span style="font-weight: 400; text-transform: uppercase;">Remaining credits:</span> <br />

                                    <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                        <!-- CRÉDITOS RESTANTES -->
                                        <?php echo $data['creditos_restantes'] . ' crédits'; ?>
                                    </span>

                                </td>
                            </tr>
                        </table>
                        <!-- title -->

                    <?php } ?>

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- title -->
                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">



                                <span style="font-weight: 400; text-transform: uppercase;">PAYMENT</span> <br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">
                                    <!-- PAGO SELECCIONADO -->
                                    <?php echo $data['pago_seleccionado']; ?>
                                </span>

                            </td>
                        </tr>
                    </table>
                    <!-- title -->

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- fin-contenida-tabla -->
                </td>
            </tr>
        </table>
        <!-- -------------------------------------- FIN DATOS RESERVA ------------------------------------------------------------ -->
    </td>


    <td align="left" valign="top" style="width:21%">
        <!-- ------------------------------------------- DATOS COMPRADOR ------------------------------------------------------------>

        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
            <tr>

                <td align="left" valign="top" style="padding-bottom: 16px;" bgcolor="#ffffff">



                    <!-- sm-title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
                        <tr>
                            <td class="sm-title" valign="top" align="left" style="font-family:'Playfair Display', serif !important; line-height: 24px; font-style: normal;  font-weight: 600; font-size: 18px; letter-spacing: 0.03em; color: #353535; padding: 0 8px 8px;border-bottom: 1px dashed #dddddd;">

                                Personal data

                            </td>
                        </tr>
                    </table>
                    <!-- sm-title -->

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="12" style="font-size: 12px; line-height: 12px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                <span style="font-weight: 400; text-transform: uppercase;">NAME</span><br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                    <?php echo $data['nombre']; ?>

                                    <?php echo $data['apellidos']; ?>

                                </span>

                            </td>
                        </tr>
                    </table>
                    <!-- title -->

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                <span style="font-weight: 400; text-transform: uppercase;">TELEPHONE</span><br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                    <?php echo $data['telefono']; ?>

                                </span>

                            </td>
                        </tr>
                    </table>
                    <!-- title -->

                    <!-- space -->
                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                        <tr>
                            <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                        </tr>
                    </table>
                    <!-- space -->

                    <?php if ($data['email'] != '') { ?>

                        <!-- title -->
                        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                            <tr>
                                <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                    <span style="font-weight: 400; text-transform: uppercase;">EMAIL</span><br />

                                    <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                        <?php echo $data['email']; ?>

                                    </span>

                                </td>
                            </tr>
                        </table>
                        <!-- title -->
                    <?php } ?>

                    <?php
                    if ($data['campos_extra'] != '') {
                        foreach ($data['campos_extra'] as $campo) { ?>
                            <!-- space -->
                            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                                <tr>
                                    <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                                </tr>
                            </table>
                            <!-- space -->
                            <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                                <tr>
                                    <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                        <span style="font-weight: 400; text-transform: uppercase;">

                                            <?php echo $campo; ?>
                                        </span>
                                    </td>
                                </tr>
                            </table>
                    <?php }
                    }
                    ?>
                </td>
            </tr>
        </table>
        
        <!-- -------------------------------------------- FIN DATOS COMPRADOR --------------------------------------------------- -->
    </td>


    <td align="left" valign="top" style="width:21%" >
     <!-- ------------------------------------------- DATOS RESERVA ------------------------------------------------------------>

     <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
        <tr>

            <td align="left" valign="top" style="padding-bottom: 16px;" bgcolor="#ffffff">



                <!-- sm-title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
                    <tr>
                        <td class="sm-title" valign="top" align="left" style="font-family:'Playfair Display', serif !important; line-height: 24px; font-style: normal;  font-weight: 600; font-size: 18px; letter-spacing: 0.03em; color: #353535; padding: 0 8px 8px;border-bottom: 1px dashed #dddddd;">

                            Purchase Data

                        </td>
                    </tr>
                </table>
                <!-- sm-title -->

                <!-- space -->
                <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                    <tr>
                        <td valign="middle" align="center" height="12" style="font-size: 12px; line-height: 12px;">&nbsp;</td>
                    </tr>
                </table>
                <!-- space -->

                <!-- title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                    <tr>
                        <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                            <span style="font-weight: 400; text-transform: uppercase;">PLACES</span><br />

                            <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                <?php echo $data['plazas']; ?>

                                
                            </span>

                        </td>
                    </tr>
                </table>
                <!-- title -->


                 <!-- space -->
                 <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                    <tr>
                        <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                    </tr>
                </table>
                <!-- space -->

                <!-- title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                    <tr>
                        <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                            <span style="font-weight: 400; text-transform: uppercase;">CELLER</span><br />

                            <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                <?php echo $data['instalacion_nombre']; ?>

                            </span>

                        </td>
                    </tr>
                </table>
                <!-- title -->

                <!-- space -->
                <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                    <tr>
                        <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                    </tr>
                </table>
                <!-- space -->

                <!-- title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                    <tr>
                        <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                            <span style="font-weight: 400; text-transform: uppercase;">DATE</span><br />

                            <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                <?php echo $data['fecha']; ?>

                            </span>

                        </td>
                    </tr>
                </table>
                <!-- title -->

                <!-- space -->
                <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                    <tr>
                        <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                    </tr>
                </table>
                <!-- space -->

                <?php if ($data['email'] != '') { ?>

                    <!-- title -->
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                        <tr>
                            <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                                <span style="font-weight: 400; text-transform: uppercase;">TIME</span><br />

                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                    <?php echo $data['hora']; ?>

                                </span>

                            </td>
                        </tr>
                    </table>
                    <!-- title -->
                <?php } ?>

                <!-- space -->
                <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                    <tr>
                        <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                    </tr>
                </table>
                <!-- space -->

                <!-- title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width:100%; max-width:100%;">
                    <tr>
                        <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 20px 0;">

                            <span style="font-weight: 400; text-transform: uppercase;">LANGUAGE</span><br />

                            <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;">

                                <?php echo $data['idioma_visita']; ?>

                            </span>

                        </td>
                    </tr>
                </table>
                <!-- title -->

                
            </td>
        </tr>
     </table>
    
         <!-- -------------------------------------------- FIN DATOS RESERVA --------------------------------------------------- -->
    </td>



    <td align="left" valign="top" style="width:35%">
    
        <!-- -------------------------------------------- DATOS DEL CARRITO ------------------------------------------------------ -->

        <!-- tabla-contenedora -->
        <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
        <tr>
        <td align="left" valign="top" style="padding-bottom: 16px;" bgcolor="#ffffff">

            <!-- contenida-tabla -->

            <?php if ($data['precios'] != '') {
            ?>

                <!-- sm-title -->
                <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="width: 100%; max-width: 100%; ">
                    <tr>
                        <td class="sm-title" valign="top" align="left" style="font-family:'Playfair Display', serif !important; line-height: 24px; font-style: normal;  font-weight: 600; font-size: 18px; letter-spacing: 0.03em; color: #353535; padding: 0 8px 8px;border-bottom: 1px dashed #dddddd;">

                            Cart

                        </td>
                    </tr>
                </table>
                <!-- sm-title -->

                 <!-- space -->
                 <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                    <tr>
                        <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                    </tr>
                </table>
                <!-- space -->
        
                <table style="width:100%; max-width:100%;" width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
                    <tbody>
                        <tr>
                            <td valign="middle" align="left" style="padding: 0 20px;">

                                <table style="width:100%; max-width:100%;" width="100%" cellspacing="0" cellpadding="0" border="0" align="left">

                                    <tr style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 0px 0;">
                                        <td valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 0px 0;text-align:left;padding-right:20px">
                                            UNITS
                                        </td>
                                        <td class="title desplazar-derecha" valign="middle" align="left" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 0px 0;text-align:left;padding-right:20px">
                                            RATE
                                        </td>
                                        <td class="title desplazar-derecha" valign="middle" align="right" style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; font-style: normal; color: #aaaaaa; text-decoration: none; letter-spacing: 1px;  padding: 5px 0px 0;text-align:left;padding-right:20px">
                                            PRICE
                                        </td>    
                                    </tr>

                                    <?php foreach ($data['precios'] as $key => $value) : ?>

                                        <tr style="font-family: 'Roboto', sans-serif; font-size: 10px; line-height: 20px; color: #1d2331; text-decoration: none; letter-spacing: 1px; padding-top: 10px;">

                                            <td>
                                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;"> <?php echo $data['unidades_tarifa'][$key]; ?></span>
                                            </td>

                                            <td>
                                                <span style="font-size: 14px;color: #353535;font-weight: 400;letter-spacing: 0.03em;"> <?php echo $data['tarifas_nombre'][$key]; ?></span>
                                            </td>

                                            <td align="right">
                                                <?php
                                                if (!is_string($value)) {
                                                    $value_format = number_format($value, 2);
                                                    echo $value_format . ' €';
                                                } else {
                                                    echo $value;
                                                }
                                                ?>
                                            </td>

                                        </tr>

                                    <?php endforeach; ?>

                                    <?php foreach ($data['extras_seleccionados'] as $extra) : ?>
                                        <tr style=" font-family: 'Roboto', sans-serif; font-size: 12px; line-height: 20px; color: #1d2331; text-decoration: none; letter-spacing: 1px; padding-top: 10px;">
                                            <td><?php echo $extra['cantidad']; ?></td>
                                            <td><?php echo $extra['nombre']; ?></td>
                                            <td align="right"><?php echo $extra['precio']; ?></td>
                                        </tr>
                                    <?php endforeach; ?>

                                    <?php if ($data['cupon'] != '') { ?>
                                        <tr style="font-style:italic; font-family:'Raleway',Arial,Helvetica,sans-serif; font-size:       12px; line-height:     20px; color:           #1d2331; text-decoration: none; letter-spacing:  1px; padding-top:     10px;">
                                            <td>1</td>
                                            <td><?php echo "Coupon: " . $data['cupon']['codigo']; ?></td>
                                            <?php
                                            if ($data['cupon']['porcentual'] == 1) {
                                                $simbolo = "%";
                                            } else {
                                                $simbolo = "€";
                                            }
                                            ?>
                                            <td style="text-align:right;"><?php echo "- " . $data['cupon']['cantidad'] . ' ' . $simbolo; ?></td>
                                        </tr>
                                    <?php } ?>

                                    <?php if ($data['descuento_coste_realizado'] != '') { ?>
                                        <tr style="">
                                            <td></td>
                                            <td></td>
                                            <td></td>
                                        </tr>
                                        <tr style=" font-family: 'Roboto', sans-serif; font-size: 12px; line-height: 20px; color: #1d2331; text-decoration: none; letter-spacing: 1px; padding-top: 10px;">
                                            <td></td>
                                            <td><strong><?php echo $data['tipo_aplicado']; ?></strong></td>
                                            <td align="right"><?php echo $data['descuento_coste_realizado'] . ' €'; ?></td>
                                        </tr>
                                    <?php } ?>

                                    <tr height="40px">
                                        <?php if ($data['descuento_coste'] != '') { ?>
                                            <td>
                                                <strong><?php echo $data['descuento_coste']; ?></strong>
                                            </td>
                                        <?php } elseif ($data['pago_parcial'] != '') { ?>
                                            <td><strong>Pago
                                                    Parcial <?php echo $data['pago_parcial']; ?></strong>
                                            </td>
                                        <?php } ?>
                                        <td colspan="3" style="font-size: 16px; font-family: 'Roboto', sans-serif; font-weight: 600; text-align: right; color: #353535;">

                                            <?php
                                            if (!is_string($data['precio_total'])) {
                                                $data_total = number_format($data['precio_total'], 2);
                                                echo $data_total . ' €';
                                            } else {
                                                echo $data['precio_total'];
                                            }
                                            ?>

                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </tbody>
                </table>
            <?php } ?>

            <!-- space -->
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                <tr>
                    <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                </tr>
            </table>
            <!-- space -->

            <!-- space -->
            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                <tr>
                    <td valign="middle" align="center" height="10" style="font-size:10px;line-height:10px;">&nbsp;</td>
                </tr>
            </table>
            <!-- space -->

            <!-- fin-contenida-tabla -->
        </td>
            </tr>
        </table>

        <!-- -------------------------------------------- FIN DATOS DEL CARRITO --------------------------------------------------- -->
    
    </td>
</tr>
</table>

<!-- space -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td class="space-control" valign="middle" align="center" height="5">&nbsp;</td>
    </tr>
</table>
<!-- space -->
<!-- fin container-3-columns reserva----------------------------------------------------------------------------------------------- -->

<!-- ---------------------------------------- CONDICIONES   ------------------------------------------------------- -->

<!-- space -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td class="space-control" valign="middle" align="center" height="5">&nbsp;</td>
    </tr>
</table>
<!-- space -->

<!-- text -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td class="text" valign="middle" align="left" style="font-family:'Playfair Display', serif; font-size:18px; line-height:22px; font-weight:600; color:#353535; text-decoration:none; letter-spacing: 0.03em;">

            Service purchase conditions
        </td>
    </tr>
    <tr>
        <td valign="middle" align="center" height="10" style="font-size: 9px; line-height: 9px;">&nbsp;</td>
    </tr>
    <tr>
        <td class="text" valign="middle" align="left" style="font-family:'Roboto', sans-serif; font-size:12px; line-height:20px; font-weight:400; color:#666666; text-decoration:none; letter-spacing: 0.03em;">

            <?php echo $data['condiciones_servicio']; ?>
        </td>
    </tr>
</table>
<!-- text -->



<?php 
if ($data['condiciones_extra'] !=''):?>
    <!-- text -->
    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
        <tr>
            <td class="text" valign="middle" align="left" style="font-family:'Playfair Display', serif; font-size:18px; line-height:22px; font-weight:600; color:#353535; text-decoration:none; letter-spacing: 0.03em;">

                Extra conditions
            </td>
        </tr>
        <tr>
            <td valign="middle" align="center" height="10" style="font-size: 9px; line-height: 9px;">&nbsp;</td>
        </tr>
        <tr>
            <td class="text" valign="middle" align="left" style="font-family:'Roboto', sans-serif; font-size:12px; line-height:20px; font-weight:400; color:#666666; text-decoration:none; letter-spacing: 0.03em;">

                <?php echo $data['condiciones_extra']; ?>
            </td>
        </tr>
    </table>
<!-- text -->
 <?php
endif;
 ?>


<!-- space -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td valign="middle" align="center" height="32" style="font-size: 32px; line-height: 32px;">&nbsp;</td>
    </tr>
</table>
<!-- space -->

<!-- text -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td class="text" valign="middle" align="left" style="width: 100%; text-align: left; text-transform: uppercase;background-color: #ffffff;">



            <!-- ENLACE -->
            <a style="font-family:'Roboto', sans-serif;'Roboto', sans-serif; text-decoration:none !important; color: #353535; display: inline-block; padding: 16px; border: 1px solid #353535; font-size: 12px; line-height: 16px; font-weight:600; letter-spacing: 2px;" href="<?php echo $data['domainLink']; ?>/en/yourvisits">My visits</a>
        </td>
    </tr>
</table>
<!-- text -->

<!-- space -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
    <tr>
        <td valign="middle" align="center" height="50">&nbsp;</td>
    </tr>
</table>
<!-- space -->


<!-- footer-->
<!-- header-1 -->
<table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
     <tr>
         <td class="header-1" align="center" valign="bottom">

             <!-- body-bg-color -->
             <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" class="row" style="width:100%;max-width:100%;">
                 <tr>
                     <td class="body-bg-color" align="center" valign="top" bgcolor="#0b0908">

                         <!-- bg-color -->
                         <table border="0" width="980" align="center" cellpadding="0" cellspacing="0" class="row" style="width:980px;max-width:980px;">
                             <tr>
                                    <td class="bg-color" align="center" valign="top" bgcolor="">

                                            <!-- header-1-bg-image -->
                                            <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" class="row" style="width:100%; max-width:100%;">
                                                <tr>
                                                    <td class="bg-image" align="center" valign="top">

                                                        <!-- container -->
                                                        <table width="980" border="0" cellpadding="0" cellspacing="0" align="center" class="row" style="width: 980px; max-width: 980px;">
                                                            <tr>

                                                                <!-- logo -->

                                                                
                                                                <td align="center" valign="top" class="container-padding" width="20%">

                                                                    <!-- space-control -->
                                                                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                                                                        <tr>
                                                                            <td class="space-control" valign="middle" align="center" height="25"></td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- space-control -->

                                                                    <!-- title -->
                                                                    <table border="0" width="100%" cellpadding="0" cellspacing="0" align="left" style="width:100%; max-width:100%;">
                                                                        <tr>
                                                                            <td class="title center-text" valign="middle" align="center" style="font-family:'Roboto', sans-serif;'Roboto', sans-serif; font-size:45px; line-height:55px; font-weight:lighter;font-style:normal; color:#FFFFFF;text-decoration:none;letter-spacing: 0px;">
                                                                                <a href="<?php echo $data['instalacion_prepago']; ?>" target="_blank">
                                                                                    <img style="display: block; width: 70px; max-width: 70px; display: block; border: 0px;" src="<?php 
                                                                                    $imagen_footer = str_replace(' ', '_', strtolower($data['instalacion'])) . '-footer.png';
                                                                                    echo $data['instalacion_prepago']; ?>/wp-content/plugins/visitas/modules/visitas/reservas/images/<?php echo $imagen_footer; ?>" width="70" border="0" alt="" />
                                                                                </a>
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- title -->
                                                                    <!-- space-control -->
                                                                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                                                                        <tr>
                                                                            <td class="space-control" valign="middle" align="center" height="25"></td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- space-control -->
                                                                </td>
                                                                 <!--fin logo -->


                                                                <td align="center" valign="top" class="container-padding" width="80%">

                                                                    <!-- space-control -->
                                                                    <table border="0" width="100%" align="right" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                                                                        <tr>
                                                                            <td class="space-control" valign="middle" align="center" height="25"></td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- space-control -->

                                                                    <!-- content -->
                                                                    <table border="0" width="100%" align="center" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                                                                        <tr>
                                                                            <td class ="text" valign="middle" align="left" style="font-family:'Roboto', sans-serif; font-size:12px; line-height:20px; font-weight:400; color:#aaaaaa; text-decoration:none; letter-spacing: 0.03em; padding:8px">Ctra. Palencia-Aranda, km. 68</td>
                                                                            <td class ="text" valign="middle" align="left" style="font-family:'Roboto', sans-serif; font-size:12px; line-height:20px; font-weight:400; color:#aaaaaa; text-decoration:none; letter-spacing: 0.03em; padding:8px">09443 Villalva de Duero, Burgos</td>
                                                                            <td class ="text" valign="middle" align="left" style="font-family:'Roboto', sans-serif; font-size:12px; line-height:20px; font-weight:400; color:#aaaaaa; text-decoration:none; letter-spacing: 0.03em; padding:8px">Teléfono: (+34) 947 112 783</td>
                                                                            
                                                                            <!--<td valign="middle" align="center" height="10">
                                                                                <?php  
                                                                                //echo $data['instalacion_descripcion'];
                                                                                ?>
                                                                            </td>-->
                                                                        </tr>
                                                                    </table>
                                                                    <!-- content -->

                                                                    <!-- space-control -->
                                                                    <table border="0" width="100%" align="right" cellpadding="0" cellspacing="0" style="width:100%;max-width:100%;">
                                                                        <tr>
                                                                            <td class="space-control" valign="middle" align="center" height="25"></td>
                                                                        </tr>
                                                                    </table>
                                                                    <!-- space-control -->
                                                                </td>

                                                                
                                                            </tr>
                                                        </table>
                                                        <!-- container -->
                                                    </td>
                                                </tr>
                                            </table>
                                            <!-- header-1-bg-image -->
                                            <!--[if (gte mso 9)|(IE)]></v:textbox></v:rect><![endif]-->
                                    </td>
                             </tr>
                         </table>
                         <!-- bg-color -->
                     </td>
                 </tr>
             </table>
             <!-- body-bg-color -->
         </td>
     </tr>
 </table>

 <!-- header-1 -->
<!-- footer -->

<!-- ---------------------------------------- FIN CONDICIONES  ---------------------------------------------------- -->

                                            </td>
                                        </tr>
                                    </table>
                                    <!-- container -->
                                </td>
                            </tr>
                        </table>
                        <!-- bg-color -->
                    </td>
                </tr>
            </table>
            <!-- body-bg-color -->
        </td>
    </tr>
</table>

<!-- fin texto mail -->

 
 </body>

 </html>