.gl-form-field-full-width {
    width: 100% !important;
}

/* ===========================================================
*            Handle footer plezi form style.
=========================================================== */
footer .plezi-form-field span[style="color:red;"], footer .help-block.jsonform-errortext {
  color: var(--e-global-color-87005c5) !important;
}
footer
  .plezi-form-field:not(
    .jsonform-error-consents,
    .jsonform-error-plezi_user_id
  ) {
  width: 47%;
  input:not([type="checkbox"]) {
    border-radius: 5px;
    border: solid 1px var(--e-global-color-bda999e) !important;
    background-color: var(--e-global-color-1a01296);
    color: var(--e-global-color-bda999e);
    font-size: 14px;
    font-family: "Gilroy", Sans-serif;

    &:focus {
      outline: solid 2px var(--e-global-color-bda999e);
    }
  }
}
footer
  .plezi-form-field:not(
    .jsonform-error-consents,
    .jsonform-error-plezi_user_id
  )::placeholder {
  color: var(--e-global-color-bda999e);
  font-family: "Gilroy", Sans-serif;
}
footer .plezi-form-field label.checkbox {
  margin-top: 10px;
  > span:first-of-type {
    margin: 0 5px;
  }
}
footer .plezi-submit-btn {
  font-family: "Gilroy", Sans-serif;
  border-color: var(--e-global-color-bda999e) !important;
  color: var(--e-global-color-bda999e) !important;

  &:hover,
  &:focus,
  &:active {
    background-color: var(--e-global-color-bda999e) !important;
    color: var(--e-global-color-text) !important;
  }
}
footer .plezi-form-field:has(#jsonform-2-elt-email) {
  margin-right: auto;
}
footer .plezi-form-field:has(#jsonform-2-elt-fonction_libre) {
  margin-left: auto;
}
footer form > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
footer .submit {
  width: 100%;
  margin-top: 15px;
  input {
    padding: 0.4rem 0.8rem !important;
  }
}
footer .checkbox > span {
  font-size: 12px;
  line-height: 0.8;
  color: var(--e-global-color-bda999e);
  font-family: "Gilroy", Sans-serif;
}


/* ===========================================================
*          Handle footer plezi contact page style. 
=========================================================== */

.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) span[style="color:red;"], .help-block.jsonform-errortext:not(footer *) {
  color: var(--e-global-color-accent) !important;
  margin-left: 0.2em;
}
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) {
  color: var(--e-global-color-primary);
  font-family: "Gilroy", Sans-serif !important;
  input:not([type="checkbox"]),
  select,
  textarea {
    border: solid 1px var(--e-global-color-primary) !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    background-color: var(--e-global-color-1a01296);
    color: var(--e-global-color-primary) !important;
    &:focus {
      outline: solid 2px var(--e-global-color-accent);
      border: solid 1px var(--e-global-color-accent) !important;
    }
  }
  label:not(.checkbox *) {
    font-size: 18px !important;
    margin-bottom: 0.5em !important;
    margin-top: 1.5em !important;
  }
  .jsonform-error-consents .checkbox label {
    font-size: 14px !important;
    line-height: 1.1 !important;
    input {
      margin-right: 0.5em !important;
    }
  }
  .checkbox:not(.jsonform-error-consents *) label {
    font-size: 16px !important;
    line-height: 1.2 !important;
    input {
      margin-right: 0.5em !important;
    }
  }
  .help-inline.plz-consent {
    line-height: 0.8 !important;
  }
  .submit {
    width: 100%;
    justify-content: center;
    display: flex;
    margin-top: 2em;
    .plezi-submit-btn {
      background-color: var(--e-global-color-accent) !important;
      border-color: var(--e-global-color-accent) !important;
      color: var(--e-global-color-c5987b2) !important;
      &:hover {
        background-color: var(--e-global-color-secondary) !important;
        border-color: var(--e-global-color-secondary) !important;
      }
    }
  }
}
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-interests {
  margin-bottom: 1em;
}
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-last_name,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-first_name,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-email,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-phone,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-company,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-fonction_libre,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-plz_pays {
  width: 49%;
}
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-horaires,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-message,
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) .jsonform-error-interests {
  width: 100%;
}
.gl-contact-form form:not(footer *, .gl-newsletter-popup-form *) > div {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  .jsonform-error-interests div:has(label.checkbox) {
    display: flex;
    flex-direction: column;
  }
}

/* ===========================================================
*        Handle footer plezi newsletter popup style.
=========================================================== */

.gl-newsletter-popup-form form:not(footer *, .gl-contact-form *) .jsonform-error-email,
.gl-newsletter-popup-form form:not(footer *, .gl-contact-form *) .jsonform-error-fonction_libre {
  width:47%;
}


/* ===========================================================
*          Handle footer plezi other pages style.
=========================================================== */

form:not(footer *, .gl-contact-form *) span[style="color:red;"] {
  color: var(--e-global-color-accent) !important;
  margin-left: 0.2em;
}
form:not(footer *, .gl-contact-form *) {
  color: var(--e-global-color-primary);
  font-family: "Gilroy", Sans-serif !important;
  input:not([type="checkbox"]),
  select,
  textarea {
    border: solid 1px var(--e-global-color-primary) !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    background-color: rgba(242, 231, 221, 1);
    outline: solid 1px var(--e-global-color-accent);
    border: solid 1px var(--e-global-color-accent) !important;
    color: var(--e-global-color-primary) !important;
    &:focus {
      outline: solid 2px var(--e-global-color-accent);
    }
  }
  label:not(.checkbox *) {
    font-size: 18px !important;
    margin-bottom: 0.5em !important;
    margin-top: 1.5em !important;
  }
  .jsonform-error-consents .checkbox label {
    font-size: 14px !important;
    line-height: 1.1 !important;
    input {
      margin-right: 0.5em !important;
    }
  }
  .checkbox:not(.jsonform-error-consents *) label {
    font-size: 16px !important;
    line-height: 1.2 !important;
    input {
      margin-right: 0.5em !important;
    }
  }
  .help-inline.plz-consent {
    margin-top: 1rem;
    line-height: 0.8 !important;
  }
  .submit {
    width: 100%;
    justify-content: center;
    display: flex;
    margin-top: 1em;
    .plezi-submit-btn {
      background-color: var(--e-global-color-accent);
      border-color: var(--e-global-color-accent) !important;
      color: var(--e-global-color-c5987b2) !important;
      &:hover {
        background-color: var(--e-global-color-secondary) !important;
        border-color: var(--e-global-color-secondary) !important;
      }
    }
  }
}
form:not(footer *, .gl-contact-form *) .jsonform-error-interests {
  margin-bottom: 1em;
}
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-last_name,
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-first_name,
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-email,
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-company,
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-phone,
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-fonction_libre,
form:not(footer *, .gl-contact-form *, .gl-newsletter-popup-form *) .jsonform-error-plz_pays {
  width: 49%;
}
form:not(footer *, .gl-contact-form *) > div {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  .jsonform-error-interests div:has(label.checkbox) {
    display: flex;
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  form:not(footer *, .gl-contact-form *) .jsonform-error-company {
    display: flex !important;
    flex-direction: column !important;
    justify-content: end !important;
  }
}