<footer class="footer1">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_banniere_pub_footer.html.twig')}}
<section itemscope="" class="top-footer">
<div class="container-fluid wrapper">
{% if logoPosition == 3 %}
<div class="text-center logo-center">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
</div>
{% endif %}
<div class="items-top d-flex justify-content-center justify-content-xl-between flex-wrap text-md-left text-center align-items-center {% if nbrContactsInput <= 1 %}flex-column flex-md-row{% endif %}">
{% if logoPosition == 1 %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
{% endif %}
{% if nbrContactsInput > 1 %}
<div class="item-top coordonnees-contacts d-flex flex-column align-items-center justify-content-center text-center">
{% endif %}
{% for contactItem in contacts %}
{% set nbContact = loop.index %}
{% if nbContact <= nbrContactsInput %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_coordonnees_contact.html.twig')}}
{% endif %}
{% endfor %}
{% if nbrContactsInput > 1 %}
</div>
{% endif %}
{% if parametre.liencarte and codeqrFooter %}
<div class="item-top">
<img src="{{ qr_code_url(parametre.liencarte) }}" class="img-qrcode"/>
</div>
{% endif %}
{% if contacts and texteFooter %}
<div class="item-top">
{% for contact in contacts %}
{% if contact.texteContact %}
<div class="footer_right">
{{contact.texteContact|raw}}
</div>
{% endif %}
{% endfor %}
</div>
{% endif %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_social_network.html.twig')}}
{% if button1Footer %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_stiky_button.html.twig', with_context = false)}}
{% endif %}
{% if logoPosition == 2 %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}}
{% endif %}
{# {{ include('front/'~ app.request.server.get('APP_THEME') ~'/form/form_footer2.html.twig',{
form: form,
formfields: formfields,
}, with_context = false)}} #}
</div>
</div>
</section>
<section class="sub-footer">
<div class="container-fluid wrapper">
{% if data_menu_footer is defined and data_menu_footer is not empty %}
<div class="d-flex sous-menu-footer flex-md-row justify-content-center">
{% if data_menu_footer %}
{% for key,menu in data_menu_footer %}
<a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a>
{% endfor %}
{% endif %}
</div>
{% endif %}
<div class="items-sub-footer d-flex justify-content-center align-items-center flex-column flex-md-row">
<ul id="footer_bottom" class="link-hover d-flex justify-content-center justify-content-md-center flex-column flex-md-row liststyle text-center">
{% if menus %}
{% for key,menu in menus %}
<li><a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
{% endfor %}
{% endif %}
<li> <a class="titre_cookies" href="javascript:void(0)" title="{{ 'label.titre_cookie'|trans({} , 'textes' ) }}" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">{{ 'label.titre_cookie'|trans({} , 'textes' ) }}</a></li>
</ul>
{% if logoCopyright or dateCopyright %}
<span class="col-copyright d-flex align-items-center">
{% if logoCopyright %}
<span class="logo-copyright"><a href="https://www.hrz.fr" target="_blank" title="Horizon web"><img src="/public/logo-horizon/logo-bleu.png" width="30" class="d-block mb-1" alt="Horizon web" /></a></span>
{% endif %}
{% if dateCopyright %}
<span class="annee ml-1"><strong>{{ "now"|date("Y") }}</strong></span>
{% endif %}
</span>
{% endif %}
</div>
</div>
</section>
</footer>