html,
html body {
  width: 100%;
}
html.body-modal,
html body.body-modal {
  overflow: hidden;
}
html.body-hidden,
html body.body-hidden {
  overflow: hidden;
}

.modal-new {
  z-index: 9999;
  height: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  overflow-y: scroll;
  scroll-behavior: smooth;
  background-color: rgba(255, 238, 238, 0.5019607843);
  opacity: 0;
  visibility: hidden;
  top: 0 !important;
  left: 0;
  right: 0;
  position: absolute;
  -webkit-overflow-scrolling: touch;
  z-index: -1;
}
.modal-new.active {
  opacity: 1;
  visibility: visible;
  position: fixed;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  z-index: 9999;
}
.modal-new.inactive {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.modal-new iframe {
  width: 100%;
  min-height: 400px;
  height: 100%;
  position: relative;
}
.modal-new:not(#modal-filter) .child::after {
  width: 1rem;
  height: 3rem;
  position: absolute;
  content: "";
  bottom: -2rem;
}
.modal-new .child {
  width: 90%;
  max-width: 1640px;
  padding: 30px 95px;
  border-radius: 20px;
  background-color: #ffffff;
  top: 40px;
  position: absolute;
  touch-action: pan-y;
  align-items: flex-start;
}
.modal-new .child.small {
  max-width: 820px;
  padding: 40px 50px;
}
.modal-new .child.x-small {
  max-width: 680px;
  padding: 40px 50px;
}
.modal-new .container {
  gap: 0 50px;
}

@media screen and (max-width: 950px) {
  .modal-new .container {
    align-items: center;
    flex-direction: column;
  }
  .modal-new .child {
    padding: 24px 20px;
  }
}
@media screen and (max-width: 768px) {
  .modal-new .child {
    padding-bottom: 30px !important;
  }
}
