﻿
.divSreenSlide {
    position: relative;
    width: 100%;
    max-height: 52rem;
    overflow: hidden;
}
/*
@media (max-width: 1400px) {
    .divSreenSlide {
        max-height: 32rem;
    }
}*/



.imgSlide {
    width: 100%;
    position: relative;
    top: 0px;
}



/* largeur au maximum de 768px - ente 1 et 768px iPhone */
@media (max-width: 768px) {
    .divSreenSlide {
        /*max-height: 66vw;*/
        max-height: none;
        height: 65vh;
    }


    .imgSlide {
        top: -1vw; /* 10% de la largeur du navigateur */
    }
}



.divSlide {
    overflow: hidden;
}




/* caché au départ */
.divSlide0 {
    position: absolute;
    left: 0%;
    top: 0px;
    opacity: 0.0;
}

.divSlide1 {
    position: absolute;
    left: -21.7%;
    top: 0px;
    opacity: 0.8;
}

.divSlide2 {
    position: relative;
    z-index: 100;
}

.divSlide3 {
    position: absolute;
    left: 0px;
    top: 0px;
    opacity: 0.8;
}

/*caché */
.divSlide4 {
    position: absolute;
    width: 100%;
    top: 0px;
    opacity: 0.0;
}


.divSlideshow {
    position: relative;
    z-index: 10;
    margin-bottom: 5rem;
    background-color: white;
}


.divSlideFleche {
    position: absolute;
    z-index: 1500;
    overflow: hidden;
    width: 2em;
    min-width: 2em;
    bottom: 0em;
    left: calc((100vw - 768px - 16px) / 2); /* 100% largeur du navi - largeur du slideshow 768px - largeur scrolbar 16px */
    cursor: pointer;
}

@media (max-width: 768px) {
    .divSlideFleche {
        left: 1rem;
    }
}


    .divSlideFleche img {
        position: relative;
        width: 200%;
        left: 0%;
    }

        .divSlideFleche img:hover {
            left: -100%;
            transition: .25s;
        }


    .SlideFlecheDroite {
        left: auto;
        right: calc((100vw - 768px - 16px) / 2);
    }


@media (max-width: 768px) {
    .SlideFlecheDroite {
        right: 1rem;
    }
}


        .SlideFlecheDroite img {
            position: relative;
            width: 200%;
            left: 0%;
        }

            .SlideFlecheDroite img:hover {
                left: -100%;
                transition: .25s;
            }



    .divSlideshow .divRuban-fond {
        background-color: #555;
        opacity: 0.7;
        position: absolute;
        display: block;
        z-index: 1000;
        bottom: -4rem;
        line-height: 1.5;
    }



    .divSlideshow .divRuban-fond {
        width: 768px;
        left: calc((100vw - 768px - 16px) / 2);
        height: 18.25rem;
    }


    @media (max-width: 768px) {
        .divSlideshow .divRuban-fond {
            width: 100%;
            left: 0px;
        }
    }


    .divSlideshow .divRuban-texte p {
        color: white;
        font-size: 1.2rem;
        text-align: center;
        padding-top: 1rem;
        overflow: hidden;
        letter-spacing: -.5px;
        padding-left: 3rem;
        padding-right: 3rem;
    }


    @media (max-width: 768px) {
        .divSlideshow .divRuban-texte p {
            padding-left: .25em;
            padding-right: .25em;
        }
    }



    .divSlideshow .divRuban-texte p.titre {
        font-size: 1.2em;
    }


.divLegendeWeb {
    position: absolute;
    z-index: 1500;
    overflow: hidden;
    min-width: 10em;
    bottom: 0em;
    right: calc((100vw - 700px) / 2);
}

@media (max-width: 768px) {
    .divLegendeWeb {
        right: 4em;
    }
}
