<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
{# <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet"> #}
{# <link rel="preconnect" href="https://fonts.gstatic.com"> #}
{# <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"> #}
{# <link rel="preconnect" href="https://fonts.gstatic.com"> #}
{# <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet"> #}
<style>
{# @font-face {
font-family: "keepcalm";
src: url('{{absolute_url(asset('assets/css/fonts/KeepCalm-Medium.ttf'))}}');
} #}
{# @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); #}
@page {
margin: 100px 0;
}
{# FALTA agregar el svg aca #}
{# @font-face {
font-family: "KeepCalmW01-Medium";
src: url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.eot");
src: url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.eot?#iefix") format("embedded-opentype"),
url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.woff2") format("woff2"),
url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.woff") format("woff"),
url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.ttf") format("truetype")
url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.svg#KeepCalmW01-Medium") format("svg")
;
} #}
@font-face {
font-family: "KeepCalmW01-Medium";
src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.eot'))}}");
src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790aeiefix.eot'))}}") format("embedded-opentype"),
url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.woff2'))}}") format("woff2"),
url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.woff'))}}") format("woff"),
url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.ttf'))}}") format("truetype");
}
@font-face {
font-family: "KeepCalmW01-Light";
src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.eot'))}}");
src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfciefix.eot'))}}") format("embedded-opentype"),
url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.woff2'))}}") format("woff2"),
url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.woff'))}}") format("woff"),
url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.ttf'))}}") format("truetype");
}
{# @font-face {
font-family: "KeepCalmW01-Light";
src: url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.eot");
src: url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.eot?#iefix") format("embedded-opentype"),
url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.woff2") format("woff2"),
url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.woff") format("woff"),
url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.ttf") format("truetype"),
url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.svg#KeepCalmW01-Light") format("svg");
} #}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 300;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh7USSwaPGR_p.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 300;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh7USSwiPGQ.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6uyw4BMUTPHjxAwXjeu.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6uyw4BMUTPHjx4wXg.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh6UVSwaPGR_p.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh6UVSwiPGQ.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 900;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh50XSwaPGR_p.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 900;
src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh50XSwiPGQ.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
{# MONTSERRAT #}
/* cyrillic-ext */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2'))}}") format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2'))}}") format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2'))}}") format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gTD_u50.woff2'))}}") format('woff2');
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3g3D_u50.woff2'))}}") format('woff2');
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gbD_u50.woff2'))}}") format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gfD_u50.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
{# Quicksand #}
/* vietnamese */
@font-face {
font-family: 'Quicksand';
font-style: normal;
font-weight: 300;
font-display: swap;
src:url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58m-wi40.woff2'))}}") format('woff2');
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
font-family: 'Quicksand';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58i-wi40.woff2'))}}") format('woff2');
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Quicksand';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58a-wg.woff2'))}}") format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
header {
position: fixed;
top: -60px;
left: 0;
right: 0;
}
p {
page-break-after: always;
}
p:last-child {
page-break-after: never;
}
.fc8 {
background-color: rgb(254, 169, 0);
}
.fc9 {
background-color: rgb(75, 119, 180);
}
.fc7 {
background-color: rgb(45, 171, 226);
}
.fc6 {
color: rgb(88, 88, 90);
}
.fc5 {
color: rgb(59, 59, 59);
}
.fc4 {
/* background-color: #e3e3e3; */
padding: 0 60px;
}
.fc0 {
color: rgb(96, 96, 96);
}
.fc1 {
color: rgb(53, 53, 53);
}
.fc2 {
background-color: rgb(255, 255, 255);
}
.fc3 {
color: rgb(0, 0, 0);
}
.fc10 {
color: #525252;
}
.fc11 {
color: #353535;
}
.fc12 {
color: #606060;
}
.result {
background-color: #a9ee3b;
border-radius: 1px;
color: white;
text-align: center;
display: inline-block;
font-size: 20px;
border-radius: 0 0 30px 30px;
height: 40px;
width:200px;
line-height: 40px;
}
.right {
display: inline-block;
position: relative;
}
.left {
display: inline-block;
position: relative;
text-align: left;
font-size: 1rem;
}
.table {
display: inline-block;
margin-left: 5px;
margin-right: 5px;
width: 30%;
position: relative;
text-align: center;
border-radius: 5px;
font-size: 1rem;
}
.flecha-down {
width: 0;
height: 0;
border-left: 7px solid transparent; /* izquierda flecha */
border-right: 7px solid transparent; /* derecha flecha */
font-size: 0;
line-height: 0;
margin-left:auto;
margin-right:auto;
}
.flecha-down-big {
width: 0;
height: 0;
border-left: 14px solid transparent; /* izquierda flecha */
border-right: 14px solid transparent; /* derecha flecha */
font-size: 0;
line-height: 0;
margin-left:auto;
margin-right:auto;
}
.line-grey {
height: 1px;
background-color: grey;
}
.body-end1 {
background-color: rgb(75, 119, 180);
color: white;
text-align: justify;
padding: 20px;
margin-top: 30px;
border-radius: 5px;
}
.body-end2 {
color: black;
text-align: left;
textalign: justify;
padding: 0 40px;
}
.color {
color: white;
border-radius: 5px 5px 0 0;
}
.container {
font-size: 10px;
}
.img-logo-imagen1 {
margin-left: 0;
width: 15%;
position: relative;
}
.img-logo-imagen2 {
float: right;
width: 38%;
}
.encabezado {
/* margin-top: 25px; */
margin-left: auto;
margin-right: auto;
}
.col-6 {
width: 50%;
margin-top: 10px;
display: inline-block;
}
.titulo {
margin-top: 15px;
text-align: center;
font-size: 20px;
}
.image-qr {
margin-top: 25px;
width: 200px;
height: 200px;
}
.texto {
font-size: 15px;
text-align: center;
}
.texto-izquieda {
margin-top: 3px;
text-align: left;
}
.col-6b {
font-size: 13px;
width: 50%;
display: inline-block;
}
.col-4b {
margin-top: 5px;
font-size: 15px;
width: 25%;
display: inline-block;
}
.col-3b {
margin-top: 5px;
font-size: 15px;
width: 18%;
display: inline-block;
}
.fontLato {
font-family: 'Lato', sans-serif;
}
.fontMontserrat {
font-family: 'Montserrat', sans-serif;
}
.fontQuicksand {
font-family: 'Quicksand', sans-serif;
font-size: 1rem;
}
.light {
font-weight: 300;
}
.regular {
font-weight: 400;
}
.bold {
font-weight: 700;
}
.black {
font-weight: 900;
}
.manual-section-left {
display: inline-block;
width: 35%;
text-align: left;
}
.manual-section-right {
display: inline-block;
width: 63%;
right: 0px;
text-align: right;
}
.manual-title-left {
vertical-align: top;
display: inline-block;
width: 38%;
padding-right: 10px;
text-align: right;
border-right: 2px solid #E8E8E8;
height: 150px;
}
.manual-title-right {
vertical-align: top;
display: inline-block;
width: 40%;
text-align: left;
height: auto;
}
.header-left {
display: inline-block;
text-align: left;
width: 400px;
}
.header-right {
display: inline-block;
text-align: right;
width: 400px;
}
.automatic-section-left {
display: inline-block;
width: 65%;
text-align: left;
}
.automatic-section-right {
display: inline-block;
width: 30%;
text-align: right;
margin-top: -10px;
height: 100px
}
.automatic-section-bubble {
width:140px;
height: 100%;
float:left;
/* line-height: 120px; */
font-weight: 500;
}
{# .subsection {
page-break-inside: avoid !important;
}
.section {
page-break-after: always !important;
}
.result-header{
page-break-before: always !important;
} #}
{# @media print{
.section {
page-break-after: always !important;
}
.subsection {
page-break-inside: avoid !important;
}
.result-header{
page-break-before: always !important;
}
} #}
@media print{
.subsection {
page-break-inside: avoid !important;
}
.result-header{
page-break-before: always !important;
}
}
.automatic-section{
background-color: #FFFFFF;
}
.section .manual-title-right p {
margin: 0px 20px 20px 20px;
padding: 20px;
color: #525252;
font-size: 35px;
font-weight: 500;
font-family: "KeepCalmW01-Medium";
line-height : 40px;
}
.section .manual-title-right p::first-line {
font-family: "KeepCalmW01-Light";
font-weight: 300;
}
.border-result{
border-top: solid #F4F4F4 1px;
width: 100%;
}
.bibliography {
font-family: 'Quicksand', sans-serif;
font-style: italic;
color:#666666;
font-size: 12px;
}
.note-body {
font-family: 'Quicksand', sans-serif;
font-size: 16px;
font-style: italic;
}
.bibliography-title {
font-family: 'Quicksand', sans-serif;
font-weight: 600;
font-size: 13px;
}
</style>
</head>
<body>
{% for result_section in result_report.resultSections|sort((a, b) => a.orderNumber >= b.orderNumber) %}
<div class="section">
<div style="display:flex;top:20px;vertical-align:middle" class="result-header">
<div class="manual-title-left">
<img style="height: 110px;" src="{{absolute_url(asset('uploads/section/images/'~result_section.section.path))}}">
</div>
<div class="manual-title-right">
<div class="light" style="position: relative;top:10%;">
<p style="font-family:KeepCalmW01-Medium;vertical-align:middle">{{result_section.section.title}}</p>
</div>
</div>
</div>
{% for result_subsection in result_section.resultSubsections|sort((d, e) => d.position >= e.position) %}
{% if not result_subsection.subsection.isAutomatic and (pre == false or pre == null) %}
<div class="fontLato subsection">
<div class="fc4">
<div class="border-result">
</div>
<center>
<div class="result">
<span>Tus resultados</span>
</div>
</center>
<br>
<div>
<div class="row">
<div class="manual-section-left">
<div class="fc10" style="margin-top:0px">
<p style="margin-top:0px;line-height : 40px;font-size:25px; font-family:KeepCalmW01-Medium">
{{result_subsection.subsection.title}}
</p>
</div>
{# <div class="black fc10" style="font-family:keepcalm; font-size:24px">
<span>{{result_subsection.subsection.title}}</span>
</div> #}
<div class="fontMontserrat" style="font-size:24px;margin-top: 100px; margin-bottom: 30px;">
<span class="bold fc11">
Resultado descriptivo
</span>
<p class="regular fc12" style="padding:0px; margin: 0px;">
{% for answer in result_subsection.answers %}
{{answer[0]}}
{% endfor %}
</p>
</div>
</div>
<div class="manual-section-right">
<div class="table fc2 " style="float:right">
<div class="color fc8 bold" style="padding:10px;">GENOTIPO</div>
<div style="border-top:7px solid rgb(254,169,0)" class="flecha-down">
</div>
<div>
{% for aux_marker in result_subsection.subsection.markers|split(',') %}
{% for result_marker in result_subsection.resultMarkers %}
{% if aux_marker == result_marker.marker %}
<div style="margin-top:5px;margin-bottom:5px"><span style="color:#606060"><span style="color:#606060">{{result_marker.genotype}}</span></div>
<div class="line-grey"></div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
<div class="table fc2">
<div class="color fc9 bold" style="padding:10px;">GEN</div>
<div style="border-top:7px solid rgb(75,119,180)" class="flecha-down">
</div>
<div>
{% for aux_marker in result_subsection.subsection.markers|split(',') %}
{% for result_marker in result_subsection.resultMarkers %}
{% if aux_marker == result_marker.marker %}
<div style="margin-top:5px;margin-bottom:5px"><span style="color:#606060"><span style="color:#606060">{{result_marker.gene}}</span></div>
<div class="line-grey"></div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
<div class="table fc2 ">
<div class="color fc7 bold " style="padding:10px;">MARCADOR</div>
<div style="border-top:7px solid rgb(45,171,226)" class="flecha-down"></div>
<div>
{% for aux_marker in result_subsection.subsection.markers|split(',') %}
{% for result_marker in result_subsection.resultMarkers %}
{% if aux_marker == result_marker.marker %}
<div style="margin-top:5px;margin-bottom:5px"><span style="color:#606060">{{result_marker.marker}}</span></div>
<div class="line-grey"></div>
{% endif %}
{% endfor %}
{% endfor %}
</div>
</div>
</div>
</div>
<div class="fontQuicksand">
<div class="body-end1">
{% for answer in result_subsection.answers %}
{{answer[1]|raw}}
{% endfor %}
</div>
<div style="border-top:14px solid rgb(75,119,180)" class="flecha-down-big"></div>
<div style="word-break: break-all;">
{# <p> #}
{% if result_subsection.aditionalText %}
<br><br>
{{result_subsection.aditionalText|raw}}
{% endif %}
{% if result_subsection.note %}
<br>
<div class="body-end1 fontQuicksand">
{# <span class="bibliography-title">{{'Note'|trans}}</span> #}
<br>
{{result_subsection.note|raw}}
</div>
{% endif %}
{% if result_subsection.bibliography %}
<br><br>
<span class="bibliography-title">{{'Bibliography'|trans}}</span>
<br>
{% for bio_item in result_subsection.bibliography|split('</p>') %}
<div class="bibliography">{{bio_item|replace({'</p><p>':'','<p>': '','</p>':'',"<p> </p>":'','</p>':'','\r\n':'','\n':'','\r':''})|raw}}</div>
{% endfor %}
{% endif %}
<br><br><br>
{# </p> #}
{#Siguiendo estas recomendaciones tendrás una mayor posibilidad de beneficiar a tu salud y mantener un peso corporal óptimo.</p> #}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% endif %}
{% if result_subsection.subsection.isAutomatic %}
{% set aux_subsection_title = null %}
{% for aux_marker in result_subsection.subsection.markers|split(',') %}
{% for result_marker in result_subsection.resultMarkers %}
{% if aux_marker == result_marker.marker %}
<div class="fontLato subsection automatic-section" style= "margin-bottom: 50px;">
<div class="fc4" style="background-color:white">
<div class="border-result">
</div>
<center>
<div class="result">
<span>Tus resultados</span>
</div>
</center>
<br>
<div class="container">
<div class="row" style="display:flex">
<div class="fc10" style="font-size:24px;font-family:KeepCalmW01-Medium; margin-top:34px; margin-bottom:40px; ">
<span>
{% if result_subsection.subsection.title != aux_subsection_title %}
{{result_subsection.subsection.title}}
{% set aux_subsection_title = result_subsection.subsection.title %}
{% endif %}
</span>
</div>
<div style="float:left;">
<div>
<div style="
border: 1px solid none;
height: 220px;
background-image: url('{{absolute_url(asset('assets/img/burbujas.png'))}}');
color:white;top:-140px;
display:inline-block; text-align:center;
background-size: contain; background-repeat:
no-repeat; background-size: cover;">
<div class="automatic-section-bubble" style="padding-right: 10px;width:130px;word-break: break-all;">
<div style="margin-top:55px; word-break: break-all;font-family: 'Montserrat', sans-serif; font-size:13px; vertical-align:middle{% if result_marker.gene|length > 7 %}; font-size:9px{% endif %}">
{% if result_marker.gene > 10 %}
{% set temp_marker_parts = result_marker.gene|split(' ') %}
{% for mp in temp_marker_parts %}
<div>{{mp}}</div>
{% endfor %}
{% else %}
{{result_marker.gene}}
{% endif %}
</div>
</div>
<div class="automatic-section-bubble">
<div style="margin-top:55px;font-family: 'Montserrat', sans-serif; font-size:13px;vertical-align:middle ;">{{result_marker.marker}}</div>
</div>
<div class="automatic-section-bubble">
<div style="margin-top:55px;font-family: 'Montserrat', sans-serif; font-size:13px; vertical-align:middle">{{result_marker.genotype}}</div >
</div>
</div>
</div>
</div>
<div class="fc10" style="float:right; border: 1px solid none;width:400px">
<div style="width:400px; border: 1px solid none;">
<div>
<span class="fontMontserrat" style="font-size:22px;margin-bottom:30px;font-weight:bold">
{% if result_marker.answers[0] is defined %}
{{result_marker.answers[0]|raw}}
{% endif %}
</span>
</div>
{% if result_marker.answers[0] is defined %}
{% if 'Ligeramente' in result_marker.answers[0]|raw %}
<img style="margin-top:20px;margin-left:-5px;width:67%;" src="{{absolute_url(asset('assets/img/barrita_celeste.png'))}}" alt="imd demo" width="250"/>
{% elseif 'Típico' in result_marker.answers[0]|raw or
'Típica' in result_marker.answers[0]|raw or
'Menos' in result_marker.answers[0]|raw or
'menos' in result_marker.answers[0]|raw or
'menor' in result_marker.answers[0]|raw or
'Menor' in result_marker.answers[0]|raw or
'Normal' in result_marker.answers[0]|raw or
'normal' in result_marker.answers[0]|raw or
'bajo' in result_marker.answers[0]|raw or
'Bajo' in result_marker.answers[0]|raw or
'baja' in result_marker.answers[0]|raw or
'Podes digerir la leche' in result_marker.answers[0]|raw or
'Baja' in result_marker.answers[0]|raw %}
<img style="margin-top:20px;" src="{{absolute_url(asset('assets/img/horizontal-bar.png'))}}" alt="imd demo" width="250"/>
{% else %}
<img style="margin-top:20px;margin-left:-5px;width:67%;" src="{{absolute_url(asset('assets/img/barrita_azul.png'))}}" alt="imd demo" width="250"/>
{% endif %}
{% else %}
<img style="margin-top:20px;" src="{{absolute_url(asset('assets/img/horizontal-bar.png'))}}" alt="imd demo" width="250"/>
{% endif %}
{#<img src="{{absolute_url(asset('assets/img/horizontal-bar.png'))}}" style="transform: rotate(180deg)" alt="imd demo" width="250"/>#}
<div style="">
<br>
<span class="fontMontserrat" style="font-size:22px;margin-bottom:30px;font-weight:bold">{{'Descriptive Result'|trans}}</span>
<br>
<p style="font-size: 16px;text-align: justify;">
{% if result_marker.answers[1] is defined %}
{{result_marker.answers[1]|raw}}
{% endif %}
</p>
</div>
</div>
</div>
<div style="clear:both"></div>
<div style="margin-top:30px; margin-bottom:10px; display:block;">
{% if result_marker.note %}
<div class="body-end1 fontQuicksand">
{# <span class="bibliography-title">{{'Note'|trans}}</span> #}
{{result_marker.note|raw}}
</div>
{% endif %}
{% if result_marker.bibliography %}
<br>
{# <strong>{{'Bibliography'|trans}}:</strong> #}
<span class="bibliography-title">{{'Bibliography'|trans}}</span>
<br>
{# {{result_marker.bibliography|raw}} #}
<span style="margin-bottom:30px;" class="bibliography">{{result_marker.bibliography|replace({'</p><p>':'<br>','<p>': '','</p>':'<br>','</p>':'<br>','\r\n':'<br>','\n':'<br>','\r':'<br>'})|raw}}</span>
{% endif %}
</div>
<div style="clear:both"></div>
</div>
</div>
</div>
</div>
{% endif %}
{% endfor %}
{# <br> #}
{% endfor %}
{# <h4>aaaaa</h4> #}
{% endif %}
{% endfor %}
{% endfor %}
</div>
</body>
</html>
</body>
</html>