/*******************
*     CONTACT
*******************/

.contact__line {
  background-image: url("../../images/svg/ligne-7.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 500px;
  left: 50%;
  transform: translateX(-50%);
  width: 2037px;
  height: 1018px;
  z-index: -1;
}

.page-contact .icon-forme-6 {
  position: absolute;
  top: -140px;
  right: 50px;
  text-align: right;
  transform: rotate(-45deg);
}

.lmap {
  z-index: 1;
}

.btn-map {
  position: relative;
  padding-right: 100px;
}
.icon-google-map {
  position: absolute;
  top: 50%;
  right: 50px;
  transform: translateY(-50%);
  font-size: 30px;
}

.icon-forme-1 {
  margin-left: -70px;
}
.icon-forme-2 {
  margin-right: -70px;
}

@media (min-width: 992px) {
  .contact__line {
    top: 400px;
  }
  .page-contact .icon-forme-6 {
    top: -100px;
  }
}

@media (min-width: 992px) {
  .contact__line {
    top: 380px;
  }
  .page-contact .icon-forme-6 {
    top: -88px;
    right: 50px;
  }
}

@media (min-width: 1200px) {
  .page-contact .icon-forme-6 {
    text-align: left;
    font-size: 200px;
    top: -88px;
    left: -80px;
    right: unset;
    transform: rotate(-75deg);
  }
  #contact.bg-grey::before {
    content: "";
    background-color: var(--grey);
    position: absolute;
    right: -200px;
    width: 200px;
    height: 100%;
  }
  #contact {
    padding-left: 138px;
  }
}

@media (min-width: 1400px) {
  .icon-forme-1 {
    margin-left: 0;
  }
  .icon-forme-2 {
    margin-right: 0;
  }
}

@media (min-width: 1600px) {
  .contact__line {
    top: 350px;
  }
}

@media (min-width: 1700px) {
  .contact__line {
    top: 420px;
  }
}

/* Form de contact Gravityforms */

/** spinner **/
.gform_legacy_markup_wrapper .gform_ajax_spinner {
  width: 50px;
  height: 50px;
}

.gform_wrapper ul {
  padding-left: 0;
  list-style: none;
}
.st-wrapper-gform-fields {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.ginput_container textarea {
  max-width: 100%;
  min-width: 100%;
}
.ginput_container input,
.ginput_container select,
.ginput_container textarea {
  box-shadow: none;
  border: none !important;
  border-radius: 30px;
  font-weight: normal;
  font-size: 16px;
  color: var(--dark);
  background-color: #ffffff;
  padding: 20px;
  width: 100%;
  line-height: 1;
}
.ginput_container select option {
  background-color: #ffffff;
  border: none;
  padding: 2px 12px;
}
.ginput_container input:hover,
.ginput_container input:active,
.ginput_container input:focus,
.ginput_container select:hover,
.ginput_container select:active,
.ginput_container select:focus,
.ginput_container textarea:hover,
.ginput_container textarea:active,
.ginput_container textarea:focus {
  box-shadow: none;
}
.gform_body:before,
.gform_body:after {
  content: " ";
  display: table;
  clear: both;
}

.gform_body li {
  margin-top: 0;
  margin-bottom: 30px;
}
.gform_body .hidden_label label {
  display: none !important;
}
.gform_body .gfield label {
  font-family: "Futura BdCn BT", sans-serif;
  position: absolute;
  top: 50%;
  left: 55px;
  float: initial;
  font-weight: normal;
  line-height: 1;
  margin: 0;
  transition: top 0.3s ease;
  transform: translateY(-50%);
}
.gform_body .gfield--type-textarea label {
  top: 30px;
  transform: none;
}
.gform_body .gfield.is-focus label,
.gform_body .gfield.has-value label {
  top: -14px;
}
.gform_body .gfield--type-textarea.is-focus label,
.gform_body .gfield--type-textarea.has-value label {
  top: -23px;
}
.gform_footer {
  padding: 0 15px;
  text-align: center;
}

.st-wrapper-gform-fields.gform_footer {
  justify-content: center;
}
.gform_button {
  font-family: "futura-pt-bold", sans-serif;
  border-radius: 27px;
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  line-height: 1;
  background-color: var(--darkred);
  border: none;
  color: #ffffff;
  padding: 16px 50px;
  margin-top: 0;
  width: auto;
}
.gform_button:hover,
.gform_button:active,
.gform_button:focus {
  background-color: rgba(255, 255, 255, 0.2);
  color: #222222;
}

.gform_validation_errors {
  margin: 0 15px 30px;
}
.gform_validation_errors h2 {
  font-size: 16px;
  margin: 0;
  padding: 6px 15px;
}

.g-recaptcha {
  display: flex;
  justify-content: center;
}

/* Form de contact Gravityforms : Gestion des erreurs */
.validation_error {
  background-color: rgba(189, 69, 136, 0.1);
  border: 1px solid rgba(189, 69, 136, 0.6);
  color: rgba(216, 0, 0, 0.6);
  font-size: 16px;
  padding: 0;
  text-align: center;
}
.gform_wrapper .gfield_error .gfield_label {
  color: #f62459;
}
.gform_wrapper .gfield_error input,
.gform_wrapper .gfield_error select,
.gform_wrapper .gfield_error textarea {
  background-color: rgba(216, 0, 0, 0.1);
  color: #000000;
  box-shadow: 0 0 0 #ffffff !important;
}
.gfield {
  position: relative;
}
.gfield .gfield_description.validation_message {
  color: rgba(216, 0, 0, 0.6);
  font-size: 12px;
  position: absolute;
  right: 15px;
  top: -16px;
}
