/**
 * @file
 * Visual styles for Base+'s status messages.
 */
.system-messages .col-12 {
  min-height: 0;
}
.messages {
  margin: 30px 0 10px;
  padding: 15px 75px;
  position: relative;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: transparent;
  overflow: hidden;
}
.headings-wide-spacing-enabled .messages {
  letter-spacing: var(--mt-headings-letter-spacing);
  text-transform: uppercase;
}
.messages a {
  color: #ffffff;
  text-decoration: underline;
}
.messages--status {
  background: var(--mt-color-success);
  color: var(--mt-color-success-contrast);
}
.messages--error {
  background: var(--mt-color-danger);
  color: var(--mt-color-danger-contrast);
}
.messages--warning {
  background: var(--mt-color-warning);
  color: var(--mt-color-warning-contrast);
}

/*Status messages symbols*/
.messages:after {
  font-family: 'Font Awesome 5 Free', 'Font Awesome 5 Pro';
  font-weight: 900;
  font-size: 20px;
  position: absolute;
  left: 15px;
  top: 4px;
  text-align: center;
  padding-top: 10px;
  width: 20px;
  height: 35px;
}
.messages:before {
  content: '';
  position: absolute;
  width: 50px;
  height: 100%;
  top: 0;
  left: 0;
}
.messages--status:after {
  content: '\f00c';
}
.messages--status:before {
  background-color: var(--mt-color-success-dark);
}
.messages--error:after {
  content: '\f00d';
}
.messages--error:before {
  background-color: var(--mt-color-danger-dark);
}
.messages--warning:after {
  content: '\f12a';
}
.messages--warning:before {
  background-color: var(--mt-color-warning-dark);
}
.messages__close {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  color: #fff;
  position: absolute;
  top: 13px;
  right: 10px;
  outline: none;
}
.messages__close svg {
  width: 24px;
  height: 24px;
}
