/*!
 * Bootstrap v4 (https://getbootstrap.com/)
 * Copyright 2011-2020 The Bootstrap Authors
 * Copyright 2011-2020 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 *
 * Copyright (C) AIZAWA Hina
 * Licensed under MIT
 */

/* stylelint-disable */
$displays: (
  none,
  inline,
  inline-block,
  block,
  table,
  table-row,
  table-cell,
  flex,
  inline-flex,
);

$breakpoints: (
  sm: 768px,
  md: 992px,
  lg: 1200px,
);

/* stylelint-enable */

@each $display in $displays {
  .d-#{$display} {
    display: $display !important;
  }
}

@each $display in $displays {
  .d-xs-#{$display} {
    display: $display !important;
  }
}

@each $sizeTag, $minWidth in $breakpoints {
  @media (min-width: $minWidth) {
    @each $display in $displays {
      .d-#{$sizeTag}-#{$display} {
        display: $display !important;
      }
    }
  }
}

$map: (
  direction: (row column row-reverse column-reverse),
  wrap: (wrap nowrap wrap-reverse),
);
@each $prop, $list in $map {
  @each $value in $list {
    .flex-#{$value} {
      flex-#{$prop}: $value !important;
    }
  }
}

.flex-fill {
  flex: 1 1 auto !important;
}

.flex-grow-0 {
  flex-grow: 0 !important;
}

.flex-grow-1 {
  flex-grow: 1 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.flex-shrink-1 {
  flex-shrink: 1 !important;
}

.justify-content-start {
  justify-content: flex-start !important;
}

.justify-content-end {
  justify-content: flex-end !important;
}

.justify-content-center {
  justify-content: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-around {
  justify-content: space-around !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-end {
  align-items: flex-end !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-baseline {
  align-items: baseline !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.align-content-start {
  align-content: flex-start !important;
}

.align-content-end {
  align-content: flex-end !important;
}

.align-content-center {
  align-content: center !important;
}

.align-content-between {
  align-content: space-between !important;
}

.align-content-around {
  align-content: space-around !important;
}

.align-content-stretch {
  align-content: stretch !important;
}

.align-self-auto {
  align-self: auto !important;
}

.align-self-start {
  align-self: flex-start !important;
}

.align-self-end {
  align-self: flex-end !important;
}

.align-self-center {
  align-self: center !important;
}

.align-self-baseline {
  align-self: baseline !important;
}

.align-self-stretch {
  align-self: stretch !important;
}
