.common-modal {
  position: fixed;
  inset: 0;
  width: 112vw;
  height: 112vh;
  z-index: 10000;
}

.common-modal .modal-body {
  min-height: 0;
  overflow: auto !important;
}

.common-modal .modal-backdrop {
  position: fixed;
  inset: 0;
  width: 112vw;
  height: 112vh;
  background: rgba(0, 0, 0, 0.5);
}

.common-modal .modal-wrap {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  max-width: calc(100vw - 40px);
  max-height: calc(100vh - 48px);
  background: #fff;
  border-radius: 6px;
  padding: 0;
  overflow: hidden;
  z-index: 10000;
}

.common-modal .modal-header,
.common-modal .modal-footer {
  flex: 0 0 auto;
}

.common-modal .modal-body {
  flex: 1 1 auto;
}

.modal-backdrop {
  width: 112vw !important;
  height: 112vh !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.cefc-modal {
  width: 112vw !important;
  height: 112vh !important;
}

.cefc-modal .modal-dialog {
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
}

.cefc-modal .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  overflow: hidden;
}

.cefc-modal .modal-header,
.cefc-modal .modal-footer {
  flex: 0 0 auto;
}

.cefc-modal .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.common-modal .nav-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  border-bottom: 1px solid #dee2e6;
}

.common-modal .nav-tabs .nav-link {
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
}

.common-modal .tab-content {
  display: block !important;
  position: relative !important;
  height: auto;
  overflow: visible;
}

.common-modal .tab-pane {
  position: relative !important;
  inset: unset !important;
  display: none;
  padding: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.common-modal .tab-pane.active {
  display: block !important;
}

#orgTreePanel {
  height: 340px !important;
  overflow-y: auto !important;
}
