templates/pdf/reportArt2.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         {# <link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet"> #}
  6.         {# <link rel="preconnect" href="https://fonts.gstatic.com"> #}
  7.         {# <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap" rel="stylesheet"> #}
  8.         {# <link rel="preconnect" href="https://fonts.gstatic.com"> #}
  9.         {# <link href="https://fonts.googleapis.com/css2?family=Quicksand&display=swap" rel="stylesheet"> #}
  10.         <style>
  11.             {# @font-face {
  12.                 font-family: "keepcalm";
  13.                 src: url('{{absolute_url(asset('assets/css/fonts/KeepCalm-Medium.ttf'))}}');
  14.             } #}
  15.             {# @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); #}
  16.             @page {
  17.                 margin: 100px 0;
  18.             }
  19.             {# FALTA agregar el svg aca #}
  20.             {# @font-face {
  21.                 font-family: "KeepCalmW01-Medium"; 
  22.                 src: url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.eot"); 
  23.                 src: url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.eot?#iefix") format("embedded-opentype"), 
  24.                     url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.woff2") format("woff2"), 
  25.                     url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.woff") format("woff"), 
  26.                     url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.ttf") format("truetype")
  27.                     url("http://db.onlinewebfonts.com/t/f6ba7132b9acc2507f874e183b5790ae.svg#KeepCalmW01-Medium") format("svg")
  28.                     ; 
  29.             } #}
  30.             @font-face {
  31.                 font-family: "KeepCalmW01-Medium"; 
  32.                 src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.eot'))}}"); 
  33.                 src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790aeiefix.eot'))}}") format("embedded-opentype"), 
  34.                      url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.woff2'))}}") format("woff2"), 
  35.                      url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.woff'))}}") format("woff"), 
  36.                      url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Medium/f6ba7132b9acc2507f874e183b5790ae.ttf'))}}") format("truetype");
  37.             }
  38.             @font-face {
  39.                 font-family: "KeepCalmW01-Light"; 
  40.                 src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.eot'))}}"); 
  41.                 src: url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfciefix.eot'))}}") format("embedded-opentype"), 
  42.                      url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.woff2'))}}") format("woff2"), 
  43.                      url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.woff'))}}") format("woff"), 
  44.                      url("{{absolute_url(asset('assets/css/fonts/KeepCalmW01-Light/67dd7a753cce719a17304beb973d5dfc.ttf'))}}") format("truetype");
  45.             }
  46.             {# @font-face {
  47.                 font-family: "KeepCalmW01-Light"; 
  48.                 src: url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.eot"); 
  49.                 src: url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.eot?#iefix") format("embedded-opentype"), 
  50.                     url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.woff2") format("woff2"), 
  51.                     url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.woff") format("woff"), 
  52.                     url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.ttf") format("truetype"), 
  53.                     url("http://db.onlinewebfonts.com/t/67dd7a753cce719a17304beb973d5dfc.svg#KeepCalmW01-Light") format("svg"); 
  54.             } #}
  55. /* latin-ext */
  56. @font-face {
  57.   font-family: 'Lato';
  58.   font-style: normal;
  59.   font-weight: 300;
  60.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh7USSwaPGR_p.woff2'))}}") format('woff2');
  61.   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;
  62. }
  63. /* latin */
  64. @font-face {
  65.   font-family: 'Lato';
  66.   font-style: normal;
  67.   font-weight: 300;
  68.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh7USSwiPGQ.woff2'))}}") format('woff2');
  69.   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;
  70. }
  71. /* latin-ext */
  72. @font-face {
  73.   font-family: 'Lato';
  74.   font-style: normal;
  75.   font-weight: 400;
  76.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6uyw4BMUTPHjxAwXjeu.woff2'))}}") format('woff2');
  77.   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;
  78. }
  79. /* latin */
  80. @font-face {
  81.   font-family: 'Lato';
  82.   font-style: normal;
  83.   font-weight: 400;
  84.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6uyw4BMUTPHjx4wXg.woff2'))}}") format('woff2');
  85.   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;
  86. }
  87. /* latin-ext */
  88. @font-face {
  89.   font-family: 'Lato';
  90.   font-style: normal;
  91.   font-weight: 700;
  92.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh6UVSwaPGR_p.woff2'))}}") format('woff2');
  93.   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;
  94. }
  95. /* latin */
  96. @font-face {
  97.   font-family: 'Lato';
  98.   font-style: normal;
  99.   font-weight: 700;
  100.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh6UVSwiPGQ.woff2'))}}") format('woff2');
  101.   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;
  102. }
  103. /* latin-ext */
  104. @font-face {
  105.   font-family: 'Lato';
  106.   font-style: normal;
  107.   font-weight: 900;
  108.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh50XSwaPGR_p.woff2'))}}") format('woff2');
  109.   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;
  110. }
  111. /* latin */
  112. @font-face {
  113.   font-family: 'Lato';
  114.   font-style: normal;
  115.   font-weight: 900;
  116.   src: url("{{absolute_url(asset('assets/css/fonts/Lato/S6u9w4BMUTPHh50XSwiPGQ.woff2'))}}") format('woff2');
  117.   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;
  118. }
  119. {# MONTSERRAT #}
  120. /* cyrillic-ext */
  121. @font-face {
  122.   font-family: 'Montserrat';
  123.   font-style: normal;
  124.   font-weight: 400;
  125.   font-display: swap;
  126.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2'))}}") format('woff2');
  127.   unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  128. }
  129. /* cyrillic */
  130. @font-face {
  131.   font-family: 'Montserrat';
  132.   font-style: normal;
  133.   font-weight: 400;
  134.   font-display: swap;
  135.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2'))}}") format('woff2');
  136.   unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  137. }
  138. /* vietnamese */
  139. @font-face {
  140.   font-family: 'Montserrat';
  141.   font-style: normal;
  142.   font-weight: 400;
  143.   font-display: swap;
  144.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2'))}}") format('woff2');
  145.   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;
  146. }
  147. /* latin-ext */
  148. @font-face {
  149.   font-family: 'Montserrat';
  150.   font-style: normal;
  151.   font-weight: 400;
  152.   font-display: swap;
  153.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2'))}}") format('woff2');
  154.   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;
  155. }
  156. /* latin */
  157. @font-face {
  158.   font-family: 'Montserrat';
  159.   font-style: normal;
  160.   font-weight: 400;
  161.   font-display: swap;
  162.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2'))}}") format('woff2');
  163.   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;
  164. }
  165. /* cyrillic-ext */
  166. @font-face {
  167.   font-family: 'Montserrat';
  168.   font-style: normal;
  169.   font-weight: 700;
  170.   font-display: swap;
  171.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gTD_u50.woff2'))}}") format('woff2');
  172.   unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
  173. }
  174. /* cyrillic */
  175. @font-face {
  176.   font-family: 'Montserrat';
  177.   font-style: normal;
  178.   font-weight: 700;
  179.   font-display: swap;
  180.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3g3D_u50.woff2'))}}") format('woff2');
  181.   unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  182. }
  183. /* vietnamese */
  184. @font-face {
  185.   font-family: 'Montserrat';
  186.   font-style: normal;
  187.   font-weight: 700;
  188.   font-display: swap;
  189.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gbD_u50.woff2'))}}") format('woff2');
  190.   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;
  191. }
  192. /* latin-ext */
  193. @font-face {
  194.   font-family: 'Montserrat';
  195.   font-style: normal;
  196.   font-weight: 700;
  197.   font-display: swap;
  198.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gfD_u50.woff2'))}}") format('woff2');
  199.   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;
  200. }
  201. /* latin */
  202. @font-face {
  203.   font-family: 'Montserrat';
  204.   font-style: normal;
  205.   font-weight: 700;
  206.   font-display: swap;
  207.   src: url("{{absolute_url(asset('assets/css/fonts/Montserrat/JTURjIg1_i6t8kCHKm45_dJE3gnD_g.woff2'))}}") format('woff2');
  208.   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;
  209. }
  210. {# Quicksand #}
  211. /* vietnamese */
  212. @font-face {
  213.     font-family: 'Quicksand';
  214.   font-style: normal;
  215.   font-weight: 300;
  216.   font-display: swap;
  217.   src:url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58m-wi40.woff2'))}}") format('woff2');
  218.   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;
  219. }
  220. /* latin-ext */
  221. @font-face {
  222.   font-family: 'Quicksand';
  223.   font-style: normal;
  224.   font-weight: 300;
  225.   font-display: swap;
  226.   src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58i-wi40.woff2'))}}") format('woff2');
  227.   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;
  228. }
  229. /* latin */
  230. @font-face {
  231.     font-family: 'Quicksand';
  232.     font-style: normal;
  233.     font-weight: 300;
  234.     font-display: swap;
  235.     src: url("{{absolute_url(asset('assets/css/fonts/Quicksand/6xK-dSZaM9iE8KbpRA_LJ3z8mH9BOJvgkKEo58a-wg.woff2'))}}") format('woff2');
  236.     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;
  237. }
  238.             header {
  239.                 position: fixed;
  240.                 top: -60px;
  241.                 left: 0;
  242.                 right: 0;
  243.             }
  244.             
  245.             p {
  246.                 page-break-after: always;
  247.             }
  248.             p:last-child {
  249.                 page-break-after: never;
  250.             }
  251.             .fc8 {
  252.                 background-color: rgb(254, 169, 0);
  253.             }
  254.             .fc9 {
  255.                 background-color: rgb(75, 119, 180);
  256.             }
  257.             .fc7 {
  258.                 background-color: rgb(45, 171, 226);
  259.             }
  260.             .fc6 {
  261.                 color: rgb(88, 88, 90);
  262.             }
  263.             .fc5 {
  264.                 color: rgb(59, 59, 59);
  265.             }
  266.             .fc4 {
  267.                 /* background-color: #e3e3e3; */
  268.                 padding: 0 60px;
  269.             }
  270.             .fc0 {
  271.                 color: rgb(96, 96, 96);
  272.             }
  273.             .fc1 {
  274.                 color: rgb(53, 53, 53);
  275.             }
  276.             .fc2 {
  277.                 background-color: rgb(255, 255, 255);
  278.             }
  279.             .fc3 {
  280.                 color: rgb(0, 0, 0);
  281.             }
  282.             .fc10 {
  283.                 color: #525252;
  284.             }
  285.             .fc11 {
  286.                 color: #353535;
  287.             }
  288.             .fc12 {
  289.                 color: #606060;
  290.             }
  291.             .result {
  292.                 background-color: #a9ee3b;
  293.                 border-radius: 1px;
  294.                 color: white;
  295.                 text-align: center;
  296.                 display: inline-block;
  297.                 font-size: 20px;
  298.                 border-radius: 0 0 30px 30px;
  299.                 height: 40px;
  300.                 width:200px;
  301.                 line-height: 40px;
  302.             }
  303.             .right {
  304.                 display: inline-block;
  305.                 position: relative;
  306.             }
  307.             .left {
  308.                 display: inline-block;
  309.                 position: relative;
  310.                 text-align: left;
  311.                 font-size: 1rem;
  312.             }
  313.             .table {
  314.                 display: inline-block;
  315.                 margin-left: 5px;
  316.                 margin-right: 5px;
  317.                 width: 30%;
  318.                 position: relative;
  319.                 text-align: center;
  320.                 border-radius: 5px;
  321.                 font-size: 1rem;
  322.             }
  323.             .flecha-down {
  324.                 width: 0;
  325.                 height: 0;
  326.                 border-left: 7px solid transparent; /* izquierda flecha */
  327.                 border-right: 7px solid transparent; /* derecha flecha */
  328.                 font-size: 0;
  329.                 line-height: 0;
  330.                 margin-left:auto;
  331.                 margin-right:auto;
  332.             }
  333.             .flecha-down-big {
  334.                 width: 0;
  335.                 height: 0;
  336.                 border-left: 14px solid transparent; /* izquierda flecha */
  337.                 border-right: 14px solid transparent; /* derecha flecha */
  338.                 font-size: 0;
  339.                 line-height: 0;
  340.                 margin-left:auto;
  341.                 margin-right:auto;
  342.             }
  343.             .line-grey {
  344.                 height: 1px;
  345.                 background-color: grey;
  346.             }
  347.             .body-end1 {
  348.                 background-color: rgb(75, 119, 180);
  349.                 color: white;
  350.                 text-align: justify;
  351.                 padding: 20px;
  352.                 margin-top: 30px;
  353.                 border-radius: 5px;
  354.             }
  355.             .body-end2 {
  356.                 color: black;
  357.                 text-align: left;
  358.                 text­align: justify;
  359.                 padding: 0 40px;
  360.             }
  361.             .color {
  362.                 color: white;
  363.                 border-radius: 5px 5px 0 0;
  364.             }
  365.             .container {
  366.                 font-size: 10px;
  367.             }
  368.             .img-logo-imagen1 {
  369.                 margin-left: 0;
  370.                 width: 15%;
  371.                 position: relative;
  372.             }
  373.             .img-logo-imagen2 {
  374.                 float: right;
  375.                 width: 38%;
  376.             }
  377.             .encabezado {
  378.                 /* margin-top: 25px; */
  379.                 margin-left: auto;
  380.                 margin-right: auto;
  381.             }
  382.             .col-6 {
  383.                 width: 50%;
  384.                 margin-top: 10px;
  385.                 display: inline-block;
  386.             }
  387.             .titulo {
  388.                 margin-top: 15px;
  389.                 text-align: center;
  390.                 font-size: 20px;
  391.             }
  392.             .image-qr {
  393.                 margin-top: 25px;
  394.                 width: 200px;
  395.                 height: 200px;
  396.             }
  397.             .texto {
  398.                 font-size: 15px;
  399.                 text-align: center;
  400.             }
  401.             .texto-izquieda {
  402.                 margin-top: 3px;
  403.                 text-align: left;
  404.             }
  405.             .col-6b {
  406.                 font-size: 13px;
  407.                 width: 50%;
  408.                 display: inline-block;
  409.             }
  410.             .col-4b {
  411.                 margin-top: 5px;
  412.                 font-size: 15px;
  413.                 width: 25%;
  414.                 display: inline-block;
  415.             }
  416.             .col-3b {
  417.                 margin-top: 5px;
  418.                 font-size: 15px;
  419.                 width: 18%;
  420.                 display: inline-block;
  421.             }
  422.             .fontLato {
  423.                 font-family: 'Lato', sans-serif;
  424.             }
  425.             .fontMontserrat {
  426.                 font-family: 'Montserrat', sans-serif;
  427.             }
  428.             .fontQuicksand {
  429.                 font-family: 'Quicksand', sans-serif;
  430.                 font-size: 1rem;
  431.             }
  432.             .light {
  433.                 font-weight: 300;
  434.             }
  435.             .regular {
  436.                 font-weight: 400;
  437.             }
  438.             .bold {
  439.                 font-weight: 700;
  440.             }
  441.             .black {
  442.                 font-weight: 900;
  443.             }
  444.             .manual-section-left {
  445.                 display: inline-block;
  446.                 width: 35%;
  447.                 text-align: left;
  448.             }
  449.             .manual-section-right {
  450.                 display: inline-block;
  451.                 width: 63%;
  452.                 right: 0px;
  453.                 text-align: right;
  454.             }
  455.             .manual-title-left {
  456.                 vertical-align: top;
  457.                 display: inline-block;
  458.                 width: 38%;
  459.                 padding-right: 10px;
  460.                 text-align: right;
  461.                 border-right: 2px solid #E8E8E8;
  462.                 height: 150px;
  463.             }
  464.             .manual-title-right {
  465.                 vertical-align: top;
  466.                 display: inline-block;
  467.                 width: 40%;
  468.                 text-align: left;
  469.                 height: auto;
  470.             }
  471.             .header-left {
  472.                 display: inline-block;
  473.                 text-align: left;
  474.                 width: 400px;
  475.             }
  476.             .header-right {
  477.                 display: inline-block;
  478.                 text-align: right;
  479.                 width: 400px;
  480.             }
  481.             .automatic-section-left {
  482.                 display: inline-block;
  483.                 width: 65%;
  484.                 text-align: left;
  485.             }
  486.             .automatic-section-right {
  487.                 display: inline-block;
  488.                 width: 30%;
  489.                 text-align: right;
  490.                 margin-top: -10px;
  491.                 height: 100px
  492.             }
  493.             .automatic-section-bubble {
  494.                 width:140px;
  495.                 height: 100%;
  496.                 float:left;
  497.                 /* line-height: 120px; */
  498.                 font-weight: 500;
  499.             }
  500.             {# .subsection {
  501.                 page-break-inside: avoid !important;
  502.             }
  503.             .section {
  504.                 page-break-after: always !important;
  505.             }
  506.             .result-header{
  507.                 page-break-before: always !important;
  508.             } #}
  509.             {# @media print{
  510.                 .section {
  511.                     page-break-after: always !important;
  512.                 }
  513.                 .subsection {
  514.                 page-break-inside: avoid !important;
  515.                 }
  516.                 .result-header{
  517.                     page-break-before: always !important;
  518.                 }
  519.             } #}
  520.             @media print{
  521.                 .subsection {
  522.                     page-break-inside: avoid !important;
  523.                 }
  524.                 .result-header{
  525.                     page-break-before: always !important;
  526.                 }
  527.             }
  528.             .automatic-section{
  529.                 background-color: #FFFFFF;
  530.             }
  531.             .section .manual-title-right p {
  532.                 margin: 0px 20px 20px 20px;
  533.                 padding: 20px;
  534.                 color: #525252;
  535.                 font-size: 35px;
  536.                 font-weight: 500;
  537.                 font-family: "KeepCalmW01-Medium";
  538.                 line-height : 40px;
  539.             }
  540.             .section .manual-title-right p::first-line {
  541.                 font-family: "KeepCalmW01-Light";
  542.                 font-weight: 300;
  543.             }
  544.             .border-result{
  545.                 border-top: solid #F4F4F4 1px;
  546.                 width: 100%;
  547.             }
  548.             .bibliography {
  549.                 font-family: 'Quicksand', sans-serif;
  550.                 font-style: italic;
  551.                 color:#666666;
  552.                 font-size: 12px;
  553.             }
  554.             .note-body {
  555.                 font-family: 'Quicksand', sans-serif;
  556.                 font-size: 16px;
  557.                 font-style: italic;
  558.             }
  559.             .bibliography-title {
  560.                 font-family: 'Quicksand', sans-serif;
  561.                 font-weight: 600;
  562.                 font-size: 13px;
  563.             }
  564.         </style>
  565.     </head>
  566.     <body>
  567.         {% for result_section in result_report.resultSections|sort((a, b) => a.orderNumber >= b.orderNumber) %}
  568.             <div class="section">
  569.                 <div style="display:flex;top:20px;vertical-align:middle" class="result-header">
  570.                     <div class="manual-title-left">
  571.                         <img style="height: 110px;" src="{{absolute_url(asset('uploads/section/images/'~result_section.section.path))}}">
  572.                     </div>
  573.                     <div class="manual-title-right">
  574.                         <div class="light" style="position: relative;top:10%;">
  575.                             <p style="font-family:KeepCalmW01-Medium;vertical-align:middle">{{result_section.section.title}}</p>
  576.                         </div>
  577.                     </div>
  578.                 </div>
  579.                 {% for result_subsection in result_section.resultSubsections|sort((d, e) => d.position >= e.position) %}
  580.                     
  581.                     {% if not result_subsection.subsection.isAutomatic and (pre == false or pre == null) %}
  582.                         <div class="fontLato subsection">
  583.                             <div class="fc4">
  584.                                 <div class="border-result">
  585.                                 </div>
  586.                                 <center>
  587.                                     <div class="result">
  588.                                         <span>Tus resultados</span>
  589.                                     </div>
  590.                                 </center>
  591.                                 <br>
  592.                                 <div>
  593.                                     <div class="row">
  594.                                         <div class="manual-section-left">
  595.                                             <div class="fc10" style="margin-top:0px">
  596.                                                 <p style="margin-top:0px;line-height : 40px;font-size:25px; font-family:KeepCalmW01-Medium">
  597.                                                 {{result_subsection.subsection.title}}
  598.                                                 </p>
  599.                                             </div>
  600.                                             {# <div class="black fc10" style="font-family:keepcalm; font-size:24px">
  601.                                                 <span>{{result_subsection.subsection.title}}</span>
  602.                                             </div> #}
  603.                                             <div class="fontMontserrat" style="font-size:24px;margin-top: 100px; margin-bottom: 30px;">
  604.                                                 <span class="bold fc11">
  605.                                                     Resultado descriptivo
  606.                                                 </span>
  607.                                                 <p class="regular fc12" style="padding:0px; margin: 0px;">
  608.                                                     {% for  answer in  result_subsection.answers %}
  609.                                                         {{answer[0]}}
  610.                                                     {% endfor %}
  611.                                                 </p>
  612.                                             </div>
  613.                                         </div>
  614.                                         <div class="manual-section-right">
  615.     
  616.                                             <div class="table fc2 " style="float:right">
  617.                                                 <div class="color fc8 bold" style="padding:10px;">GENOTIPO</div>
  618.                                             
  619.                                                 <div style="border-top:7px solid rgb(254,169,0)" class="flecha-down">
  620.                                                 </div>
  621.                                             
  622.                                                 <div>
  623.                                                     {% for aux_marker in result_subsection.subsection.markers|split(',') %}
  624.                                                         {% for result_marker in result_subsection.resultMarkers %}
  625.                                                             {% if aux_marker == result_marker.marker  %}
  626.                                                                 <div style="margin-top:5px;margin-bottom:5px"><span style="color:#606060"><span style="color:#606060">{{result_marker.genotype}}</span></div>
  627.                                                                 <div class="line-grey"></div>
  628.                                                             {% endif %}
  629.                                                         {% endfor %}
  630.                                                     {% endfor %}
  631.                                                     
  632.                                                 </div>
  633.                                             </div>
  634.     
  635.                                             <div class="table fc2">
  636.                                                 <div class="color fc9 bold" style="padding:10px;">GEN</div>
  637.                                                 <div style="border-top:7px solid rgb(75,119,180)" class="flecha-down">
  638.                                                         
  639.                                                 </div>
  640.                                                 
  641.                                                     <div>
  642.                                                         {% for aux_marker in result_subsection.subsection.markers|split(',') %}
  643.                                                             
  644.                                                             {% for result_marker in result_subsection.resultMarkers %}
  645.                                                                 {% if aux_marker == result_marker.marker  %}
  646.                                                                     <div style="margin-top:5px;margin-bottom:5px"><span style="color:#606060"><span style="color:#606060">{{result_marker.gene}}</span></div>
  647.                                                                     <div class="line-grey"></div>
  648.                                                                 {% endif %}
  649.                                                             {% endfor %}
  650.                                                         {% endfor %}
  651.                                                     </div>
  652.                                                 
  653.                                             </div>
  654.     
  655.                                             <div class="table fc2 ">
  656.                                                 <div class="color fc7 bold " style="padding:10px;">MARCADOR</div>
  657.                                             
  658.                                                     <div style="border-top:7px solid rgb(45,171,226)" class="flecha-down"></div>
  659.                                                     
  660.                                                     <div>
  661.                                                         {% for aux_marker in result_subsection.subsection.markers|split(',') %}
  662.                                                             {% for result_marker in result_subsection.resultMarkers %}
  663.         
  664.                                                                 {% if aux_marker == result_marker.marker  %}
  665.                                                                     <div style="margin-top:5px;margin-bottom:5px"><span style="color:#606060">{{result_marker.marker}}</span></div>
  666.                                                                     <div class="line-grey"></div>
  667.                                                                 {% endif %}
  668.                                                             {% endfor %}
  669.                                                         {% endfor %}
  670.                                                     </div>
  671.                                                 </div>
  672.                                             </div>
  673.                                             </div>
  674.                                             <div class="fontQuicksand">
  675.                                                 <div class="body-end1">
  676.                                                     {% for  answer in  result_subsection.answers %}
  677.                                                         {{answer[1]|raw}}
  678.                                                     {% endfor %}
  679.                                                 </div>
  680.                                                 <div style="border-top:14px solid rgb(75,119,180)" class="flecha-down-big"></div>
  681.                                                 <div style="word-break: break-all;">
  682.                                                     {# <p>     #}
  683.                                                         {% if result_subsection.aditionalText %}
  684.                                                             <br><br>
  685.                                                             {{result_subsection.aditionalText|raw}}
  686.                                                         {% endif %}
  687.                                                         {% if result_subsection.note %}
  688.                                                             <br>
  689.                                                             <div class="body-end1 fontQuicksand">
  690.                                                                 {# <span class="bibliography-title">{{'Note'|trans}}</span> #}    
  691.                                                                 <br>
  692.                                                                 {{result_subsection.note|raw}}
  693.                                                             </div>
  694.                                                             
  695.                                                         {% endif %}
  696.                                                         {% if result_subsection.bibliography %}
  697.                                                             <br><br>
  698.                                                               <span class="bibliography-title">{{'Bibliography'|trans}}</span>
  699.                                                             <br>
  700.                                                             {% for bio_item in result_subsection.bibliography|split('</p>') %}
  701.                                                         
  702.                                                                 <div class="bibliography">{{bio_item|replace({'</p><p>':'','<p>': '','</p>':'',"<p>&nbsp;</p>":'','</p>':'','\r\n':'','\n':'','\r':''})|raw}}</div>
  703.                                                             {% endfor %}
  704.                                                         {% endif %}
  705.                                                         <br><br><br>
  706.                                                     {# </p> #}
  707.                                                     {#Siguiendo estas recomendaciones tendrás una mayor posibilidad de beneficiar a tu salud y mantener un peso corporal óptimo.</p> #}
  708.                                                 </div>
  709.                                             </div>
  710.                                         </div>
  711.                                     </div>
  712.                                 </div>
  713.                             </div>
  714.                         </div>
  715.                     {% endif %}
  716.     
  717.                     {% if result_subsection.subsection.isAutomatic %}
  718.                     
  719.                         {% set aux_subsection_title = null %}
  720.                         {% for aux_marker in result_subsection.subsection.markers|split(',') %}
  721.                             {% for result_marker in result_subsection.resultMarkers     %}
  722.                                 {% if aux_marker == result_marker.marker  %}
  723.                                     <div class="fontLato subsection automatic-section" style= "margin-bottom: 50px;">
  724.                                         <div class="fc4" style="background-color:white">
  725.                                             <div class="border-result">
  726.                                             </div>
  727.                                             <center>
  728.                                                 <div class="result">
  729.                                                     <span>Tus resultados</span>
  730.                                                 </div>
  731.                                             </center>
  732.                                             <br>
  733.                                             <div class="container">
  734.                                                 <div class="row" style="display:flex">
  735.                                                         <div class="fc10" style="font-size:24px;font-family:KeepCalmW01-Medium; margin-top:34px; margin-bottom:40px; ">
  736.                                                             <span>
  737.                                                             {% if result_subsection.subsection.title !=  aux_subsection_title %}
  738.                                                                 {{result_subsection.subsection.title}}
  739.                                                                 {% set aux_subsection_title = result_subsection.subsection.title %}
  740.                                                             {% endif %}
  741.                                                             </span>
  742.                                                         </div>
  743.                                                         <div style="float:left;">
  744.                                                             <div>
  745.                                                                 <div style="
  746.                                                                 border: 1px solid none;
  747.                                                                 height: 220px;
  748.                                                                 background-image: url('{{absolute_url(asset('assets/img/burbujas.png'))}}');
  749.                                                                 color:white;top:-140px;
  750.                                                                 display:inline-block; text-align:center;
  751.                                                                 background-size: contain; background-repeat: 
  752.                                                                 no-repeat; background-size: cover;">
  753.                                                                     <div class="automatic-section-bubble" style="padding-right: 10px;width:130px;word-break: break-all;">
  754.                                                                         
  755.                                                                         <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 %}">
  756.                                                                             {% if result_marker.gene > 10 %}
  757.                                                                                 {% set temp_marker_parts = result_marker.gene|split(' ') %}
  758.                                                                                 {% for mp in temp_marker_parts %}
  759.                                                                                     <div>{{mp}}</div>
  760.                                                                                 {% endfor %}
  761.                                                                             {% else %}
  762.                                                                                 {{result_marker.gene}}
  763.         
  764.                                                                             {% endif %}
  765.                                                                         
  766.                                                                         </div>
  767.                                                                     </div>
  768.                                                                     <div class="automatic-section-bubble">
  769.                                                                         <div style="margin-top:55px;font-family: 'Montserrat', sans-serif; font-size:13px;vertical-align:middle ;">{{result_marker.marker}}</div>
  770.                                                                     </div>
  771.                                                                     <div class="automatic-section-bubble">
  772.                                                                         <div style="margin-top:55px;font-family: 'Montserrat', sans-serif; font-size:13px; vertical-align:middle">{{result_marker.genotype}}</div    >
  773.                                                                     </div>
  774.                                                                 </div>
  775.                                                             </div>
  776.                                                         </div>
  777.                                                         <div class="fc10" style="float:right; border: 1px solid none;width:400px">
  778.                                                             <div style="width:400px; border: 1px solid none;">
  779.                                                                 <div>
  780.                                                                     <span class="fontMontserrat" style="font-size:22px;margin-bottom:30px;font-weight:bold">
  781.                                                                     
  782.                                                                         {% if result_marker.answers[0] is defined %}
  783.                                                                             {{result_marker.answers[0]|raw}}
  784.                                                                         {% endif %}
  785.                                                                     </span>
  786.                                                                 </div>
  787.                                                                 {% if result_marker.answers[0] is defined %}
  788.                                                                     
  789.                                                                     {% if 'Ligeramente' in result_marker.answers[0]|raw %}
  790.                                                                         <img style="margin-top:20px;margin-left:-5px;width:67%;" src="{{absolute_url(asset('assets/img/barrita_celeste.png'))}}" alt="imd demo" width="250"/>
  791.                                                                     {% elseif 'Típico' in result_marker.answers[0]|raw or
  792.                                                                         'Típica'  in result_marker.answers[0]|raw or
  793.                                                                         'Menos'  in result_marker.answers[0]|raw or
  794.                                                                         'menos'  in result_marker.answers[0]|raw or
  795.                                                                         'menor'  in result_marker.answers[0]|raw or
  796.                                                                         'Menor'  in result_marker.answers[0]|raw or
  797.                                                                         'Normal'  in result_marker.answers[0]|raw or
  798.                                                                         'normal'  in result_marker.answers[0]|raw or
  799.                                                                         'bajo'  in result_marker.answers[0]|raw or
  800.                                                                         'Bajo'  in result_marker.answers[0]|raw or
  801.                                                                         'baja'  in result_marker.answers[0]|raw or
  802.                                                                         'Podes digerir la leche'  in result_marker.answers[0]|raw or
  803.                                                                         'Baja'  in result_marker.answers[0]|raw %}
  804.                                                                         <img style="margin-top:20px;" src="{{absolute_url(asset('assets/img/horizontal-bar.png'))}}" alt="imd demo" width="250"/>
  805.                                                                     {% else %}
  806.                                                                         <img style="margin-top:20px;margin-left:-5px;width:67%;" src="{{absolute_url(asset('assets/img/barrita_azul.png'))}}" alt="imd demo" width="250"/>
  807.                                                                     {% endif %}
  808.                                                                 {% else %}
  809.                                                                     <img style="margin-top:20px;" src="{{absolute_url(asset('assets/img/horizontal-bar.png'))}}" alt="imd demo" width="250"/>
  810.                                                                 {% endif %}
  811.                                                             
  812.                                                                     {#<img src="{{absolute_url(asset('assets/img/horizontal-bar.png'))}}" style="transform: rotate(180deg)" alt="imd demo" width="250"/>#}
  813.                                                                 <div style="">
  814.                                                                     <br>
  815.                                                                     <span class="fontMontserrat" style="font-size:22px;margin-bottom:30px;font-weight:bold">{{'Descriptive Result'|trans}}</span>
  816.                                                                     <br>
  817.                                                                     <p style="font-size: 16px;text-align: justify;">
  818.                                                                         {% if result_marker.answers[1] is defined %}
  819.                                                                             {{result_marker.answers[1]|raw}}
  820.                                                                         {% endif %}
  821.                                                                     </p>
  822.                                                                     
  823.                                                                     
  824.                                                                 </div>
  825.                                                             </div>
  826.                                                         </div>
  827.                                                         <div style="clear:both"></div>
  828.                                                         
  829.                                                         <div style="margin-top:30px; margin-bottom:10px; display:block;">
  830.                                                             {% if result_marker.note %}
  831.                                             
  832.                                                                 <div class="body-end1 fontQuicksand">
  833.                                                                     {# <span class="bibliography-title">{{'Note'|trans}}</span> #}    
  834.                                                                     {{result_marker.note|raw}}
  835.                                                                 </div>
  836.                                                                 
  837.                                                             {% endif %}
  838.                                                             
  839.                                                             {% if result_marker.bibliography %}
  840.                                                             <br>
  841.                                                                 {# <strong>{{'Bibliography'|trans}}:</strong> #}
  842.                                                                 <span class="bibliography-title">{{'Bibliography'|trans}}</span>
  843.                                                                 <br>
  844.                                                                 {# {{result_marker.bibliography|raw}} #}
  845.                                                                 <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>
  846.                                                             {% endif %}
  847.                                                         
  848.                                                         </div>
  849.                                                     
  850.                                                     <div style="clear:both"></div>
  851.                                                 </div>
  852.                                             </div>
  853.                                         </div>
  854.                                     </div>
  855.                                 {% endif %}
  856.                             {% endfor %}
  857.                              {# <br>  #}
  858.                         {% endfor %}
  859.                         {# <h4>aaaaa</h4> #}
  860.                     {% endif %}
  861.     
  862.     
  863.                 {% endfor %}
  864.             {% endfor %} 
  865.             </div>
  866.             </body>
  867.         </html>
  868.     </body>
  869. </html>