/* =Modal
-----------------------------------------------------------------------------*/
#modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  margin: auto;
  overflow: auto;
  width: 100%;
  height: 100%;
  background-color: #000 !important;
  @include opacity(30);
  z-index: 100;
}
.modal-blur {
  @include blur(3px);
}
.modal-box {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 101;
}
.modal {
  position: relative;
  margin: auto;
  margin-bottom: 20px;
  padding: 0;
  background: var(--ply-bg-surface, #fff);
  color: var(--ply-color-body, #000);
  box-shadow: 0 1px 70px rgba(0, 0, 0, .5);

  & header {
    padding: 30px 40px 5px 40px;
    font-size: 18px;
    font-weight: bold;
  }
  & section {
    padding: 30px 40px 50px 40px;
  }
  & footer {
    & button {
      width: 100%;
      border-radius: 0;
    }
  }
}
.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 30px;
  height: 30px;
  text-align: right;
  color: var(--ply-color-secondary, #525252);
  font-size: 30px;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  &:hover {
    color: var(--ply-color-body, #000);
  }
  &:focus-visible {
    outline: 2px solid var(--ply-color-focus, #0f62fe);
    outline-offset: 2px;
  }
}