/************************Footer****************************************/
#sirlo_main_footer {
  margin: 0 auto;
  background-color: #93af5f;
}

.footer__main-block--inner {
  max-width: var(--fc-main-width);
  width: 100%;
}

.footer__section-three__contact-information {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer__main-block {
  width: 100%;
  padding: var(--fc-main-padding);
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--fc-color-main-text, #484848);
  border-bottom: 1px solid var(--fc-color-main-text, #484848);
}

.footer__secondary-block {
  width: 100%;
  padding: var(--fc-main-padding);
  display: flex;
  justify-content: center;
}

.footer__main-block > div {
  display: flex;
  justify-content: space-between;
  padding: 6rem 0;
}

.footer__section-one__logo-wrapper {
  max-width: 22.7rem;
}

.footer__section-one {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__section-one__contact-information {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__section-three__block-two__social_media--icon svg > path:first-child,
#facebook_icon path:first-child,
#instagram_icon path:first-child {
  fill: var(--fc-color-social-icons, "#485656");
}

.footer__section-one__contact-wrapper {
  a {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--fc-secondary-color);
    text-decoration: none;

    svg {
      max-width: 1.8rem;
    }
  }
  p {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
  }
}

.footer__section-three__block-two {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.footer__section-three__block-two__social_media--icon svg {
  max-width: 3rem;
}

.footer__section-two {
  display: flex;
  gap: 7rem;
}

.footer_menu_one {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  li {
    margin: 0;
  }
}

.footer_menu_one .item-anchor {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--fc-secondary-color);
  text-decoration: none;
}

.footer__section-three__form-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fc-secondary-color);
  margin: 0;
  margin-bottom: 2rem;
}

.footer__section-three {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer__section-three__subscription {
  position: relative;
  display: flex;
  align-items: center;
  z-index: -1;
}

.effect-3 {
  width: 100%;
  border: 0;
  padding: 7px 0;
  border-bottom: 1px solid #ccc;
}

.effect-3:focus {
  outline: none;
}

.footer__section-three__subscription--input {
  position: relative;
  display: flex;
  width: 100%;
  > span {
    width: 100%;
    @media (max-width: 540px) {
      font-size: 1.4rem;
    }
  }
}

.footer__section-three__subscription--input .focus-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 99;
}

.footer__section-three__subscription--input .focus-border:before,
.footer__section-three__subscription--input .focus-border:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--fc-secondary-color);
  transition: 0.4s;
}
.footer__section-three__subscription--input.focus .focus-border:after {
  left: auto;
  right: 0;
}
.footer__section-three__subscription--input.focus .focus-border:before,
.footer__section-three__subscription--input.focus .focus-border:after {
  width: 50%;
  transition: 0.4s;
}

.footer__section-three__subscription--button {
  position: absolute;
  right: 0;
  transform: translate(-50%, 0);
}

.footer__section-three__subscription--input .wpcf7-form-control-wrap {
  position: relative;
}

.footer__section-three__subscription--button .wpcf7-spinner {
  position: absolute;
}

.footer__section-three__subscription--button .wpcf7-form-control.wpcf7-submit {
  border: none;
  background-color: transparent;
  font-size: 1.7rem;
  color: #666;
  cursor: pointer;
}

.footer__section-three__subscription--input .wpcf7-not-valid-tip {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(15px);
}

.footer__secondary-block {
  > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0 5rem 0;
    @media (max-width: 540px) {
      flex-direction: column-reverse;
      gap: 2rem;
      align-items: flex-start;
    }
  }
}

.footer__secondary-block--kit {
  max-width: 32rem;
}

.legal_menu_one {
  display: flex;
  gap: 3rem;
  list-style: none;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.1;

  a {
    text-decoration: none;
    color: var(--fc-secondary-color);
  }
  li {
    margin: 0;
  }

  span {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.1;
  }
}

.footer__secondary-block--legal {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (max-width: 850px) {
  .footer__section-one {
    width: 100%;
  }

  .footer__main-block > div {
    flex-wrap: wrap;
    gap: 6rem;
  }
}

@media (max-width: 540px) {
  .footer__secondary-block--legal {
    flex-direction: column-reverse;
  }

  .legal_menu_one {
    gap: 1.3rem;
    flex-wrap: wrap;
    row-gap: 1rem;
  }

  .footer__main-block > div {
    flex-wrap: wrap;
    gap: 3rem;
  }
}
