.clear { clear: both; }
* { font-family: 'Roboto', sans-serif; } 
big { font-size: 150%; }

body {
    margin: 0;
}

#fullscreenTBt {
    width: 64px;
    height: 64px;
    position: absolute;
    right: 5px;
    top: 5px;
    background-image: url(/medias/fullscreen.svg);
    background-size: contain;
    z-index: 1000;
    cursor: pointer;
}

body.fullscreen #fullscreenTBt {
    background-image: url(/medias/resize.svg);
}

.thumbs img {
    width: 23%;
    margin: 1%;
    cursor: pointer;
}

#diaporama, #speech {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1000;
}

#speech {
    max-height: 80vh;
    overflow: auto;
}

#diapos {
    width: 100%;
    overflow: hidden;
    left: 0;
    right: 0;
    margin: auto;
}

#diapos_container {
    width: 500000px; 
    margin-top: 0;
    transition: all 1s;
}

#diapos:after, #diapos_container:after {
    content: '';
    display: block;
    clear: both;
}

#diapos_container > div, #diapos_container > div > video { 
    float: left;
    width: 100vw;
    max-height: 100vh !important;
    background-position: center;
    background-size: contain;
    position: relative;
    background-repeat: no-repeat;
}

#diapos_container > div > video {
    position: absolute;
}

#diapos_container > div span { 
    position: absolute;
    bottom: 0;
    padding: 12px;
    width: calc(100vw - 24px);
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

#diaporama > span, #speech > span {
    color: white;
    background: rgba(0, 0, 0, 0.8);
    font-size: 200%;
    cursor: pointer;
    border: 2px white solid;
    border-radius: 50%;
    width: 60px;
    height: 55px;
    line-height: 55px;
    padding-top: 5px;
    text-align: center;
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 10000;
    transition: all 0.2s;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
}

#diaporama span#next, #diaporama span#prev {
    top: 48%;
}
#diaporama span#prev {
    left: 10px;
}

#recit {
    width: 75vw;
    margin: auto;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 5px 5px 25px rgba(0, 0, 0, 0.75);
    margin-top: 20px;
}

@media screen and (max-width: 450px) {
    #diapos_container > div span { 
        font-size: 10px;
    }
}
