/* ----- popup css ---------*/
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
}

.popup-overlay > .blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: rgba(255, 255, 255, .1);
  backdrop-filter: blur(2px);
}
.popup-overlay > .popup-window  {
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 600px;
  height: auto;
  background-color: white;
  max-height: 70%;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.popup-overlay > .popup-window.small {
  width: 95%;
  max-width: 420px;
}
.popup-overlay > .popup-window .window-header  {
  height: 40px;
  padding: 0 10px 0 20px;
  width: 100%;
}
.popup-overlay > .popup-window .window-header > h3.title {
  font-weight: 400;
  font-size: 1.1rem;
}
.popup-overlay > .popup-window .window-header > button.close {
  width: 26px;
  height: 26px;
  color: #989fa8;
  transition: .5s;
}
.popup-overlay > .popup-window .window-header > button.close > img {
  width: 16px;
  height: 16px;
}
.popup-overlay > .popup-window .window-body  {
  padding: 20px;
  width: 100%;
  height: calc(100% - 40px);
  max-height: 400px;
  overflow-y: auto;
}
.popup-overlay > .popup-window .window-body.max-y  {
  max-height: 400px;
}

@media screen and (max-height: 640px){
  .popup-overlay > .popup-window {
      max-height: initial !important;
  }
}

