.modalv2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00000080;
  transition: 0s;
  visibility: hidden;
  opacity: 0;
  z-index: 1050;
  margin-top: -10000px;
  margin-left: -10000px;
  transition: visibility 0s linear 0.2s, opacity 0.2s 0s;
}

.modalv2__content {
  max-height: calc(100vh - 120px);
  width: 90%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  margin-top: -100rem;
  transition-delay: 0;
  margin-bottom: 4rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.25rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  background: rgba(241, 245, 248, 1) !important;
}

.modalv2.show .modalv2__content {
  margin-top: 4rem;

  transition: margin-top 0.2s ease;
  transition-delay: 0.2s;
}

.modalv2.show {
  visibility: visible;
  opacity: 1;
  margin-top: 0;
  margin-left: 0;
  transition: visibility 0s linear 0s, opacity 0.2s 0s;
}

@media (min-width: 640px) {
  .modalv2 .modalv2__content {
    width: 460px;
  }

  .modalv2 .modalv2__content.modalv2__content--sm {
    width: 300px;
  }

  .modalv2 .modalv2__content.modalv2__content--lg {
    width: 600px;
  }

  .modalv2 .modalv2__content.modalv2__content--xl {
    width: 600px;
  }

  .modalv2 .modalv2__content.modalv2__content--max {
    width: 90vw;
  }
}

@media (min-width: 1024px) {
  .modalv2 .modalv2__content.modalv2__content--xl {
    width: 880px;
  }
}