body {
    margin: 0;
    padding: 0;
    font-family: 'Titillium Web', 'helvetica';
}

.container {
    width: 100%;
}

/*-------------------*/
/*-----Titre-----*/
/*-------------------*/

#titre{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    width: 100%;
}

#logo{
    width: 10%;
    margin-left: 15px;
    margin-right: -15px;
}

#velov{
    width: 10%;
    margin-right: 10px;
    margin-left: -10px;
}

h1 {
    text-align: center;
    font-size: 300%;
    font-weight: bold;
    color: #E11F26;
    width: 80%;
    padding-top: 5px;
}

#spanVelo{
    color:black;
}

#spanV{
    color:#E11F26;
}


/*-------------------*/
/*-----Diaporama-----*/
/*-------------------*/

/*Div principale de la galerie*/

#diaporama {
    background-color: #f5f5f5;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: center;
}

/*Titre diaporama*/

#titreDiapo{
    text-align: center;
    font-size: 20px;
    font-weight: normal;
}

/*la div en soi du diapo*/

#divDiapo {
    margin: auto;
    display: flex;
    align-items: center;
    width: 60%;
    position: relative;
}

.imgDiapo {
    margin: auto;
    width: 100%;
    border: 2px solid black;
}

.imgDiapo.hide{
    display: none;
}

/*Boutons Next et Precedent*/

.next, .prev {
    z-index: 1;
    cursor: pointer;
    color: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
    position: absolute;
}

.next{
    right: 0%;
}

.next:hover, .prev:hover  {
    color: #616161;
}

/*Boutons Play et pause*/

#pause,
#play {
    bottom: 0%;
    z-index: 10;
    margin: auto;
    cursor: pointer;
    color: #000000;
}

#play {
    display: none;
}

#pause:hover,
#play:hover {
    color: #616161;
}

/*-----------------------------*/
/*-----Carte et Formulaire-----*/
/*-----------------------------*/

#carteEtFormulaire {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    margin-top: 15px;
    position: relative;
    width: 100%;
    background-color: #ffffff;
}

/*-----Carte-----*/

#mapEtBoutons{
    display: flex;
    flex-direction: column;
    width: 60%;
    background-color: white;
}

#map,
#details {
    margin-top: 50px;
}

#map {
    height: 500px;
    border: 3px solid black;
    margin-left: 2%;
    margin-right: 2%;
    margin-bottom: 15px;
}

#myLocation, #recentrerMap {
    padding: 5px;
    display: block;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    color: black;
    border: 2px solid #E11F26;
    font-family: 'Titillium Web', 'arial';
}

#myLocation{
    margin-right: 10px;
}

#boutons {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    padding-top: 15px;
    padding-bottom: 15px;
}

.leaflet-marker-icon {
    border: none !important;
}

/*------Détails------*/

#cadreDetails{
    width: 40%;
    height: 100%;
    display: flex;
    background-color: white;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

#details {
    width: 100%;
    border: 3px solid black;
    margin: auto;
    padding: 25px;
    position: relative;
    font-size: 24px;
    background-color: white;
    margin-top: 50px;
}

#titreCadre {
    position: absolute;
    top: -50px;
    left: 15px;
    background-color: white;
    padding: 5px;
    border: 3px solid #E11F26;
    font-weight: 400;
    font-size: 26px;
}

label, input {
    margin-top: 25px;
}

input {
    font-size: 20px;
}

#reserver {
    font-size: 25px;
    border-radius: 5px;
    display: block;
    margin: auto;
    margin-top: 50px;
    cursor: pointer;
    color: #E11F26;
    border: 2px solid black;
    font-family: 'Titillium Web', 'arial';
}

#nomPrenomBoutonReserver.hide{
    display: none;
}

#detailsStation{
    background-color: #f5f5f5;
    padding: 5px;
}

#nomPrenomBoutonReserver{
    background-color: #f5f5f5;
    margin-top: 5px;
    padding: 5px;
}

/*------Canvas------*/

#monCanvas {
    border: solid 3px black;
    z-index: 50;
    position: relative;
    margin: auto;
    display: block;
}

#validerCanvas, #clearCanvas {
    padding: 5px;
    display: inline-block;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid black;
    font-family: 'Titillium Web', 'helvetica';
    margin-top: 5px;
}

#divBoutonsCanvas{
    display: flex;
    margin: auto;
    justify-content: center;
}

#divCanvas.hide{
    display: none;
}

#divCanvas{
    position: relative;
    margin-top: 5px;
}

/*-----Validation Signée-----*/

#validationSignee.show{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 5px;
}

#validationSignee.hide{
    display: none;
}

#validationSignee p{
    font-size: 20px;
    width: 70%;
    text-align: justify;
}

#validationSignee img{
    width: 30%;
}

#saveSignature{
    opacity: 0;
}

/*-----------------------------*/
/*-----Parragraphe résumé------*/
/*-----------------------------*/

#resumeReservation {
    text-align: center;
    font-size: 25px;
    background-color: #BD262F;
    padding: 15px;
    color:  white;
}

#resumeReservation.hide{
    display: none;
}

#resumeReservation.show{
    display: inherit;
}

#annulerResa{
    padding: 5px;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 10px;
    font-family: 'Titillium Web', 'helvetica';
}

/*----FOOTER-----*/

footer{
    display: flex;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
    font-weight: 500;
    background-color: #f6f6f6;
}

/*-----MENTIONS LEGALES----*/

#conteneurMentionsLegales{
    padding-left: 10%;
    padding-right: 10%;
    text-align: justify;
}

/*----REGLES POUR TABLETTES----*/

@media screen and (max-width: 992px){
    #divDiapo {
        width: 85%;
        margin: auto;
    }
    .imgDiapo{
        width: 100%;
    }
    .next{
        font-size: 12px;
        
    }
    .prev{
        font-size: 12px;
    }
    .play, .pause{
        font-size: 12px;
    }
    #carteEtFormulaire {
        flex-direction: column;
        justify-content: center;
    }
    #mapEtBoutons{
        width: 100%;
    }
    #map {
        width: 80%;
        margin: auto;
        height: 350px;
        margin-top: 30px;
    }
    #cadreDetails {
        width: 100%;
        height: 100%;
        padding-right: 0;
        padding-left: 0;
        margin-right: 0;
        margin-left: 0;
        padding-top: 50px;
        font-size:22px;
    }
    #details {
        width: 60%;
        margin: auto;
    }
}

/*----REGLES POUR SMARTPHONES----*/

@media screen and (max-width: 768px){
    #titre{
        display: flex;
        justify-content: center;
        text-align: right;
        width: 90%;
    }
    #velov{
        display: none;
    }
    #logo{
        margin-right: 10px;
    }
    h1{
        font-size: 150%;
    }
    .prev {
        left:-1%;
        font-size: 10px;
    }

    .next{
        right: -1.5%;
        font-size: 10px;
    }
    #myLocation, #recentrerMap {
        padding: 2px;
        font-size: 15px;
        width: 70%;
        margin: auto;
        margin-top: 5px;
    }
    #boutons {
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    #details{
        font-size:20px;
        width: 80%;
        margin: auto;
    }
    #titreCadre{
        font-size: 24px;
    }
    label, input {
        margin-top: 0;
    }

    input {
        margin-bottom: 15px;
        width: 90%;
    }
    #reserver{
        font-size: 22px;
    }
    #validationSignee p{
        font-size: 15px;
        width: 60%;
        text-align: justify;
    }
    #validationSignee img{
        width: 40%;
    }
    #resumeReservation {
        font-size: 20px;
    }
}

@media screen and (max-width: 550px){
    .prev {
        left:-2%;
        font-size: 10px;
    }

    .next{
        right: -2%;
    }
}

@media screen and (max-width: 400px){
    .prev {
        left:-2%;
        font-size: 10px;
    }

    .next{
        right: -3.5%;
    }
}