/*
	Enhanced Bootstrap Modals
	(C) 2017 MDBootstrap
	https://mdbootstrap.com
	office@mdbootstrap.com
*/
body.modal-open {
  padding-right: 0 !important; }

body.scrollable {
  overflow-y: auto; }

.modal .modal-header .modal-title {
  font-weight: 300; }

@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 {
    left: 10px;
    bottom: 10px; }
  .modal .modal-dialog.modal-bottom-right {
    right: 10px;
    bottom: 10px; } }

.modal.fade.top:not(.show) .modal-dialog {
  -webkit-transform: translate3d(0, -25%, 0);
  transform: translate3d(0, -25%, 0); }

.modal.fade.left:not(.show) .modal-dialog {
  -webkit-transform: translate3d(-25%, 0, 0);
  transform: translate3d(-25%, 0, 0); }

.modal.fade.right:not(.show) .modal-dialog {
  -webkit-transform: translate3d(25%, 0, 0);
  transform: translate3d(25%, 0, 0); }

.modal.fade.bottom:not(.show) .modal-dialog {
  -webkit-transform: translate3d(0, 25%, 0);
  transform: translate3d(0, 25%, 0); }

@media (min-width: 768px) {
  .modal.modal-scrolling {
    position: relative; }
    .modal.modal-scrolling .modal-dialog {
      position: fixed;
      z-index: 1050; }
  .modal .modal-fluid {
    width: 100%;
    max-width: 100%; }
    .modal .modal-fluid .modal-content {
      width: 100%; }
  .modal .modal-frame {
    position: absolute;
    width: 100%;
    max-width: 100%;
    margin: 0; }
    .modal .modal-frame.modal-bottom {
      bottom: 0; }
  .modal .modal-full-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    position: absolute;
    width: 400px;
    height: 100%;
    margin: 0;
    top: 0;
    bottom: 0;
    right: 0; }
    .modal .modal-full-height.modal-top, .modal .modal-full-height.modal-bottom {
      display: block;
      width: 100%;
      max-width: 100%;
      height: auto; }
    .modal .modal-full-height.modal-top {
      bottom: auto; }
    .modal .modal-full-height.modal-bottom {
      top: auto; }
  .modal .modal-side {
    position: absolute;
    right: 10px;
    bottom: 10px;
    margin: 0;
    width: 400px; } }
