// stylelint-disable declaration-no-important

////
/// Текст
////

// Выравнивание текста
@each $breakpoint in map-keys($grid-breakpoints) {
  @include media-breakpoint-up($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

    .text#{$infix}-left   { text-align: left !important; }
    .text#{$infix}-right  { text-align: right !important; }
    .text#{$infix}-center { text-align: center !important; }
  }
}

// Начертания шрифта
.text-thin {
  font-weight: 100;
}

.text-extra-light {
  font-weight: 200;
}

.text-light {
  font-weight: 300;
}

.text-normal {
  font-weight: 400;
}

.text-medium {
  font-weight: 500;
}

.text-semibold {
  font-weight: 600;
}

.text-bold {
  font-weight: 700;
}

.text-extra-bold {
  font-weight: 800;
}

.text-heavy {
  font-weight: 900;
}

.text-numbers-monospace {
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

// Размер шрифта
.uppercase {
  letter-spacing: .0416em;
  text-transform: uppercase;

  @media screen and (max-width: $screen-xs-max) {
    letter-spacing: 1px;
  }
}
