/* Page Transferts aéroports */

.vehicule {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}

.vehicule .photo {
  width: 340px;
  text-align: right;
  display: flex;
  vertical-align: bottom;
}

.vehicule .photo > picture {
  width: auto;
  height: auto;
  margin-top: auto;
  margin-left: auto;
}

.vehicule .photo [title="large"] {
  display: none;
}

/* IE only : https://stackoverflow.com/questions/46743722/items-in-css-grid-in-ie-superimposed-on-each-other */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  .vehicule .photo {
    display: block;
  }

  .vehicule .photo > picture {
    width: 100%;
  }

  .vehicule .photo [title="large"] {
    display: block;
  }

  .vehicule .photo [title="small"] {
    display: none;
  }
}

.vehicule .wrapper {
  width: calc(100% - 370px);
}

.vehicule .titre h2 {
  font-weight: bold;
  font-size: 1.35em;
  line-height: 1em;
  margin: 0 0 0.25em;
}

.vehicule .items {
  display: flex;
  justify-content: space-between;
}

.vehicule .personnes,
.vehicule .bagages {
  width: 210px;
  padding: 20px;
  background-color: #eee;
}

.vehicule .personnes > div,
.vehicule .bagages > div {
  display: flex;
  align-items: center;
}

.vehicule .personnes .fa,
.vehicule .bagages .fa {
  font-size: 40px;
  margin-right: 5px;
}

.vehicule .personnes .nb,
.vehicule .bagages .nb {
  font-size: 40px;
  margin: 0 5px;
  align-self: center;
}

.vehicule .personnes .text,
.vehicule .bagages .text {
  line-height: 1.2em;
}

.vehicule .liens {
  display: flex;
  width: 295px;
  flex-direction: column;
}

.vehicule .liens > a {
  display: block;
  padding: 0.5em 1em;
  background-color: #ffae00;
  color: #fff;
  text-decoration: none;
  text-align: center;
}

.vehicule .liens > a:first-child {
  margin-bottom: 8px;
}

.vehicule .liens > a:hover {
  background-color: #393939;
  color: #fff;
  text-decoration: none;
}

@media screen and (max-width: 1099px) {
  .vehicule {
    max-width: 760px;
    flex-direction: column;
    margin: 0 auto 40px;
    padding-bottom: 40px;
  }

  .vehicule .photo {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .vehicule .photo [title="small"] {
    display: none;
  }

  .vehicule .photo [title="large"] {
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .vehicule .wrapper {
    width: 100%;
    margin: 20px auto 0;
  }

  .vehicule .titre {
    margin-bottom: 10px;
    text-align: center;
  }

  .vehicule .titre h2 {
    margin-bottom: 0;
  }

  .vehicule .liens {
    padding-top: 0;
  }
}

@media screen and (max-width: 740px) {
  .vehicule .wrapper {
    justify-content: center;
  }

  .vehicule .items {
    max-width: 430px;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
  }

  .vehicule .personnes,
  .vehicule .bagages {
    width: 49%;
    min-width: 180px;
    max-width: 210px;
    padding-right: 15px;
    padding-left: 15px;
  }

  .vehicule .liens {
    min-width: 300px;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 450px) {

  .vehicule .personnes,
  .vehicule .bagages {
    min-width: 120px;
  }

  .vehicule .personnes .fa,
  .vehicule .bagages .fa {
    font-size: 30px;
    margin-right: 5px;
  }

  .vehicule .personnes .nb,
  .vehicule .bagages .nb {
    font-size: 30px;
    margin: 0 5px;
    align-self: center;
  }

  .vehicule .personnes .text,
  .vehicule .bagages .text {
    font-size: 15px;
  }
}

@media screen and (max-width: 400px) {

  .vehicule .personnes,
  .vehicule .bagages,
  .vehicule .liens {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .vehicule .personnes,
  .vehicule .bagages {
    padding: 20px;
  }

  .vehicule .personnes {
    margin-bottom: 10px;
  }
}