/**
 * 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
 */

/* Assure que le slider occupe toute la largeur de l'écran */
.homeslider-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    position: relative;
}

/* Applique la pleine largeur aux images du slider */
.homeslider {
    width: 100vw !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.homeslider li {
    width: 100vw !important;
    position: absolute;
    left: 0;
    top: 0;
}

.homeslider img {
    display: block;
    width: 100vw !important;
    height: auto;
    max-width: 100%;
    border: 0;
}

/* Ajustement de la légende pour qu'elle reste lisible */
.homeslider .caption {
    display: block;
    position: absolute;
    z-index: 2;
    font-size: 1em;
    text-shadow: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 20px;
    max-width: none;
}

/* Ajustement des boutons de navigation */
.homeslider_nav {
    position: absolute;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    top: 50%;
    left: 0;
    opacity: 0.7;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
    text-decoration: none;
    height: 61px;
    width: 38px;
    background: transparent url("../homeslider.gif") no-repeat left top;
    margin-top: -30px;
}

.homeslider_nav:active {
    opacity: 1;
}

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

/* Supprime les marges et limites de largeur éventuelles */
#wrapper, .container, .page-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
    margin: 0;
    padding: 0;
}