.container {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  max-width: 100%;
  flex-wrap: wrap;
}

.left-side,
.right-side {
  flex: 1 1 50%;
  box-sizing: border-box;
  padding: 10px;
}

.left-side {
  height: 90vh;
}

.right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: 70vh;
}

.documentPreviewContainer {
  width: 100%;
  min-height: 400px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .left-side,
  .right-side {
    flex: 1 1 100%;
    width: 100%;
    padding: 5px;
    height: auto;
    /* Dadurch werden die festen Höhen bei kleineren Viewports entfernt */
  }
}

/* Zusatz: box-sizing für alle Elemente setzen */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.iframe_mask_Berufsregister {
  width: 100vw !important;
  height: 90vh !important;
}

img {
  max-height: 1000px;
}

.elo-document-view-image {
  display: flex;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.elo-document-view-image-page img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.panel-footer {
  padding: 10px 15px;
  background-color: #ffffff00;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px;
}

.navbar-default {
  background-color: #ecedee !important;
  border-color: transparent !important;
}



.preview-viewer {
  height: 100%;
  width: 100%;
  border: none;
  display: block;

}

.bodytemp {
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.preview-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

.preview-left {
  width: 50%;
  height: 500px;
  background-color: lightblue;
}

.preview-right {
  width: 50%;
  height: 500px;
  background-color: lightcoral;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {

  .preview-left {
    width: 100%;
    height: 500px;
  }
  .preview-right {
    width: 100%;
    height: 500px;
  }
}

.eloTreeUnterlagen {
  max-height: 500px !important;
  overflow: scroll;
}