@media (min-width: 768px) {
  .modal.component-backend-modal .modal-content .resize-handle {
    position: absolute;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=bt],
  .modal.component-backend-modal .modal-content .resize-handle[data-side=tp] {
    height: 3px;
    width: 100%;
    cursor: ns-resize;
    left: 0;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=lf],
  .modal.component-backend-modal .modal-content .resize-handle[data-side=rt] {
    top: 0;
    height: 100%;
    width: 3px;
    cursor: ew-resize;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=bt-rt],
  .modal.component-backend-modal .modal-content .resize-handle[data-side=bt-lf],
  .modal.component-backend-modal .modal-content .resize-handle[data-side=tp-rt],
  .modal.component-backend-modal .modal-content .resize-handle[data-side=tp-lf] {
    width: 6px;
    height: 6px;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=bt-rt] {
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=bt-lf] {
    bottom: 0;
    left: 0;
    cursor: nesw-resize;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=tp-rt] {
    top: 0;
    right: 0;
    cursor: nesw-resize;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=tp-lf] {
    top: 0;
    left: 0;
    cursor: nwse-resize;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=bt] {
    bottom: 0;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=tp] {
    top: 0;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=lf] {
    left: 0;
  }
  .modal.component-backend-modal .modal-content .resize-handle[data-side=rt] {
    right: 0;
  }
}
.modal.component-backend-modal.fade:not(.in) {
  pointer-events: none;
}
.modal.component-backend-modal.fade .modal-dialog {
  opacity: 0;
  -webkit-transition: all 0.15s, width 0s;
  transition: all 0.15s, width 0s;
  -webkit-transform: scale(0.95);
  -ms-transform: scale(0.95);
  transform: scale(0.95);
}
.modal.component-backend-modal.fade.in .modal-dialog {
  opacity: 1;
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.modal.component-backend-modal {
  display: block;
}
.modal.component-backend-modal.non-modal {
  overflow: visible;
  overflow-y: visible;
  right: auto;
  bottom: auto;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
}
.modal.component-backend-modal.non-modal .modal-dialog {
  width: auto;
  margin: 0;
}
.modal.component-backend-modal.temporary-hidden {
  display: none;
}
.modal.component-backend-modal .modal-content {
  border: 1px solid rgba(149, 165, 166, 0.2);
  border-radius: 8px;
  box-shadow: 0 0 32px rgba(67, 86, 100, 0.2);
  background-color: white;
  overflow: visible;
  word-break: break-word;
}
.modal.component-backend-modal .modal-content .modal-header {
  border-bottom: 1px solid rgba(149, 165, 166, 0.2);
  padding: 15px 20px;
}
.modal.component-backend-modal .modal-content .modal-header .close {
  width: 19px;
  height: 19px;
  border-radius: 20px;
  position: relative;
  top: 5px;
  opacity: 1;
  filter: alpha(opacity=100);
  font-size: 0;
  color: transparent;
}
.modal.component-backend-modal .modal-content .modal-header .close:after {
  display: none!important;
}
.modal.component-backend-modal .modal-content .modal-header .close[disabled] {
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: default;
}
.modal.component-backend-modal .modal-content .modal-header .close:focus {
  outline: none;
  background-color: rgba(215, 225, 234, 0.7);
}
.modal.component-backend-modal .modal-content .modal-header .close:before {
  display: block;
  width: 11px;
  height: 11px;
  position: absolute;
  background-position: -253px 0;
  top: 4px;
  right: 4px;
}
.modal.component-backend-modal .modal-content .modal-header .close:not([disabled]):focus:before,
.modal.component-backend-modal .modal-content .modal-header .close:not([disabled]):hover:before {
  background-position: -268px 0;
}
.modal.component-backend-modal .modal-content .modal-header h4 + p {
  margin-top: 10px;
  margin-bottom: 0;
}
.modal.component-backend-modal .modal-content.draggable .modal-header {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.modal.component-backend-modal .modal-content.animate-position {
  transition: left 0.2s, top 0.2s;
}
.modal.component-backend-modal .modal-content .modal-body {
  padding-top: 15px;
}
.modal.component-backend-modal .modal-content .modal-footer {
  text-align: left;
}
@media (max-width: 768px) {
  .modal.component-backend-modal:not(.non-modal) .modal-content {
    width: auto !important;
    height: auto !important;
    left: 0 !important;
    top: 0 !important;
  }
}
@media (min-width: 415px) {
  .modal.component-backend-modal .modal-content.show-modal-frame {
    -webkit-animation: modal-showframe 0.4s;
    animation: modal-showframe 0.4s;
  }
  @-webkit-keyframes modal-showframe {
    0%,
    50% {
      box-shadow: 0 0 32px rgba(67, 86, 100, 0.2), 0 0 0 3px #6a6cf7;
    }
    25%,
    75% {
      box-shadow: 0 0 32px rgba(67, 86, 100, 0.2);
    }
  }
  @keyframes modal-showframe {
    0%,
    50% {
      box-shadow: 0 0 32px rgba(67, 86, 100, 0.2), 0 0 0 3px #6a6cf7;
    }
    25%,
    75% {
      box-shadow: 0 0 32px rgba(67, 86, 100, 0.2);
    }
  }
}
@media (max-width: 414px) {
  .modal.component-backend-modal:not(.non-modal) .modal-dialog {
    margin: 0;
  }
  .modal.component-backend-modal:not(.non-modal) .modal-dialog .modal-content {
    border: none;
    top: 0 !important;
    left: 0 !important;
    -webkit-box-shadow: 0 16px 32px rgba(67, 86, 100, 0.2);
    box-shadow: 0 16px 32px rgba(67, 86, 100, 0.2);
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
}
body.modal-dragging * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
body.modal-dragging * {
  cursor: move !important;
}
body.modal-dragging.modal-dragging-ns * {
  cursor: ns-resize !important;
}
body.modal-dragging.modal-dragging-ew * {
  cursor: ew-resize !important;
}
body.modal-dragging.modal-dragging-nesw * {
  cursor: nesw-resize !important;
}
body.modal-dragging.modal-dragging-nwse * {
  cursor: nwse-resize !important;
}
