.split-container-navi {}

.split-container-navi a, .split-container-navi button {
    display: inline-block !important;
    color: #ffffff !important;
    padding: 0px 10px 0px 10px;
}

.contentboxout {
  text-align: left;
}

.codeform {
    padding: 0px 0% 0px 0%;
    float: left;
    width: 100%;
}

.split-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 40px); /* z.B. für header offset */
  width: 100%;
  overflow: hidden;
}

.editor-row {
  display: flex;
  flex: 1 1 50%;
  width: 100%;
  min-height: 300px;
  max-height: 70%;
}

.editor-column {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-height: 200px;
  overflow: hidden;
}

.editor-column .CodeMirror {
    height: 100%;
    width: 100%;
    flex: 1;
    z-index: 0;
    overflow: auto;
}

.resizer-col {
    width: 6px;
    background-color: #ccc;
    cursor: col-resize!important;
    flex-shrink: 0;
    z-index: 20;
}

.resizer-row {
    height: 6px;
    background-color: #ccc;
    cursor: row-resize;
    flex-shrink: 0;
    z-index: 20;
}

.preview-group {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: #fff;
  border-top: 1px solid #ccc;
  overflow: hidden;
  max-height: calc(90vh - 300px);
}

.resizable-frame {
  flex: 1;
  display: flex;
  height: 100%;
}

.resizable-frame iframe {
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    box-sizing: border-box;
    border: solid 1px #aaaaaa;
}

.editor-info {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.content span, .CodeMirror-linenumber {
  line-height: 150%!important;
}

.split-container.fullscreen .resizer-row {
    display: block;
}

.split-container .resizer-row,
.split-container .resizer-col {
    background-color: #ccc;
    cursor: row-resize;
    flex-shrink: 0;
    z-index: 20;
}

.fly-container {
    padding-left: 20px;
    position: relative;
    z-index: 20;
    top: -45px;
}

.naviline_in {
    position: relative;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0px 2% 0px 2%;
    float: left;
    width: 96%;
    height: 40px;
}

@media (max-width: 800px) {
  .editor-row {
    flex-direction: column;
    height: auto;
    overflow: hidden;  /* Verhindert das Verschieben der Boxen */
  }

  .resizer-col {
    display: none;
  }

  /* Sicherstellen, dass die Boxen auch im kleinen Layout korrekt angezeigt werden */
  .editor-column {
    width: 100%; /* Boxen nehmen volle Breite ein */
    padding: 10px 0% 10px 0%;
    min-height: 200px; /* Auf mobilen Geräten sicherstellen, dass sie nicht zu klein werden */
    height: 300px;  /* Feste Höhe für die Boxen */
    overflow: auto; /* Verhindert, dass Inhalte verschoben werden können */
  }

  .preview-group {
    padding: 1rem;
    padding-left: 0px;
    padding-right: 0px;
    min-height: 300px; /* Mindestens eine bestimmte Höhe für mobile Geräte */
    max-height: none; /* Maximale Höhe auf mobilen Geräten entfernen */
    width: 100%; /* Die Vorschau nimmt volle Breite ein */
    overflow: hidden; /* Verhindert das Verschieben der Boxen */
  }

  .split-container {
    overflow: auto;
    height: auto;
  }
}