<section id="widget-{{widget.id}}" class="sec-parallax espace-p-bottom text-center" style="background-color:{{widget.bgcolor}}">
{% set parametre = ParametreSite() %}
{% set type_lien = widget.typelien %}
{% set lien_interne = widget.lieninterne %}
{% set lien_externe = widget.lienexterne %}
{% set telephone = widget.telephone %}
{% if type_lien != 1 %}
<a class="full-link" href="{% if type_lien == 2 %}{{slug_link_interne(lien_interne) }}{% elseif type_lien == 3 %}{{lien_externe }}{% elseif type_lien == 4 %}tel:{{telephone }}{% endif %}" {% if type_lien == 3 %}target="_blank"{% endif %} title="{{widget.buttonlabel}}"></a>
{% endif %}
{% if not is_mobile() and not is_tablet() %}
<img src="{{asset_image(widget.bgimage,'large')}}" data-speed="-1" class="img-parallax" alt="{{widget.subTitle}}">
{% endif %}
<div class="ctn-parallax">
<div class="container-fluid wrapper">
<div class="item-ctn-parallax">
{% if parametre.actiftitre == true %}
<div class="titre_site">{{parametre.titre}}</div>
{% endif %}
{% if widget.subTitle is not empty %}
<div class="sub-title wow fadeInUp" >{{widget.subTitle|raw}}</div>
{% endif %}
{% if widget.description is not empty %}
<div class="texte-content">{{widget.description|raw}}</div>
{% endif %}
{% if type_lien != 1 and widget.buttonlabel != '' %}
<a class="bouton-bloc btn-back-pulse" href="{% if type_lien == 2 %}{{slug_link_interne(lien_interne) }}{% elseif type_lien == 3 %}{{lien_externe }}{% elseif type_lien == 4 %}tel:{{telephone }}{% endif %}" {% if type_lien == 3 %}target="_blank"{% endif %} title="{{widget.buttonlabel}}">{{widget.buttonlabel}}</a>
{% endif %}
</div>
</div>
</div>
</section>