@keyframes alert-animation {
  0% {
    height: 80px;
  }

  50% {
    height: 0;
  }

  100% {
    height: 80px;
  }
}

@keyframes alert-animation-mobile {
  0% {
    height: 200px;
  }

  50% {
    height: 0;
  }

  100% {
    height: 200px;
  }
}

@media only screen and (min-width: 960px) {
  .wmr_wm-alert-wrapper {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

.wmr_wm-alert-wrapper.mobile {
  display: block;
}

.wmr_wm-alert-wrapper a:hover {
  color: #FFF;
  text-decoration: none;
}

.wmr_wm-alert-wrapper.desktop {
  display: none;
}

.wm-alert__actions.wm-alert__actions--with-primary {
  display: none;
}

@media only screen and (min-width: 768px) {
  .wmr_wm-alert-wrapper.mobile {
    display: none;
  }

  .wmr_wm-alert-wrapper.desktop {
    display: block;
  }

  .wm-alert__actions.wm-alert__actions--with-primary {
    display: block;
  }
}

.wm-alert {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  border-radius: 8px;
  background-color: #003058;
  min-height: 80px;
}

.wm-alert.large-banner{
  display: flex;
  flex-direction: row;
  font-size: 26px;
  min-height: 160px;
  border-radius: 8px;
  background-color: #003058;
}

.wm-alert--with-image .wm-alert__img {
  position: relative;
  width: 142px;
  padding: 0;
}

.wm-alert--with-image .wm-alert__img::before {
  content: ' ';
  display: block;
  width: 100%;
}

.wm-alert--with-image .wm-alert__img > .aspect-ratio-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.wm-alert--with-image .wm-alert__img > .aspect-ratio-content img {
  width: 100%;
  height: 100%;
  border-top-left-radius: 8px;
}

.wm-alert--change-alert {
  align-items: unset;
  animation-name: alert-animation;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode:forwards;
}

@media only screen and (max-width: 960px) {
  .wm-alert--change-alert {
    animation-name: alert-animation-mobile;
  }
}

.wm-alert__img {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  width: 112px;
  min-width: 112px;
  position: relative;
}

.large-banner .wm-alert__img {
  width: 244px;
  min-width: 244px;
}

.wm-alert__img svg {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
}

.wm-alert.large-banner .wm-alert__img {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.wm-alert__img--with-link {
  cursor: pointer;
}

.wm-alert__img svg * {
  fill: #FFFFFF !important;
}

.wm-alert__info {
  display: flex;
  font-size: 20px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.large-button-text {
  color: #616161;
  font-family: AleckSansBold;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 0;
  padding: 10px 0;
}
.large-button-text a {
  color: #FFF;
}
.wm-alert--with-image .wm-alert__info {
  width: calc(100% - 142px);
}

.wm-alert__info-message {
  position: relative;
  padding-left: 10px;
  font-size: 20px;
  color: #FFFFFF;
  overflow: hidden;
}

.large-banner .wm-alert__info-message {
  font-size: 26px;
  line-height: 32px;
}

.wm-alert__info-message--with-link {
  cursor: pointer;
}

.wm-alert__actions {
  display: flex;
  align-items: baseline;
  margin: 0 32px;
}

.wm-alert__actions-dismiss {
  margin-right: 16px;
}

.wm-alert__actions-primary-label {
  margin-left: 0px;
  font-size: 18px;
}

.wm-alert__actions-dismiss .wm-alert__actions-dismiss-label {
  color: #FFFFFF;
  cursor: pointer;
  font-size: 18px;
  margin-right: 8px;
}

.wm-alert__actions-dismiss .wm-alert__actions-dismiss-label.large-banner{
  color: #FFFFFF;
  cursor: pointer;
  font-size: 22px;
  margin-right: 8px;

}

.wm-alert__actions-primary {
  white-space: nowrap;
  overflow: hidden;
}

.wm-alert__actions-dismiss .wm-alert__actions-dismiss-svg,
.wm-alert__actions-primary .wm-alert__actions-primary-svg {
  position: relative;
  bottom: 1px;
  top: 3px;
  margin-left: 10px;
}

.wm-alert__actions-dismiss .wm-alert__actions-dismiss-svg *,
.wm-alert__actions-primary .wm-alert__actions-primary-svg * {
  fill: #FFFFFF;
}


.wm-alert__actions-dismiss:hover .wm-alert__actions-dismiss-svg *,
.wm-alert__actions-primary:hover .wm-alert__actions-primary-svg * {
  fill: #FFFFFF;
}

.wm-alert__actions--with-primary .wm-alert__actions-dismiss .wm-alert__actions-dismiss-label {
  color: #FFFFFF;
}

.wm-alert__actions--with-primary .wm-alert__actions-dismiss .wm-alert__actions-dismiss-label:hover {
  color: #FFFFFF;
}

.wm-alert__actions-primary .wm-alert__actions-primary-label {
  margin-right: 8px;
  color: #FFFFFF;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
  font-family: AleckSansBold;
  cursor: pointer;
}

.wm-alert__actions-primary .wm-alert__actions-primary-label.large-banner {
  margin-right: 8px;
  color: #FFFFFF;
  font-size: 22px;
  line-height: 20px;
  letter-spacing: 0;
  font-family: AleckSansBold;
  cursor: pointer;
}

.hidden {
  display: none;
}