{% if size == 'full' %}
<section data-bs-version="5.1"
class="slider1 directm4_slider1 cid-sYsP7EgLKR justify-content-center"
id="slider1-1v-{{ iDtabPromoZone }}">
<div class="container-fluid">
<div class="carousel slide carousel-fade" id="sYIUsJIk6l-{{ iDtabPromoZone }}" data-ride="carousel"
data-bs-ride="carousel"
>
{# <ol class="carousel-indicators">
{% for promo in tabPromoZone %}
<li data-slide-to="{{ loop.index0 }}" data-bs-slide-to="{{ loop.index0 }}"
{% if loop.first %}class="active"{% endif %}
data-target="#sYIUsJIk6l-{{ iDtabPromoZone }}"
data-bs-target="#sYIUsJIk6l-{{ iDtabPromoZone }}">
</li>
{% endfor %}
</ol> #}
<div class="carousel-inner">
{% for promo in tabPromoZone %}
{% set mediaTmp = promo.image %}
{% set mediaTmp = webp(webpSupported, promo.image) %}
<div class="carousel-item slider-image item {% if loop.first %}active{% endif %}">
<div class="item-wrapper"
style="background-image: url('{{ websiteroot }}{{ asset('/medias_front/autopromo/' ~ mediaTmp) }} ')">
<div id="centerbig"
class="h-100 carousel-caption justify-content-start align-items-end flex-column mt-10 visible">
<div id="container" class="row justify-content-center">
<div class="col-12 containerTitleHome">
{% if promo.title %}op
<h2 class="visible mbr-section-title mbr-fonts-style mbr-white display-1">
{{ promo.title }}
</h2>
{% endif %}
{% if promo.subtitle %}
<h3 class="visible mbr-section-subtitle mbr-fonts-style mb-3 mbr-white display-2">
{{ promo.subtitle }}
</h3>
{% endif %}
</div>
</div>
<div id="bigtitle"
class="d-flex flex-column justify-content-end">
<h1 class="noFadeInUp">La plus haute station thermale</h1>
<h2 class="noFadeInUp">de France</h2>
<div class="mirror"></div>
</div>
</div>
<div class="divButonReserve">
<a href="{{ path('front_cures') }}" class="d-flex justify-content-center">
<button class="butonReserve">je réserve</button>
</a>
</div>
<div class="vagueBlanche"></div>
<div class="blocblanc"></div>
<div id="pagedown" class="d-flex align-items-center justify-content-center">
<a class="noFadeInUp" href="#footCoordones"
aria-label="bouton pour descendre en bas de page">
<div class="imgNavbot"></div>
</a>
</div>
</div>
</div>
{% endfor %}
</div>
{% if tabPromoZone|length > 1 %}
<a class="carousel-control carousel-control-prev" role="button" data-slide="prev"
data-bs-slide="prev"
href="#sYIUsJIk6l-{{ iDtabPromoZone }}">
<span class="mbri-left" aria-hidden="true"></span>
<span class="sr-only visually-hidden">Previous</span>
</a>
<a class="carousel-control carousel-control-next" role="button" data-slide="next"
data-bs-slide="next"
href="#sYIUsJIk6l-{{ iDtabPromoZone }}">
<span class="mbri-right" aria-hidden="true"></span>
<span class="sr-only visually-hidden">Next</span>
</a>
{% endif %}
</div>
</div>
</section>
{% else %}
<section data-bs-version="5.1" class="pt-0 pb-5 slider2 mbr-fullscreen d-flex flex-column"
id="slider2-44-{{ iDtabPromoZone }}">
<div class="degraderBlanc"></div>
<div class="d-flex justify-content-center flex-column align-items-center bloctextUpslide">
<h3>Bienvenue aux</h3>
<h2>Thermes de Barèges</h2>
<p class="w-40">Soignez le corps et l'esprit grâce aux bienfaits des sources thermales dans un cadre hors du
commun </p>
</div>
<div class=" container-fluid ">
<div id="containerPromo2" class="w-100">
<div class="d-flex justify-content-center align-items-center flex-column">
<div class="carousel slide w-100 " id="sYJPeuhotV-{{ iDtabPromoZone }}"
data-ride="carousel"
data-bs-ride="carousel"
data-interval="8000"
data-bs-interval="8000"
>
<div class="carousel-inner w-100 containerPromo2">
{% set idCarou = 0 %}
{% for promo in tabPromoZone %}
{% set idCarou = idCarou + 1 %}
{% set mediaTmp = promo.image %}
{% set mediaTmp = webp(webpSupported, promo.image) %}
<div class="midtest h-100 carousel-item slider{% if promo.image %}-image{% endif %} item {% if loop.first %}active{% endif %} align-items-center justify-content-center">
{% if promo.title or promo.subtitle %}
{% if promo.image %}
<div class="item-wrapper blocAutoImg"
style="background-image: {{ asset('/medias_front/autopromo/' ~ mediaTmp) }} ">
{% if promo.url %}
<a href="{{ promo.url }}" aria-label="Zone auto promo">
{% else %}
<a href="{{ asset('/medias_front/autopromo/' ~ mediaTmp) | imagine_filter('front_autopromo2') }}"
data-fancybox aria-label="Zone auto promo">
{% endif %}
<div id="imgpromo2" class="d-block lazyload"
style="background-image: url({{ asset('/medias_front/autopromo/' ~ mediaTmp) | imagine_filter('front_autopromo2') }})">
</div>
</a>
{# <div class="carousel-caption d-none d-md-block">
<p class="mbr-section-text mbr-fonts-style display-7">
Click on the image to edit slides.
</p>
</div> #}
</div>
{% endif %}
<div class="containerTitles d-flex flex-column mx-4">
{# <div class="aLaUne d-none d-lg-block"></div> #}
{% endif %}
<div class="tetepromo2 d-flex justify-content-around align-items-center pt-2 flex-wrap">
<ol class="carousel-indicators" id="slide">
{% for promo in tabPromoZone %}
<div data-slide-to="{{ loop.index0 }}"
data-bs-slide-to="{{ loop.index0 }}" id="test" class="puce ">
<li data-slide-to="{{ loop.index0 }}"
data-bs-slide-to="{{ loop.index0 }}"
{% if loop.first %}class="active"{% endif %}
data-target="#sYJPeuhotV-{{ iDtabPromoZone }}"
data-bs-target="#sYJPeuhotV-{{ iDtabPromoZone }}">
</li>
</div>
{% endfor %}
</ol>
</div>
<div class="tiltepromo2 d-flex justify-content-start flex-column m-1">
{% if promo.url %}
<a href="{{ promo.url }}">
{% if promo.title %}
<h5 class="mbr-section-title mt-4 mt-lg-4 mbr-fonts-style mbr-white display-5">
{{ promo.title }}
</h5>
{% endif %}
{% if promo.subtitle %}
<h6 class="mbr-section-subtitle mbr-fonts-style mbr-white display-6">
{{ promo.subtitle }}
</h6>
{% endif %}
</a>
{% else %}
{% if promo.title %}
<h5 class="mbr-section-title mt-4 mt-lg-4 mbr-fonts-style mbr-white display-5">
{{ promo.title }}
</h5>
{% endif %}
{% if promo.subtitle %}
<h6 class="mbr-section-subtitle mbr-fonts-style mbr-white display-6">
{{ promo.subtitle }}
</h6>
{% endif %}
{% endif %}
</div>
{% if promo.url %}
<a class="btnPromo mb-0 promoplus" href="{{ promo.url }}"
aria-label="bouton en s'avoir plus">
<img class="noFadeInUp lepetitPlus"
src="{{ websiteroot }}{{ asset('/medias_front/+.svg') }}"
alt="+">
</a>
{% endif %}
<div class="lesFlechesCarousel">
{% set maxPromo = 0 %}
{% for promo in tabPromoZone %}
{% set maxPromo = maxPromo + 1 %}
{% endfor %}
{% if maxPromo > 1 %}
<a class="carouselflecheprecedente carouselfleche carousel-control"
role="button" data-slide="prev"
data-bs-slide="prev"
href="#sYJPeuhotV-{{ iDtabPromoZone }}" aria-label="fleche precedente">
<span class="flecheprecedente" aria-hidden="true"></span>
<span class="sr-only visually-hidden">Previous</span>
</a>
{% endif %}
<div class="carouselChiffre">
<p><strong>{{ idCarou }}</strong> / <strong>{{ maxPromo }}</strong></p>
</div>
{% if maxPromo > 1 %}
<a class="carouselflechesuivante carouselfleche carousel-control"
role="button" data-slide="next"
data-bs-slide="next"
href="#sYJPeuhotV-{{ iDtabPromoZone }}" aria-label="fleche suivante">
<span class="flechesuivante" aria-hidden="true"></span>
<span class="sr-only visually-hidden">Next</span>
</a>
{% endif %}
</div>
{# <div id="complet" #}
{# class=" containerTitles d-flex justify-content-center align-items-center flex-column mx-4"> #}
{# {% if promo.subtitle %} #}
{# <h6 class="mx-2 mbr-section-subtitle mb-2 mb-lg-2 mbr-fonts-style mbr-white display-6"> #}
{# {{ promo.subtitle }} #}
{# </h6> #}
{# {% endif %} #}
{# <div id="txt" #}
{# class="mx-5 align-items-center mt-auto {% if promo.url == null %}pb-45 pb-51{% endif %}"> #}
{# <p>Finis les #}
{# rectangles bleus #}
{# qui #}
{# écorchent #}
{# le paysage. Entrez en #}
{# pente #}
{# douce #}
{# dans la piscine lagon NaturaSwim. Laissez libre champ à votre #}
{# imagination...</p> #}
{# <p class="mb-5">Les possibilités #}
{# sont infinies : formes, dimensions, profondeur de #}
{# bain, #}
{# rochers, cascades, arbres, végétaux sont agencés pour vous offrir un #}
{# spectacle sublime et apaisant, en parfaite harmonie avec votre #}
{# environnement.</p> #}
{# </div> #}
{# </div> #}
{% if promo.title or promo.subtitle %}
</div>
{% endif %}
</div>
{% endfor %}
</div>
{# <a class="carousel-control carousel-control-prev" role="button" data-slide="prev"
data-bs-slide="prev" href="#sYJPeuhotV-{{ iDtabPromoZone }}">
<span class="mobi-mbri mobi-mbri-arrow-prev" aria-hidden="true"></span>
<span class="sr-only visually-hidden">Previous</span>
</a>
<a class="carousel-control carousel-control-next" role="button" data-slide="next"
data-bs-slide="next" href="#sYJPeuhotV-{{ iDtabPromoZone }}">
<span class="mobi-mbri mobi-mbri-arrow-next" aria-hidden="true"></span>
<span class="sr-only visually-hidden">Next</span>
</a> #}
</div>
</div>
</div>
{% endif %}
</div>
</section>