.fc-modal {
  display: none;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background: rgba(0, 2, 4, 0.6);
  justify-content: center;
  align-items: center;
  padding: 8vh 0;
  overscroll-behavior: none;
  will-change: background-color;
  --slide-up-distance: 8px;
  --slide-up-duration: 200ms;
}
.fc-modal.fc-is-open {
  display: flex;
}
.fc-modal__container {
  will-change: transform;
  position: fixed;
}
.fc-modal__container {
  display: flex;
  width: 100%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  background-color: #fff;
  max-height: 84vh;
  border-radius: 0.5rem;
  overflow-y: auto;
  box-sizing: border-box;
  max-width: 90vw;
  overscroll-behavior: contain;
}
.fc-modal__container iframe {
  min-height: 200px;
  overscroll-behavior: contain;
}
@container (max-width: 768px) {
  .fc-modal {
    padding-bottom: 0;
    align-items: flex-end;
    --slide-up-distance: 30px;
    --slide-up-duration: 300ms;
  }
  .fc-modal__container {
    align-self: flex-end;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    max-width: initial !important;
    width: 100%;
    max-height: 84%;
  }
}
@media (max-width: 768px) {
  .fc-modal {
    padding-bottom: 0;
    align-items: flex-end;
    --slide-up-distance: 30px;
    --slide-up-duration: 300ms;
  }
  .fc-modal__container {
    align-self: flex-end;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    max-width: initial !important;
    width: 100%;
    max-height: 84%;
  }
}
.modal__close {
  background: 0 0;
  border: 0;
}
.modal__header .modal__close:before {
  content: "\2715";
}
.modal__content {
  margin: 2rem 0;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.8);
}
.fc-modal[aria-hidden="false"],
.fc-modal[aria-hidden="true"] {
  animation-duration: var(--slide-up-duration);
  animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
.fc-modal[aria-hidden="false"] .fc-modal__container,
.fc-modal[aria-hidden="true"] .fc-modal__container {
  animation-duration: var(--slide-up-duration);
  animation-timing-function: cubic-bezier(0, 0, 0, 1);
}
@keyframes fcFadeIn {
  from {
    background: rgba(0, 2, 4, 0);
  }
  to {
    background: rgba(0, 2, 4, 0.6);
  }
}
@keyframes fcFadeOut {
  from {
    background: rgba(0, 2, 4, 0.6);
  }
  to {
    background: rgba(0, 2, 4, 0);
  }
}
@keyframes fcSlideUp {
  from {
    opacity: 0;
    transform: translateY(var(--slide-up-distance));
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fcSlideDown {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(var(--slide-up-distance));
  }
}
.fc-modal[aria-hidden="false"] {
  animation-name: fcFadeIn;
}
.fc-modal[aria-hidden="true"] {
  animation-name: fcFadeOut;
}
.fc-modal[aria-hidden="false"] .fc-modal__container {
  animation-name: fcSlideUp;
}
.fc-modal[aria-hidden="true"] .fc-modal__container {
  animation-name: fcSlideDown;
}
