.modal-root {
  display: none;
  position: fixed;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
}
.modal-root .inner-wrap {
  width: 100%;
  height: auto;
  min-height: 100%;
  padding: 3vh 0 48px;
}
.modal-root .inner-wrap .inner {
  margin: 0 auto;
  width: 100%;
  max-width: 730px;
  padding: 0 10px 0;
}
.modal-root .inner-wrap .inner .in-inner {
  min-height: 600px;
  position: relative;
  background-color: white;
}
@media screen and (max-width: 600px) {
  .modal-root .inner-wrap .inner .in-inner {
    padding: 12px 10px 32px;
  }
}
@media screen and (min-width: 601px) {
  .modal-root .inner-wrap .inner .in-inner {
    padding: 20px 16px 32px;
  }
}
.modal-root .inner-wrap .inner .in-inner .close-btn {
  position: absolute;
  background-color: #ff6c6c;
  top: -7px;
  right: -7px;
  display: inline-block;
  height: 36px;
  width: 36px;
  border-radius: 100px;
  text-align: center;
  line-height: 3.1rem;
  font-size: 2.9rem;
  cursor: pointer;
}
.modal-root .inner-wrap .inner .in-inner .close-btn:active {
  background-color: cadetblue;
}
.modal-root.second-modal .inner {
  max-width: 690px !important;
  padding-top: 12vh !important;
}
.modal-root.second-modal .inner .in-inner {
  min-height: 552px !important;
}