.ai-body_popupshowed {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}
.ai-popup {
  background-color: rgba(0, 0, 0, 0.6);
  bottom: 0;
  box-sizing: border-box;
  cursor: pointer;
  display: none;
  height: 100%;
  left: 0;
  opacity: 0;
  outline: none;
  overflow-y: auto;
  padding: 0 20px;
  position: fixed;
  right: 0;
  top: 0;
  transition: opacity 0.3s ease-in-out;
  width: 100%;
  z-index: 10000001;
}
.ai-popup.ai-popup_show {
  opacity: 1;
}
.ai-popup__container {
  background: #fff;
  cursor: default;
  left: 20px;
  margin: 0 auto;
  position: absolute;
  right: 20px;
  top: 50%;
  -webkit-transform: translateY(-30%) scale(0.9);
  transform: translateY(-30%) scale(0.9);
  width: auto;
  z-index: 1;
}
@media (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .ai-popup__container {
    width: 100%;
  }
}
.ai-popup__container-animated {
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition:
    transform 0.3s ease-in-out,
    -webkit-transform 0.3s ease-in-out;
}
.ai-popup_show .ai-popup__container {
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.ai-popup__container.ai-popup__container-static {
  left: auto;
  margin: 65px auto;
  position: relative;
  right: auto;
  top: 0;
  -webkit-transform: translateY(30%) scale(0.9);
  transform: translateY(30%) scale(0.9);
  width: 100%;
}
.ai-popup_show .ai-popup__container.ai-popup__container-static {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.ai-popup__close {
  cursor: pointer;
  height: 23px;
  position: fixed;
  right: 20px;
  top: 20px;
  transition: opacity 0.3s ease-in-out;
  width: 23px;
  z-index: 9;
}
@media (min-width: 0\0), (min-width: 429px) and (hover) {
  .ai-popup__close:hover {
    opacity: 0.7;
  }
}
.ai-popup__block-close {
  height: 43px;
  right: 10px;
  top: 10px;
  width: 43px;
}
.ai-popup__block-close-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 0;
  padding: 10px;
  width: 23px;
}
.ai-body_scroll-locked {
  left: 0;
  position: fixed;
  width: 100%;
}
