/*Definition des polices spéciales*/

@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Elements principaux de la page*/

#bloc_page {
    width: 1200px;
    margin: auto;
}

body {
    font-family: 'Lato', 'Trebuchet MS', Arial, sans-serif;
    margin: auto;
}

h1.slogan {
    color: white;
    font-weight: bold;
    margin-left: 450px;
    position: sticky;
    position: -webkit-sticky;
    position: -o-sticky;
}

h1 {
    color: white;
}

h2 {
    color: white;
}

p.presentation {
    color: white;
    font-weight: bold;
}

header {
    margin-top: 30px;
    background: indianred;
    height: 80px;
    position: sticky;
    position: -webkit-sticky;
    position: -o-sticky;
}

#logo img {
    width: 10%;
    margin-left: 200px;
    margin-top: -80px;
    position: sticky;
    position: -webkit-sticky;
    position: -o-sticky;
}

#slideshow {
    width: auto;
    height: 400px;
    background: indianred;
    overflow: hidden;
    opacity: 0.8;
    margin-top: 40px;
    position: relative;
}

a.bouton {
    border: 1px solid;
    opacity: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: white;
}

a.boutonleft {
    position: absolute;
    top: 195px;
    left: 10px;
}

.fa.fa-exclamation-triangle {
    position: absolute;
    left: 0px;
    top: 206px;
    color: yellow;
}

.fa.fa-chevron-left {
    color: darkgrey;
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 30px;
}

a.boutonright {
    position: absolute;
    top: 200px;
    right: 10px;
}

.fa.fa-chevron-right {
    color: darkgrey;
    position: absolute;
    top: 16px;
    left: 21px;
    font-size: 30px;
}

.textslide1 {
    position: absolute;
    font-size: 23px;
    margin-left: 728px;
    width: 30%;
}

.textslide2 {
    position: absolute;
    font-size: 23px;
    margin-left: 728px;
    width: 30%;
}

.textslide3 {
    position: absolute;
    font-size: 23px;
    margin-left: 728px;
    width: 30%;
}

.textslide4 {
    position: absolute;
    font-size: 23px;
    margin-left: 728px;
    width: 30%;
}

img.slide {
    width: 60%;
}

#mobileslide {
    display: none;
}

#search {
    margin-top: 30px;
    display: flex;
    background: darkgrey;
    width: 100%;
    height: 600px;
}

#map {
    width: 60%;
    background: lightgreen;
    border: 1px lightgrey solid;
}

#encart {
    width: 40%;
    background: indianred;
    border: 1px indianred solid;
    position: relative;
}

#infos {
    margin-left: 125px;
    font-size: 30px;
    font-weight: bold;
}

#infostation {
    border: 2px;
    background-color: white;
    border-radius: 20px;
    padding: 23px;
}

#reserver {
    margin-left: 100px;
}

#canvas {
    border: 4px dimgrey solid;
    background-color: lightslategrey;
    display: none;
    position: absolute;
    top: 389px;
    left: 35px;
}

#boutons {
    position: absolute;
    top: 550px;
    left: 60px;
}

#effacer {
    padding: 12px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
    background-color: indianred;
}

.fa {
    position: absolute;
    top: -153px;
    left: 333px;
    color: white;
}

#annuler {
    padding: 12px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 10px;
}

#valider {
    padding: 12px;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background-color: limegreen;
    margin-left: 130px;
}

footer {
    width: auto;
    height: 400px;
    background: lightslategrey;
    margin-top: 30px;
}

#confirmation {
    width: 600px;
    height: 200px;
    position: absolute;
}

#inprogress {
    margin-left: 420px;
    font-size: 30px;
    color: white;
    width: 1000px;
}

#resastatut {
    margin-left: 500px;
}

#reservation {
    padding-left: 10px;
    padding-top: 50px;
}

h1#resa {
    display: none;
}

#cancel {
    margin-top: 120px;
    border: 1px grey solid;
    border-radius: 10px;
    margin-left: 524px;
    width: 170px;
    height: 70px;
    font-size: 20px;
    color: orange;
    background-color: white;
    font-weight: bold;
}


/* MEDIA QUERIES*/


/*>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>*/


/*>>>>>>>> Smartphones (PORTRAIT) >>>>>>>>>*/

@media screen and (max-width:479px) {
    #bloc_page {
        width: auto;
        margin: auto;
    }
    h1.slogan {
        display: none;
    }
    #logo img {
        width: 40%;
        margin-left: 126px;
        margin-top: 7px;
    }
    #mobileslide {
        display: block;
        width: 100%;
        height: 100%;
        margin-top: 100px;
    }
    img.slide {
        width: 100%;
    }
    div.textslide0 {
        background-color: indianred;
        padding-left: 20px;
    }
    #slideshow {
        display: none;
    }
    #search {
        display: flex;
        flex-direction: column;
        height: 800px;
        margin-top: 20px;
    }
    #map {
        width: 100%;
        height: 100%;
    }
    h2#infos {
        margin-left: 91px;
    }
    #encart {
        width: 100%;
        height: 100%;
    }
    #canvas {
        position: absolute;
        top: 150px;
        left: 0px;
    }
    #signature {
        position: absolute;
        top: 80px;
        width: 70%;
    }
    #boutons {
        display: flex;
        position: absolute;
        top: 300px;
        left: 0px;
    }
    .fa {
        left: 239px;
    }
    #valider {
        margin-left: 70px;
    }
    #effacer {
        margin-left: 10px;
    }
    #reserver {
        margin-left: 0px;
    }
    #cancel {
        position: absolute;
        top: 200px;
        right: 350px;
        z-index: 999;
        display: block;
    }
    #resastatut {
        margin-left: 10px;
    }
    #inprogress {
        margin-left: 10px;
        font-size: 20px;
    }
}


/*>>>>>>>>>>>>>>> Smartphones (PAYSAGE) et petites tablettes (PAYSAGE) >>>>>>>>>>>>>>>>>>*/

@media screen and (min-width:480px) and (max-width:760px) {
    #bloc_page {
        width: auto;
        margin: auto;
    }
    h1.slogan {
        display: none;
    }
    #logo img {
        width: 23%;
        margin-left: 265px;
        margin-top: 7px;
    }
    #mobileslide {
        display: block;
        width: 100%;
        height: 100%;
        margin-top: 100px;
    }
    img.slide {
        width: 100%;
    }
    div.textslide0 {
        background-color: indianred;
        padding-left: 193px;
    }
    #slideshow {
        display: none;
    }
    #search {
        display: flex;
        flex-direction: column;
        height: 800px;
        margin-top: 20px;
    }
    #map {
        width: 100%;
        height: 100%;
    }
    h2#infos {
        margin-left: 232px;
    }
    #encart {
        width: 100%;
        height: 100%;
    }
    div#infostation {
        padding-left: 220px;
    }
    #canvas {
        position: absolute;
        top: 150px;
        left: 128px;
    }
    #signature {
        position: absolute;
        top: 80px;
        width: 70%;
    }
    #boutons {
        display: flex;
        position: absolute;
        top: 300px;
        left: 170px;
    }
    .fa {
        left: 239px;
    }
    #valider {
        margin-left: 70px;
    }
    #effacer {
        margin-left: 10px;
    }
    #reserver {
        margin-left: 0px;
    }
    #cancel {
        position: absolute;
        top: 200px;
        right: 169px;
        z-index: 999;
        display: block;
    }
    #resastatut {
        margin-left: 230px;
    }
    #inprogress {
        margin-left: 210px;
        font-size: 20px;
    }
}
