<header class="header1 {{className}} {{headerWithBoutonRight}} {{class_menu_hamburger}} {% if bgTransparent %}transparent{% endif %}">
{% if BannerPublicite() is not empty and BannerPublicite().position == 1 and (BannerPublicite().titre != '' or BannerPublicite().text != '') %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_banniere_pub_header.html.twig')}}
{% endif %}
<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}}" width="100" height="100" fetchpriority="high">
<img class="img-logo-home" src="{{asset('/uploads/images/'~ parametre.imageheader)}}" alt="{{parametre.titre}}" width="100" height="100" fetchpriority="high">
{% else %}
<img src="{{asset('/uploads/images/'~ parametre.image)}}" alt="{{parametre.titre}}" width="100" height="100" fetchpriority="high">
{% 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="">
{% if ParametreSite().actifbarserach and recherche %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_recherche.html.twig')}}
{% endif %}
{% if contacts and ((adresse1 or adresse2) or (titreAdresse1 or titreAdresse2)) %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_adresses.html.twig')}}
{% endif %}
{% if contacts and (horaires1 or horaires2) %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_horaires.html.twig')}}
{% endif %}
{% if contacts and (tel1 or tel2) %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_telephones.html.twig')}}
{% endif %}
{% if contacts and (email1 or email2) %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_emails.html.twig')}}
{% endif %}
{% if social is not empty and socialHeader %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_social_network.html.twig')}}
{% endif %}
{% if actifpanier and parametreProduits() and parametreProduits().actifpanier %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_panier.html.twig')}}
{% endif %}
{% if languages and languages|length > 1 %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_lang.html.twig')}}
{% endif %}
{% 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>