.popup-area {
  position: fixed;
  top: 0px;
  left: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 99999;
}

.popup-area .popup-overlay {
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

.block-ws-popup {
  clear: both;
}

.popup-area .popup-wrapper {
  background: #fff;
  width: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: 580px;
  transform: translateX(-50%) translateY(-50%);
  border-radius: 5px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
  .popup-area .popup-wrapper {
    max-height: 90vh;
    max-width: 85vw;
    overflow: auto;
  }
}

.popup-area .popup-close {
  font-size: 0px;
  height: 40px;
  width: 40px;
  cursor: pointer;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-image: url(../img/close.svg);
  mask-image: url(../img/close.svg);
  -webkit-mask-size: 14px auto;
  mask-size: 14px auto;
  background-color: #000;
  margin-left: auto;
}

.popup-area .popup-inner {
  padding: 30px;
  text-align: left;
  color: black;
}

.popup-area h2 {
  color: #165c71;
  margin-top: 0;
}

.popup-area.closed {
  display: none;
}

.popup-area .popup-inner p:last-child {
  margin-bottom: 0px;
}

.popup-banner.closed {
  display: none;
}
