<div class="container reveal">
<div
class=" is_header row align-items-center slider-agence-section {{ bloc.classe }}" data-class="{{ bloc.classe }}">
{% set media = bloc.medias | first %}
{% if bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_RIGHT') %}
<div class="row ">
<div class="col-md-5 align-self-center box-win visible-mobile orderBox1 order-lg-0 order-1 "> {#{{ bloc.colTxt }}#}
<div class="text-bloc">
{% if bloc.isShowTitle %}
{{ bloc.title | raw }}
{% endif %}
<div class="prg{{ loop.index }}">
{{ bloc.description | raw }}</div>
</div>
</div>
<div class="col-md-7 align-self-center bloc-mobile orderBox2 order-lg-1 order-0 "> {#{{ bloc.colImage }}#}
<div class="img-mobile wp">
<div class="section-experience-content is_header_content">
<div class="container-solution">
<div class="content">
<div class="carrousel-experience">
<div class="{% if bloc.carrousel |length > 1 %}owl-carousel owl-theme{% endif %}">
{% for carrousel in bloc.carrousel %}
{% if carrousel.media_carrouselCarrousel_path %}
<div class="item text-center">
<div class="row align-items-center">
<div class="col-lg-12 col-md-12 col-12 text-center">
{# {{ dump(carrousel) }} #}
<div class="img-box"
{% if carrousel.media_carrouselCarrousel_extension != "mp4" %}
style="background:url('{{ asset(uploads_directory ~ carrousel.media_carrouselCarrousel_path ~ '/' ~ carrousel.media_carrouselCarrousel_file) }}'); background-size: cover; background-position: center; background-repeat: no-repeat;"
{% endif %}
>
{% if carrousel.media_carrouselCarrousel_extension == "mp4" %}
<video class="video video-bloc-right" controls>
<source style="background-position: center; background-repeat: no-repeat;" src="{{asset(uploads_directory ~ carrousel.media_carrouselCarrousel_path ~ '/' ~ carrousel.media_carrouselCarrousel_file ) }}" type="video/mp4">
</video>
{% endif %}
{# <span class="d-lg-block d-md-none d-none">{{ transformInteger(loop.index) }}<sup>/ {{ transformInteger(bloc.carrousel|length) }}</sup>
</span>
<h5 class="d-lg-none d-md-block d-block">{{carrousel.carrousel_carrousel_title_mobile}}</h5> #}
{% if carrousel.carrousel_carrousel_description %}
{{ carrousel.carrousel_carrousel_description|raw }}
{% endif %}
</div>
</div>
{# <div class="col-lg-12 col-md-12 col-12 bloc-margin-top">
{{ carrousel.carrousel_carrousel_description|raw }}
</div> #}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{% elseif bloc.positionImage == constant('App\\Entity\\medias\\Media::POSITION_LEFT') %}
<div class="row ">
<div class="col-md-6 align-self-center bloc-mobile orderBox2"> {#{{ bloc.colImage }}#}
<div class="img-mobile wp">
<div class="section-experience-content is_header_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="{% if bloc.carrousel |length > 1 %}owl-carousel owl-theme{% endif %}">
{% for carrousel in bloc.carrousel %}
<div class="item text-center">
<div class="row align-items-center">
<div class="col-lg-12 col-md-12 col-12 text-center">
<div class="img-box"
{% if carrousel.media_carrouselCarrousel_extension != "mp4" %}
style="background:url('{{ asset(uploads_directory ~ carrousel.media_carrouselCarrousel_path ~ '/' ~ carrousel.media_carrouselCarrousel_file) }}'); background-size: cover; background-position: center; background-repeat: no-repeat;"
{% endif %}
>
{% if carrousel.media_carrouselCarrousel_extension == "mp4" %}
<video id="video" class="video video-bloc-right" controls>
<source style="background-size: cover; background-position: center; background-repeat: no-repeat;" src="{{ asset(uploads_directory ~ carrousel.media_carrouselCarrousel_path ~ '/' ~ carrousel.media_carrouselCarrousel_file ) }}" type="video/mp4">
</video>
{% endif %}
<span class="d-lg-block d-md-none d-none">{#{{ transformInteger(loop.index) }}<sup>/ {{ transformInteger(bloc.carrousel|length) }}#}</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>
</div>
<div class="col-md-6 align-self-center box-win visible-mobile orderBox1"> {#{{ bloc.colTxt }}#}
<div class="text-bloc">
{% if bloc.isShowTitle %}
{{ bloc.title | raw }}
{% endif %}
<div class="prg{{ loop.index }}">
{{ bloc.description | raw }}
</div>
</div>
</div>
</div>
{% endif %}
</div>
</div>