<div class="row">
<div class="col-lg-12 ">
<div class="card border-light mb-4 animate-up-5 bg-light">
<div class="row no-gutters align-items-center">
<div class="col-12 col-lg-6 col-xl-5">
{%if bfedition.festival.description.image1 != null%}
<img src="{{ vich_uploader_asset(bfedition.festival.description, 'image1File') }}" alt="image" class="card-img-top space-image-lg">
{%else%}
<img src="{{ asset('assets/img/cards-3662554_1920.jpg') }}" alt="image" class="card-img p-2 rounded-xl">
{%endif%}
<div class=" position-absolute listing-badge">
{%if bfedition.haschallengeeditionsactive==true %}
{% for bfchallengeedition in bfedition.challengeeditionsactive %}
<span class="badge badge-primary" style="background-color:{{bfchallengeedition.description.labelcolor}}">
<span class="font-weight-normal font-xs">{{bfchallengeedition.description.labeltext}}</span>
</span>
{%endfor%}
{%endif%}
</div>
</div>
<div class="col-12 col-lg-6 col-xl-7">
<div class="card-body px-3 py-2">
<h4 class="font-weight-normal mb-0">{{bfedition.festival.name}} - {{bfedition.name}}</h4>
<div class="post-meta">
<span class="small lh-120"><i class="far fa-calendar-alt mr-2"></i>{{bfedition.startdate|date("d/m/y")}} - {{bfedition.enddate|date("d/m/y")}}</span>
</div>
<div class="post-meta">
<span class="small lh-120"><i class="fas fa-map-marker-alt mr-2"></i>{{bfedition.location}}</span>
</div>
{%if bfedition.description.awards != null%}
<div class="post-meta">
<span class="small lh-120"><i class="fas fa-award mr-2"></i>{{bfedition.description.awards}} € </span>
</div>
{%endif%}
{%if bfedition.description.website != null and is_granted('option_website', bfedition)%}
<div class="post-meta">
<span class="small lh-120">
<a href="{{bfedition.description.website}}" target="_blank" class="font-weight-bold primary mb-0 mr-0">
<i class="fas fa-globe mr-2"></i>{{bfedition.description.website}}
</a>
</span>
</div>
{%endif%}
<div class="d-flex justify-content-between">
{%if bfedition.countdays != null%}
<div class="col pl-0">
<span class="text-muted font-small d-block mb-2">
{%if bfedition.countdays>1%}
Jours
{%else%}
Jour
{%endif%}
</span>
<span class="h5 text-dark font-weight-bold">{{bfedition.countdays}}</span>
</div>
{%endif%}
{%if bfedition.counttournois != null%}
<div class="col">
<span class="text-muted font-small d-block mb-2">Compétitions</span>
<span class="h5 text-dark font-weight-bold">{{bfedition.counttournois}}</span>
</div>
{%endif%}
{%if bfedition.description.participantnumber!= null%}
<div class="col pr-0">
<span class="text-muted font-small d-block mb-2">Participants</span>
<span class="h5 text-dark font-weight-bold">{{bfedition.description.participantnumber}}</span>
</div>
{%endif%}
</div>
</div>
</div>
</div>
</div>
</div>
</div>