{% set title = item.title %}
{% set desc = item.description %}
{% set menu = 'formations' %}
{% if item.banner %}
{% set thumbnail = item.banner.thumbnail %}
{% set banner = asset(item.banner.file) %}
{% endif %}
{% extends 'Default/base.html.twig' %}
{% import "Default/macros.html.twig" as macros %}
{% block titlebox %}
<div class='relative white w100 {{desktop("vt-40-in")}} {{mobile("")}}'>
{% block title %}
<h1 class='h3 upper lh-1 text-center'>{{title is defined ? title}}</h1>
{% endblock title %}
</div>
{% endblock titlebox %}
{% block content %}
<div class='{{desktop("gpadding vt-40-in")}} {{mobile("gpadding vt-30-in")}} '>
<div class='{{desktop("gpadding flex col center top")}} {{mobile("")}}'>
<div id='article' class='w100 {{desktop("")}} {{mobile("vt-20-in")}}'>
<figure class="w100 {{desktop('')}}">
<img src="{{asset(item.banner ? item.banner : os_param('banner'))}}" class="block w100"/>
</figure>
<article class='p article black {{desktop("top-30")}}'>
{{ item.content|raw }}
</article>
</div>
</div>
</div>
{% endblock %}