body,
html {
  margin: 0;
  height: 100%;
  font-family: "Montserrat";
  background-color: #fafafa;
}

/*-------- NavBar --------*/
.acceuil {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/*-------- Fin de la NavBar --------*/

/*-------- Titre du terrain --------*/

.titre-terrain {
  width: auto;
  height: auto;
  padding-bottom: 10px;
  font-size: 0.8rem;
}

.title-shadow {
  height: 100%;
  width: 100%;
  background-color: rgba(35, 38, 40, 0.7);
}

.title-image-background {
  width: 100%;
  height: 100%;
  z-index: 1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container-terrain span {
  font-size: 25px;
  font-weight: 600;
}

.container-terrain .navigation ul {
  padding: 0px;
  display: flex;
  flex-direction: row;
  list-style: none;
}

.container-terrain .navigation ul li a {
  text-decoration: none;
  color: #50a556;
  font-weight: 600;
}

.navigation img {
  height: 15px;
  width: 15px;
  margin: 0px 5px;
}

/*-------- Contenu principal --------*/

.info-terrain {
  margin-bottom: 50px;
}

.main-content {
  display: flex;
  flex-direction: column;
  width: 80%;
  padding-top: 30px;
  margin: auto;
}

.main-content .main-content-terrain {
  display: flex;
  flex-direction: row;
}

.main-content .main-content-terrain .info-terrain {
  display: flex;
  flex-direction: column;
  width: calc(75% - 30px) !important;
  margin-right: 30px;
  font-size: 17px;
}

.info-terrain b {
  margin-right: 15px;
}

.search {
  width: 320px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 7px 16px 0 rgb(0 0 0 / 7%);
  margin-bottom: 50px;
}

@media screen and (max-width: 1300px) {
  .main-content {
    width: 100%;
  }

  .main-content .main-content-terrain {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .main-content .main-content-terrain .info-terrain {
    margin-right: 0px;
  }

  .titre-terrain {
    display: flex;
    justify-content: center;
  }

  .container-terrain {
    width: calc(75% - 30px) !important;
  }
}

/*-------- Carousel thumbail ----------*/
.carousel-img {
  margin-bottom: 30px;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  border-radius: 10px;
}

.mySlides iframe {
  width: 100%;
  border-radius: 10px;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 844px) {
  .mySlides iframe {
    height: 450px;
  }
}

@media screen and (max-width: 560px) {
  .mySlides iframe {
    height: 250px;
  }
}

/*---------- Image zoom medium -------------*/

.medium-zoom-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: opacity;
}

.medium-zoom--opened .medium-zoom-overlay {
  cursor: pointer;
  cursor: zoom-out;
  opacity: 1;
}

.medium-zoom-image {
  cursor: pointer;
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.medium-zoom-image--hidden {
  visibility: hidden;
}

.medium-zoom-image--opened {
  position: relative;
  cursor: pointer;
  cursor: zoom-out;
  will-change: transform;
}

/*---------- Description du terrain  ------------*/
.description-terrain {
  margin-bottom: 50px;
}

.property-titre {
  width: calc(100% - 60px);
  padding: 20px 0px 50px 0px;
  font-size: 1.5rem;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  color: #3b3a38;
}

.property-description {
  width: calc(100% - 60px);
  background-color: #3b3a38;
  padding: 15px 30px;
  font-weight: 700;
  display: inline-block;
  text-transform: uppercase;
  color: #fff;
}

.description-terrain p {
  background-color: #fff;
  margin: 0px;
  width: calc(100% - 60px);
  padding: 30px;
}

.description-terrain ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

.description-terrain ul li {
  padding: 20px 40px;
  background: #ffffff;
}

.description-terrain ul li:nth-child(odd) {
  background: #f4f4f4;
}

.description-terrain ul li strong {
  width: 30%;
  display: inline-block;
}

.description-terrain ul li span {
  width: 65%;
  display: inline-block;
}

@media screen and (max-width: 680px) {
  .description-terrain ul li strong {
    width: 100%;
  }

  .description-terrain ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/*-------- Map ---------*/
#map {
  width: 320px;
  height: 320px;
  border-radius: 10px;
  box-shadow: 0 7px 16px 0 rgb(0 0 0 / 7%);
  margin-bottom: 50px;
  z-index: 0;
}

/*------- Agents et contact ---------*/

.property-contact {
  width: calc(100% - 60px);
  background-color: #3b3a38;
  padding: 15px 30px;
  font-weight: 700;
  display: inline-block;
  font-family: Dosis, Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  color: #fff;
}

.contact-agent {
  background-color: #f4f4f4;
  display: flex;
  flex-direction: row;
  padding: 30px;
}

.contact-agent img {
  width: 175px;
  height: auto;
  padding: 25px 35px 0px 0px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h2 {
  font-weight: 700;
}

.contact-info p {
  font-size: 18px;
}

@media screen and (max-width: 750px) {
  .img-ctc {
    height: 260px;
    font-weight: 100%;
    text-align: center;
  }

  .contact-agent {
    flex-direction: column;
  }
}

@media screen and (max-width: 425px) {
  .contact-agent img {
    width: 100%;
  }
}

/*-------- Message ---------*/
.contact_message {
  display: flex;
  flex-direction: column;
}

.contact_message h2 {
  padding-left: 30px;
}

.contact_message input {
  height: 15px;
  padding: 10px 15px 10px 15px;
}

.contact_message textarea {
  padding: 10px 15px 10px 15px;
}

.contact_message .space_ctc_msg {
  margin: 15px 0px;
}

input[type="submit"] {
  width: 100%;
  height: 40px;
  color: white;
  border-radius: 5px;
  border: 1px solid transparent;
  padding: 7px 15px;
  font-size: 16px;
  font-family: Arial;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.1)) top/100% 800%;
  transition: 0.3s;
}

input[type="submit"].green {
  font-weight: 600;
  text-transform: uppercase;
  --class-item-bg: #50a556;
  background-color: #50a556;
}

input[type="submit"]:hover {
  background-position: bottom;
  cursor: pointer;
}

/*-------- Recherche d'un terrain ---------*/
.search h4 {
  display: table-cell;
  width: 260px;
  height: 32px;
  padding: 15px 30px;
  background-color: black;
  color: #ffffff;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 1px;
  vertical-align: middle;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.search-map {
  padding: 15px 30px 30px 30px;
}

.search-map .search-adresse input {
  height: 15px;
  width: calc(100% - 30px);
  padding: 10px 15px 10px 15px;
}

.dropdown {
  border: 1px solid black;
  background-color: white;
  top: 100%;
  left: 0;
  z-index: 100;
  width: 100%;
}
.dropdown li {
  cursor: pointer;
  list-style-type: none;
  height: 50px;
  padding: 5px;
  display: flex;
  flex-direction: column;
}
.dropdown li span {
  font-weight: bold;
}

.dropdown li:hover {
  background-color: lightsteelblue;
}

.dropdown ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

::selection {
  color: #fff;
  background: #50a556;
}

.wrapper {
  width: 380px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px 40px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.price-text {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 15px 0px;
}

.price-input {
  display: flex;
  flex-direction: column;
}

.price-input .field {
  margin: 0px auto;
  display: flex;
  align-items: center;
}

.p-text {
  display: flex;
  flex-direction: row;
}

.input-min,
.input-max {
  font-size: 14px;
  text-align: center;
  border: none;
  box-shadow: none;
  outline: none;
  background: #fff;
  cursor: default;
  resize: none;
}

.price-input .separator {
  width: 20px;
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}

.slider {
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}

.slider .progress {
  width: 100%;
  left: 25%;
  right: 25%;
  position: absolute;
  border-radius: 5px;
  background: #50a556;
}

.range-input {
  position: relative;
}

.range-input input {
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: #50a556;
  pointer-events: auto;
  -webkit-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

input[type="range"]::-moz-range-thumb {
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  background: #50a556;
  pointer-events: auto;
  -moz-appearance: none;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.search-btn {
  margin-top: 30px;
}

/*--------------------- Slider triage --------------------------*/

.search-info-sup {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px 0px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.zone-kilometre {
  width: 100%;
}
.select_box {
  position: relative;
  display: block;
  width: 100%;
  font-family: "Open Sans", "Helvetica Neue", "Segoe UI", "Calibri", "Arial",
    sans-serif;
  font-size: 14px;
  color: #60666d;
}

@media (min-width: 1200px) {
  .search-info-sup {
    flex-direction: row;
  }

  .select_box {
    margin: 10px 0px;
  }
}

@media (max-width: 1200px) {
  .select_box {
    margin: 10px 0px;
  }

  .zone-kilometre {
    flex-direction: column;
  }

  .zone-kilometre {
    width: 100%;
    margin-right: 0px;
  }
}

.select_box_current {
  position: relative;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  outline: none;
}
.select_box_current:focus + .select_box_list {
  opacity: 1;
  -webkit-animation-name: none;
  animation-name: none;
}
.select_box_current:focus + .select_box_list .select-box_option {
  cursor: pointer;
}
.select_box_current:focus .select_box_icon {
  -webkit-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}

.select_box_icon {
  position: absolute;
  top: 50%;
  right: 15px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 20px;
  opacity: 0.3;
  -webkit-transition: 0.2s ease;
  transition: 0.2s ease;
}

.select_box_value {
  display: -webkit-box;
  display: flex;
}
.select_box_input {
  display: none;
}
.select_box_input:checked + .select_box_input_text {
  display: block;
}
.select_box_input_text {
  display: none;
  width: 100%;
  margin: 0;
  padding: 15px;
  background-color: #fff;
}

.select_box_list {
  z-index: 1;
  position: absolute;
  width: 100%;
  padding: 0;
  list-style: none;
  opacity: 0;
  -webkit-animation-name: HideList;
  animation-name: HideList;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-timing-function: step-start;
  animation-timing-function: step-start;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}
.select_box_option {
  display: block;
  padding: 15px;
  background-color: #fff;
}
.select_box_option:hover,
.select_box_option:focus {
  color: #fff;
  background-color: #50a556;
}
@-webkit-keyframes HideList {
  from {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  to {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}
@keyframes HideList {
  from {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
  }
  to {
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
  }
}

/*--------------------------------------------------------------*/

/* pop up */

.alert {
  position: relative;
  opacity: 0.8;
  transition: opacity 0.6s; /* 600ms to fade out */
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
}

.success {
  padding: 20px;
  background-color: #04aa6d;
  color: white;
}

.echec {
  padding: 20px;
  background-color: #f44336;
  color: white;
}

.closebtn {
  margin-left: 15px;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

.closebtn:hover {
  color: black;
}

/*
  MARKER
 */

img.huechange {
  filter: hue-rotate(270deg);
}
