.alert {
  --h2-font-size: 1.6rem;
  border-radius: 2px;
  padding: 1.5rem;
  line-height: 1.3;
  font-size: 1.2rem;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.125);
}
[class*=bg--black] .alert {
  border-color: hsla(0, 0%, 100%, 0.325);
}
.alert h2 {
  font-size: var(--h2-font-size);
}
.alert h3 {
  font-size: calc(0.9 * var(--h2-font-size));
}
.alert h4 {
  font-size: calc(0.8 * var(--h2-font-size));
}
.alert h5 {
  font-size: calc(0.7 * var(--h2-font-size));
}
.alert h6 {
  font-size: calc(0.6 * var(--h2-font-size));
}
.alert * {
  margin-bottom: 0;
}
.alert * + *:not(span):not(div):not(svg) {
  margin-top: 0.2rem;
  line-height: 1.6;
}

.alert__icon {
  padding: 0 1.5rem 0 0;
}
.alert__icon .fa-stack {
  width: 2em;
}
.alert__icon .svg-inline--fa.fa-stack-2x,
.alert__icon .svg-inline--fa.fa-stack-1x {
  width: 100%;
}
.alert__icon .fa-1x {
  font-size: 1.2rem;
}

.alert--danger {
  background: rgb(247.3909090909, 226.012987013, 220.7590909091);
}
.alert--danger .fa-circle {
  color: #BD472A;
}

.alert--success {
  background: rgb(234.6, 255, 250.4);
}
.alert--success .fa-circle {
  color: #00664F;
}

.alert--warning {
  background: rgb(255, 247.5, 216.75);
}
.alert--warning .fa-circle {
  color: #BD472A;
}
.alert--warning .fa-exclamation-triangle {
  margin-top: -2px;
}

.alert--info {
  background: rgb(236.5, 247.7321428571, 255);
}
.alert--info .fa-circle {
  color: #00558C;
}

.alert--centered {
  display: flex;
  justify-content: center;
}

.alert--vertically-centered {
  display: flex;
  align-items: center;
}

.alert--dismissible {
  position: relative;
}
.alert--dismissible button {
  position: absolute;
  right: 0;
  top: 0;
  background: transparent;
  border: none;
  height: 42px;
  width: 42px;
}
.alert--dismissible button i {
  font-size: 1.5rem;
}

.alert--icon {
  display: flex;
}
