.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  z-index: 1000;
}
.modal .modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1500;
}
.modal .modal-close .close-modal {
  background-color: transparent;
  border: 0;
}
.modal .modal-close .close-modal svg {
  width: 20px;
  fill: #1D1D1D;
}
.modal .modal-close .close-modal:hover svg, .modal .modal-close .close-modal:active svg {
  fill: #0067AB;
}
.modal .modal-body {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex-direction: column;
}
.modal .modal-body iframe {
  aspect-ratio: 16/9;
  max-width: 1200px;
  width: 100%;
}
.modal .modal-body img {
  -o-object-fit: contain;
     object-fit: contain;
  height: 75vh;
  width: 90%;
}

.video-modal-active {
  overflow: hidden;
}
.video-modal-active .modal {
  display: flex;
}

.photo-modal-active {
  overflow: hidden;
}
.photo-modal-active .modal {
  display: flex;
}