/**
 * Copyright since 2007 PrestaShop SA and Contributors
 * PrestaShop is an International Registered Trademark & Property of PrestaShop SA
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License version 3.0
 * that is bundled with this package in the file LICENSE.md.
 * It is also available through the world-wide-web at this URL:
 * https://opensource.org/licenses/AFL-3.0
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@prestashop.com so we can send you a copy immediately.
 *
 * @author    PrestaShop SA and Contributors <contact@prestashop.com>
 * @copyright Since 2007 PrestaShop SA and Contributors
 * @license   https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
 */
.homeslider-container {
  margin-bottom: 50px;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.homeslider {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  height: 100vh; /* pleine hauteur écran */
}

.homeslider li {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.homeslider li.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.homeslider img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
}

.homeslider .caption {
  position: absolute;
  z-index: 2;
  font-size: 1em;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  margin: 0;
}

.homeslider_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 38px;
  height: 61px;
  text-indent: -9999px;
  background: url("../homeslider.gif") no-repeat;
  opacity: 0.7;
}

.homeslider_nav.prev {
  left: 0;
  background-position: left top;
}

.homeslider_nav.next {
  right: 0;
  background-position: right top;
}

.homeslider_nav:hover,
.homeslider_nav:active {
  opacity: 1;
}
