@keyframes mmfadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes mmfadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes mmslideIn {
  from {
    transform: translateY(10%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes mmslideOut {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10%);
  }
}
/* *,
::after,
::before {
  box-sizing: border-box;
} */
button {
  border: none;
  background-color: transparent;
  text-decoration: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
video {
  display: block;
  width: 100%;
  height: auto;
}
.modal_overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  overflow: auto;
  z-index: 999;
}
.modal_container {
  width: 90%;
  padding: 48px 24px 24px;
  border-radius: 8px;
  position: relative;
  background: transparent;
  max-height: 100vh;
}
@media only screen and (min-width: 768px) {
  .modal_container {
    max-width: 800px;
  }
}
@media only screen and (max-width: 767px) {
  .modal_container {
    padding: 32px 16px 16px;
  }
}
.modal_inner {
  background: #FFF;
  width: 100%;
  max-height: none;
  overflow: visible;
}
.modal-close {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  color: #333;
  border: 0;
  border-radius: 20px;
  background: 0 0;
  transition: color 0.2s;
  text-decoration: none;
  position: absolute;
  top: 4px;
  right: 4px;
  overflow: visible;
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .modal-close {
    width: 32px;
    height: 32px;
    top: 0;
    right: 0;
  }
}
.modal-close:hover {
  background: #eee;
}
.modal-close::after,
.modal-close::before {
  content: "";
  display: block;
  box-sizing: border-box;
  width: 16px;
  height: 1px;
  background: #333;
  position: absolute;
  top: 50%;
  left: 50%;
}
@media only screen and (max-width: 767px) {
  .modal-close::after,
  .modal-close::before {
    width: 12px;
  }
}
.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.micromodal-slide {
  display: none;
}
.micromodal-slide.is-open {
  display: block;
}
.micromodal-slide[aria-hidden="false"] .modal_overlay {
  animation: mmfadeIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}
.micromodal-slide[aria-hidden="false"] .modal_container {
  animation: mmslideIn 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}
.micromodal-slide[aria-hidden="true"] .modal_overlay {
  animation: mmfadeOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}
.micromodal-slide[aria-hidden="true"] .modal_container {
  animation: mmslideOut 0.8s cubic-bezier(0.34, 0.07, 0.095, 0.995);
}
.micromodal-slide .modal_container,
.micromodal-slide .modal_overlay {
  will-change: transform;
}
