{% extends 'base.html.twig' %}
{% block stylesheets %}
<link href="{{ asset('front/plugins/colorbox/colorbox.css') }}" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="{{ asset('front/style/blog_style.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('front/style/blog_responsive.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('front/style/single_listing_style.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('front/style/single_listing_responsive.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('front/style/about_style.css') }}">
<link rel="stylesheet" type="text/css" href="{{ asset('front/style/about_responsive.css') }}">
{# <style>
.intro_price {
font-size: 20px;
font-weight: 600;
color: #FFFFFF;
margin-top: -4px;
}
.button a:hover {
background-color: #ff9100;
color: white;
}
.intro_item_background {
position: relative;
overflow: hidden;
margin: auto;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
z-index: 1;
}
.intro_item_background img {
max-width: 100%;
transition: all 0.3s;
display: block;
transform: scale(1);
}
.offer_name{
display: block;
font-size: 22px;
font-weight: 700;
background: #0093a9;
color: #FFFFFF;
width: 360px;
line-height: 35px;
padding-left: 12px;
height: 50px;
}
.intro_item_background:hover img {
transform: scale(1.1);
}
.container {
max-width: 1440px!important;
}
.main_nav_item a {
font-family: 'Open Sans', sans-serif;
font-size: 15px;
font-weight: 700;
color: #0093a9!important;
text-transform: uppercase;
padding-bottom: 10px;
padding-top: 10px;
}
.main_nav_item::after {
display: block;
position: absolute;
left: -1px;
bottom: -11px;
width: calc(100% + 2px);
height: 2px;
background: linear-gradient(to right, #b29b63, #0093a9)!important;
content: '';
opacity: 0;
-webkit-transition: all 200ms ease;
-moz-transition: all 200ms ease;
-ms-transition: all 200ms ease;
-o-transition: all 200ms ease;
transition: all 200ms ease;
}
</style> #}
<style>
.cta {
padding-top: 190px;
padding-bottom: 183px;
background: linear-gradient(to right, #b29b63, #0093a9);
}
.search_tab.active {
background: linear-gradient(to right, #b29b63, #0093a9);
color: #FFFFFF;
}
.search_tab:hover {
background: linear-gradient(to right, #0093a9, #b29b63);
color: #FFFFFF;
}
.content {
max-height: 3em; /* Limite initiale de hauteur en fonction du nombre de lignes */
overflow: hidden;
}
.expanded {
max-height: none; /* Agrandir la hauteur lorsque le paragraphe est étendu */
}
.read-more {
cursor: pointer;
color: blue;
}
.home_slider_background {
height: 170vh;
width: 100%;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}
.offers_price {
display: inline-block;
font-size: 29px;
font-weight: 700;
color: #ff9100;
line-height: 25px;
}
.offers_price a{
display: inline-block;
font-size: 22px;
font-weight: 700;
color: #0093a9;
line-height: 25px;
}
.offer_name{
display: block;
font-size: 22px;
font-weight: 700;
background: #0093a9;
color: #FFFFFF;
width: 310px;
line-height: 35px;
padding-left: 12px;
}
.offers_item {
border-radius: 12px;
overflow: hidden;
position: relative;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
transition: all 300ms;
}
.offers_item:hover {
transform: translateY(-2px);
box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
.offers_image_background {
position: relative;
margin: auto;
overflow: hidden;
}
.offers_image_background img {
max-width: 100%;
transition: all 0.3s;
display: block;
transform: scale(1);
}
.offers_image_background:hover img {
transform: scale(1.1);
}
.offers_content {
margin-top: 22px;
margin-left: 17px;
margin-bottom: 22px;
margin-right: 17px;
}
.offers_link {
margin-top: 24px;
}
.intro_price {
font-size: 20px;
font-weight: 600;
color: #FFFFFF;
margin-top: -4px;
}
.button a:hover {
background-color: #ff9100;
color: white;
}
.ctaBackground {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 210%;
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
opacity: 0.27;
}
img {
max-width: 100%;
height: 100%;
}
.container {
max-width: 1440px!important;
}
.main_nav_item a {
font-family: 'Open Sans', sans-serif;
font-size: 15px;
font-weight: 700;
color: #0093a9!important;
text-transform: uppercase;
padding-bottom: 10px;
padding-top: 10px;
}
.main_nav_item::after {
display: block;
position: absolute;
left: -1px;
bottom: -11px;
width: calc(100% + 2px);
height: 2px;
background: linear-gradient(to right, #b29b63, #0093a9)!important;
content: '';
opacity: 0;
-webkit-transition: all 200ms ease;
-moz-transition: all 200ms ease;
-ms-transition: all 200ms ease;
-o-transition: all 200ms ease;
transition: all 200ms ease;
}
.section-title h2 {
text-align: center;
font-size: 18px;
font-weight: 600;
text-transform: uppercase;
padding-bottom: 6px;
color: #000;
letter-spacing: 0.3px;
padding: 0;
}
.section-title::after {
content: "";
height: 3px;
background: #fbb900;
width: 80px;
position: absolute;
left: 0;
right: 0;
margin: auto;
}
/****************/
/* BX-SLIDER */
/****************/
section.client {
padding:0em 0em;
}
section.client .section-title {
margin-bottom: 6em;
}
.bx-controls {
position: relative;
}
.bx-wrapper{
margin: auto;
margin-top: 70px;
}
.bx-wrapper .bx-pager {
text-align: center;
padding-top: 30px;
display: none;
}
.bx-wrapper .bx-pager .bx-pager-item, .bx-wrapper .bx-controls-auto .bx-controls-auto-item {
display: inline-block;
*zoom: 1;
*display: inline;
}
.bx-wrapper .bx-pager.bx-default-pager a {
background: #666;
text-indent: -9999px;
display: block;
width: 10px;
height: 10px;
margin: 0 5px;
outline: 0;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
</style>
{% endblock %}
{% block body %}
<div class="intro" style="padding-top: 71px;">
<div class="container mt-4">
<div class="row intro_items" style="margin-top: 99px;">
{% for c in croisiere %}
<div class="col-lg-4 intro_col">
<div class="intro_item" style="position: relative; width: 100%; height: 320px; margin-top: 40px ;box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);">
<div class="intro_item_background" style="position: relative;">
{% for img in c.imagescroisieres %}
{% if loop.first %}
<a href="{{ path('details',{'croisiereId':c.id}) }}">
<img src="{{ asset('./rusticav/public/uploads/croisieres/'~img.name) }}" alt="" width="100%" height="100%" />
<div class="offer_name" style="position: absolute; top: 95%; left: 50%; transform: translate(-50%, -50%); text-align: center; width: 100%; color: #fff;">
{{ c.name }}
</div>
</a>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endfor %}
</div>
<div class="d-flex justify-content-end" style="margin-top: 60px">
{% do croisiere.setPageRange(1) %}
{{ knp_pagination_render(croisiere, 'pagination.html.twig') }}
</div>
</div>
</div>
<!-- Intro -->
<div class="intro" >
<div class="intro" style="margin-top: -196px;">
<section class="client">
<div class="container">
<div class="row">
<div class="col text-center">
<h2 class="section_title" style="font-size: 33px;color: #0093a9">Nos Partenaires</h2>
</div>
</div>
<div class="row">
<div class="col text-center">
<div class="carousel-client">
<div class="slide">
<img src="{{ asset('front/images/logo_starcroisieres.svg') }}" style="margin-top: 15px">
</div>
<div class="slide">
<img src="{{ asset('front/images/msc.webp') }}">
</div>
<div class="slide">
<img src="{{ asset('front/images/costa.webp') }}">
</div>
<div class="slide">
<img src="{{ asset('front/images/rccl.webp') }}">
</div>
<div class="slide">
<img src="{{ asset('front/images/ponant.webp') }}">
</div>
<div class="slide">
<img src="{{ asset('front/images/celestyal.webp') }}">
</div>
</div>
</div>
</div>
</div>
</section>
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/bxslider/4.2.5/jquery.bxslider.js"></script>
<script src="{{ asset('front/plugins/OwlCarousel2-2.2.1/owl.carousel.js') }}"></script>
<script>
$('.carousel-client').bxSlider({
auto: true,
slideWidth: 234,
minSlides: 1,
maxSlides: 6,
controls: false
});
</script>
</div>
</div>
{% endblock %}