@charset "utf-8";
.modal-open {
  overflow:visible;
}
.modal-box {
  display: none;
  box-sizing: border-box;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
	width: 90%;
	max-width: 700px;
  background-color: #000;
}
.modal-box.modal-open {
  display: block;
  animation: appearModal 0.5s ease-in;
  z-index: 200;
  transition: opacity .5s ease-out;
}
.modal-box.modal-open.fade-out {
  opacity: 0;
}
.modal-box #modal-close {
  position: absolute;
  top: -55px;
  right: -10px;
  cursor: pointer;
  color: #fff;
  transition: background-color 0.5s ease-in;
  font-size: 55px;
  line-height: 1;
  font-weight: 400;
}
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 150;
}
#overlay.modal-open {
  display: block;
  animation: appearOverlay 0.5s ease-in forwards;
}
#overlay.modal-open.fade-out {
  animation: hideOverlay 0.5s ease-in forwards;
}
@keyframes appearModal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes appearOverlay {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.7;
  }
}
@keyframes hideOverlay {
  0% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
  }
}