{% set class_title = "" %}
{% set text_classe = "" %}
{% set classe = bloc.classe|split(' ') %}
{% if classe|length >= 0 %}
{% set text_classe = classe[0] %}
{% endif %}
{% set video = "" %}
{% set pdf = "" %}
{% set videoType = constant('App\\Entity\\Medias\\Media::TYPE_MEDIA_VIDEO_BNR') %}
{% set pdfType = constant('App\\Entity\\Medias\\Media::TYPE_MEDIA_PDF') %}
{% set media = bloc.medias | first %}
{% if medias[videoType] is defined %}
{% set video = medias[videoType][0] %}
{% endif %}
{% if medias[pdfType] is defined %}
{% set pdf = medias[pdfType][0] %}
{% endif %}
<div class="container reveal">
{% if bloc.istitrePrincipaleBloc != null %}
<span class="{{bloc.classeTitrePrincipaleBloc}}">
{{ bloc.titrePrincipaleBloc | raw }}
</span>
{% endif %}
<div class="{{ bloc.classe }}" data-class="{{ bloc.classe }}">
{# TYPE_TEXT #}
{% if bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_TEXTE') %}
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="description">
{{ bloc.description | raw }}
</div>
{# TYPE_IMAGE_TEXT #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_IMAGE_TEXTE') %}
{% set media = bloc.medias | first %}
{% if bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_RIGHT') %}
<div class="row ">
<div class="col-md-{{ bloc.colTxt }} align-self-center box-win visible-mobile orderBox1 order-lg-0 order-md-0 order-1">
<div class="text-bloc">
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="prg{{ loop.index }}">
{{ bloc.description | raw }}</div>
</div>
</div>
<div class="col-md-{{ bloc.colImage }} bloc-mobile orderBox2 order-lg-1 order-md-1 order-0">
<div class="img-mobile wp">
{% if bloc.isShowTitle != null and bloc.isBtn != null %}
<div class="titre-accordien-1">{{ bloc.title | raw }}
</div>
{% endif %}
{% if media %}
<img class="img-fluid" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
{% endif %}
</div>
</div>
</div>
{% if bloc.isBtn != null %}
<button class="btn-mobile-wp accordien{{ loop.index }}" id="lire-plus">{{ 'front.actions.read_more'|trans({}, 'front') }}</button>
{% endif %}
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_LEFT') %}
<div class="row">
<div class="col-md-{{ bloc.colImage }} align-self-start">
<div class="img-mobile wp">
{% if bloc.isShowTitle != null and bloc.isBtn != null %}
<div class="titre-accordien-1">{{ bloc.title | raw }}</div>
{% endif %}
{% if media %}
<img class="img-fluid" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
{% endif %}
</div>
</div>
<div class="col-md-{{ bloc.colTxt }} box-down{{ bloc.classe }} visible-mobile">
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="prg{{ loop.index }}">
{{ bloc.description | raw }}</div>
</div>
</div>
{% if bloc.isBtn != null %}
<button class="btn-mobile-wp accordien{{ loop.index }}" id="lire-plus">{{ 'front.actions.read_more'|trans({}, 'front') }}</button>
{% endif %}
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_BOTTOM') %}
<div class="row align-items-center">
<div class="col-md-12 order-lg-0 order-1 mb-4">
{{ bloc.title | raw }}
<p class="text-center">
{{ bloc.description | raw }}</p>
</div>
<div class="col-md-{{ bloc.colImage }} order-lg-1 order-0">
{% if media %}<img src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}" id="imgTest" class="rounded mx-auto d-block img-fluid img-inscription order-lg-1 order-0">{% endif %}
</div>
</div>
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_TOP') %}
{% if 'techno_div' in bloc.classe %}
<div class="row">
<div class="col-md-12 text-center">
{{ bloc.title | raw }}
</div>
<div class="col-md-{{ bloc.colImage }}
{% if bloc.positionImage != constant('App\\Entity\\medias\\Media::POSITION_RIGHT') and
bloc.positionImage != constant('App\\Entity\\medias\\Media::POSITION_LEFT')
%}
text-center
{% endif %}
">
<div class="block-text-img">
{% if media %}
<img src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}" id="imgTest" class="img-fluid">
{% endif %}
<div class="row justify-content-center">
<div class="col-md-{{ bloc.colTxt }} ">
{{ bloc.description | raw }}
</div>
</div>
</div>
</div>
</div>
{% else %}
<div class="row mb-5 align-items-center text-img-opt ">
<div class="d-lg-block d-md-none d-none">
{{ bloc.title | raw }}
</div>
<div class="col-md-{{ bloc.colImage }} order-lg-0 order-1 ">
{% if media %}
<img src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}" id="imgTest" class="rounded mx-auto d-block img-fluid img-inscription order-lg-1 order-0">
{% endif %}
<div class="d-lg-none d-md-block d-block">
{{ bloc.title | raw }}
</div>
<div class="parg-inscription">
{{ bloc.description | raw }}
</div>
</div>
</div>
{% endif %}
{% endif %}
{# TYPE_SLIDER #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_SLIDER') %}
{% set media = bloc.medias | first %}
<div class="row align-items-center">
<div class="col-lg-5 col-md-12 col-12 order-lg-0 order-1 text-animation">
<div>
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<p class="text-md-left text-xl-left ">{{ bloc.description | raw }}</p>
</div>
{% if pdf != '' %}
<div class="col text-center">
<a {#href="{{ asset(uploads_directory ~ pdf.path ~ '/' ~ pdf.file) }}"#} class="btn btn-play-vd-slider click_popin">
<img src="{{ asset('images/pdf_icone.svg') }}" class="icone-vd"/><span class="text-btn-vd"> {{ 'front.bloc.discover_our'|trans({}, 'front') }}
<strong>{{ 'front.bloc.packages'|trans({}, 'front') | upper }}</strong>
</span>
</a>
</div>
{% endif %}
{% if page.isDemo != null %}
<div class="col text-center">
<a class="btn btn-play-vd-slider " href="#sectionContact">
<img src="{{ asset('images/WFO/bt-video.svg') }}" class="icone-vd"/><span class="text-btn-vd">{{ 'front.bloc.demand'|trans({}, 'front') }}
<strong>{{ 'front.bloc.demo'|trans({}, 'front') }}</strong>
</span>
</a>
</div>
{% endif %}
</div>
<div class="col-lg-6 col-md-12 col-12 offset-lg-1 order-lg-1 order-0 img-animation">
{% if media %}<div class="separator-{{ bloc.classe }}" style="background-image: url({{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}) ; background-size: cover; background-position: center; background-repeat: no-repeat;"></div>{% endif %}
</div>
</div>
{# TYPE_IMAGE #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_IMAGE') %}
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
{% if bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_RIGHT') %}
<div class="images_front">
<div class="row mb-5">
{% for media in bloc.medias %}
<div class="col-md-6"></div>
<div class="col-md-6">
<p class="text-center">
<img class="img-fluid" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
</p>
</div>
{% endfor %}
</div>
</div>
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_LEFT') %}
<div class="images_front">
<div class="row mb-5">
{% for media in bloc.medias %}
<div class="col-md-6">
<p class="text-center">
<img class="img-fluid" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
</p>
</div>
<div class="col-md-6"></div>
{% endfor %}
</div>
</div>
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_CENTER') %}
<div class="images_front">
<div class="row mb-5">
{% for media in bloc.medias %}
<div class="col-md-12">
<p class="text-center">
<img class="img-fluid {% if bloc.classe %} {{ bloc.classe }} {% endif %}" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
</p>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{# TYPE_Carrousel #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_CARROUSEL') %}
{% if bloc.isFixTitle != true %}
<div class="section-experience">
<div class="row align-items-center justify-content-center mb-5 mt-5">
<div class="col-md-6">
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
</div>
</div>
<div class="section-experience-content">
<div class="row align-items-center">
<div class="container-solution">
<div class="content row align-items-center">
<div class="row align-items-center">
<div class="carrousel-experience">
<div class="owl-carousel owl-theme">
{% for carrousel in bloc.carrousel %}
<div class="item text-center">
<div class="row align-items-center">
<div class="col-lg-5 col-md-12 col-12 text-center">
<div class="img-box" style="background:url('{{ asset(uploads_directory ~ carrousel.media_carrouselCarrousel_path ~ '/' ~ carrousel.media_carrouselCarrousel_file) }}'); background-size: cover; background-position: center; background-repeat: no-repeat;">
<span class="d-lg-block d-md-none d-none">{#0{{ loop.index }}<sup>/ 03</sup>#}
</span>
<h5 class="d-lg-none d-md-block d-block">{{carrousel.carrousel_carrousel_title_mobile}}</h5>
</div>
</div>
<div class="col-lg-6 col-md-12 col-12 bloc-margin-top offset-lg-1">
{{ carrousel.carrousel_carrousel_description|raw }}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% else %}
{% include "front/bloc/isHeader.html.twig" %}
{% endif %}
{# TYPE_CLIENT #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_CLIENT_BLOC') %}
<h1 class="text-center">{{bloc.title | raw }}</h1>
<div class="row mb-5 justify-content-center">
<div class="col-md-10">
<div class="carrousel-box-wp">
<div class="row owl-carousel owl-theme box" id="car">
{% for key, client in bloc.clients|sort((a, b) => a.priority <=> b.priority) %}
{% if client.isEnable == true %}
<div class="item col-lg-5">
<div class="card">
<h6>{{client.title_title_top | raw}}</h6>
<img src="{{ asset(uploads_directory ~ client.media_path ~ '/' ~ client.media_file) }}" alt="" class="card-img-top img-fluid">
<div class="card-body">
<h5 class="card-title">{{client.title_Client | raw}}</h5>
{{client.description_Client | raw}}
</div>
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
{# TYPE_MOBILE_BLOC #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_MOBILE_BLOC') %}
<h1 class="text-center">{{bloc.title | raw }}</h1>
<div class="row">
<p class="text-md-left text-xl-left ">{{ bloc.description | raw }}</p>
</div>
{# TYPE_SOLUTION #}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_SOLUTION_BLOC') %}
{{bloc.title | raw }}
<div class="container-solution">
<div class="carrousel-notre-solution">
<div class="owl-carousel owl-theme">
{% for solution in bloc.solution %}
<div class="item text-center">
<div class="img-solution">
<img src="{{ asset(uploads_directory ~ solution.media_solution_path ~ '/' ~ solution.media_solution_file) }}" alt="{{ solution.media_solution_title }}" class=" img-fluid">
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_VIDEO') %}
{% set video , bgVideo = "", "" %}
{% if medias and medias['video'] is defined %}
{% set video = medias['video'][0] %}
{% endif %}
{% if medias and medias['bg_video'] is defined %}
{% set bgVideo = medias['bg_video'][0] %}
{% endif %}
{% for blo in bloc.medias %}
{% if blo.media_bloc_type == constant('App\\Entity\\Medias\\Media::TYPE_MEDIA_VIDEO') %}
{% set video = blo %}
{% elseif blo.media_bloc_type == constant('App\\Entity\\Medias\\Media::TYPE_MEDIA_BG_VIDEO') %}
{% set bgVideo = blo %}
{% endif %}
{% endfor %}
{% set media = bloc.medias | first %}
{% if bloc.positionVideo == constant('App\\Entity\\medias\\Media::POSITION_RIGHT') %}
<div class="row align-items-center">
<div class="col-md-5 offset-lg-1">
<div class="text-win-win">
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
{% if bloc.description != null %}
{{ bloc.description | raw }}
{% endif %}
</div>
</div>
<div class="col-md-6">
{% if video %}
<div class="video-container video-parent-class">
<video class="video video-img video-bloc-right back-video" controls
{% if bgVideo %} poster="{{ asset(uploads_directory ~ bgVideo.media_bloc_path ~ '/' ~ bgVideo.media_bloc_file ) }}" {% endif %}
>
<source src="{{ asset(uploads_directory ~ video.media_bloc_path ~ '/' ~ video.media_bloc_file ) }}" type="video/mp4">
</video>
<button class="btn video-play play-pause-btn" ></button>
</div>
{% endif %}
</div>
</div>
{% elseif bloc.positionVideo == constant('App\\Entity\\medias\\Media::POSITION_CENTER') %}
<div class="row">
<div class="col-md-12">
{{ bloc.title | raw }}
</div>
</div>
<div class="row">
{% set video , bgVideo = "", "" %}
{% if medias and medias['video'] is defined %}
{% set video = medias['video'][0] %}
{% endif %}
{% if medias and medias['bg_video'] is defined %}
{% set bgVideo = medias['bg_video'][0] %}
{% endif %}
{% for blo in bloc.medias %}
{% if blo.media_bloc_type == constant('App\\Entity\\Medias\\Media::TYPE_MEDIA_VIDEO') %}
{% set video = blo %}
{% elseif blo.media_bloc_type == constant('App\\Entity\\Medias\\Media::TYPE_MEDIA_BG_VIDEO') %}
{% set bgVideo = blo %}
{% endif %}
{% endfor %}
<div class="col-md-12">
<div class="mobile-imgs">
{% if video %}
<div class="video-container col-md-6">
<video class="video video-bloc-right video-img back-video " controls
{% if bgVideo %} poster="{{ asset(uploads_directory ~ bgVideo.media_bloc_path ~ '/' ~ bgVideo.media_bloc_file ) }}" {% endif %}
>
<source src="{{ asset(uploads_directory ~ video.media_bloc_path ~ '/' ~ video.media_bloc_file ) }}" type="video/mp4">
</video>
<button class="btn video-play play-pause-btn" ></button>
</div>
{% endif %}
</div>
</div>
</div>
{% endif %}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_LABEL_BLOC') %}
{% if bloc.info_generic.classe == "bloc-3" %}
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="row">
{% for lab in bloc.label %}
<div class="col-md-{{lab.colBlocLabelSlide}}">
<img src="{{ asset('uploads/' ~ lab.media_label_slider_path ~ '/' ~ lab.media_label_slider_file) }}" alt="{{lab.media_label_slider_path}}" class="mx-auto d-block img-fluid">
<div class="box-content">
{% if lab.show_name != null %}
<h4>{{ lab.label_slider_name }}</h4>
{% endif %}
{{ lab.label_slider_description | raw }}
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% if bloc.info_generic.classe == "section-functions" %}
<div class="title">
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
</div>
<div class="content-functions">
<div class="row">
{% for lab in bloc.label %}
<div class="col-lg-{{lab.colBlocLabelSlide}} col-md-6 col-12 text-center">
<div class="icone-function">
<img src="{{ asset('uploads/' ~ lab.media_label_slider_path ~ '/' ~ lab.media_label_slider_file) }}" alt="{{lab.media_label_slider_path}}" class="img-fluid">
</div>
<div class="content-function">
{% if lab.show_name != null %}
<h3>{{ lab.label_slider_name }}</h3>
{% endif %}
{{ lab.label_slider_description | raw }}
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% if bloc.info_generic.classe == "bloc-2" %}
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="row">
{% for lab in bloc.label %}
<div class="col-lg-{{lab.colBlocLabelSlide}}">
<img src="{{ asset('uploads/' ~ lab.media_label_slider_path ~ '/' ~ lab.media_label_slider_file) }}" alt="{{lab.media_label_slider_path}}" class="mx-auto d-block img-fluid">
{% if lab.show_name != null %}
<h4>{{ lab.label_slider_name }}</h4>
{% endif %}
<div class="box-content">
{{ lab.label_slider_description | raw }}
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% if bloc.info_generic.classe == "bloc-3-carrousel" %}
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="row">
<div class="col-md-12">
<div class="carrousel-box">
<div class="owl-carousel owl-theme box " id="car">
{% for lab in bloc.label %}
<div class="item text-center">
<img src="{{ asset('uploads/' ~ lab.media_label_slider_path ~ '/' ~ lab.media_label_slider_file) }}" alt="{{lab.media_label_slider_path}}" class="img-fluid img-box">
<div class="box-content">
{% if lab.show_name != null %}
<h4>{{ lab.label_slider_name }}</h4>
{% endif %}
{{ lab.label_slider_description | raw }}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
{% endif %}
{% if bloc.info_generic.classe == "section-avantage-content" %}
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
<div class="{{bloc.info_generic.classe}}">
<div class="row justify-content-center">
<div class="col-lg-10">
<div class="row align-items-start">
{% for lab in bloc.label %}
<div class="col-md-{{lab.colBlocLabelSlide}}">
<div class="avantage-box">
<img src="{{ asset('uploads/' ~ lab.media_label_slider_path ~ '/' ~ lab.media_label_slider_file) }}" alt="{{lab.media_label_slider_path}}" class="img-fluid">
<div class="text-box-avantage">
{% if lab.show_name != null %}
<h3>{{ lab.label_slider_name }}</h3>
{% endif %}
{{ lab.label_slider_description | raw }}
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
{% endif %}
{% if bloc.info_generic.classe == "block-team-dirig" %}
{% if bloc.isShowTitle != null %}
<div class="col-md-12">
{{ bloc.title | raw }}
</div>
{% endif %}
<div class="col-md-12">
{% for lab in bloc.label %}
<div class="row team-dirig">
<div class="col-md-3 team-title-photo text-center">
<div class="img-team-2" style="background-image: url({{ asset('uploads/' ~ lab.media_label_slider_path ~ '/' ~ lab.media_label_slider_file) }}) !important"></div>
<p class="name">{{ lab.label_slider_name }}</p>
<p class="title">{{ lab.label_slider_second_name }}</p>
<a href="{{ lab.link }}" target="_blank">
<img src="{{ asset('img/linkedin.svg') }}" alt="">
</a>
</div>
<div class="col-md-{{lab.colBlocLabelSlide}} team-description">
{{ lab.label_slider_description | raw }}
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_BENEFICE_BLOC') %}
{% if bloc.isShowTitle != null or bloc.description != null %}
<div class="row justify-content-center align-items-center mb-5">
<div class="col-md-12">
{% if bloc.isShowTitle != null %}
{{ bloc.title | raw }}
{% endif %}
{% if bloc.description != null %}
{{ bloc.description | raw }}
{% endif %}
</div>
</div>
{% endif %}
<div class="row mt-5 mb-5 align-items-start">
{% for benefice in bloc.benefice %}
<div class="col-md-{{benefice.colBeneficeItems}}">
<div class="{{benefice.classe_benefice_items}} text-center">
<img src="{{ asset('uploads/' ~ benefice.media_benefice_items_path ~ '/' ~ benefice.media_benefice_items_file) }}" alt="{{benefice.media_benefice_items_title}}" class="img-fluid">
<div class="card-body text-left">
{{ benefice.benefice_items_description | raw }}
</div>
{% if benefice.benefice_items_link != null %}
<a class="btn card-all-agence" style="text-align: center !important;" href="{{benefice.benefice_items_link}}">{{ 'front.actions.learn_more'|trans({}, 'front') | upper }}</a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
{% elseif bloc.type == constant('App\\Entity\\Blocs\\Bloc::TYPE_IMAGE_CARD_BLOC') %}
{% set media = bloc.medias | first %}
{% if bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_RIGHT') %}
<div class="row ">
<div class="col-md-{{ bloc.colCard }} align-self-center box-win visible-mobile">
{% for benefice in bloc.image_card %}
<div class="col-md-{{benefice.colBeneficeItems}}">
<div class="{{benefice.classe_benefice_items}} content_card text-center">
<img src="{{ asset('uploads/' ~ benefice.media_benefice_items_path ~ '/' ~ benefice.media_benefice_items_file) }}" alt="{{benefice.media_benefice_items_title}}" class="img-fluid">
<div class="card-body text-left">
{{ benefice.benefice_items_description | raw }}
</div>
{% if benefice.benefice_items_link != null %}
<a class="btn card-all-agence" style="text-align: center !important;" href="{{benefice.benefice_items_link}}">{{ 'front.actions.learn_more'|trans({}, 'front') | upper }}</a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
<div class="col-md-{{ bloc.colImage }} align-self-center bloc-mobile orderBox2">
<div class="img-mobile wp">
{% if bloc.isShowTitle != null and bloc.isBtn != null %}
<div class="titre-accordien-1">{{ bloc.title | raw }}
</div>
{% endif %}
{% if media %}
<img class="img-fluid" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
{% endif %}
</div>
</div>
</div>
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_LEFT') %}
<div class="row">
<div class="col-md-{{ bloc.colImage }} align-self-center">
<div class="img-mobile wp">
{% if bloc.isShowTitle != null and bloc.isBtn != null %}
<div class="titre-accordien-1">{{ bloc.title | raw }}</div>
{% endif %}
{% if media %}
<img class="img-fluid" src="{{ asset(uploads_directory ~ media.media_bloc_path ~ '/' ~ media.media_bloc_file) }}" alt="{{ media.media_bloc_title }}">
{% endif %}
</div>
</div>
<div class="col-md-{{ bloc.colCard }} align-self-center box-down{{ bloc.classe }} visible-mobile">
{% for benefice in bloc.image_card %}
<div class="col-md-{{benefice.colBeneficeItems}}">
<div class="{{benefice.classe_benefice_items}} content_card text-center">
<img src="{{ asset('uploads/' ~ benefice.media_benefice_items_path ~ '/' ~ benefice.media_benefice_items_file) }}" alt="{{benefice.media_benefice_items_title}}" class="img-fluid">
<div class="card-body text-left">
{{ benefice.benefice_items_description | raw }}
</div>
{% if benefice.benefice_items_link != null %}
<a class="btn card-all-agence" style="text-align: center !important;" href="{{benefice.benefice_items_link}}">{{ 'front.actions.learn_more'|trans({}, 'front') | upper }}</a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
{% endif %}
{% endif %}
</div>
</div>
{% include "front/layouts/modal-pack.html.twig" %}