.font-weight-bold-extra {
  font-weight:                                              $font-weight-bold-extra !important;
}

.font-weight-bold-semi {
  font-weight:                                              $font-weight-bold-semi !important;
}

@each $name, $size in $font-sizes {
  .font-size-#{$name} {
    font-size:                                              $size;
  }
}

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

    @each $name, $size in $font-sizes {
      .font-size#{$infix}-#{$name},
      td.font-size#{$infix}-#{$name},
      .font-size#{$infix}-#{$name} td,
      .table.font-size#{$infix}-#{$name} td,
      th.font-size#{$infix}-#{$name},
      .font-size#{$infix}-#{$name} th,
      .table.font-size#{$infix}-#{$name} th
      {
        font-size:                                              $size;
      }
    }
  }
  @include media-breakpoint-down($breakpoint) {
    $infix: breakpoint-infix($breakpoint, $grid-breakpoints);

    @each $name, $size in $font-sizes {
      .font-size#{$infix}-d-#{$name},
      td.font-size#{$infix}-d-#{$name},
      .table.font-size#{$infix}-d-#{$name} td,
      .font-size#{$infix}-d-#{$name} td,
      th.font-size#{$infix}-d-#{$name},
      .font-size#{$infix}-d-#{$name} th,
      .table.font-size#{$infix}-d-#{$name} th
      {
        font-size:                                              $size;
      }
    }
  }
}