{% extends 'front.html.twig' %}
{% block title %}Multimédia | vidéo | CIMEF-INTERNATIONAL{% endblock %}
{% block styleSheets %}
<style id='wp-emoji-styles-inline-css' type='text/css'>
.video-wrapper {
margin-top: 50px;
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.video-wrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.search_archive_event{
border: 1px solid white !important;
}
.form-control{
width:95%;
height: auto;
padding:10px;
border-radius:1px !important;
font-family: arial;
margin: 10px;
border:1px solid #ccc;
}
.shadow{
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.10);
}
.row {
display: flex; /* flexbox pour aligner les colonnes */
flex-wrap: wrap; /* les colonnes passent à la ligne si nécessaire */
margin-right: -0.75rem; /* -gutter/2 */
margin-left: -0.75rem; /* -gutter/2 */
}
.events_pagination ul.pagination {
display: flex;
flex-wrap: wrap;
justify-content: center;
list-style: none;
margin: 0;
padding: 0;
}
.page-item.active .page-link {
background-color: #ff6600;
color: #fff;
}
.page-link {
margin: 10px;
color: #051a53;
background-color: #ededed;
border-radius: 5px;
padding: 10px;
/* margin: 0 3px; */
}
.text-lien{
color: #ff6600;
/* font-size: 16px; */
}
/* Small devices ≥576px */
@media (min-width: 576px) {
.col-3 { flex: 0 0 100%; max-width: 100%; }
.col-sm-4 { flex: 0 0 100%; max-width: 100%; }
.col-sm-6 { flex: 0 0 100%; max-width: 100%; }
.col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}
/* Medium devices ≥768px */
@media (min-width: 768px) {
.col-md-3 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
}
/* Large devices ≥992px */
@media (min-width: 992px) {
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}
.type1 .date-event {
transition: all 0.5s ease;
position: absolute;
bottom: 20px;
left: 30px;
z-index: 1;
font-size: 12px;
color: #fff;
font-weight: 700;
text-transform: uppercase;
text-align: center;
line-height: 1.3;
letter-spacing: 1px;
background-color: #ff6600 !important;
padding: 12px;
}
.icon_event{
color: #ff6600 !important;
}
.btn-rechercher{
margin-left: 10px !important;
}
.wrap_header_banner .overlay-slider {
position: absolute;
top: 0;
left: 0;
padding-top: 30px;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6392156863);
}
</style>
{% endblock %}
{% block body %}
{% include 'section/navbar.html.twig' %}
<div class="wrap_header_banner" style="height: 200px; background: url({{ asset('public/inter/wp-content/uploads/2023/06/header-banner.jpg')}});">
<div class="overlay-slider">
<div class="row_site">
<div class="container_site">
<div class="cover_color"></div>
<div class="header_banner_el">
<div class="header_breadcrumbs">
<div id="breadcrumbs">
<ul class="breadcrumb">
<li><a href="{{ path('front.inter.index') }}" style="color: #fff!important;" title="accueil">Accueil</a></li>
<li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
<li style="color: #fff!important;">Multimédia</li>
<li class="li_separator"><span class="separator"><i class="ovaicon-next" style="color: #fff!important;"></i></span></li>
<li style="color: #fff!important;">vidéos</li>
</ul>
</div>
</div>
<h1 class="header_title" style="color: #fff!important;">CIMEF-INTERNATIONAL EN VIDEO</h1>
</div>
</div>
</div>
</div>
</div>
{% for message in app.flashes('success') %}
<div class="row toast_success" style="top: 100px !important; float: right !important; position: absolute;">
<div class="col-md-2 col-sm-2" style="padding: 10px;">
<i class="fa fa-check fa-2x" aria-hidden="true"></i>
</div>
<div class="col-md-10 col-sm-10" style="padding: 10px;">
<label style="font-family: arial;">{{ message }}</label>
</div>
</div>
{% endfor %}
{% for message in app.flashes('danger') %}
<div class="row toast_danger" style="top: 100px !important; float: right !important; position: absolute;">
<div class="col-md-2 col-sm-2" style="padding: 10px;">
<i class="fa fa-check fa-2x" aria-hidden="true"></i>
</div>
<div class="col-md-10 col-sm-10" style="padding: 10px;">
<label style="font-family: arial;">{{ message }}</label>
</div>
</div>
{% endfor %}
<div class="container-event">
<div id="main-event" class="content-event">
<div class="row" style="">
{% if videos != null %}
{% for pag in videos %}
<div class="col-lg-4 col-md-4 col-sm-12" style="padding: 10px;">
<div class="type1 mb-2">
<div class="desc">
<div class="margin-top: -100px !important;">
<div class="video-wrapper no-click" style="">
{% if pag.lien != null %}
<iframe
style="border: 1px solid #ff6600 !important; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2),
0 6px 20px 0 rgba(0, 0, 0, 0.19);"
src="https://www.youtube.com/embed/{{ pag.lien }}?autoplay=1&mute=1&loop=1&playlist={{ pag.lien }}&controls=0&modestbranding=1&rel=0&showinfo=0&fs=0"
title="CIMEF International : Un partenaire de confiance pour vos besoins en formation"
frameborder="0"
allow="autoplay; encrypted-media; picture-in-picture"
referrerpolicy="strict-origin-when-cross-origin" allowfullscreen>
</iframe>
{% endif %}
</div>
</div>
</div>
<div style="height: 55px;text-align: center !important; background-color: #ff6600; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; ">
<label class="second_font event_title" style="font-weight: bold; color: #ededed; font-size: 14px !important;">
{% if pag.titre|striptags|length > 120 %}
{{ pag.titre|striptags|slice(0, 120) ~ '...' }}
{% else %}
{{ pag.titre|striptags }}
{% endif %}
</label>
</div>
</div>
</div>
{% endfor %}
{% else %}
<div style="width: 100% !important; text-align: center !importanat;">
<h1 style="font-family: arial;">Pas de vidéo disponible pour l'instant </h1>
</div>
{% endif %}
</div>
</div>
</div>
{% include 'section/footer.html.twig' %}
{% endblock %}