.footer-form {
  width: 100%;
  padding: 22px 0;
  background-color: var(--blue);
}

.footer-form .gform_wrapper,
.footer-form form {
  width: 100%;
  display: flex;
}

.footer-form form {
  max-width: 980px;
  align-items: center;
  justify-content: flex-end;
  margin: 0 auto;
}

.footer-form .gform_body ul {
  width: 100%;
  display: flex;
}

.footer-form .gform_body li {
  margin: 0;
}

.footer-form .gform_body input,
.footer-form .gform_body input::placeholder {
  font-family: var(--font-reg);
  font-size: 16px;
  color: var(--main-text-color);
  background-color: var(--white);
}

.footer-form .gform_body input {
  height: 56px;
  padding: 0 20px;
  border-radius: 0;
  border: none;
}

.footer-form .gform_body li {
  width: 100%;
  max-width: 280px;
}

.footer-form .gform_body li:first-child,
.footer-form .gform_body li:nth-child(2n) {
  max-width: 200px;
  border-right: 1px solid var(--light-grey);
}

.footer-form .gform_body input:focus,
.footer-form .gform_body input:active,
.footer-form .gform_body input:hover {
  border: none;
  outline: none;
}

.footer-form .gform_heading {
  margin-bottom: 0;
  margin-right: auto;
}

.footer-form .gform_title,
.footer-form .gform_confirmation_message {
  font-family: var(--font-cond);
  font-size: 16px;
  color: var(--white);
  text-transform: uppercase;
}

.footer-form .gform_footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-height: 56px;
}

.footer-form .gform_footer::after {
  content: "\f061";
  display: block;
  position: absolute;
  font-family: var(--icon-free);
  color: var(--black);
  font-size: 16px;
  font-weight: 900;
}

.footer-form input[type="submit"] {
  position: relative;
  z-index: 10;
  font-size: 0;
  height: 100%;
  width: 60px;
  border: none;
  background-color: transparent;
}

.footer-form input[type="submit"]:hover {
  background-color: transparent;
}

.gform_footer.top_label {
  background-color: var(--accent);
}

@media screen and (max-width: 767px) {
  .footer-form {
    padding-bottom: 78px;
  }

  .footer-form form {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-form .gform_heading {
    width: 100%;
    margin-bottom: 16px;
  }

  .footer-form .gform_footer,
  .footer-form .gform_body li,
  .footer-form .gform_body,
  .footer-form input[type="submit"] {
    width: 100%;
    max-width: unset !important;
  }

  .footer-form .gform_body li:first-child,
  .footer-form .gform_body li:nth-child(2n) {
    border-right: none;
    border-bottom: 1px solid var(--light-grey);
  }

  .footer-form .gform_body ul {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
}