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

/* Hide scroll bar */

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

/* 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;
  padding: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;
  height: 100%;
  margin-left: -0.05em;
  content: "";
}

.remodal-close {
  left: auto;
  right: 0;
  color: #000;
}

.remodal-close:before {
  font-size: 2rem;
  line-height: 2;
}

.audio-modal .remodal-close {
  position: static;
  color: #fff;
}

.audio-modal .remodal-close:hover,
.audio-modal .remodal-close:focus {
  color: #fff;
}

.audio-modal .remodal-close:before {
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
  font-size: 34px;
  line-height: 35px;
  position: static;
}

/* 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%;
  max-width: none;
}

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

@media (max-width: 768.1px) {
  .remodal .cover {
    width: 90%;
  }
}