
#sectionOngletsTableauOfficiel::-webkit-scrollbar-track {
    background: #046ab39d;
    border-radius: 20px;
}

#sectionOngletsTableauOfficiel::-webkit-scrollbar {
    width: 5px;
    height:7px;
}
#sectionOngletsTableauOfficiel::-webkit-scrollbar-thumb {
    background-color: #119bfe;  
}

#sectionOngletsTableauOfficiel {
    scrollbar-color: #119bfe #119bfe9d; /* scroll thumb and track */
}

#connexionPatrons{
    width:100%;
    height:60vh;
    background-image: url(../img/fondConnexionPatrons.png);
    background-repeat: repeat;
    background-size: 100%;
    background-attachment: fixed;
    padding-top:10vh;
    padding-left:30vw;
}
#ongletConnexion{
    width:40vw;
    height:20em;
    background: white;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.2);
    top:50%;
    left:50%;
    text-align: center;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    border-radius: 1em;
}
#ongletConnexion img{
    height:5em;
}
#formConnexionPatron input{
    margin:0.5em;
    border-radius:0.3em;
    border: none;
    box-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    padding-left: 0.5em;
}
#formConnexionPatron h1{
   color: #006eb5;
}
#submit{
    width:60%;
    background-color: #006eb5;
    color: white;
    height: 2em;
    transition-duration: 200ms;
}
#submit:hover{
    transform: scale(1.02);
    color: #8fcef9;
    transition-duration: 500ms;
}


/* Espace patrons */
#prochainDepart{
    background-image: url(../img/fondConnexionPatrons.png);
    background-repeat: repeat;
    background-size: 100%;
    height:7em;
    display:flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    z-index: 9;
    width: 100%;
}
#prochainDepart img{
    height:5em;
}
#espaceProchainDepart{
    height:7em;
}
#textProchaineDepartEspacePatrons{
    display:grid;
}
#textProchaineDepartEspacePatrons h4{
    margin-bottom:0px;
}
#countdown{
    color: #006eb5;
    font-size:1.5em;
    font-weight: bold;
    vertical-align: middle;
}
#countdown #countdown_day{
    font-size:2em;
}

/* Onglet */
.barresOngletsPatrons{
    display: none;
}
#sectionOnglets{
    height:3em;
    background:#006eb5;
    display: flex;
    align-items: center;
    justify-content: center;
    color:white;
    overflow: hidden;
}
.ongletsPatrons{
    padding: 1.2em;
    cursor: pointer;
    transition-duration: 200ms;
}
.ongletsPatrons:hover{
    transform: scale(1.05);
    transition-duration:200ms
}
.ongletsPatrons h4{
    font-size:1.2em;
}
.ongletsPatrons.active{
    background: #005b98;
}
#sectionDocuments{
    padding-left: 10vw;
    padding-right: 10vw;
    background: white;
    padding-top:1em;
    padding-bottom:1em;
}
.documentPatrons{
    display:none;
}
.documentPatrons.active{
    display:block;
    animation: 300ms slide;
}
.detailsDocuments{
    background: #a8dcff;
    padding: 1em;
    margin: 1em;
    border-radius: 1em;
    display: flex;
}
.titreDocuments{
    font-size: 1.2em;
}
.telechargementDocument img{
    text-align: right;
    height:1.5em;
    margin-right:1em;
}
.imgTelechargement{
    transition-duration: 200ms;
}
.imgTelechargement:hover{
    cursor:pointer;
}
.pTitreNoneFiles{
    font-size:1.5em;
    text-align:center;
    padding: 2em;
    margin: 0;  
}


/* Onglet tableau officiel */
#sectionOngletsTableauOfficiel{
    height:4em;
    background:#3cb1ff;
    display: flex;
    align-items: center;
    color:white;
    overflow: hidden;
    transform: translate(0,-1em);
    border-radius:0em 0em 2em 2em;
    justify-content: center;
}
.ongletsTableauOfficiel{
    padding:1em;
    transition-duration: 200ms;
    text-align:center;
}
.ongletsTableauOfficiel:hover{
    transform: scale(1.05);
    transition-duration:200ms;
    cursor:pointer;
}
.ongletsTableauOfficiel.active{
    background:#64c1ff;
}

.documentJour{
    display:none;
}
.documentJour.active{
    display:block;
    animation: 300ms slide;
}

@keyframes slide {
	from	{transform: translate(8vw, 0px)}
	to		{transform: translate(0px, 0px)}
}

@media (max-width: 992px) {
    #sectionOngletsTableauOfficiel{
        justify-content: normal;
    }
}

@media (max-width: 665px) {
    /* Menu deroulant */
    #sectionOnglets{
        display: block;
        height:7em;
    }
    .barresOngletsPatrons{
        display: block;
        position: relative;
        height: 3em;
        cursor: pointer;
        padding-left: 45vw;
    }

    .hamburgerOngletsPatrons{
        width: 2.5em;
        height: 0.15em;
        background: #febe11;
        top: 50%;
        left: 50%;
        transform: translate(0em, 1.5em);
        box-shadow: 0px 2px 5px rgba(0, 0, 0,.2);
        transition:500ms
    }
    .hamburgerOngletsPatrons:before, .hamburgerOngletsPatrons:after{
        content:'';
        position: absolute;
        width: 2.5em;
        height: 0.15em;
        background: white;
        box-shadow: 0px 2px 5px rgba(0, 0, 0,.2);
        transition:500ms
    }
    .hamburgerOngletsPatrons:before{
        top:-0.8em;
    }
    .hamburgerOngletsPatrons:after{
        top:0.8em;
    }

    .barresOngletsPatrons.on .hamburgerOngletsPatrons{
        background: rgba(0, 0, 0,0);
        box-shadow: 0px 0px 0px rgba(0, 0, 0,0);
        transition:500ms
    }
    .barresOngletsPatrons.on .hamburgerOngletsPatrons:before{
        top:0px;
        transform : rotate(45deg);
        transition:500ms
    }
    .barresOngletsPatrons.on .hamburgerOngletsPatrons:after{
        top:0;
        transform : rotate(-45deg);
        transition:500ms
    }
    .ongletsPatrons{
        display: none;
        text-align: center;
    }
    .ongletsPatrons.active{
        display: block;
    }
    .ongletsPatrons.on{
        animation: enter;
        animation-duration:800ms;
        display: block;
        opacity: 1;
        transition:500ms
    }
    #sectionOnglets.large{
        display: block;
        height:20em;
        transition:500ms
    }

    @keyframes enter {
        from {
        opacity: 0;
        transform: translate(0px, -10vh);
        }
    
        to {
        opacity: 1;
        transform: translate(0px, 0px);
        }
    }


    .barresOngletsPatrons.hover .hamburgerOngletsPatrons:before{
        transform : translate(-0.5em,0em);
    }
    .barresOngletsPatrons.hover .hamburgerOngletsPatrons:after{
        transform : translate(-0.5em,0em);
    }

    .barresOngletsPatrons.on.hover .hamburgerOngletsPatrons:before{
        transform : rotate(-45deg);
    }
    .barresOngletsPatrons.on.hover .hamburgerOngletsPatrons:after{
        transform : rotate(45deg);
    }
    #sectionOngletsTableauOfficiel{
        overflow-x:scroll;
        white-space: nowrap;
        padding-left:1em;
    }
    #ongletConnexion{
        width:80vw;
        height:20em;
    }
    #connexionPatrons{
        padding-left:10vw;
        height:70vh;
    }
    #sectionUtilisateur{
        display:inline-grid;
    }
    #sectionMotDePasse{
        display:inline-grid;
    }
}

