.content {
    display: flex;
}

.modal {
    background-color: rgba(10, 10, 10, 0.2);
}

.carousel-item img {
    height: auto;
}

.carousel-caption {
    background-color: rgba(33,33,33,0.9);
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    left: auto;
    right: auto;
    bottom: 0;
    text-align: inherit;
    padding-top: 0;
    
    
    padding-left: 2rem;
    padding-right: 2rem;
}
.carousel-caption header {
    margin-top: 20px;
}

.carousel-navbtn {
    position: absolute;
    bottom: 10px;
    right: 30px;
    width: 100px;
    z-index: 3;
    
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
    max-width: 75px;
}

.carousel-navbtn button {
    border: 1px solid #ddd;
}

.carousel-navbtn button:hover {
    background-color: #f27935;
    border: 1px solid transparent;
}

.carousel-control-next, .carousel-control-prev {
    position: inherit;
    top: inherit;
    bottom: inherit;
    width: auto;
}

.img-thumbnail {
    max-height: 150px;
    width: auto;
}

#container-navigation {
    flex: 3;
}

#container-navigation ul {
    padding: 0;
    list-style: none;
}

#container-navigation .nav-group .nav-group-items {
    background-color: white;
    margin-bottom: 32px;
}
#BTNCloseNavMobile,
#container-navigation .nav-group h2 {
    font-family: 'Lato';
    font-weight: 300;
    background-color: #61ad67;
    background-image: url('/fileadmin/Ressourcen/nav-groupbackground.png');
    background-position: center top;
    background-size: cover;
    color: #FFFFFF;
    font-size: 14px;
    margin: 0;
    padding: 15px;
    text-transform: uppercase;
}

#BTNCloseNavMobile {
    width: 100%;
    display: none;
    margin-bottom: 1rem;
}

#BTNCloseNavMobile:hover {
    background-color: #f27935;
}

#container-navigation .nav-group .nav-group-items a {
    display: block;
    padding: 8px 16px;
}

#container-navigation .nav-group .nav-group-items a:hover {
    background-color: #eee;
}

#container-content {
    display: flex;
    flex-direction: column;
    flex: 9;
    padding: 10px 0px;
    margin-left: 25px;
}

#container-content .frame-layout-1 header > * {
    font-weight: 600;
}


/* Basis-Styling für Tabellen in figure.table */
figure.table {
  width: 100%;
  overflow-x: auto; /* horizontales Scrollen bei kleinen Bildschirmen */
  margin: 1rem 0;
}

figure.table table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  background-color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

figure.table th,
figure.table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

figure.table th {
  background-color: #f5f5f5;
  font-weight: 600;
  white-space: nowrap;
}

/* Responsives Verhalten */
@media (max-width: 600px) {
  figure.table table,
  figure.table tbody,
  figure.table tr,
  figure.table th,
  figure.table td {
    display: block;
    width: 100%;
  }

  figure.table tr {
    padding: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  }

  figure.table th {
    background-color: transparent;
    font-size: 1.1rem;
    border-bottom: none;
  }

  figure.table td {
    border: none;
    padding: 0.25rem 0;
  }

  figure.table td::before {
    content: attr(data-label);
    font-weight: 600;
    display: block;
    color: #555;
  }
}

