.my-modal {
  /* z-index: 9990; */
  z-index: 1000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  white-space: nowrap;
  background: #0b0b0b;
  background: rgba(0, 0, 0, 0.9);
  outline: none !important;
}

.my-modal * {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.my-modal-wrap {
  /* z-index: 9990; */
  z-index: 1000;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: center;
  outline: none !important;
}

.my-modal-wrap:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -0.25em;
}

.my-modal-container {
  position: relative;
  /* z-index: 9992; */
  z-index: 1002;
  display: inline-block;
  max-width: 100%;
  max-height: 100%;
  text-align: left;
  vertical-align: middle;
  white-space: normal;
  outline: none !important;
  /* overflow-y: scroll; */
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: -o-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease, -o-transform 0.3s ease;
}
#form .lity-content {
  max-height: 800px;
  overflow-y: scroll;
}
#check .lity-content {
  max-height: 800px;
  overflow-y: scroll;
}

.modal-leave,
.modal-enter-to {
  opacity: 1;
}

.modal-enter-active,
.modal-leave-active {
  transition: opacity 0.3s;
}

.modal-leave-to,
.modal-enter {
  opacity: 0;
}

.modal-enter .my-modal-container,
.modal-leave-active .my-modal-container {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}

.my-modal-close,
.my-modal-close:hover,
.my-modal-close:focus,
.my-modal-close:active,
.my-modal-close:visited {
  /* z-index: 9994; */
  z-index: 1004;
  width: 213px !important;
  height: 48px !important;
  position: absolute !important;
  top: -7% !important;
  left: 50% !important;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  -webkit-appearance: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  padding: 0;
  line-height: 100px;
  border-radius: 0 !important;
  border: 0;
  background-image: url(../img/pop_close.png);
  background-position: center;
  background-repeat: no-repeat;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.my-modal-close::-moz-focus-inner {
  border: 0;
  padding: 0;
}