.et-widget-footerboxes {
  &.bg-boxed {
    .container,
    .container-xs,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl,
    .container-fluid {
      background-color: $colorNeutral1;
      color: color-yiq($colorNeutral1);
    }
  }
  &.bg-fullsize {
    background-color: $colorNeutral1;
    color: color-yiq($colorNeutral1);
  }
  .container,
  .container-xs,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl,
  .container-fluid {
    @include media-breakpoint-down(sm) {
      padding-top: 0;
      padding-bottom: 0;
    }
    @include media-breakpoint-up(md) {
      padding-top: 40px;
      padding-bottom: 40px;
    }
  }

  .et-footer-boxes-wrapper {
    justify-content: center; // makes uneven numbers of boxes center below the others.
  }

  .et-footer-box-link:not(:last-child) {
    margin-bottom: 10px;
  }

  .et-footer-box-imagelink {
    margin-bottom: 20px;
    img {
      border-radius: $border-radius;
    }
  }

  .et-footer-box-contact-street,
  .et-footer-box-contact-country,
  .et-footer-box-contact-phone,
  .et-footer-box-contact-mail {
    margin-top: 10px;
  }

  .et-footer-box {
    margin-bottom: 20px;
    .et-footer-box-heading {
      margin-top: 10px;
      margin-bottom: 20px;
      .et-textfield {
        margin-bottom: 0;
      }
    }
    .et-footer-box-heading {
      @include media-breakpoint-down(sm) {
        padding: 10px $grid-gutter-width / 2;
        margin-top: 0;
        margin-bottom: 0;
        border-bottom: 1px solid $colorNeutral2;
      }
    }
    .et-footer-box-content {
      @include media-breakpoint-down(sm) {
        background-color: $colorNeutral2;
        padding: 20px $grid-gutter-width / 2;
        color: color-yiq($colorNeutral2);;
      }
    }
    .et-footer-box-content-no-headline.et-footer-box-content {
      @include media-breakpoint-down(sm) {
        background-color: inherit;
        padding: 20px $grid-gutter-width / 2;
        color: inherit;
      }
    }
    @include media-breakpoint-down(sm) {
      padding-left: 0;
      padding-right: 0;
      margin-bottom: 0;
    }
    .et-image-align-horizontal-left {
      justify-content: flex-start;
    }
    .et-image-align-horizontal-center {
      justify-content: center;
    }
    .et-image-align-horizontal-right {
      justify-content: flex-end;
    }
  }

  .et-icon-only {
    i {
      font-size: 30px;
    }
  }
  .et-footer-box-textlink-text:not(:first-child) {
    margin-left: 10px;
  }

  .et-footer-box-textlink-icon {
    margin-right: 5px;
  }
}