.r9-modal {
	pointer-events: none;
	position: fixed;
	z-index: 1050;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	outline: 0;
}
.r9-modal-wrapper {
  display: flex;
  justify-content: center;
  align-content: center;
  width: inherit;
}

.r9-modal-backdrop {
  pointer-events: initial;
  z-index: -1;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: opacity 225ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
}

.r9-modal-dialog {
  margin-top: 50px;
  margin-bottom: 50px;
  transition: transform 0.3s ease-out;
  transform: translate(0, -50px);
}
.r9-modal-dialog.active {
  transform: none;
}

.r9-modal-dialog-content {
  width: 500px;
  max-width: 100vw;
  outline: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.r9-modal-dialog-title {
  margin-bottom: 12px;
}

.r9-modal-dialog--center {
  display: flex;
  margin-top: 0;
  margin-bottom: 0;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

@media (max-width: 640px) {
  .r9-modal-dialog--fullscreen-sm-down {
    margin: 0;
  }
  .r9-modal-dialog--fullscreen-sm-down .r9-modal-dialog-content {
    width: 100vw;
    max-width: none;
    height: 100vh;
    border-radius: 0 !important;
  }
}
@media (max-width: 768px) {
  .r9-modal-dialog--fullscreen-md-down {
    margin: 0;
  }
  .r9-modal-dialog--fullscreen-md-down .r9-modal-dialog-content {
    width: 100vw;
    max-width: none;
    height: 100vh;
    border-radius: 0 !important;
  }
}
@media (max-width: 1072px) {
  .r9-modal-dialog--fullscreen-lg-down {
    margin: 0;
  }
  .r9-modal-dialog--fullscreen-lg-down .r9-modal-dialog-content {
    width: 100vw;
    max-width: none;
    height: 100vh;
    border-radius: 0 !important;
  }
}
.r9-modal-dialog--fullscreen .r9-modal-dialog-content {
  width: 100vw;
  max-width: none;
  height: 100vh;
  border-radius: 0 !important;
}

.r9-modal-dialog-content--xs {
  width: 300px;
}

.r9-modal-dialog-content--sm {
  width: 360px;
}

.r9-modal-dialog-content--md {
  width: 700px;
}

.r9-modal-dialog-content--lg {
  width: 900px;
}

.r9-modal-dialog-content--xl {
  width: 1200px;
}

.r9-modal-dialog.prevent-close {
  animation-duration: 150ms;
  animation-name: sizepulse;
  animation-timing-function: ease-in-out;
}

@keyframes sizepulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.98);
  }
  100% {
    transform: scale(1);
  }
}
.r9-modal-dialog-content {
  pointer-events: initial;
  position: relative;
}

.r9-modal-dialog-close {
  position: absolute;
  margin: 12px;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.r9-modal-dialog-close.disabled {
  opacity: 0.3;
}
