
/* DIAPORAMA */
.diaporama {
    position: relative;
    width: 100%;
    height: 364px;
}

.diaporama > img {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: auto;
}

.pilotage {
    position: absolute;
    width: 80%;
    height: 100%;
    top:0;
    left: 10%;
}

.play_pause{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    padding: 30px;
    border-radius: 5px;
    background-color: var(--color-fond-trans);
    transition: all 100ms ease-in-out;
    width: 75px;
    height: 75px;
    background-image: url(../images/diaporama/play.svg);
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
}

.played {
	top: 100%;
	left: 0%;
	transform: translate(0%, -100%);
    background-color: var(--color-fond-trans);
    color: var(--color-texte);
    padding: 0px;
    border-radius: 0px;
}

.precedent {
    top: 50%;
    left: 0%;
    transform: translate(0%, -50%);
    color: var(--color-texte);
    font-size: 60px;
    text-align: center;
    line-height: 38px;
}

.suivant {
    top: 50%;
    right: 0%;
    transform: translate(0%, -50%);
    color: var(--color-texte);
    font-size: 60px;
    text-align: center;
    line-height: 38px;
}

.diaporama_bouton {
    position: absolute;
    width: 50px;
    height: 50px;
    padding: 15px;
    border-radius: 5px;
    background-color: var(--color-fond-trans);
}

.pe_bouton {
    top: 0%;
    right: 0%;
    background-image: url(../images/diaporama/plein_ecran.svg);
    background-position: center;
    background-size: 70%;
    background-repeat: no-repeat;
}

.epe_bouton {
    background-image: url(../images/diaporama/reduire.svg);
}

.pause{
    background-image: url(../images/diaporama/pause.svg);
    background-size: 40%;
}

/* Plein écran */
#en_plein_ecran {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: none;
}

#en_plein_ecran > .pilotage {
    width: 100%;
    left: 0%;
}

.fill img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: auto;
    display: block;
    opacity: 0;
    transition: all 500ms ease-in-out;
}

.img_en_cours {
    opacity: 100 !important;
}