.tui-footer-outer {
  background: $color-white;
  padding-top: $margin-quadruple;
}

.tui-footer-section {
  background: $color-white;
  padding-bottom: 16px;
}

.tui-footer {
  border-top: 1px solid $color-beige-300;
  margin: 0 $margin-normal;
  padding-top: 27px;

  @media all and (min-width: 759px) {
    padding-top: 0;
  }
}

.tui-footer-sign-up-header {
  @media all and (min-width: 759px) {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.tui-footer-sign-up {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;

  @media all and (min-width: 759px) {
    margin-bottom: 0;
  }

  .pictogram {
    height: 30px;
    width: 30px;
  }
}

.tui-footer-sign-up-text {
  margin-left: 6px;
  font-size: 16px;
  line-height: 27px;

  a {
    color: $color-blue-500;
  }
}

.tui-footer-social-icons {
  display: flex;

  li {
    margin: 5px 8px 5px 0;

    &:last-child {
      margin-right: 0;
    }
  }
}

.tui-footer-nav {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid $color-beige-300;
  padding: $margin-double 8px;

  @media all and (min-width: 759px) {
    padding: $margin-double 16px;
  }
}

.tui-footer-nav-section {
  display: flex;
  flex-direction: column;
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 4px;
  margin-bottom: 18px;

  @media all and (min-width: 759px) {
    flex: 0 0 25%;
    max-width: 25%;
  }

  .section-heading {
    color: $color-body-text;
    font-size: 20px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
  }

  .link-item {
    &:not(:last-child) {
      margin-bottom: 16px;
    }
  }

  .footer-link {
    font-size: 14px;
  }
}

.tui-footer-section-list {
  margin: 0;
}

.tui-footer-legal-info {
  border-top: 1px solid $color-beige-300;
  border-bottom: 1px solid $color-beige-300;
  line-height: 1.36;
  font-size: 14px;
  color: #767676;
  padding: $margin-double 0;
}
