/*
 * Style overwrites for the status message block.
 */

.simple-status-messages {
  position: fixed;
  top: 100px;
  right: 10px;
  z-index: 9999;
  width: 30%;
  transition: all 0.25s ease;
}

.webform-message .simple-status-messages {
  top: 170px;
}

@media screen and (max-width: 767px) {
  .simple-status-messages {
    width: 100%;
    position: unset;
  }
}

.simple-status-messages a{
  font-weight: bold;
  text-decoration: underline;
}

.status-messages + .status-messages {
  margin-top: 0.769em;
}

.simple-status-messages .status-messages {
  position: relative;
  padding: 15px 20px 15px 35px;
  word-wrap: break-word;
  border: 0;
  border-radius: 10px;
  background: no-repeat 10px 17px;
  overflow-wrap: break-word;
  font-family: "Texta Narrow", "Segoe UI", sans-serif;
}

.simple-status-messages .js-webform-message__link {
  display: none !important;
}

.simple-status-messages .messages--status {
  background-image: url(/themes/atlas/assets/images/icons/checked.svg);;
  background-size: 16px;
  background-color: #f3faefe5;
  color: #325e1c;
  box-shadow: none;
}

.simple-status-messages .messages--status a{
  color: #325e1c;
}

.simple-status-messages .messages--info {
  background-image: url(/themes/atlas/assets/images/icons/checked.svg);
  background-size: 16px 16px;
  background-color: #f3faefe5;
  color: #325e1c;
  box-shadow: none;
}

.simple-status-messages .messages--info a{
  color: #325e1c;
}

.simple-status-messages .messages--webform {
  background-image: url(/themes/atlas/assets/images/icons/checked.svg);
  background-size: 16px 16px;
  background-color: #f3faefe5;
  color: #325e1c;
  box-shadow: none;
}

.simple-status-messages .messages--webform a{
  color: #325e1c;
}


.messages--warning {
  border: 0;
  border-radius: 10px;
}

.messages--warning,
.simple-status-messages .messages--warning {
  background-image: url(/themes/atlas/assets/images/icons/warning.svg);
  background-size: 16px 16px;
  color: #734c00;
  background-color: #fdf8ede5;
  box-shadow: none;
}

.messages--warning,
.simple-status-messages .messages--warning a{
  color: #734c00;
}

.simple-status-messages .messages--error {
  background-image: url(/themes/atlas/assets/images/icons/cancel.svg);
  background-size: 16px 16px;
  color: #a51b00;
  background-color: #fcf4f2e5;
  box-shadow: none;
}

.simple-status-messages .messages--error a{
  color: #a51b00;
}

.simple-status-messages .status-message-close {
  border: none;
  padding: 0;
}

.simple-status-messages .status-message-close span {
  position: absolute;
  right: 10px;
  top: 2px;
  color: #000000;
  font-size: 16px;
  opacity: 0.5;
  border-bottom: none;
}

.simple-status-messages .status-message-close span:hover,
.simple-status-messages .status-message-close span:focus,
.simple-status-messages .status-message-close span:active {
  color: #000000;
  text-decoration: none;
  opacity: 0.8;
}
