// Text
// Text alignment utilities
.text-left {
  text-align: left !important;
}

.text-right {
  text-align: right !important;
}

.text-center {
  text-align: center !important;
}

.text-justify {
  text-align: justify !important;
}

// Text transform utilities
.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-line-through {
  text-decoration: line-through;
}

.text-capitalize {
  text-transform: capitalize;
}

.text-smallcaps {
  font-variant: small-caps;
}

.text-sm {
  font-size: $font-size-sm !important;
}

.text-xs {
  font-size: 11px !important;
}

.text-inherit {
  font-size: inherit;
}

// Text style utilities
.text-light {
  font-weight: 100;
}

.text-normal {
  font-weight: normal;
}

.text-semibold {
  font-weight: 500;
}

.text-bold {
  font-weight: bold;
}

.text-italic {
  font-style: italic;
}

.text-large {
  font-size: 1.2em;
}

.text-nowrap {
  white-space: nowrap;
}

// Text overflow utilities
.text-ellipsis {
  @include text-ellipsis();
}

.text-clip {
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.text-break {
  hyphens: auto;
  word-break: break-word;
  word-wrap: break-word;
}

// text color

.text-secondary {
  // color: $font-color-secondary;
  opacity: .5;
}

.text-primary {
  color: $primary-color !important;
}

.text-white {
  color: $light-color !important;
}

.text-yellow {
  color: $yellow-color !important;
}

.text-orange {
  color: $orange-color !important;
}

.text-purple {
  color: $purple-color !important;
}

.text-pink {
  color: $pink-color !important;
}

.text-green {
  color: $green-color !important;
}

// text utility
.text-underline {
  text-decoration: underline;
}


@media (max-width: $size-md) {
  .text-center-md {
    text-align: center;
  }

  .text-left-md {
    text-align: left;
  }

  .text-right-md {
    text-align: right;
  }
}

@media (max-width: $size-xs) {
  .text-center-sm {
    text-align: center;
  }

  .text-left-sm {
    text-align: left;
  }

  .text-right-sm {
    text-align: right;
  }
}
