/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  overflow: auto;

  text-align: center;

  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}



/* custom css*/
.remodal .Wysiwyg ul li:before {
  display: none;
}
.remodal .Wysiwyg .button-action-black:hover {
  cursor: pointer;
}
.remodal-overlay {
  background: rgba(0, 0, 0, 0.9);
}
.remodal {
  width: 100%;
}
.remodal .modal-contna {
  max-width: 720px;
  width: 100%;
  background: #fff;
  margin: 0 auto;
}
.remodal, .remodal-wrapper:after {
  vertical-align: middle;
}
.remodal .modal-contna-inr {
  padding: 40px;
}
.remodal .modal-contna-inr .title {
  font-size: 18px;
  text-align: center;
}
.remodal .modal-btn__area {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}
.remodal .modal-btn__area li {
  width: 100%;
  padding: 0;
}
.remodal .modal-btn__area li:nth-of-type(1) {
  margin-right: 20px;
}
.remodal .modal-btn__area li:nth-of-type(2) {
  margin-left: 20px;
}
.Wysiwyg .modal-btn__area .button-standard-black,
.Wysiwyg .modal-btn__area .button-action-black {
  width: 100%;
  min-width: auto;
}
@media (max-width: 767px) {
  .remodal .modal-contna {
    width: auto;
    max-width: none;
    margin: 0 20px;
  }
  .remodal .modal-contna-inr {
    padding: 40px 20px 30px;
  }
  .remodal .modal-btn__area {
    display: block;
    margin-top: 40px;
  }
  .remodal .modal-btn__area li:nth-of-type(1),
  .remodal .modal-btn__area li:nth-of-type(2) {
    margin: 20px 0 0;
  }
  .remodal .Wysiwyg .modal-btn__area .button-standard-black,
  .remodal .Wysiwyg .modal-btn__area .button-action-black {
    width: auto;
  }
}
