.t-body_popupshowed,
body.argaytrip-popup-open {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.t-popup {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  cursor: pointer;
  padding: 0 20px;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999999;
  display: none;
  opacity: 0;
  outline: 0;
  transition: opacity ease-in-out 0.3s;
}

.t-popup[aria-hidden="true"] {
  display: none;
}

.t-popup.t-popup_show {
  display: block;
  opacity: 1;
}

.t-popup__container {
  background: #fff;
  margin: 0 auto;
  width: auto;
  position: absolute;
  top: 50%;
  right: 20px;
  left: 20px;
  z-index: 1;
  cursor: default;
  transform: translateY(-30%) scale(0.9);
}

.t-popup__container-animated {
  transition: transform ease-in-out 0.3s;
}

.t-popup_show .t-popup__container {
  transform: translateY(-50%);
}

.t-popup__container.t-popup__container-static {
  margin: 65px auto;
  top: 0;
  position: relative;
  left: auto;
  right: auto;
  width: 100%;
  transform: translateY(30%) scale(0.9);
}

.t-popup_show .t-popup__container.t-popup__container-static {
  transform: translateY(0);
}

.t-popup__close {
  position: fixed;
  right: 20px;
  top: 20px;
  width: 23px;
  height: 23px;
  cursor: pointer;
  transition: opacity ease-in-out 0.3s;
  z-index: 9;
}

.t-popup__close:hover {
  opacity: 0.7;
}

.t-popup__block-close {
  top: 10px;
  right: 10px;
  width: 43px;
  height: 43px;
}

.t-popup__block-close-button {
  width: 23px;
  padding: 10px;
  font-size: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
