.et-text-links-wrapper {
  &.et-align-horizontal-left {
    .et-text-links-items {
      text-align: left;
    }
  }
  &.et-align-horizontal-center {
    .et-text-links-items {
      text-align: center;
    }
  }
  &.et-align-horizontal-right {
    .et-text-links-items {
      text-align: right;
    }
  }
  &.et-with-parting-line {
    .et-text-links-item:not(:last-child) {
      border-right: 1px solid currentColor;
    }
  }
  .et-text-links-item {
    display: inline-block;
    padding-left: $grid-gutter-width;
    padding-right: $grid-gutter-width;
    &:first-child {
      padding-left: 0;
    }
    &:last-child {
      padding-right: 0;
    }
  }
  .et-text-links-item-icon {
    margin-right: 5px;
  }

  &.et-align-horizontal-fullWidth {
    // This is a bit special as text-align: justify does not work on single lines
    .et-text-links-items {
      display: flex;
      justify-content: space-between;
    }
  }
}

/* Note that this widget inverts its colors when used in the footer */
#footer {
  .et-widget-textlinks {
    &.bg-boxed {
      .container,
      .container-fluid {
        background-color: $colorNeutral1;
        color: color-yiq($colorNeutral1);
      }
    }
    &.bg-fullsize {
      background-color: $colorNeutral1;
      color: color-yiq($colorNeutral1);
    }
  }
}