/* Pour le Mobile mode potrait */
/* 30em = 480px */

@media screen and (max-width: 30em){
  header h1 {
    font-size: 1.3rem;
    padding-top: 17px;
    text-align: center;
  }

  header span {
    display: none;
  }

  #slide01 {
    background: linear-gradient(45deg, rgba(24, 24, 24, 0.9) 10%, rgba(255, 255, 255, 0.1) 85%),
    url(images/bike-414278_1920.jpg) no-repeat -300px -140px;
  }

  #slide02 {
    background: linear-gradient(rgba(22, 129, 134, 0.7), rgba(22, 129, 134, 0.7)),
    url(images/old-port-1335880_1920.jpg) -380px 0px no-repeat;
    background-size: cover;
  }

  #slide03 {
    background: linear-gradient(rgba(119, 178, 82, 0.8), rgba(119, 178, 82, 0.8)),
    url(images/img_map.png) -100px 0px no-repeat;
    background-size: cover;
  }

  #slide04 {
    background:
    linear-gradient(rgba(245, 166, 31, 0.8), rgba(245, 166, 31, 0.8)),
    url(images/bicycle-riders-2071825_1920.jpg) -20px 0px no-repeat;
    background-size: cover;
  }

  #slide05 {
    background:
    linear-gradient(rgba(22, 142, 149, 0.8), rgba(22, 142, 149, 0.8)),
    url(images/bicycles-3419243_1920.jpg) 0px 0px no-repeat;
    background-size: cover;
  }

  #slide06 {
    background:
    linear-gradient(rgba(142, 119, 182, 0.8), rgba(142, 119, 182, 0.8)),
    url(images/bicycle-2711290_1920.jpg) -330px 0px no-repeat;
    background-size: cover;
  }

  #slide01 .text-container {
    top: 20%;
    left: 5%;
  }

  #slide02 .text-container,
  #slide03 .text-container,
  #slide04 .text-container,
  #slide05 .text-container,
  #slide06 .text-container
  {
    margin: 70px auto auto auto;
    width:90%;
  }

  #slide03 .text-container > h3,
  #slide04 .text-container > h3,
  #slide05 .text-container > h3,
  #slide06 .text-container > h3 {
    font-size: 1.4rem;
    line-height: 2.3rem;
  }

  #slide03 .text-container > img,
  #slide04 .text-container > img,
  #slide05 .text-container > img,
  #slide06 .text-container > img {
    width: 40%;
    margin-bottom: 1rem;;
  }

  .slider-navi {
    display: none;
  }
  /*--------------------------
  panneau infos
  ---------------------------*/
  .cartecontainer {
    height: 380px;
  }
  .infos {
    height: 100%;
    width: 65%;
    right: -70%;
    top: 0%;
    box-shadow: 0 3px 5px #333;
  }
  .info_contents {
    top: 30px;
  }
  .infos ul {
    display: flex;
    margin: 1.5em 0 0.5em 0;
  }
  .infos li:first-child {
    margin-right: 1rem;
  }
  form div {
    margin-top: 5px;
  }
  input.nom, input.prenom {
    width: 55%;
  }
  #error-message {
    margin-top: 0.5rem;
  }
  /*--------------------------
  espace de signature
  ---------------------------*/
  #candiv {
    position: absolute;
    left: 5%;
    top: 20%;
    width: 90%;
    height: 400px;
    background: #e6ecf0;
    padding: 20px 5%;
    margin:auto;
  }

  #canvas_container {
    width: 240px;
    max-width: 90%;
    height: 220px;
    margin: auto;
    background: white;
    border-radius: 5px;
  }

  /*--------------------------
  Text de réservation
  ---------------------------*/
  #reservation {
    height: 150px;
    padding-top: 0.8em;
    z-index: 0;
  }
  .text_expirer {
    width: 80%;
  }
  #modal_validation, #modal_confirmation, #modal_confirmation_change {
    width: 90%;
    z-index: 99;
    top: 20%;
    left: 5%;
    height: 350px;
  }
  #modal_confirmation, #modal_confirmation_change {
    height: 250px;
  }
  .sig_btn {
    padding: 5px 10px;
    margin: 10px 4px 0 4px;
  }


}
