body{
  font-family: 'Roboto', sans-serif;
  background: #15161b;
  color: rgba(255, 255, 255, 0.7);
  }
  
  /* Simple typo */
  h3 {
  color: #807d7d;
  }
  h6{
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.9rem;
  padding-bottom: 4px;
  border-bottom: 1px solid #aaa;
  }
  h8{
    text-transform: none;
    font-weight: 500;
    font-size: 0.7rem;
    padding-bottom: none;
    }
  .copyright{
  font-size: 0.8rem;
  color: #4f4f66;
  text-align: center;
  margin-bottom: 0;
  }
  
  /* Buttons */
  .btn{
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    padding: .375rem 1rem;
    margin-right: 1rem;
    margin-bottom: 1rem;
  }
  .btn-sm{
    font-size: 0.6rem;
    padding: .275rem .75rem;
    line-height: 1.2rem;
    text-transform: uppercase;
  }
  .btn.btn-default{
    background-color: #3b3b4d;
  }
  .btn.btn-third{
    background-color: #4F4F6E;
  }
  .btn.btn-sm.btn-third.raised.mt-2.mb-0:hover span {
    color: #ffffff; /* Icon-Farbe beim Hover */
  }
  .btn.btn-warning{
    background-color: #DC8D1B;
  }
  .btn-disabled{
    background-color: transparent !important;
    opacity: .3;
    border: 2px dotted #7d7d7d;
    cursor: not-allowed !important;
  }
  .btn-disabled:hover{
    background-color:  transparent !important;
    opacity: .3 !important;
    border: 2px dotted #7d7d7d !important;
  }
  .btn.raised{
    box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  }
  .btn:hover{
    background-color: #649f9f;
    color: #fff;
    opacity: .8;
  }
  .config-button-container {
    position: absolute;
    right: 0; /* Positioniert den Button-Container am rechten Rand des Elternelements */
    margin-top: -35px;
    margin-right: 50px;
  }
  .toggle-button {
    margin-top: 0px;
    margin-left: 10px; /* Fügt einen Abstand zwischen dem Config-Button und dem Toggle-Button hinzu */
  }
  .hidden-content {
    display: none !important;
  }
  
  /* Stream-Buttons */
  .scene_active{
  background-color: #00b67a !important;
  box-shadow: 0 0 10px 3px rgba(0, 182, 122, 0.35) !important;
  }
  #start-server {
  background: #00b67a;
  }
  #stop-server {
  background: #c21b34;
  }
  .button-group {
    display: flex;
    gap: 10px;
  }
  #toggle-record {
    background: #4F4F6E;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #toggle-record .oi {
    margin-right: 5px;
  }
  .blinking {
    animation: blink 1s steps(2, start) infinite;
    color: red;
  }
  @keyframes blink {
    to {
      visibility: hidden;
    }
  }
  
  /* cards */
  .card{
  padding: 32px 28px;
  -webkit-box-shadow: 0 1px 4px 0 #0a0f1b9c;
  box-shadow: 0 1px 4px 0 #0a0f1b9c;
  border-radius: 6px;
  border: none;
  }
  .card-title{
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  }
  .card-title .oi{
  margin-right: 0.5rem;
  font-size: 0.9rem;
  }
  .card.dark-mode{
  background-color: #202029;
  }
  .card.dark-mode1{
    background-color: #202029;
  }
  .scene-header {
    cursor: pointer;
    user-select: none;
  }
  .scene-container.hidden-content {
    display: none;
  }
  
  /* stats */
  #rtmp .rtmp-columns{
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Stellt sicher, dass der Inhalt links beginnt */
    flex-wrap: wrap;
    max-width: 100%; /* Begrenzt die maximale Breite */
  }
  #rtmp .rtmp-columns >div{
    margin-top: 20px;
    padding-right: 20px;
  }
  #rtmp .rtmp-columns >div:last-child{
    padding-right: 0;
  }
  #rtmp .sStatus{
    font-weight: 500;
    text-transform: uppercase;
  }
  #rtmp .sStatus.on{
    color: #00d200; 
  }
  #rtmp .sStatus.off{
    color: red;
  }
  
  #auto-srt .auto-srt-columns{
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Stellt sicher, dass der Inhalt links beginnt */
    flex-wrap: wrap;
    max-width: 100%; /* Begrenzt die maximale Breite */
  }
  #auto-srt .auto-srt-columns >div{
    margin-top: 20px;
    padding-right: 20px;
  }
  #auto-srt .auto-srt-columns >div:last-child{
    padding-right: 0;
  }
  #auto-srt .sStatus{
    font-weight: 500;
    text-transform: uppercase;
  }
  #auto-srt .sStatus.on{
    color: #00d200; 
  }
  #auto-srt .sStatus.off{
    color: red;
  }
  
  #bela-srt .bela-srt-columns{
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Stellt sicher, dass der Inhalt links beginnt */
    flex-wrap: wrap;
    max-width: 100%; /* Begrenzt die maximale Breite */
  }
  #bela-srt .bela-srt-columns >div{
    margin-top: 20px;
    padding-right: 20px;
  }
  #bela-srt .bela-srt-columns >div:last-child{
    padding-right: 0;
  }

  #bela-srt .bela-srt-columns-kompakt{
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Stellt sicher, dass der Inhalt links beginnt */
    flex-wrap: wrap;
    max-width: 100%; /* Begrenzt die maximale Breite */
  }
  #bela-srt .bela-srt-columns-kompakt >div{
    margin-top: 20px;
    padding-right: 20px;
  }
  #bela-srt .bela-srt-columns-kompakt >div:last-child{
    padding-right: 0;
  }
  #bela-srt .sStatus{
    font-weight: 500;
    text-transform: uppercase;
  }
  #bela-srt .sStatus.on{
    color: #00d200; 
  }
  #bela-srt .sStatus.off{
    color: red;
  }
  
  #bela-intern .bela-intern-columns{
    display: flex;
    flex-direction: row;
    justify-content: flex-start; /* Stellt sicher, dass der Inhalt links beginnt */
    flex-wrap: wrap;
    max-width: 100%; /* Begrenzt die maximale Breite */
  }
  #bela-intern .bela-intern-columns >div{
    margin-top: 20px;
    padding-right: 20px;
  }
  #bela-intern .bela-intern-columns >div:last-child{
    padding-right: 0;
  }
  #bela-intern .sStatus{
    font-weight: 500;
    text-transform: uppercase;
  }
  #bela-intern .sStatus.on{
    color: #00d200; 
  }
  #bela-intern .sStatus.off{
    color: red;
  }

  #server-stats {
    margin-top: 20px; /* Ergänzen Sie den gewünschten Abstand nach oben */
  }
  .stats-list{
    padding-left: 0;
  }
  .stats-list:last-child{
    margin-bottom: 0;
  }
  .stats-list .tabStop{
    display: inline-block;
    min-width: 80px;
  }
  .stats-list .fValue{
    font-size: 0.8rem;
  }
  .stats-list .sValue{
    font-size: 0.8rem;
  }
  .stats-list li{
    list-style: none;
    padding-bottom: 4px;
  }
  
  /* modal */
  .jconfirm-box{
  color: rgba(0, 0, 0, 0.7);
  }
  .generated-password {
    color: black; /* Standardfarbe für den Text */
    background-color: white; /* Standardhintergrundfarbe */
  }
  #passwordDebug {
    margin-top: 10px;
    font-weight: bold;
    color: green;
  }
  /* server lampe */
  .lamp{
  display: inline-block;
  height: 13px;
  width: 13px;
  border-radius: 50px;
  margin-right: 10px;
  margin-left: 10px;
  }
  .lamp.on{
    background-color: #00b672;
  }
  .lamp.off{
    background-color: #c21b34;
  }
  
  /* Badge u. Status */
  .badge{
    font-size: 0.7rem;
    color: #fff;
    margin-left: 1rem;
    background-color: #3b3b4d;
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 400;
  }
  .status-online {
    background-color: #00b672;
    color: white;
  }
  .status-offline {
    background-color: #c21b34;
    color: white;
  }
  #stream_status.on, #btn-bw.on{
    background-color: #00b672;
  }
  #btn-special-overlay.off, #btn-info-bar.off, #stream_status.off, #btn-mute.off{
    background-color: #c21b34;
  }
  #screenshotPreview {
    max-width: 100%;  /* Stellt sicher, dass das Bild nie breiter als sein Container ist */
    height: auto;  /* Passt die Höhe an, um das Seitenverhältnis zu bewahren */
  }
  .divider{
  width: 100%;
  height: 1px;
  background-color: #3b3b4d;
  margin-top: 15px;
  margin-bottom: 15px;
  }
  .hiddenfuschi{
    visibility: hidden;
  } 
  
  /* Volumemeter */
  #volumeMetersContainer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    height: 210px;
  }
  .meter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 80px;
    gap: 10px;
    height: 120px;
  }
  .meter, .meter-background {
    position: absolute;
    bottom: 0; /* Starten am unteren Rand des Containers */
    width: 15px;
    height: 120px; /* Initialhöhe setzen */
    border-radius: 5px;
    transition: height 0.5s ease;
    transform: scaleY(-1); /* Vertikale Skalierung umkehren */
  }
  .db-fader {
    position: absolute;
    left: 35px; /* Position rechts neben dem Mul-Meter */
    top: 0;
    width: 5px;
    height: 120px;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transform: rotate(270deg); /* Drehen, um vertikal zu machen */
  }
  .db-label, .mute-button {
    text-align: center;
    width: 100%;
    top: 130px;
  }
  .mul-meter, .mul-meter-background {
    position: absolute;
    left: 20px; /* Links im Container */
    top: 30px;
    width: 15px;
  }
  .mul-meter-background {
    background-color: #004d00; /* Dunkelgrün für Mul Hintergrund */
    z-index: 1; /* Hinter dem Mul-Meter */
  }
  .mul-meter {
    background-color: rgb(21, 255, 0); /* Blau für Mul Meter */
    z-index: 2; /* Über dem Mul-Hintergrund */
  }
  .meter-container label {
    text-align: center;
    margin-bottom: -30px;
    margin-left: 0;
  }
  .mute-button {
    padding: 5px 10px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px; /* Abstand zum unteren Rand */
  }
  .mute-button:hover {
    background-color: #ff6666;
  }
  
  /* Loading */
  .loading-gif {
    width: 160px;
    height: 160px;
    background-image: url('http://remote.stream-butler.de/loading.gif');
    background-size: cover;
    background-position: center;
  }
  
  /* Animation Blink */
  @keyframes flickerAnimation {
  0%   { opacity:1; }
  50%  { opacity:.5; }
  100% { opacity:1; }
  }
  @-o-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:.5; }
  100% { opacity:1; }
  }
  @-moz-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:.5; }
  100% { opacity:1; }
  }
  @-webkit-keyframes flickerAnimation{
  0%   { opacity:1; }
  50%  { opacity:.5; }
  100% { opacity:1; }
  }
  .animate-flicker {
  -webkit-animation: flickerAnimation 1s infinite;
  -moz-animation: flickerAnimation 1s infinite;
  -o-animation: flickerAnimation 1s infinite;
  animation: flickerAnimation 1s infinite;
  }
  
/* Login */
.login {
  width: 400px;
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
}
.login h1 {
  color: #5b6574;
  font-size: 24px;
  border-bottom: 0px solid #dee0e4;
}
.login form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}
.login form label {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #649f9f;
  color: #ffffff;
}
.login form input[type="password"], .login form input[type="text"] {
  width: 310px;
  height: 50px;
  border: 1px solid #dee0e4;
  margin-bottom: 20px;
  padding: 0 15px;
}
.login form input[type="submit"] {
  width: 100%;
  padding: 15px;
  margin-top: 20px;
  background-color: #649f9f;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
}
.login form input[type="submit"]:hover {
  background-color: #99d9d9;
  transition: background-color 0.2s;
  color: #1e3148;
}
.login-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}
.login-header img {
  height: 50px;
}
.login-header h1 {
  margin: 0;
  padding-left: 5px;
  flex-grow: 1;
}

  /* Passwort vergessen */
  .passforget a{
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: #649f9f !important;
  } 
  .passforget a:hover {
    color: #649f9f !important;
    font-weight: bold;
  }
  
  .qr-and-flags {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
  }
  .qr-and-flags img {
    margin-right: 10px;
  }

  .language-switcher {
    display: flex;
    align-items: center;
  }

  .language-switcher img {
    width: 30px;
    height: auto;
    cursor: pointer;
    margin: 0 5px;
  }
  .language-switcher a {
    position: relative;
  }
  .language-switcher a:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 3px;
    border-radius: 3px;
    white-space: nowrap;
  }

  /* Theme auswählen */
  .theme-selector-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center; /* Zentriert den Text im Dropdown */
  }
  .theme-selector {
    margin-bottom: 20px; /* Optional: Add some space between content and dropdown */
  }
  
  /* Menü */
  body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
  }
  nav {
    background-color: #202029;
    color: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
  }
  nav img.logo {
    margin-left: 400px; /* Standardabstand für größere Bildschirme */
    transition: margin-left 0.3s; /* Glatte Übergänge bei Größenänderungen */
    width: 150px;
    height: 50px;
  }
/* Medienabfragen für verschiedene Bildschirmgrößen */
@media (max-width: 1800px) {
  nav img.logo {
      margin-left: 330px; /* Weniger Abstand für mittlere Bildschirme */
  }
}

@media (max-width: 1680px) {
  nav img.logo {
      margin-left: 280px; /* Weniger Abstand für mittlere Bildschirme */
  }
}

@media (max-width: 1550px) {
  nav img.logo {
      margin-left: 210px; /* Weniger Abstand für mittlere Bildschirme */
  }
}

@media (max-width: 1310px) {
  nav img.logo {
      margin-left: 120px; /* Weniger Abstand für mittlere Bildschirme */
  }
}

@media (max-width: 1204px) {
  nav img.logo {
      margin-left: 50px; /* Weniger Abstand für mittlere Bildschirme */
  }
}

@media (max-width: 768px) {
  nav img.logo {
      margin-left: 15px; /* Weniger Abstand für mittlere Bildschirme */
  }
}

@media (max-width: 576px) {
  nav img.logo {
      margin-left: 10px; /* Weniger Abstand für kleinere Bildschirme */
  }
}

@media (max-width: 400px) {
  nav img.logo {
      margin-left: 5px; /* Minimaler Abstand für sehr kleine Bildschirme */
  }
}

  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 12px;
    text-align: center;
    display: flex;
    flex-wrap: wrap; /* Zeilenumbruch aktivieren */
    justify-content: center;
  }
  nav ul li {
    display: inline-block;
    margin-right: 10px;
  }
  nav ul li:last-child {
    margin-right: 0;
  }
  nav ul li a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    transition: background-color 0.3s ease;
    position: relative;
  }
  nav ul li a:hover {
    background-color: #649f9f;
    color: #fff;
  }
  .fa {
    margin-right: 5px;
  }
  .form1 {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
  }

  .username {
    text-align: center; /* Horizontale Ausrichtung des Textes */
    font-size: 0.8em; /* Schriftgröße reduzieren */
    color: #ffffff; /* Weiße Schriftfarbe */
    margin: 0; /* Null Rand, um die Verschiebung zu entfernen */
    padding: 0; /* Null Padding, um die Verschiebung zu entfernen */
  }
  
  .keinplan {
    display: flex; /* Verwende Flexbox */
    flex-direction: column; /* Anordnung der Elemente in einer Spalte */
    align-items: center; /* Zentriere Elemente horizontal */
    background-color: #202029;
  }
  .username-item-right {
    margin-left: auto;
    color: #649f9f;
    margin: 0; /* Null Rand, um die Verschiebung zu entfernen */
    padding: 0; /* Null Padding, um die Verschiebung zu entfernen */
  }
  .nav-item-right {
    margin-top: -10px;
    margin-left: 5px;
    position: relative;
}
.badgeInbox {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  text-align: center;
  border-radius: 50%;
  background: red;
  color: white;
  font-weight: bold;
  font-size: 12px;
  position: absolute;
  top: -2px;
  right: -5px;
  margin-left: 1rem;
  background-color: #ff0000;
  padding: 3px 3px;
  font-weight: 400;
}
 
  .toggle-btn {
    cursor: pointer;
    background-color: #202029;
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 1px;
  }
  
  .drag-handle {
    cursor: move;
  }
  .sortable-container {
    border: 1px solid #ccc;
    padding: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  /* User Verwaltung */
  /* Allgemeine Tabelleneinstellungen */
  .mytable {
    width: 100%;
    border-collapse: collapse;
  }
  .mytable th {
    font-weight: bold;
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }
  .mytable td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
  }
  .admin-mark, .streamer-mark {
    font-weight: bold;
  }
  .admin-mark::after {
    content: "X";
    display: inline-block;
    margin-left: 15px; /* Füge einen Abstand zwischen dem Text und dem X-Symbol hinzu */
    text-align: center;
    color: #649f9f; 
  }
  .streamer-mark::after {
    content: "X";
    display: inline-block;
    margin-left: 20px; /* Füge einen Abstand zwischen dem Text und dem X-Symbol hinzu */
    color: #649f9f; /* Blau */
  }
  .modal {
    display: none; /* Das Modal-Fenster standardmäßig ausblenden */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
  }
  .modal-content {
    background-color: #a6a6a6;
    color: #1e3148;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
  }
  .close {
    color: #1e3148;
    float: right;
    font-size: 28px;
    font-weight: bold;
  } 
  .close:hover,
  .close:focus {
    color: #1e3148;
    text-decoration: none;
    cursor: pointer;
  }
  .add-user .oi {
    font-size: 20px; /* Hier kannst du die gewünschte Größe einstellen */
    color: #649f9f;
  }
  .oi-pencil {
    font-size: 18px; /* Hier kannst du die gewünschte Größe einstellen */
    color: #649f9f; /* Hier kannst du die gewünschte Farbe einstellen */
    cursor: pointer; /* Ändert den Cursor beim Überfahren des Icons */
  }
  .oi-trash {
    font-size: 18px; /* Hier kannst du die gewünschte Größe einstellen */
    color: #649f9f; /* Hier kannst du die gewünschte Farbe einstellen */
    cursor: pointer; /* Ändert den Cursor beim Überfahren des Icons */
  }
  
  /* Setup Tab-Menü */
  .tab {
    display: none;
  }
  .tab.active {
    display: block;
  }
  .tab-buttons {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }
  .tab-button {
    padding: 2px 13px;
    margin: 0;
    background-color: #d6e6e6;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid #fff; 
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
  }
  .tab-button:last-child {
    border-right: none; 
  }
  .tab-button.active {
    background-color: #649f9f;
    border-bottom: 3px solid #99d9d9;
    color: #fff;
    align-items: center;
    font-weight: bold;
    margin-top: -5px; 
    padding-top: 15px; 
  }
  .tab-button:hover {
    background-color: #99d9d9;
    border-bottom: 3px solid #649f9f;
  }

  /* Tab-Container für mobile Geräte anpassen */
@media (max-width: 578px) {
  .tab-buttons {
      flex-direction: column; /* Tabs in Spalten anzeigen */
  }

  .tab-button {
      width: 100%; /* Tabs sollen die volle Breite einnehmen */
      margin-bottom: 5px; /* Abstand zwischen den Tabs hinzufügen */
      border-radius: 0; /* Eckenradius zurücksetzen */
  }
}
  
  /* Setup Layout Module */
  .module-section {
    margin-bottom: 0;
  }
  .module {
    border: 1px solid #649f9f;
    padding: 8px 10px;
    margin-bottom: 5px;
    background-color: #d6e6e6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1e3148;
  }
  .oi {
    cursor: pointer;
    margin-right: 10px;
    font-size: 1.5rem;
    color: #649f9f;
  }
  #modules-container {
    border: 1px solid #649f9f;
    color: #1e3148;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #d6e6e6;
    cursor: move; /* Cursor als Hinweis, dass das Element bewegbar ist */
  }
  .dragging {
    background-color: #99d9d9;
    opacity: 0.5;
  }
  .module {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .module-wide {
    width: 100%;
    border: none;
    margin-bottom: 1px;
  }
  .module-narrow {
    width: 49%;
    display: inline-block;
    border: none;
    margin-bottom: 1px;
    vertical-align: top;
  }
  .module-content {
    padding: 5px;
  }
  .module-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 1px;
  }
  .module-row:after {
    content: "";
    display: table;
    clear: both;
  }
  .module.narrow {
    width: 50%;
    float: left; /* oder flexbox/grid für bessere Kontrolle */
  }
  .module.parent {
    width: 100%;
    clear: both; /* Stellt sicher, dass nach dem Parent-Container gecleared wird */
  }
  

  /* Setup */
  .clearfix::after {
    content: "";
    display: table;
    clear: both;
  }
  .main-text {
    font-size: 24px;  /* Größere Schrift für "Szenen" */
    font-weight: bold; /* Optional, um den Text fett zu machen */
  }
  .additional-text {
    font-size: 14px;  /* Kleinere Schrift für den Text in Klammern */
  }
  .custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .custom-dropdown select {
    display: none; /* Standard-Dropdown verstecken */
  }
  .dropdown-selected {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
  }
  .dropdown-items {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    color: #1e3148;
    z-index: 99;
    width: 100%;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    box-sizing: border-box;
  }
  .dropdown-items div {
    padding: 8px;
    cursor: pointer;
  }
  .dropdown-items div:hover {
    background-color: #ddd;
  }


/* Module Webpanel */
.module-output {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center; /* Zentriert alle Module */
  box-sizing: border-box;
}
.module-output-wide {
  width: 100%;
  border: none;
  margin-bottom: 1px;
  box-sizing: border-box; 
}
.module-output-row {
  display: flex;
  justify-content: center; /* Zentriert die Module in der Mitte */
  width: 100%;
  margin-bottom: 1px;
  box-sizing: border-box;
}
.module-output-narrow-basis {
  display: flex;
  justify-content: center; /* Zentriert die schmalen Module innerhalb der Zeile */
  width: 100%;
  max-width: 100%; /* Nimmt die gesamte Breite ein */
  box-sizing: border-box;
}
.module-output-narrow {
  width: calc(50% - 10px); /* Berechnete Breite für zwei schmale Module nebeneinander */
  border: none;
  margin-bottom: 1px;
  box-sizing: border-box; 
  margin-left: 5px;
  margin-right: 5px;
}
.module-output-narrow:first-child {
  margin-right: 5px; /* Abstand zwischen den schmalen Modulen */
}
.module-output-narrow:last-child {
  margin-left: 5px; /* Abstand zwischen den schmalen Modulen */
}
.module-output-row:after {
  content: "";
  display: table;
  clear: both;
}
/* Zusätzliche spezifische Styles */
@media (min-width:576px){
  .container-narrow {
    max-width: 230px;
  }
}
@media (min-width:768px){
  .container-narrow {
    max-width: 335px;
    width: calc(100% - 6px); /* Berechnete Breite für zwei schmale Module nebeneinander */
    border: none;
    margin-bottom: 1px;
  }
}
@media (min-width:992px){
  .container-narrow {
    max-width: 455px;
    width: calc(100% - 6px); /* Berechnete Breite für zwei schmale Module nebeneinander */
    border: none;
    margin-bottom: 1px;
  }
}
@media (min-width:1200px){
  .container-narrow {
    max-width: 545px;
    width: calc(100% - 6px); /* Berechnete Breite für zwei schmale Module nebeneinander */
    border: none;
    margin-bottom: 1px;
  }
}
.container-narrow-fluid,
.container-narrow-lg,
.container-narrow-md,
.container-narrow-sm,
.container-narrow-xl {
  width: 100%;
  padding-right: 5px;
  padding-left: 5px;
}
@media (min-width:576px){
  .container-narrow,
  .container-narrow-sm {
    max-width: 230px;
  }
}
@media (min-width:768px){
  .container-narrow,
  .container-narrow-md,
  .container-narrow-sm {
    max-width: 335px;
    width: calc(100% - 6px); /* Berechnete Breite für zwei schmale Module nebeneinander */
    border: none;
    margin-bottom: 1px;
  }
}
@media (min-width:992px){
  .container-narrow,
  .container-narrow-lg,
  .container-narrow-md,
  .container-narrow-sm {
    max-width: 455px;
  }
}
@media (min-width:1200px){
  .container-narrow,
  .container-narrow-lg,
  .container-narrow-md,
  .container-narrow-sm,
  .container-narrow-xl {
    max-width: 545px;
  }
}

/* Navigation */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  }
.logo {
  margin-right: auto;
}
.language-switcher {
  position: relative;
  display: inline-block;
  padding-right: 15px;
}
.language-switcher img {
  width: 30px;
  height: auto;
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e8e8e8;
  min-width: 50px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  left: 50%;
  transform: translateX(-60%);
}
.dropdown-content a {
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover {
  background-color: #649f9f;
}
.language-switcher:hover .dropdown-content {
  display: block;
}
nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
}
nav ul li {
  margin-left: 20px;
}
nav ul li.username-item-right, nav ul li.nav-item-right {
  margin-left: auto;
  margin-right: 5px;
}
nav ul li.nav-item-right {
  margin-left: 5px;
  margin-right: 5px;
}

/* Postfach */
.form-label-large {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.complete-form, .reply-form, .new-message-form {
  margin-bottom: 1em;
}

.complete-form .btn, .reply-form .btn, .new-message-form .btn {
  margin-top: 0.5em;
}

.message-thread {
  padding: 1em;
  border-radius: 5px;
}

.message-details {
  padding: 1em;
  border-radius: 5px;
}

.form-group {
  margin-bottom: 1em;
}

.form-control {
  width: 100%;
  padding: 0.5em;
  border-radius: 5px;
  border: 1px solid #649f9f;
  background-color: #312d41;
  color: #fff;
}

textarea.form-control {
  height: 100px;
}

.btn {
  border-radius: 5px;
}

.btn-primary {
  background-color: #4F4F6E;
  border: none;
}

.btn-primary:hover {
  background-color: #649f9f;
}

.modal {
  z-index: 1050;
}

#recipient-list {
  position: absolute;
  z-index: 1000;
  width: 100%;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
}
.list-group-item {
  cursor: pointer;
}
.list-group-item:hover {
  background-color: #f0f0f0;
}


/* Styles für den Postfach-Tisch */
@media (max-width: 560px) {
  .postfach-table {
      display: block;
  }
  .postfach-table thead {
      display: none;
  }
  .postfach-table tbody {
      display: block;
  }
  .postfach-table tbody tr {
      display: flex;
      flex-direction: column;
      margin-bottom: 10px;
      padding: 10px;
      border-bottom: 1px solid #a6a6a6;
  }
  .postfach-table tbody tr:last-child {
      border-bottom: none;
  }
  .postfach-table tbody tr td {
      display: flex;
      justify-content: space-between;
      padding: 5px 0;
  }
  .postfach-table tbody tr td:nth-child(1) {
    order: 4;
    border: 0px;
  }
  .postfach-table tbody tr td:nth-child(2) {
    order: 2;
    font-weight: bold;
    border: 0px;
  }
  .postfach-table tbody tr td:nth-child(3) {
    order: 3;
    border: 0px;
  }
  .postfach-table tbody tr td:nth-child(4) {
    order: 1;
    font-weight: bold;
    border: 0px;
    border-bottom: 1px solid #649f9f;
  }
  .postfach-table tbody tr td:nth-child(5) {
    order: 5;
    border: 0px;
  }
}

