<header class="header1 {{className}} {{headerWithBoutonRight}} {% if bgTransparent %}transparent{% endif %}">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_banniere_pub_header.html.twig')}}
<div class="header-bottom {{social_bandeau}} {% if not button1 %}no-bouton1{% endif %}">
<div class="container-fluid wrapper">
<div class="item-header d-flex justify-content-between align-items-center">
<div class="logo">
<a href="{{app.request.schemeAndHttpHost ~ app.request.baseUrl}}" class="logo_h">
{% if bgTransparent and parametre.imageheader is not empty %}
<img class="img-logo" src="{{asset('/uploads/images/'~ parametre.image)}}" alt="{{parametre.titre}}">
<img class="img-logo-home" src="{{asset('/uploads/images/'~ parametre.imageheader)}}" alt="{{parametre.titre}}">
{% else %}
<img src="{{asset('/uploads/images/'~ parametre.image)}}" alt="{{parametre.titre}}">
{% endif %}
</a>
</div>
{% if positionBoutonRightHeader %}
<div class="header-with-right-boutons d-flex justify-content-end align-items-md-center">
{% endif %}
<div class="header-right align-self-md-start d-flex {{infos_items_flex}} w-md-100">
<div class="infos-header d-flex justify-content-end align-items-center flex-wrap" itemscope="">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_recherche.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_adresses.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_horaires.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_telephones.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_emails.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_social_network.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_panier.html.twig')}}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_lang.html.twig')}}
{% if button1 and button1Position == 1 %}
<div class="item-bouton-header d-flex align-items-center bouton1-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
</div>
{% endif %}
{% if button2 and button2Position == 1 %}
<div class="item-bouton-header d-flex align-items-center bouton2-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
</div>
{% endif %}
{% if button3 and button3Position == 1 %}
<div class="item-bouton-header d-flex align-items-center bouton3-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 3})}}
</div>
{% endif %}
</div>
<div class="header-menu d-flex justify-content-end align-items-center">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_navbar.html.twig')}}
{% if button1 and button1Position == 2 %}
<div class="item-bouton-header d-flex align-items-center ml-3 bouton1-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
</div>
{% endif %}
{% if button2 and button2Position == 2 %}
<div class="item-bouton-header d-flex align-items-center ml-3 bouton2-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
</div>
{% endif %}
{% if button3 and button3Position == 2 %}
<div class="item-bouton-header d-flex align-items-center ml-3 bouton3-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' :3})}}
</div>
{% endif %}
</div>
</div>
{% if button1 and button1Position == 3 %}
<div class="item-bouton-header d-flex align-items-center bouton1-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
</div>
{% endif %}
{% if button2 and button2Position == 3 %}
<div class="item-bouton-header d-flex align-items-center bouton2-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
</div>
{% endif %}
{% if button3 and button3Position == 3 %}
<div class="item-bouton-header d-flex align-items-center bouton3-header">
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' :3})}}
</div>
{% endif %}
{% if positionBoutonRightHeader %}
</div>
{% endif %}
</div>
</div>
</div>
</header>