﻿@import url('https://fonts.googleapis.com/css?family=Roboto:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i');

html,
body {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 38px;
    margin-top: -2px;
    margin-bottom: 0px;
    color: grey;
}

.head-size {
    height: 120px;
}

@media all and (max-width: 900px) {
    .head-size {
        height: 105px;
    }
}

/*Flexbox Navigation*/

.myflex {
    font-family: 'Roboto';
    z-index: 100;
}

nav {
    position: fixed;
    width: 100%;
    background: white;
    box-shadow: 0px 0px 2px 0px grey;
}

nav a {
    text-decoration: none;
    color: grey;
    padding: 0 40px;
}

.dessin {
    position: fixed;
    right: 170px;
    top: 10px;
    width: 250px;
    text-align: left;
    z-index: 101;
    border: 0px solid black;
    font-size: 16px;
}

.dessin-image {
    width: 100%;
    height: auto;
}

@media all and (max-width: 1000px) {
    .dessin {
        right: 20px;
    }
}

@media all and (max-width: 700px) {
    .dessin {
        display: none;
    }
}


/*Logo Bike*/

#logo {
    color: grey;
    padding: 10px 280px;
}

@media all and (max-width: 1000px) {
    #logo {
        padding: 10px 120px;
    }
}

.logo2 {
    border: 0px solid black;
    width: 165px;
}

.logo-bike {
    position: absolute;
    top: 10px;
    left: 180px;
    height: 60px;
    width: 85px;
}

@media all and (max-width: 1000px) {
    .logo-bike {
        left: 20px;
    }
}

.logo-subtitle {
    position: absolute;
    top: 60px;
}

/*Bike Wheel Animation 1*/

.loading {
    position: absolute;
    top: 37.5px;
    left: 85px;
    z-index: 102;
    border: 3px solid #00FFFF;
    border-left: 3px solid #ADDEF3;
    border-right: 3px solid #ADDEF3;
    border-bottom: 3px solid #ADDEF3;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    animation: loading 2.5s infinite linear;
}

@keyframes loading {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media all and (min-width: 1000px) {
    .loading {
        left: 185px;
    }
}

@media all and (max-width: 1000px) {
    .loading {
        left: 25px;
    }
}

/*Bike Wheel Animation 2*/

.loading-2 {
    position: absolute;
    top: 37.5px;
    left: 133px;
    z-index: 102;
    border: 3px solid #ADDEF3;
    border-left: 3px solid #ADDEF3;
    border-right: 3px solid #ADDEF3;
    border-bottom: 3px solid #00FFFF;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    animation: loading 4.5s infinite linear;
}

@keyframes loading {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@media all and (min-width: 1000px) {
    .loading-2 {
        left: 233.5px;
    }
}

@media all and (max-width: 1000px) {
    .loading-2 {
        left: 73.5px;
    }
}

/* Slideshow properties */

#diapo {
    font-family: 'Roboto';
}

.responsive-image {
    display: initial;
    width: 100%;
    height: auto;
    box-shadow: 10px 10px grey;
}

@media all and (max-width: 800px) {
    .responsive-image {
        box-shadow: none;
    }
}

@media all and (max-width: 550px) {
    .responsive-image {
        display: none;
    }
}

.responsive-image-2 {
    display: none;
    width: 100%;
    height: auto;
}

@media all and (max-width: 550px) {
    .responsive-image-2 {
        display: initial;
    }
}

#no-overflow {
    overflow: hidden;
}

#colored {
    position: absolute;
    height: 100%;
    width: 100%;
}

.responsive-background {
    display: initial;
    position: absolute;
    height: auto;
    width: 100%;
    opacity: 0.5;
}

@media all and (max-width: 550px) {
    .responsive-background {
        display: none;
    }
}

.responsive-background-2 {
    display: none;
    position: absolute;
    height: auto;
    width: 100%;
    opacity: 0.5;
}

@media all and (max-width: 550px) {
    .responsive-background-2 {
        display: initial;
    }
}


#slideshow {
    position: relative;
    height: 350px;
    margin: auto;
}

@media all and (min-width: 1401px) {
    #slideshow {
        width: 75%;
        margin-bottom: 300px;
    }
}

@media all and (max-width: 1400px) {
    #slideshow {
        width: 75%;
        margin-bottom: 300px;
    }
}

@media all and (max-width: 1350px) {
    #slideshow {
        margin-bottom: 180px;
    }
}

@media all and (max-width: 1300px) {
    #slideshow {
        margin-bottom: 160px;
    }
}

@media all and (max-width: 1200px) {
    #slideshow {
        margin-bottom: 120px;
    }
}

@media all and (max-width: 1100px) {
    #slideshow {
        margin-bottom: 90px;
    }
}

@media all and (max-width: 1000px) {
    #slideshow {
        margin-bottom: 70px;
    }
}

@media all and (max-width: 900px) {
    #slideshow {
        margin-bottom: 0px;
    }
}

@media all and (max-width: 800px) {
    #slideshow {
        width: 100%;
        margin-bottom: 500px;
    }
}

/*Slide en Display none car l'apparition est réglée dans JS */

.slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
}

.tuto-text {
    font-family: 'Roboto';
    position: absolute;
    left: 23%;
    top: 6%;
    z-index: 1;
    font-size: 26px;
    font-weight: normal;
    color: white;
    text-shadow: 1px 1px 1px grey;
}

@media all and (max-width: 1150px) {
    .tuto-text {
        left: 2%;
        top: 8%;
        margin-top: -20px;
        font-size: 22px;
    }
}

@media all and (max-width: 550px) {
    .tuto-text {
        margin-top: -15px;
        margin-left: 20px;
        font-size: 18px;
        text-align: center;
        width: 55%;
        color: white;
    }
}

@media all and (max-width: 400px) {
    .tuto-text {
        margin-top: 220px;
        margin-left: 0px;
        width: 95%;
        color: grey;
        text-shadow: none;
    }
}

@media all and (max-width: 350px) {
    .tuto-text {
        margin-top: 190px;
        margin-left: 0px;
        width: 95%;
        color: grey;
        text-shadow: none;
    }
}

#arrow-left {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 100px;
    font-size: 30px;
}

@media all and (min-width: 1150px) {
    #arrow-left {
        top: 50px;
        right: 31%;
    }
}

@media all and (min-width: 1300px) {
    #arrow-left {
        top: 50px;
        right: 30%;
    }
}

#arrow-right {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
}

@media all and (min-width: 1150px) {
    #arrow-right {
        top: 50px;
        right: 24%;
    }
}

#pause-button {
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 58px;
    font-size: 20px;
    text-decoration: none;
}

@media all and (min-width: 1150px) {
    #pause-button {
        top: 55px;
        right: 27.6%;
    }
}

@media all and (min-width: 1300px) {
    #pause-button {
        top: 55px;
        right: 27%;
    }
}

/* Slider Buttons Fontawesome */

.fa-pause {
    color: white;
}

.fa-chevron-left {
    color: white;
}

.fa-chevron-right {
    color: white;
}

/*Leaflet marker and Popup*/

.leaflet-marker-icon {
    opacity: 0.85;
}

.leaflet-marker-icon:hover {
    opacity: 1;
}

.leaflet-popup-content {
    color: grey;
    text-align: center;
    padding: 2px;
    font-family: 'Roboto';
}

/*Section Map*/

#info-station {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 400px;
    margin-bottom: 150px;
    padding-left: 30px;
    padding-right: 30px;
}

@media all and (min-width: 1301px) {
    #info-station {
        padding-left: 70px;
        padding-right: 70px;
    }
}

@media all and (max-width: 800px) {
    #info-station {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
        margin: auto;
    }
}

#map-container {
    width: 70%;
    height: 100%;
}

@media all and (max-width: 800px) {
    #map-container {
        padding: 0px;
        width: 100%;
        height: 100%;
        margin-bottom: 50px;
    }
}

#sidebar-station {
    font-family: 'Roboto';
    width: 25%;
    height: 420px;
    border: 2px solid grey;
    border-radius: 20px;
    text-align: left;
    padding: 10px;
}

@media all and (max-width: 800px) {
    #sidebar-station {
        margin-bottom: 550px;
        width: 100%;
        height: 100%;
        padding: 0px;
        text-align: center;
        border: 0px solid grey;
    }
}

#datastorage {
    height: 550px;
    margin-top: -50px;
}

#title-sidebar-1 {
    color: grey;
}

#title-sidebar-2 {
    color: grey;
    display: none;
}

/*My Mapbox*/

#mapbox {
    padding: 5px;
    border: 2px solid grey;
}

@media all and (max-width: 800px) {
    #mapbox {
        padding: 10px;
        border: 0px solid transparent;
    }
}

#map {
    margin: auto;
    height: 430px;
    width: 100%;
    z-index: 0;
}

/*Infos stations*/

#bike-list {
    text-align: left;
    position: relative;
    width: 100%;
}

@media all and (max-width: 800px) {
    #bike-list {
        text-align: center;
    }
}

/*Input form*/

#name {
    display: none;
    padding: 10px;
    border-radius: 20px;
}

#firstname {
    display: none;
    padding: 10px;
    border-radius: 20px;
}

#record-name {
    z-index: 10;
    display: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid #dcdcdc;
    margin-top: 5px;
    background: white;
    outline-style: none;
    transition: 0.5s;
}

#record-name:hover {
    border: 2px solid cornflowerblue;

}

input[type=text] {
    width: 100%;
    padding: 10px 13px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-sizing: border-box;
    transition: 0.5s;
    outline: none;
    font-family: 'Roboto' !important;
}

input[type=text]:focus {
    border: 1px solid #555;
}

@media all and (max-width: 800px) {
    input[type=text] {
        width: 50%;
    }
}

/*JCDecaux infos station*/

#resa-message {
    display: none;
}

#velo-places {
    display: none;
}

#adresse {
    font-family: 'Roboto';
}

#velo-dispo {
    font-family: 'Roboto';
}

/*Canvas Section */

#sign-form {
    height: 300px;
}

.canvas-container {
    position: relative;
    text-align: center;
    margin-top: -90px;
    margin-bottom: 50px;
}

@media all and (max-width: 800px) {
    .canvas-container {
        margin-top: -40px;
        height: 200px;
    }
}

@media all and (max-width: 500px) {
    .canvas-container {
        margin-top: -5px;
    }
}

@media all and (max-width: 400px) {
    .canvas-container {
        margin-top: 10px;
    }
}

#canvas {
    display: none;
    border: 5px solid cornflowerblue;
    border-style: dotted;
    cursor: url('images/featherBlack4.png'), auto;
    margin: auto;
}

#delete-button {
    display: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 20px;
    border: 2px solid #dcdcdc;
    background: white;
    outline-style: none;
    transition: 0.5s;
}

#delete-button:hover {
    border: 2px solid cornflowerblue;

}

/*Messages réservations*/
/*Storage*/
/*Timer Messages*/

#userinfos {
    position: relative;
    display: none;
    color: cornflowerblue;
}

#count-button {
    z-index: 9;
    display: none;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    color: white;
    border: 2px solid white;
    box-shadow: 0px 0px 1px 1.5px cornflowerblue;
    background: #82afff;
    outline-style: none;
    transition: 0.4s;
}

#count-button:hover {
    border: 2px solid cornflowerblue;
    color: black;
    background: white;
    box-shadow: 0px 0px 0px 0px cornflowerblue;

}

#zero-button {
    display: none;
    padding: 10px;
    border-radius: 20px;
    cursor: pointer;
    border: 2px solid #dcdcdc;
    background: white;
    outline-style: none;
    transition: 0.5s;
}

#zero-button:hover {
    border: 2px solid cornflowerblue;

}

/*Cancelled reservation message*/

#cancelled {
    color: grey;
}

/*Footer*/

.logo-lyon {
    color: white;
    font-size: 18px;
}

.copyright-1 {
    background-color: #070617;
    text-align: center;
    height: 80px;
}

.copyright-text {
    color: white;
    font-family: 'Roboto';
    font-size: 15px;
}

.myfooter {
    width: 100%;
    position: relative;
    height: auto;
    background-color: #070617;
    margin: auto;
    text-align: center;
    font-family: 'Roboto';
    margin-bottom: -14px;
}

.myfooter .col {
    width: 190px;
    height: auto;
    float: left;
    box-sizing: border-box;
    padding: 20px 20px 20px 20px;
}

.clearfix {
    clear: both;
}

@media only screen and (min-width: 1280px) {
    .contain {
        width: 1200px;
        margin: 0 auto;
    }
}
