.jqmOverlay::before{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  z-index: 999;
  background: rgba(0, 0, 0, 0.48);
}

.jqmOverlay{
  display: none;
}

.jqmOverlay.active{
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}
.jQModal.fixed{
    position: fixed;
    display: block;
    z-index: 9999;
}

@media (max-width: 991px) {
  .jQModal.fixed{
    width: 100%;
    height: 100%;
  }
  .jQModal.fixed .flexbox--align-center{
    align-items: start;
  }

  .jQModal.fixed .form{
    max-width: 100%;
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
  }
}