custom/plugins/C108Hotspots/src/Resources/views/storefront/element/cms-element-hotspots.html.twig line 1

Open in your IDE?
  1. {% block element_hotspots %}
  2.     {% set id = element.id %}
  3.     {% set legend =  element.config.legend.value %}
  4.     {% set c108hdesign = element.config.c108hdesign.value %}
  5.     {% set c108hnrhotspots = element.config.c108hnrhotspots.value %}
  6.     {% set currMediaId = element.config.media.value %}
  7.     {% set currMediaCollection = searchMedia([currMediaId], context.context) %}
  8.     {% set currMediaObject = currMediaCollection.get(currMediaId) %}
  9.     {% set currImgPath = currMediaObject.url %}
  10.     {% set currImgAlt = currMediaObject.translated.alt %}
  11.     {% set currImgTitle = currMediaObject.translated.title %}
  12.     {% set c108hhighlightcol = element.config.c108hhighlightcol.value %}
  13.     {% set c108htitle01 = element.config.c108htitle01.value %}
  14.     {% set c108htitle02 = element.config.c108htitle02.value %}
  15.     {% set c108htitle03 = element.config.c108htitle03.value %}
  16.     {% set c108htitle04 = element.config.c108htitle04.value %}
  17.     {% set c108htitle05 = element.config.c108htitle05.value %}
  18.     {% set c108htitle06 = element.config.c108htitle06.value %}
  19.     {% set c108hdescr01 = element.config.c108hdescr01.value %}
  20.     {% set c108hdescr02 = element.config.c108hdescr02.value %}
  21.     {% set c108hdescr03 = element.config.c108hdescr03.value %}
  22.     {% set c108hdescr04 = element.config.c108hdescr04.value %}
  23.     {% set c108hdescr05 = element.config.c108hdescr05.value %}
  24.     {% set c108hdescr06 = element.config.c108hdescr06.value %}
  25.     {% set c108hlink01bool = element.config.c108hlink01bool.value %}
  26.     {% set c108hlink02bool = element.config.c108hlink02bool.value %}
  27.     {% set c108hlink03bool = element.config.c108hlink03bool.value %}
  28.     {% set c108hlink04bool = element.config.c108hlink04bool.value %}
  29.     {% set c108hlink05bool = element.config.c108hlink05bool.value %}
  30.     {% set c108hlink06bool = element.config.c108hlink06bool.value %}
  31.     {% set c108hlink01internal = element.config.c108hlink01internal.value %}
  32.     {% set c108hlink02internal = element.config.c108hlink02internal.value %}
  33.     {% set c108hlink03internal = element.config.c108hlink03internal.value %}
  34.     {% set c108hlink04internal = element.config.c108hlink04internal.value %}
  35.     {% set c108hlink05internal = element.config.c108hlink05internal.value %}
  36.     {% set c108hlink06internal = element.config.c108hlink06internal.value %}
  37.     {% set c108hlink01url = element.config.c108hlink01url.value %}
  38.     {% set c108hlink02url = element.config.c108hlink02url.value %}
  39.     {% set c108hlink03url = element.config.c108hlink03url.value %}
  40.     {% set c108hlink04url = element.config.c108hlink04url.value %}
  41.     {% set c108hlink05url = element.config.c108hlink05url.value %}
  42.     {% set c108hlink06url = element.config.c108hlink06url.value %}
  43.     {% set c108hlink01title = element.config.c108hlink01title.value %}
  44.     {% set c108hlink02title = element.config.c108hlink02title.value %}
  45.     {% set c108hlink03title = element.config.c108hlink03title.value %}
  46.     {% set c108hlink04title = element.config.c108hlink04title.value %}
  47.     {% set c108hlink05title = element.config.c108hlink05title.value %}
  48.     {% set c108hlink06title = element.config.c108hlink06title.value %}
  49.     {% set c108hmarker01xpos = element.config.c108hmarker01xpos.value %}
  50.     {% set c108hmarker01ypos = element.config.c108hmarker01ypos.value %}
  51.     {% set c108hmarker02xpos = element.config.c108hmarker02xpos.value %}
  52.     {% set c108hmarker02ypos = element.config.c108hmarker02ypos.value %}
  53.     {% set c108hmarker03xpos = element.config.c108hmarker03xpos.value %}
  54.     {% set c108hmarker03ypos = element.config.c108hmarker03ypos.value %}
  55.     {% set c108hmarker04xpos = element.config.c108hmarker04xpos.value %}
  56.     {% set c108hmarker04ypos = element.config.c108hmarker04ypos.value %}
  57.     {% set c108hmarker05xpos = element.config.c108hmarker05xpos.value %}
  58.     {% set c108hmarker05ypos = element.config.c108hmarker05ypos.value %}
  59.     {% set c108hmarker06xpos = element.config.c108hmarker06xpos.value %}
  60.     {% set c108hmarker06ypos = element.config.c108hmarker06ypos.value %}
  61.     {% set c108hhoverpos01 = element.config.c108hhoverpos01.value %}
  62.     {% set c108hhoverpos02 = element.config.c108hhoverpos02.value %}
  63.     {% set c108hhoverpos03 = element.config.c108hhoverpos03.value %}
  64.     {% set c108hhoverpos04 = element.config.c108hhoverpos04.value %}
  65.     {% set c108hhoverpos05 = element.config.c108hhoverpos05.value %}
  66.     {% set c108hhoverpos06 = element.config.c108hhoverpos06.value %}
  67.     {# EXTENDED #}
  68.     {% set c108htitle07 = element.config.c108htitle07.value %}
  69.     {% set c108htitle08 = element.config.c108htitle08.value %}
  70.     {% set c108htitle09 = element.config.c108htitle09.value %}
  71.     {% set c108htitle10 = element.config.c108htitle10.value %}
  72.     {% set c108htitle11 = element.config.c108htitle11.value %}
  73.     {% set c108htitle12 = element.config.c108htitle12.value %}
  74.     {% set c108htitle13 = element.config.c108htitle13.value %}
  75.     {% set c108htitle14 = element.config.c108htitle14.value %}
  76.     {% set c108hdescr07 = element.config.c108hdescr07.value %}
  77.     {% set c108hdescr08 = element.config.c108hdescr08.value %}
  78.     {% set c108hdescr09 = element.config.c108hdescr09.value %}
  79.     {% set c108hdescr10 = element.config.c108hdescr10.value %}
  80.     {% set c108hdescr11 = element.config.c108hdescr11.value %}
  81.     {% set c108hdescr12 = element.config.c108hdescr12.value %}
  82.     {% set c108hdescr13 = element.config.c108hdescr13.value %}
  83.     {% set c108hdescr14 = element.config.c108hdescr14.value %}
  84.     {% set c108hlink07bool = element.config.c108hlink07bool.value %}
  85.     {% set c108hlink08bool = element.config.c108hlink08bool.value %}
  86.     {% set c108hlink09bool = element.config.c108hlink09bool.value %}
  87.     {% set c108hlink10bool = element.config.c108hlink10bool.value %}
  88.     {% set c108hlink11bool = element.config.c108hlink11bool.value %}
  89.     {% set c108hlink12bool = element.config.c108hlink12bool.value %}
  90.     {% set c108hlink13bool = element.config.c108hlink13bool.value %}
  91.     {% set c108hlink14bool = element.config.c108hlink14bool.value %}
  92.     {% set c108hlink07internal = element.config.c108hlink07internal.value %}
  93.     {% set c108hlink08internal = element.config.c108hlink08internal.value %}
  94.     {% set c108hlink09internal = element.config.c108hlink09internal.value %}
  95.     {% set c108hlink10internal = element.config.c108hlink10internal.value %}
  96.     {% set c108hlink11internal = element.config.c108hlink11internal.value %}
  97.     {% set c108hlink12internal = element.config.c108hlink12internal.value %}
  98.     {% set c108hlink13internal = element.config.c108hlink13internal.value %}
  99.     {% set c108hlink14internal = element.config.c108hlink14internal.value %}
  100.     {% set c108hlink07url = element.config.c108hlink07url.value %}
  101.     {% set c108hlink08url = element.config.c108hlink08url.value %}
  102.     {% set c108hlink09url = element.config.c108hlink09url.value %}
  103.     {% set c108hlink10url = element.config.c108hlink10url.value %}
  104.     {% set c108hlink11url = element.config.c108hlink11url.value %}
  105.     {% set c108hlink12url = element.config.c108hlink12url.value %}
  106.     {% set c108hlink13url = element.config.c108hlink13url.value %}
  107.     {% set c108hlink14url = element.config.c108hlink14url.value %}
  108.     {% set c108hlink07title = element.config.c108hlink07title.value %}
  109.     {% set c108hlink08title = element.config.c108hlink08title.value %}
  110.     {% set c108hlink09title = element.config.c108hlink09title.value %}
  111.     {% set c108hlink10title = element.config.c108hlink10title.value %}
  112.     {% set c108hlink11title = element.config.c108hlink11title.value %}
  113.     {% set c108hlink12title = element.config.c108hlink12title.value %}
  114.     {% set c108hlink13title = element.config.c108hlink13title.value %}
  115.     {% set c108hlink14title = element.config.c108hlink14title.value %}
  116.     {% set c108hmarker07xpos = element.config.c108hmarker07xpos.value %}
  117.     {% set c108hmarker07ypos = element.config.c108hmarker07ypos.value %}
  118.     {% set c108hmarker08xpos = element.config.c108hmarker08xpos.value %}
  119.     {% set c108hmarker08ypos = element.config.c108hmarker08ypos.value %}
  120.     {% set c108hmarker09xpos = element.config.c108hmarker09xpos.value %}
  121.     {% set c108hmarker09ypos = element.config.c108hmarker09ypos.value %}
  122.     {% set c108hmarker10xpos = element.config.c108hmarker10xpos.value %}
  123.     {% set c108hmarker10ypos = element.config.c108hmarker10ypos.value %}
  124.     {% set c108hmarker11xpos = element.config.c108hmarker11xpos.value %}
  125.     {% set c108hmarker11ypos = element.config.c108hmarker11ypos.value %}
  126.     {% set c108hmarker12xpos = element.config.c108hmarker12xpos.value %}
  127.     {% set c108hmarker12ypos = element.config.c108hmarker12ypos.value %}
  128.     {% set c108hmarker13xpos = element.config.c108hmarker13xpos.value %}
  129.     {% set c108hmarker13ypos = element.config.c108hmarker13ypos.value %}
  130.     {% set c108hmarker14xpos = element.config.c108hmarker14xpos.value %}
  131.     {% set c108hmarker14ypos = element.config.c108hmarker14ypos.value %}
  132.     {% set c108hhoverpos07 = element.config.c108hhoverpos07.value %}
  133.     {% set c108hhoverpos08 = element.config.c108hhoverpos08.value %}
  134.     {% set c108hhoverpos09 = element.config.c108hhoverpos09.value %}
  135.     {% set c108hhoverpos10 = element.config.c108hhoverpos10.value %}
  136.     {% set c108hhoverpos11 = element.config.c108hhoverpos11.value %}
  137.     {% set c108hhoverpos12 = element.config.c108hhoverpos12.value %}
  138.     {% set c108hhoverpos13 = element.config.c108hhoverpos13.value %}
  139.     {% set c108hhoverpos14 = element.config.c108hhoverpos14.value %}
  140.     <div id="{{ id }}-hfi-wrapper" class="c108-hfi-wrapper {{ c108hdesign }}"  {%  if legend %}display-legend{% endif %}>
  141.        {% if legend %}
  142.         <div class="hfi-legend-container">
  143.             <ul class="hfi-legend">
  144.                 <li class="hfi-legend-item"><span class="hfi-number">1</span>{{ c108htitle01 }}</li>
  145.                 {% if c108hnrhotspots >= 2 %}
  146.                 <li class="hfi-legend-item"> <span class="hfi-number">2</span>{{ c108htitle02 }}</li>
  147.                 {% endif %}
  148.                 {% if c108hnrhotspots >= 3 %}
  149.                     <li class="hfi-legend-item"><span class="hfi-number">3</span>{{ c108htitle03 }}</li>
  150.                 {% endif %}
  151.                 {% if c108hnrhotspots >= 4 %}
  152.                     <li class="hfi-legend-item"><span class="hfi-number">4</span>{{ c108htitle04 }}</li>
  153.                 {% endif %}
  154.                 {% if c108hnrhotspots >= 5 %}
  155.                     <li class="hfi-legend-item"><span class="hfi-number">5</span>{{ c108htitle05 }}</li>
  156.                 {% endif %}
  157.                 {% if c108hnrhotspots >= 6 %}
  158.                     <li class="hfi-legend-item"><span class="hfi-number">6</span>{{ c108htitle06 }}</li>
  159.                 {% endif %}
  160.                 {% if c108hnrhotspots >= 7 %}
  161.                     <li class="hfi-legend-item"><span class="hfi-number">7</span>{{ c108htitle07 }}</li>
  162.                 {% endif %}
  163.                 {% if c108hnrhotspots >= 8 %}
  164.                     <li class="hfi-legend-item"><span class="hfi-number">8</span>{{ c108htitle08 }}</li>
  165.                 {% endif %}
  166.                 {% if c108hnrhotspots >= 9 %}
  167.                     <li class="hfi-legend-item"><span class="hfi-number">9</span>{{ c108htitle09 }}</li>
  168.                 {% endif %}
  169.                 {% if c108hnrhotspots >= 10 %}
  170.                     <li class="hfi-legend-item"><span class="hfi-number">10</span>{{ c108htitle10 }}</li>
  171.                 {% endif %}
  172.                 {% if c108hnrhotspots >= 11 %}
  173.                     <li class="hfi-legend-item"><span class="hfi-number">11</span>{{ c108htitle11 }}</li>
  174.                 {% endif %}
  175.                 {% if c108hnrhotspots >= 12 %}
  176.                     <li class="hfi-legend-item"><span class="hfi-number">12</span>{{ c108htitle12 }}</li>
  177.                 {% endif %}
  178.                 {% if c108hnrhotspots >= 13 %}
  179.                     <li class="hfi-legend-item"><span class="hfi-number">13</span>{{ c108htitle13 }}</li>
  180.                 {% endif %}
  181.                 {% if c108hnrhotspots >= 14 %}
  182.                     <li class="hfi-legend-item"><span class="hfi-number">14</span>{{ c108htitle14 }}</li>
  183.                 {% endif %}
  184.             </ul>
  185.         </div>
  186.         {% endif %}
  187.         <div class="c108-hfi-inner">
  188.             <img class="c108-hfi-bgimg" src="{{ currImgPath }}" alt="{{ currImgAlt }}" title="{{ currImgTitle }}">
  189.             {% if element.config.mainUrl.value %}
  190.                 <a href="{{ element.config.mainUrl.value }}" class="sw-cms-el-marker-link"></a>
  191.             {% endif %}
  192.             {# Desktop version #}
  193.             {# Marker element 1 #}
  194.             <div id="{{ id }}-c108-hfi-element-01"
  195.                  style="top: {{ c108hmarker01ypos }}%; left: {{ c108hmarker01xpos }}%;"
  196.                  class="c108-hfi-element {{ c108hhoverpos01 }}">
  197.                 <div class="c108-hfi-element-inner" style="position:relative;">
  198.                     <div data-element-id="{{ id }}" class="c108-hfi-marker"
  199.                          style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">1</span><span
  200.                                 class="hfi-plus">+</span></div>
  201.                     <div id="{{ id }}-explanation-01" class="c108-hfi-explanation desktop">
  202.                         <span class="c108-hfi-explanation-close">×</span>
  203.                         <img src="{{ element.config.mediaMarkerUrl.value[1] }}" alt="{{ c108hlink01title }}">
  204.                         <span class="expl-title">{{ c108htitle01 }}</span>
  205.                         {% if  c108hdescr01 %}<p>{{ c108hdescr01 }}</p> {% endif %}
  206.                         {% if c108hlink01bool %}
  207.                             {% if c108hlink01internal == false %}
  208.                                 <a class="btn btn-primary" href="{{ c108hlink01url }}"
  209.                                    title="{{ c108hlink01title }}">{{ c108hlink01title }}</a>
  210.                             {% else %}
  211.                                 <a class="btn btn-primary" href="{{ c108hlink01url }}" rel="noopener" target="_blank"
  212.                                    title="{{ c108hlink01title }}">{{ c108hlink01title }}</a>
  213.                             {% endif %}
  214.                         {% endif %}
  215.                     </div>
  216.                 </div>
  217.             </div>
  218.             {# Marker element 2 #}
  219.             {% if c108hnrhotspots >= 2 %}
  220.                 <div id="{{ id }}-c108-hfi-element-02"
  221.                      style="top: {{ c108hmarker02ypos }}%; left: {{ c108hmarker02xpos }}%;"
  222.                      class="c108-hfi-element {{ c108hhoverpos02 }}">
  223.                     <div class="c108-hfi-element-inner" style="position:relative;">
  224.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  225.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">2</span><span
  226.                                     class="hfi-plus">+</span></div>
  227.                         <div id="{{ id }}-explanation-02" class="c108-hfi-explanation desktop">
  228.                             <span class="c108-hfi-explanation-close">×</span>
  229.                             <img src="{{ element.config.mediaMarkerUrl.value[2] }}" alt="{{ c108hlink02title }}">
  230.                             <span class="expl-title">{{ c108htitle02 }}</span>
  231.                             <p>{{ c108hdescr02 }}</p>
  232.                             {% if c108hlink02bool %}
  233.                                 {% if c108hlink02internal == false %}
  234.                                     <a class="btn btn-primary" href="{{ c108hlink02url }}"
  235.                                        title="{{ c108hlink02title }}">{{ c108hlink02title }}</a>
  236.                                 {% else %}
  237.                                     <a class="btn btn-primary" href="{{ c108hlink02url }}" rel="noopener"
  238.                                        target="_blank" title="{{ c108hlink02title }}">{{ c108hlink02title }}</a>
  239.                                 {% endif %}
  240.                             {% endif %}
  241.                         </div>
  242.                     </div>
  243.                 </div>
  244.             {% endif %}
  245.             {# Marker element 3 #}
  246.             {% if c108hnrhotspots >= 3 %}
  247.                 <div id="{{ id }}-c108-hfi-element-03"
  248.                      style="top: {{ c108hmarker03ypos }}%; left: {{ c108hmarker03xpos }}%;"
  249.                      class="c108-hfi-element {{ c108hhoverpos03 }}">
  250.                     <div class="c108-hfi-element-inner" style="position:relative;">
  251.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  252.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">3</span><span
  253.                                     class="hfi-plus">+</span></div>
  254.                         <div id="{{ id }}-explanation-03" class="c108-hfi-explanation desktop">
  255.                             <span class="c108-hfi-explanation-close">×</span>
  256.                             <img src="{{ element.config.mediaMarkerUrl.value[3] }}" alt="{{ c108hlink03title }}">
  257.                             <span class="expl-title">{{ c108htitle03 }}</span>
  258.                             <p>{{ c108hdescr03 }}</p>
  259.                             {% if c108hlink03bool %}
  260.                                 {% if c108hlink03internal == false %}
  261.                                     <a class="btn btn-primary" href="{{ c108hlink03url }}"
  262.                                        title="{{ c108hlink03title }}">{{ c108hlink03title }}</a>
  263.                                 {% else %}
  264.                                     <a class="btn btn-primary" href="{{ c108hlink03url }}" rel="noopener"
  265.                                        target="_blank" title="{{ c108hlink03title }}">{{ c108hlink03title }}</a>
  266.                                 {% endif %}
  267.                             {% endif %}
  268.                         </div>
  269.                     </div>
  270.                 </div>
  271.             {% endif %}
  272.             {# Marker element 4 #}
  273.             {% if c108hnrhotspots >= 4 %}
  274.                 <div id="{{ id }}-c108-hfi-element-04"
  275.                      style="top: {{ c108hmarker04ypos }}%; left: {{ c108hmarker04xpos }}%;"
  276.                      class="c108-hfi-element {{ c108hhoverpos04 }}">
  277.                     <div class="c108-hfi-element-inner" style="position:relative;">
  278.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  279.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">4</span><span
  280.                                     class="hfi-plus">+</span></div>
  281.                         <div id="{{ id }}-explanation-04" class="c108-hfi-explanation desktop">
  282.                             <span class="c108-hfi-explanation-close">×</span>
  283.                             <img src="{{ element.config.mediaMarkerUrl.value[4] }}" alt="{{ c108hlink04title }}">
  284.                             <span class="expl-title">{{ c108htitle04 }}</span>
  285.                             <p>{{ c108hdescr04 }}</p>
  286.                             {% if c108hlink04bool %}
  287.                                 {% if c108hlink04internal == false %}
  288.                                     <a class="btn btn-primary" href="{{ c108hlink04url }}"
  289.                                        title="{{ c108hlink04title }}">{{ c108hlink04title }}</a>
  290.                                 {% else %}
  291.                                     <a class="btn btn-primary" href="{{ c108hlink04url }}" rel="noopener"
  292.                                        target="_blank" title="{{ c108hlink04title }}">{{ c108hlink04title }}</a>
  293.                                 {% endif %}
  294.                             {% endif %}
  295.                         </div>
  296.                     </div>
  297.                 </div>
  298.             {% endif %}
  299.             {# Marker element 5 #}
  300.             {% if c108hnrhotspots >= 5 %}
  301.                 <div id="{{ id }}-c108-hfi-element-05"
  302.                      style="top: {{ c108hmarker05ypos }}%; left: {{ c108hmarker05xpos }}%;"
  303.                      class="c108-hfi-element {{ c108hhoverpos05 }}">
  304.                     <div class="c108-hfi-element-inner" style="position:relative;">
  305.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  306.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">5</span><span
  307.                                     class="hfi-plus">+</span></div>
  308.                         <div id="{{ id }}-explanation-05" class="c108-hfi-explanation desktop">
  309.                             <span class="c108-hfi-explanation-close" >×</span>
  310.                             <img src="{{ element.config.mediaMarkerUrl.value[5] }}" alt="{{ c108hlink05title }}">
  311.                             <span class="expl-title">{{ c108htitle05 }}</span>
  312.                             <p>{{ c108hdescr05 }}</p>
  313.                             {% if c108hlink05bool %}
  314.                                 {% if c108hlink05internal == false %}
  315.                                     <a class="btn btn-primary" href="{{ c108hlink05url }}"
  316.                                        title="{{ c108hlink05title }}">{{ c108hlink05title }}</a>
  317.                                 {% else %}
  318.                                     <a class="btn btn-primary" href="{{ c108hlink05url }}" rel="noopener"
  319.                                        target="_blank" title="{{ c108hlink05title }}">{{ c108hlink05title }}</a>
  320.                                 {% endif %}
  321.                             {% endif %}
  322.                         </div>
  323.                     </div>
  324.                 </div>
  325.             {% endif %}
  326.             {# Marker element 6 #}
  327.             {% if c108hnrhotspots >= 6 %}
  328.                 <div id="{{ id }}-c108-hfi-element-06"
  329.                      style="top: {{ c108hmarker06ypos }}%; left: {{ c108hmarker06xpos }}%;"
  330.                      class="c108-hfi-element {{ c108hhoverpos06 }}">
  331.                     <div class="c108-hfi-element-inner" style="position:relative;">
  332.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  333.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">6</span><span
  334.                                     class="hfi-plus">+</span></div>
  335.                         <div id="{{ id }}-explanation-06" class="c108-hfi-explanation desktop">
  336.                             <span class="c108-hfi-explanation-close" >×</span>
  337.                             <img src="{{ element.config.mediaMarkerUrl.value[6] }}" alt="{{ c108hlink06title }}">
  338.                             <span class="expl-title">{{ c108htitle06 }}</span>
  339.                             <p>{{ c108hdescr06 }}</p>
  340.                             {% if c108hlink06bool %}
  341.                                 {% if c108hlink06internal == false %}
  342.                                     <a class="btn btn-primary" href="{{ c108hlink06url }}"
  343.                                        title="{{ c108hlink06title }}">{{ c108hlink06title }}</a>
  344.                                 {% else %}
  345.                                     <a class="btn btn-primary" href="{{ c108hlink06url }}" rel="noopener"
  346.                                        target="_blank" title="{{ c108hlink06title }}">{{ c108hlink06title }}</a>
  347.                                 {% endif %}
  348.                             {% endif %}
  349.                         </div>
  350.                     </div>
  351.                 </div>
  352.             {% endif %}
  353.             {# Marker element 7 #}
  354.             {% if c108hnrhotspots >= 7 %}
  355.                 <div id="{{ id }}-c108-hfi-element-07"
  356.                      style="top: {{ c108hmarker07ypos }}%; left: {{ c108hmarker07xpos }}%;"
  357.                      class="c108-hfi-element {{ c108hhoverpos07 }}">
  358.                     <div class="c108-hfi-element-inner" style="position:relative;">
  359.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  360.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">7</span><span
  361.                                     class="hfi-plus">+</span></div>
  362.                         <div id="{{ id }}-explanation-07" class="c108-hfi-explanation desktop">
  363.                             <span class="c108-hfi-explanation-close" >×</span>
  364.                             <img src="{{ element.config.mediaMarkerUrl.value[7] }}" alt="{{ c108hlink07title }}">
  365.                             <span class="expl-title">{{ c108htitle07 }}</span>
  366.                             {% if  c108hdescr07 %}<p>{{ c108hdescr07 }}</p> {% endif %}
  367.                             {% if c108hlink07bool %}
  368.                                 {% if c108hlink07internal == false %}
  369.                                     <a class="btn btn-primary" href="{{ c108hlink07url }}"
  370.                                        title="{{ c108hlink07title }}">{{ c108hlink01title }}</a>
  371.                                 {% else %}
  372.                                     <a class="btn btn-primary" href="{{ c108hlink07url }}" rel="noopener"
  373.                                        target="_blank"
  374.                                        title="{{ c108hlink07title }}">{{ c108hlink07title }}</a>
  375.                                 {% endif %}
  376.                             {% endif %}
  377.                         </div>
  378.                     </div>
  379.                 </div>
  380.             {% endif %}
  381.             {# Marker element 8 #}
  382.             {% if c108hnrhotspots >= 8 %}
  383.                 <div id="{{ id }}-c108-hfi-element-08"
  384.                      style="top: {{ c108hmarker08ypos }}%; left: {{ c108hmarker08xpos }}%;"
  385.                      class="c108-hfi-element {{ c108hhoverpos08 }}">
  386.                     <div class="c108-hfi-element-inner" style="position:relative;">
  387.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  388.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">8</span><span
  389.                                     class="hfi-plus">+</span></div>
  390.                         <div id="{{ id }}-explanation-08" class="c108-hfi-explanation desktop">
  391.                             <span class="c108-hfi-explanation-close" >×</span>
  392.                             <img src="{{ element.config.mediaMarkerUrl.value[8] }}" alt="{{ c108hlink08title }}">
  393.                             <span class="expl-title">{{ c108htitle08 }}</span>
  394.                             {% if  c108hdescr08 %}<p>{{ c108hdescr08 }}</p> {% endif %}
  395.                             {% if c108hlink08bool %}
  396.                                 {% if c108hlink08internal == false %}
  397.                                     <a class="btn btn-primary" href="{{ c108hlink08url }}"
  398.                                        title="{{ c108hlink08title }}">{{ c108hlink08title }}</a>
  399.                                 {% else %}
  400.                                     <a class="btn btn-primary" href="{{ c108hlink08url }}" rel="noopener"
  401.                                        target="_blank"
  402.                                        title="{{ c108hlink08title }}">{{ c108hlink08title }}</a>
  403.                                 {% endif %}
  404.                             {% endif %}
  405.                         </div>
  406.                     </div>
  407.                 </div>
  408.             {% endif %}
  409.             {# Marker element 9 #}
  410.             {% if c108hnrhotspots >= 9 %}
  411.                 <div id="{{ id }}-c108-hfi-element-09"
  412.                      style="top: {{ c108hmarker09ypos }}%; left: {{ c108hmarker09xpos }}%;"
  413.                      class="c108-hfi-element {{ c108hhoverpos09 }}">
  414.                     <div class="c108-hfi-element-inner" style="position:relative;">
  415.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  416.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">9</span><span
  417.                                     class="hfi-plus">+</span></div>
  418.                         <div id="{{ id }}-explanation-09" class="c108-hfi-explanation desktop">
  419.                             <span class="c108-hfi-explanation-close">×</span>
  420.                             <img src="{{ element.config.mediaMarkerUrl.value[9] }}" alt="{{ c108hlink08title }}">
  421.                             <span class="expl-title">{{ c108htitle09 }}</span>
  422.                             {% if  c108hdescr09 %}<p>{{ c108hdescr09 }}</p> {% endif %}
  423.                             {% if c108hlink09bool %}
  424.                                 {% if c108hlink09internal == false %}
  425.                                     <a class="btn btn-primary" href="{{ c108hlink09url }}"
  426.                                        title="{{ c108hlink09title }}">{{ c108hlink09title }}</a>
  427.                                 {% else %}
  428.                                     <a class="btn btn-primary" href="{{ c108hlink09url }}" rel="noopener"
  429.                                        target="_blank"
  430.                                        title="{{ c108hlink09title }}">{{ c108hlink09title }}</a>
  431.                                 {% endif %}
  432.                             {% endif %}
  433.                         </div>
  434.                     </div>
  435.                 </div>
  436.             {% endif %}
  437.             {# Marker element 10 #}
  438.             {% if c108hnrhotspots >= 10 %}
  439.                 <div id="{{ id }}-c108-hfi-element-10"
  440.                      style="top: {{ c108hmarker10ypos }}%; left: {{ c108hmarker10xpos }}%;"
  441.                      class="c108-hfi-element {{ c108hhoverpos10 }}">
  442.                     <div class="c108-hfi-element-inner" style="position:relative;">
  443.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  444.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">10</span><span
  445.                                     class="hfi-plus">+</span></div>
  446.                         <div id="{{ id }}-explanation-10" class="c108-hfi-explanation desktop">
  447.                             <span class="c108-hfi-explanation-close" >×</span>
  448.                             <img src="{{ element.config.mediaMarkerUrl.value[10] }}" alt="{{ c108hlink10title }}">
  449.                             <span class="expl-title">{{ c108htitle10 }}</span>
  450.                             {% if  c108hdescr10 %}<p>{{ c108hdescr10 }}</p> {% endif %}
  451.                             {% if c108hlink10bool %}
  452.                                 {% if c108hlink10internal == false %}
  453.                                     <a class="btn btn-primary" href="{{ c108hlink10url }}"
  454.                                        title="{{ c108hlink10title }}">{{ c108hlink10title }}</a>
  455.                                 {% else %}
  456.                                     <a class="btn btn-primary" href="{{ c108hlink10url }}" rel="noopener"
  457.                                        target="_blank"
  458.                                        title="{{ c108hlink10title }}">{{ c108hlink10title }}</a>
  459.                                 {% endif %}
  460.                             {% endif %}
  461.                         </div>
  462.                     </div>
  463.                 </div>
  464.             {% endif %}
  465.             {# Marker element 11 #}
  466.             {% if c108hnrhotspots >= 11 %}
  467.                 <div id="{{ id }}-c108-hfi-element-11"
  468.                      style="top: {{ c108hmarker11ypos }}%; left: {{ c108hmarker11xpos }}%;"
  469.                      class="c108-hfi-element {{ c108hhoverpos11 }}">
  470.                     <div class="c108-hfi-element-inner" style="position:relative;">
  471.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  472.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">11</span><span
  473.                                     class="hfi-plus">+</span></div>
  474.                         <div id="{{ id }}-explanation-11" class="c108-hfi-explanation desktop">
  475.                             <span class="c108-hfi-explanation-close">×</span>
  476.                             <img src="{{ element.config.mediaMarkerUrl.value[11] }}" alt="{{ c108hlink11title }}">
  477.                             <span class="expl-title">{{ c108htitle11 }}</span>
  478.                             {% if  c108hdescr11 %}<p>{{ c108hdescr11 }}</p> {% endif %}
  479.                             {% if c108hlink11bool %}
  480.                                 {% if c108hlink11internal == false %}
  481.                                     <a class="btn btn-primary" href="{{ c108hlink11url }}"
  482.                                        title="{{ c108hlink11title }}">{{ c108hlink11title }}</a>
  483.                                 {% else %}
  484.                                     <a class="btn btn-primary" href="{{ c108hlink11url }}" rel="noopener"
  485.                                        target="_blank"
  486.                                        title="{{ c108hlink11title }}">{{ c108hlink11title }}</a>
  487.                                 {% endif %}
  488.                             {% endif %}
  489.                         </div>
  490.                     </div>
  491.                 </div>
  492.             {% endif %}
  493.             {# Marker element 12 #}
  494.             {% if c108hnrhotspots >= 12 %}
  495.                 <div id="{{ id }}-c108-hfi-element-12"
  496.                      style="top: {{ c108hmarker12ypos }}%; left: {{ c108hmarker12xpos }}%;"
  497.                      class="c108-hfi-element {{ c108hhoverpos12 }}">
  498.                     <div class="c108-hfi-element-inner" style="position:relative;">
  499.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  500.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">12</span><span
  501.                                     class="hfi-plus">+</span></div>
  502.                         <div id="{{ id }}-explanation-12" class="c108-hfi-explanation desktop">
  503.                             <span class="c108-hfi-explanation-close">×</span>
  504.                             <img src="{{ element.config.mediaMarkerUrl.value[12] }}" alt="{{ c108hlink12title }}">
  505.                             <span class="expl-title">{{ c108htitle12 }}</span>
  506.                             {% if  c108hdescr12 %}<p>{{ c108hdescr12 }}</p> {% endif %}
  507.                             {% if c108hlink12bool %}
  508.                                 {% if c108hlink12internal == false %}
  509.                                     <a class="btn btn-primary" href="{{ c108hlink12url }}"
  510.                                        title="{{ c108hlink12title }}">{{ c108hlink12title }}</a>
  511.                                 {% else %}
  512.                                     <a class="btn btn-primary" href="{{ c108hlink12url }}" rel="noopener"
  513.                                        target="_blank"
  514.                                        title="{{ c108hlink12title }}">{{ c108hlink12title }}</a>
  515.                                 {% endif %}
  516.                             {% endif %}
  517.                         </div>
  518.                     </div>
  519.                 </div>
  520.             {% endif %}
  521.             {# Marker element 13 #}
  522.             {% if c108hnrhotspots >= 13 %}
  523.                 <div id="{{ id }}-c108-hfi-element-13"
  524.                      style="top: {{ c108hmarker13ypos }}%; left: {{ c108hmarker13xpos }}%;"
  525.                      class="c108-hfi-element {{ c108hhoverpos13 }}">
  526.                     <div class="c108-hfi-element-inner" style="position:relative;">
  527.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  528.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">13</span><span
  529.                                     class="hfi-plus">+</span></div>
  530.                         <div id="{{ id }}-explanation-13" class="c108-hfi-explanation desktop">
  531.                             <span class="c108-hfi-explanation-close" >×</span>
  532.                             <img src="{{ element.config.mediaMarkerUrl.value[13] }}" alt="{{ c108hlink13title }}">
  533.                             <span class="expl-title">{{ c108htitle13 }}</span>
  534.                             {% if  c108hdescr13 %}<p>{{ c108hdescr13 }}</p> {% endif %}
  535.                             {% if c108hlink13bool %}
  536.                                 {% if c108hlink13internal == false %}
  537.                                     <a class="btn btn-primary" href="{{ c108hlink13url }}"
  538.                                        title="{{ c108hlink13title }}">{{ c108hlink13title }}</a>
  539.                                 {% else %}
  540.                                     <a class="btn btn-primary" href="{{ c108hlink13url }}" rel="noopener"
  541.                                        target="_blank"
  542.                                        title="{{ c108hlink13title }}">{{ c108hlink13title }}</a>
  543.                                 {% endif %}
  544.                             {% endif %}
  545.                         </div>
  546.                     </div>
  547.                 </div>
  548.             {% endif %}
  549.             {# Marker element 14 #}
  550.             {% if c108hnrhotspots >= 14 %}
  551.                 <div id="{{ id }}-c108-hfi-element-14"
  552.                      style="top: {{ c108hmarker14ypos }}%; left: {{ c108hmarker14xpos }}%;"
  553.                      class="c108-hfi-element {{ c108hhoverpos14 }}">
  554.                     <div class="c108-hfi-element-inner" style="position:relative;">
  555.                         <div data-element-id="{{ id }}" class="c108-hfi-marker"
  556.                              style="background-color:{{ c108hhighlightcol }}"><span class="hfi-num">14</span>
  557.                             <span
  558.                                     class="hfi-plus">+</span></div>
  559.                         <div id="{{ id }}-explanation-14" class="c108-hfi-explanation desktop">
  560.                             <span class="c108-hfi-explanation-close">×</span>
  561.                             <img src="{{ element.config.mediaMarkerUrl.value[14] }}" alt="{{ c108hlink14title }}">
  562.                             <span class="expl-title">{{ c108htitle14 }}</span>
  563.                             {% if  c108hdescr14 %}<p>{{ c108hdescr14 }}</p> {% endif %}
  564.                             {% if c108hlink14bool %}
  565.                                 {% if c108hlink11internal == false %}
  566.                                     <a class="btn btn-primary" href="{{ c108hlink14url }}"
  567.                                        title="{{ c108hlink14title }}">{{ c108hlink14title }}</a>
  568.                                 {% else %}
  569.                                     <a class="btn btn-primary" href="{{ c108hlink14url }}" rel="noopener"
  570.                                        target="_blank"
  571.                                        title="{{ c108hlink14title }}">{{ c108hlink14title }}</a>
  572.                                 {% endif %}
  573.                             {% endif %}
  574.                         </div>
  575.                     </div>
  576.                 </div>
  577.             {% endif %}
  578.             {# Mobile version #}
  579.             <div class="hfi-mobile-explanation-box">
  580.                 {# Marker element 1 #}
  581.                 <div id="{{ id }}-explanation-mobile-01" class="c108-hfi-explanation mobile">
  582.                     <span class="c108-hfi-explanation-close">×</span>
  583.                     <img src="{{ element.config.mediaMarkerUrl.value[1] }}" alt="{{ c108hlink01title }}">
  584.                     <span class="expl-title">{{ c108htitle01 }}</span>
  585.                     {% if  c108hdescr01 %}<p>{{ c108hdescr01 }}</p> {% endif %}
  586.                     {% if c108hlink01bool %}
  587.                         {% if c108hlink01internal == false %}
  588.                             <a class="btn btn-primary" href="{{ c108hlink01url }}"
  589.                                title="{{ c108hlink01title }}">{{ c108hlink01title }}</a>
  590.                         {% else %}
  591.                             <a class="btn btn-primary" href="{{ c108hlink01url }}" rel="noopener" target="_blank"
  592.                                title="{{ c108hlink01title }}">{{ c108hlink01title }}</a>
  593.                         {% endif %}
  594.                     {% endif %}
  595.                 </div>
  596.                 {# Marker element 2 #}
  597.                 {% if c108hnrhotspots >= 2 %}
  598.                     <div id="{{ id }}-explanation-mobile-02" class="c108-hfi-explanation mobile">
  599.                         <span class="c108-hfi-explanation-close">×</span>
  600.                         <img src="{{ element.config.mediaMarkerUrl.value[2] }}" alt="{{ c108hlink02title }}">
  601.                         <span class="expl-title">{{ c108htitle02 }}</span>
  602.                         <p>{{ c108hdescr02 }}</p>
  603.                         {% if c108hlink02bool %}
  604.                             {% if c108hlink02internal == false %}
  605.                                 <a class="btn btn-primary" href="{{ c108hlink02url }}"
  606.                                    title="{{ c108hlink02title }}">{{ c108hlink02title }}</a>
  607.                             {% else %}
  608.                                 <a class="btn btn-primary" href="{{ c108hlink02url }}" rel="noopener"
  609.                                    target="_blank" title="{{ c108hlink02title }}">{{ c108hlink02title }}</a>
  610.                             {% endif %}
  611.                         {% endif %}
  612.                     </div>
  613.                 {% endif %}
  614.                 {# Marker element 3 #}
  615.                 {% if c108hnrhotspots >= 3 %}
  616.                     <div id="{{ id }}-explanation-mobile-03" class="c108-hfi-explanation mobile">
  617.                         <span class="c108-hfi-explanation-close" >×</span>
  618.                         <img src="{{ element.config.mediaMarkerUrl.value[3] }}" alt="{{ c108hlink03title }}">
  619.                         <span class="expl-title">{{ c108htitle03 }}</span>
  620.                         <p>{{ c108hdescr03 }}</p>
  621.                         {% if c108hlink03bool %}
  622.                             {% if c108hlink03internal == false %}
  623.                                 <a class="btn btn-primary" href="{{ c108hlink03url }}"
  624.                                    title="{{ c108hlink03title }}">{{ c108hlink03title }}</a>
  625.                             {% else %}
  626.                                 <a class="btn btn-primary" href="{{ c108hlink03url }}" rel="noopener"
  627.                                    target="_blank" title="{{ c108hlink03title }}">{{ c108hlink03title }}</a>
  628.                             {% endif %}
  629.                         {% endif %}
  630.                     </div>
  631.                 {% endif %}
  632.                 {# Marker element 4 #}
  633.                 {% if c108hnrhotspots >= 4 %}
  634.                     <div id="{{ id }}-explanation-mobile-04" class="c108-hfi-explanation mobile">
  635.                         <span class="c108-hfi-explanation-close">×</span>
  636.                         <img src="{{ element.config.mediaMarkerUrl.value[4] }}" alt="{{ c108hlink04title }}">
  637.                         <span class="expl-title">{{ c108htitle04 }}</span>
  638.                         <p>{{ c108hdescr04 }}</p>
  639.                         {% if c108hlink04bool %}
  640.                             {% if c108hlink04internal == false %}
  641.                                 <a class="btn btn-primary" href="{{ c108hlink04url }}"
  642.                                    title="{{ c108hlink04title }}">{{ c108hlink04title }}</a>
  643.                             {% else %}
  644.                                 <a class="btn btn-primary" href="{{ c108hlink04url }}" rel="noopener"
  645.                                    target="_blank" title="{{ c108hlink04title }}">{{ c108hlink04title }}</a>
  646.                             {% endif %}
  647.                         {% endif %}
  648.                     </div>
  649.                 {% endif %}
  650.                 {# Marker element 5 #}
  651.                 {% if c108hnrhotspots >= 2 %}
  652.                     <div id="{{ id }}-explanation-mobile-05" class="c108-hfi-explanation mobile">
  653.                         <span class="c108-hfi-explanation-close">×</span>
  654.                         <img src="{{ element.config.mediaMarkerUrl.value[5] }}" alt="{{ c108hlink05title }}">
  655.                         <span class="expl-title">{{ c108htitle05 }}</span>
  656.                         <p>{{ c108hdescr05 }}</p>
  657.                         {% if c108hlink05bool %}
  658.                             {% if c108hlink05internal == false %}
  659.                                 <a class="btn btn-primary" href="{{ c108hlink05url }}"
  660.                                    title="{{ c108hlink05title }}">{{ c108hlink05title }}</a>
  661.                             {% else %}
  662.                                 <a class="btn btn-primary" href="{{ c108hlink05url }}" rel="noopener"
  663.                                    target="_blank" title="{{ c108hlink05title }}">{{ c108hlink05title }}</a>
  664.                             {% endif %}
  665.                         {% endif %}
  666.                     </div>
  667.                 {% endif %}
  668.                 {# Marker element 6 #}
  669.                 {% if c108hnrhotspots >= 6 %}
  670.                     <div id="{{ id }}-explanation-mobile-06" class="c108-hfi-explanation mobile">
  671.                         <span class="c108-hfi-explanation-close">×</span>
  672.                         <img src="{{ element.config.mediaMarkerUrl.value[6] }}" alt="{{ c108hlink06title }}">
  673.                         <span class="expl-title">{{ c108htitle06 }}</span>
  674.                         <p>{{ c108hdescr06 }}</p>
  675.                         {% if c108hlink06bool %}
  676.                             {% if c108hlink06internal == false %}
  677.                                 <a class="btn btn-primary" href="{{ c108hlink06url }}"
  678.                                    title="{{ c108hlink06title }}">{{ c108hlink06title }}</a>
  679.                             {% else %}
  680.                                 <a class="btn btn-primary" href="{{ c108hlink06url }}" rel="noopener"
  681.                                    target="_blank" title="{{ c108hlink06title }}">{{ c108hlink06title }}</a>
  682.                             {% endif %}
  683.                         {% endif %}
  684.                     </div>
  685.                 {% endif %}
  686.                 {# Marker element 7 #}
  687.                 {% if c108hnrhotspots >= 7 %}
  688.                     <div id="{{ id }}-explanation-mobile-07" class="c108-hfi-explanation mobile">
  689.                         <span class="c108-hfi-explanation-close">×</span>
  690.                         <img src="{{ element.config.mediaMarkerUrl.value[7] }}" alt="{{ c108hlink07title }}">
  691.                         <span class="expl-title">{{ c108htitle07 }}</span>
  692.                         {% if  c108hdescr07 %}<p>{{ c108hdescr07 }}</p> {% endif %}
  693.                         {% if c108hlink07bool %}
  694.                             {% if c108hlink07internal == false %}
  695.                                 <a class="btn btn-primary" href="{{ c108hlink07url }}"
  696.                                    title="{{ c108hlink07title }}">{{ c108hlink01title }}</a>
  697.                             {% else %}
  698.                                 <a class="btn btn-primary" href="{{ c108hlink07url }}" rel="noopener"
  699.                                    target="_blank"
  700.                                    title="{{ c108hlink07title }}">{{ c108hlink07title }}</a>
  701.                             {% endif %}
  702.                         {% endif %}
  703.                     </div>
  704.                 {% endif %}
  705.                 {# Marker element 8 #}
  706.                 {% if c108hnrhotspots >= 8 %}
  707.                     <div id="{{ id }}-explanation-mobile-08" class="c108-hfi-explanation mobile">
  708.                         <span class="c108-hfi-explanation-close">×</span>
  709.                         <img src="{{ element.config.mediaMarkerUrl.value[8] }}" alt="{{ c108hlink08title }}">
  710.                         <span class="expl-title">{{ c108htitle08 }}</span>
  711.                         {% if  c108hdescr08 %}<p>{{ c108hdescr08 }}</p> {% endif %}
  712.                         {% if c108hlink08bool %}
  713.                             {% if c108hlink08internal == false %}
  714.                                 <a class="btn btn-primary" href="{{ c108hlink08url }}"
  715.                                    title="{{ c108hlink08title }}">{{ c108hlink08title }}</a>
  716.                             {% else %}
  717.                                 <a class="btn btn-primary" href="{{ c108hlink08url }}" rel="noopener"
  718.                                    target="_blank"
  719.                                    title="{{ c108hlink08title }}">{{ c108hlink08title }}</a>
  720.                             {% endif %}
  721.                         {% endif %}
  722.                     </div>
  723.                 {% endif %}
  724.                 {# Marker element 9 #}
  725.                 {% if c108hnrhotspots >= 9 %}
  726.                     <div id="{{ id }}-explanation-mobile-09" class="c108-hfi-explanation mobile">
  727.                         <span class="c108-hfi-explanation-close">×</span>
  728.                         <img src="{{ element.config.mediaMarkerUrl.value[9] }}" alt="{{ c108hlink08title }}">
  729.                         <span class="expl-title">{{ c108htitle09 }}</span>
  730.                         {% if  c108hdescr09 %}<p>{{ c108hdescr09 }}</p> {% endif %}
  731.                         {% if c108hlink09bool %}
  732.                             {% if c108hlink09internal == false %}
  733.                                 <a class="btn btn-primary" href="{{ c108hlink09url }}"
  734.                                    title="{{ c108hlink09title }}">{{ c108hlink09title }}</a>
  735.                             {% else %}
  736.                                 <a class="btn btn-primary" href="{{ c108hlink09url }}" rel="noopener"
  737.                                    target="_blank"
  738.                                    title="{{ c108hlink09title }}">{{ c108hlink09title }}</a>
  739.                             {% endif %}
  740.                         {% endif %}
  741.                     </div>
  742.                 {% endif %}
  743.                 {# Marker element 10 #}
  744.                 {% if c108hnrhotspots >= 10 %}
  745.                     <div id="{{ id }}-explanation-mobile-10" class="c108-hfi-explanation mobile">
  746.                         <span class="c108-hfi-explanation-close">×</span>
  747.                         <span class="expl-title">{{ c108htitle10 }}</span>
  748.                         <p>{{ c108hdescr10 }}</p>
  749.                         {% if c108hlink10bool %}
  750.                             {% if c108hlink10internal == false %}
  751.                                 <a style="color:{{ c108hhighlightcol }};" href="{{ c108hlink10url }}"
  752.                                    title="{{ c108hlink10title }}">{{ c108hlink10title }}</a>
  753.                             {% else %}
  754.                                 <a style="color:{{ c108hhighlightcol }};" href="{{ c108hlink10url }}" rel="noopener"
  755.                                    target="_blank" title="{{ c108hlink10title }}">{{ c108hlink10title }}</a>
  756.                             {% endif %}
  757.                         {% endif %}
  758.                     </div>
  759.                 {% endif %}
  760.                 {# Marker element 11 #}
  761.                 {% if c108hnrhotspots >= 11 %}
  762.                     <div id="{{ id }}-explanation-mobile-11" class="c108-hfi-explanation mobile">
  763.                         <span class="c108-hfi-explanation-close" >×</span>
  764.                         <img src="{{ element.config.mediaMarkerUrl.value[11] }}" alt="{{ c108hlink11title }}">
  765.                         <span class="expl-title">{{ c108htitle11 }}</span>
  766.                         {% if  c108hdescr11 %}<p>{{ c108hdescr11 }}</p> {% endif %}
  767.                         {% if c108hlink11bool %}
  768.                             {% if c108hlink11internal == false %}
  769.                                 <a class="btn btn-primary" href="{{ c108hlink11url }}"
  770.                                    title="{{ c108hlink11title }}">{{ c108hlink11title }}</a>
  771.                             {% else %}
  772.                                 <a class="btn btn-primary" href="{{ c108hlink11url }}" rel="noopener"
  773.                                    target="_blank"
  774.                                    title="{{ c108hlink11title }}">{{ c108hlink11title }}</a>
  775.                             {% endif %}
  776.                         {% endif %}
  777.                     </div>
  778.                 {% endif %}
  779.                 {# Marker element 12 #}
  780.                 {% if c108hnrhotspots >= 12 %}
  781.                     <div id="{{ id }}-explanation-mobile-12" class="c108-hfi-explanation mobile">
  782.                         <span class="c108-hfi-explanation-close">×</span>
  783.                         <img src="{{ element.config.mediaMarkerUrl.value[12] }}" alt="{{ c108hlink12title }}">
  784.                         <span class="expl-title">{{ c108htitle12 }}</span>
  785.                         {% if  c108hdescr12 %}<p>{{ c108hdescr12 }}</p> {% endif %}
  786.                         {% if c108hlink12bool %}
  787.                             {% if c108hlink12internal == false %}
  788.                                 <a class="btn btn-primary" href="{{ c108hlink12url }}"
  789.                                    title="{{ c108hlink12title }}">{{ c108hlink12title }}</a>
  790.                             {% else %}
  791.                                 <a class="btn btn-primary" href="{{ c108hlink12url }}" rel="noopener"
  792.                                    target="_blank"
  793.                                    title="{{ c108hlink12title }}">{{ c108hlink12title }}</a>
  794.                             {% endif %}
  795.                         {% endif %}
  796.                     </div>
  797.                 {% endif %}
  798.                 {# Marker element 13 #}
  799.                 {% if c108hnrhotspots >= 13 %}
  800.                     <div id="{{ id }}-explanation-mobile-13" class="c108-hfi-explanation mobile">
  801.                         <span class="c108-hfi-explanation-close">×</span>
  802.                         <img src="{{ element.config.mediaMarkerUrl.value[13] }}" alt="{{ c108hlink13title }}">
  803.                         <span class="expl-title">{{ c108htitle13 }}</span>
  804.                         {% if  c108hdescr13 %}<p>{{ c108hdescr13 }}</p> {% endif %}
  805.                         {% if c108hlink13bool %}
  806.                             {% if c108hlink13internal == false %}
  807.                                 <a class="btn btn-primary" href="{{ c108hlink13url }}"
  808.                                    title="{{ c108hlink13title }}">{{ c108hlink13title }}</a>
  809.                             {% else %}
  810.                                 <a class="btn btn-primary" href="{{ c108hlink13url }}" rel="noopener"
  811.                                    target="_blank"
  812.                                    title="{{ c108hlink13title }}">{{ c108hlink13title }}</a>
  813.                             {% endif %}
  814.                         {% endif %}
  815.                     </div>
  816.                 {% endif %}
  817.                 {# Marker element 14 #}
  818.                 {% if c108hnrhotspots >= 14 %}
  819.                     <div id="{{ id }}-explanation-mobile-14" class="c108-hfi-explanation mobile">
  820.                         <span class="c108-hfi-explanation-close" >×</span>
  821.                         <img src="{{ element.config.mediaMarkerUrl.value[14] }}" alt="{{ c108hlink14title }}">
  822.                         <span class="expl-title">{{ c108htitle14 }}</span>
  823.                         {% if  c108hdescr14 %}<p>{{ c108hdescr14 }}</p> {% endif %}
  824.                         {% if c108hlink14bool %}
  825.                             {% if c108hlink11internal == false %}
  826.                                 <a class="btn btn-primary" href="{{ c108hlink14url }}"
  827.                                    title="{{ c108hlink14title }}">{{ c108hlink14title }}</a>
  828.                             {% else %}
  829.                                 <a class="btn btn-primary" href="{{ c108hlink14url }}" rel="noopener"
  830.                                    target="_blank"
  831.                                    title="{{ c108hlink14title }}">{{ c108hlink14title }}</a>
  832.                             {% endif %}
  833.                         {% endif %}
  834.                     </div>
  835.                 {% endif %}
  836.             </div>
  837.             {# Mobile version: End #}
  838.             {% if element.config.mainTitle.value %}
  839.                 <div class="sw-cms-el-marker-text-box">
  840.                     <span class="sw-cms-el-marker-text">{{ element.config.mainTitle.value }}</span>
  841.                     <div class="sw-cms-el-marker-arrow arrow-right-rotate">
  842.                         {% sw_icon 'arrow_left'  style {
  843.                             'namespace': 'Tuerschild_2',
  844.                         } %}                       </div>
  845.                 </div>
  846.             {% endif %}
  847.         </div>
  848.     </div>
  849. {% endblock %}