
 #carrouselContainer{
    position: relative;
    width: 95%;
    margin:auto;

}
 #carrousel{
    overflow: hidden;
    margin-top:3rem;
}
 #carrousel ul:first-child{
    transition: left 0.3s linear;
    width: 300%;
    height: 63rem;
    padding: 0;
    margin: 0;
    position: relative;
}
/** Commande **/
#carrousel #playPauseCaroussel.pause {
    background-image: url(images/pause.png);
}
#carrousel div.control{
    display: block;
    position: absolute;
    width: calc(100%);
    bottom: 2vw;
    text-align: center;
}
#carrousel #playPauseCaroussel{

    width: 2.5rem;
    height: 2.5rem;
    z-index: 5;
    background-size: contain;
    background-repeat: no-repeat;
    border: none;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

#carrousel #playPauseCaroussel.play {
    background-image: url(images/play.png);
}

#carrousel ul:last-child li{
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin: auto 2px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #000;
    padding: 0;
    position: relative;
    background: #FFF;
}
#carrousel ul:last-child{
    list-style: none;
    margin: 0;
    padding: 0%;
    display: inline-block;
}

#carrousel ul:last-child li.selected{
    background: #000;
    border : #000;
}

 #carrousel ul li{
    width: calc(100% / 3);
    height: 100%;
    display: inline-block;
}
 #carrousel ul li img{
    width: 100%;
    height: 100%;
    /* Polyfill Object-fit for IE, Edge */
    font-family: 'object-fit: cover;';
    object-fit: cover;
}
#carrousel ul li figure figcaption{
    height: 100%;
}
#carrousel ul li figure figcaption span:first-child{
    text-transform: uppercase;
    font-size: 16rem;
    font-style: normal;
    padding-left: 20px;
    position: absolute;
    top: 50%;
    width: calc(100%/3 - 40px);
    padding-right: 20px;

}
#carrousel ul li figure figcaption span:last-child{
    display: block;
    position: absolute;
    bottom: 0px;
    padding-left: 20px;
    padding-right: 20px;
    width: calc(100%/3 - 40px);
    font-style: italic;
    font-size: 1.4rem;
}

 #command{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
 #command button{
    border: none;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-block;
    margin: 3rem 0.5rem;
    border-radius: 50%;
}
 #command button.pressed{
    background-color: #000;
}
 #carrouselContainer .keywords{
    padding: 0;
    margin: 0;
    margin-left: 2rem;
    margin-bottom: 8rem;
    font-weight: normal;
    text-transform: uppercase;
}


@media (max-width: 1000px){
    #carrousel ul li figure figcaption span:last-child{
        display: none;
    }
    #carrousel div.control{
        bottom:1vw;
    }
}
.contrast #carrousel figcaption span{
    background: #000 !important;
    color: #FFF !important;
}


