/* MODAL: structural styles only. */
.modal-overlay {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: #000;
  opacity: 0.5;
  z-index: 1;
  position: fixed;
}
.modal-overlay.hidden {
  display: none;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  display: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  max-width: 600px;
}
.modal.active {
  display: block;
}
.modal-header {
  overflow: auto;
  clear: both;
}
.modal-header .modal-close {
  float: right;
  text-decoration: none;
}