.pos-fix-bot-fill {
  position: absolute;
  bottom: 0px;
  width: 100%;
}

.pos-absolute-top-right {
  position: absolute;
  top: 0px;
  right: 0px;
}

.pos {
  $sides: ('l': left, 'r': right);
  $xy: ('x': (left, right), 'y': (top, bottom));
  @each $pos in (absolute,fixed,relative,static) {
    &-#{$pos} {
      position: $pos;
      @each $name, $vertical in ('t': top, 'b': bottom) {
        &-#{$name} {
          position: $pos;
          #{$vertical}: 0px;
          @each $nameSide, $side in $sides {
            &#{$nameSide} {
              position: $pos;
              #{$side}: 0px;
              #{$vertical}: 0px;
            }
          }
        }
      }
      @each $nameSide, $side in $sides {
        &-#{$nameSide} {
          position: $pos;
          #{$side}: 0px;
        }
      }
      @each $nameSide, $attrs in $xy {
        &-#{$nameSide} {
          position: $pos;
          @each $attr in $attrs {
            #{$attr}: 0px;
          }
        }
      }
    }

    @each $breakpoint in map-keys($grid-breakpoints) {

      @include media-breakpoint-down($breakpoint) {
        $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
        &-#{$pos}#{$infix}-d {
          position: $pos;
        }
      }
    }
  }
}

.pos-0 {
  $sides: ('l': left, 'r': right);
  @each $pos in (absolute,fixed,relative,static) {
    &-#{$pos} {
      @each $name, $vertical in ('t': top, 'b': bottom) {
        &-#{$name} {
          #{$vertical}: 0px;
          @each $nameSide, $side in $sides {
            &#{$nameSide} {
              #{$side}: 0px;
              #{$vertical}: 0px;
            }
          }
        }
      }
      @each $nameSide, $side in $sides {
        &-#{$nameSide} {
          #{$side}: 0px;
        }
      }
    }
  }
}

.z-1000 {
  z-index:                                                  1000;
}

.z-0 {
  z-index:                                                  0 !important;
}

.z-unset {
  z-index:                                                  unset !important;
}

.top-0 {
  top:                                                      0 !important;
}
