/*******************************************************
*
        7. Layout Inhalt: Boxes 3
*
*******************************************************/

.boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  row-gap: 50px;
  column-gap: 50px;
}

.new-row {
  grid-column: 1 / -1;
  flex-basis: 100%;
  width: 0;

}

.box {
  width: 100%;
  height: 100%;
}

/* Für Filtern der Boxen */

.box {
  will-change: transform;
}
.box.hidden {
  display: none; /* Layout wird freigegeben, Grid rückt nach */
}
.filters button.active {
  background: #333;
  color: white;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  column-gap: 5px;
}

/*******************************************************
        7. Layout Inhalt: Boxes Title
*******************************************************/

.boxes h2 {
	padding-top: 3em;
	padding-bottom: 0em;
}
.box h3 {
	padding-bottom: 0.2em;
}

/*******************************************************
        7. Layout Inhalt: Boxes Table
*******************************************************/

.boxes table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  border-radius: 8px;
  overflow: hidden;
}

.boxes table thead {
  /* background-color: var(--color-grey_light); */
  color: var(--color-secondary);
  text-align: left;
  font-size: 1.1em;

}

.boxes table th {
  padding: 2px 2px;
  text-align: left;
}

.boxes table td {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 0px;
  text-align: left;
  line-height: 1.2em;
}

/* .boxes table td:first-child,
.boxes table th:first-child {
    font-weight: bold;
}
 */

.boxes table tbody tr {
	border-bottom: 1px solid #ddd;
}

.boxes a {
	color: var(--color-primary)
}
.boxes a:hover {
	color: var(--color-secondary)
}

/* .boxes table tbody tr:nth-child(even) {
  background-color: #f3f3f3;
}
 */

 /* .boxes table tbody tr:hover {
	background-color: #e8f0fe;
	transition: 0.2s ease;
} */