// stylelint-disable declaration-no-important

//
// Text
//

// Alignment

.efbl-text-justify {
  text-align: justify !important;
}

.efbl-text-nowrap {
  white-space: nowrap !important;
}

.efbl-text-truncate {
  @include text-truncate;
}

// Responsive alignment

@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

    .efbl-text#{$infix}-left {
      text-align: left !important;
    }
    .efbl-text#{$infix}-right {
      text-align: right !important;
    }
    .efbl-text#{$infix}-center {
      text-align: center !important;
    }
  }
}

// Transformation

.efbl-text-lowercase {
  text-transform: lowercase !important;
}

.efbl-text-uppercase {
  text-transform: uppercase !important;
}

.efbl-text-capitalize {
  text-transform: capitalize !important;
}
