@media (min-width: 768px) {
  .modal .modal-dialog.modal-top {
    top: 0;
  }
  .modal .modal-dialog.modal-left {
    left: 0;
  }
  .modal .modal-dialog.modal-right {
    right: 0;
  }
  .modal .modal-dialog.modal-bottom {
    bottom: 0;
  }
  .modal .modal-dialog.modal-top-left {
    top: 10px;
    left: 10px;
  }
  .modal .modal-dialog.modal-top-right {
    top: 10px;
    right: 10px;
  }
  .modal .modal-dialog.modal-bottom-left {
    bottom: 10px;
    left: 10px;
  }
  .modal .modal-dialog.modal-bottom-right {
    right: 10px;
    bottom: 10px;
  }
}
.modal.fade.top:not(.show) .modal-dialog {
  transform: translate3d(0, -25%, 0);
}
.modal.fade.right:not(.show) .modal-dialog {
  transform: translate3d(25%, 0, 0);
}
.modal.fade.bottom:not(.show) .modal-dialog {
  transform: translate3d(0, 25%, 0);
}
.modal.fade.left:not(.show) .modal-dialog {
  transform: translate3d(-25%, 0, 0);
}
@media (min-width: 992px) {
  .modal .modal-side {
    position: absolute;
    width: 100%;
    right: 10px;
    bottom: 10px;
    margin: 0;
  }
  .modal .modal-frame {
    position: absolute;
    max-width: 100%;
    width: 100%;
    margin: 0;
  }
}

.modal-open .modal.frame {
  overflow-y: hidden;
}