/*body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #eaeaea;
  margin: 0;
  padding: 20px;
  color: #333;
}*/


#searchBox{
width: 100%;
}


.item-header {
  position: relative;
}

.item-icon {
  position: absolute;
  top: 8px;
  right: 8px;
}

.spielstaetten{
  margin-top: 10px;
}


.spielstaetten>.details-data{
  border: none !important;
}

.item-icon img {
  width: 20px;
  height: 20px;
}

.calendar-box {
  /*! width: 80px; */
  padding: 10px;
  background-color: #b51218; /* or use dynamic PHP color */
  color: white;
  text-align: center;
  /*! border-radius: 6px; */
  /*! font-family: 'Inter', sans-serif; */
  /*! box-shadow: 0 2px 4px rgba(0,0,0,0.2); */
  margin-right: 20px;
  width: 100px;
}

.calendar-day {
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1;
}

.calendar-day sup {
  font-size: 0.6em;
  vertical-align: super;
  margin-left: 2px;
}

.calendar-month {
  font-size: 0.8em;
  margin-top: 4px;
  text-transform: uppercase;
}

  
  .foto-column>img{
    max-width:120px;
    height: auto;
  }


/* Club-Container */
.list-item {
  margin-bottom: 20px;
  overflow: hidden;
}

/* Standardbereich mit rotem Rand links */
.item-header {
  border-left: 6px solid #b51218;
  padding: 20px 15px 20px 15px;
  font-weight: bold;
  font-size: 1.2em;
  color: #8e0e13;
  background-color: #fff;
  cursor: pointer;
  display: flex;
}

/* Aufklappbarer Bereich */
.item-details-bar {
  /*! background: white; */
  /*! padding: 5px 15px 15px 15px; */
  margin-top: 10px;
}

.item-details {
  display: none;
}

@media (min-width: 600px) {
.details-wrapper {
  display: flex;
  flex-wrap: wrap;
  /*! gap: 30px; */
}

.details-data {
  flex: 2;
  min-width: 250px;
  background: white;
  padding: 5px 15px 15px 15px;
}

.details-image, .details-ical{
  flex: 1;
  min-width: 200px;
  background: white;
  padding: 5px 15px 15px 15px;
}

.details-attach, .details-registration{
  flex: 1;
  min-width: 200px;
  background: white;
  padding: 5px 15px 15px 15px;
}

}
@media (max-width: 600px) {
	
.details-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.details-data {
  flex: 2;
  min-width: 250px;
}

.details-image, .details-attach, .details-ical, .details-registration {
  flex: 1;
  min-width: 200px;
}

	
	
}

.item-image {
  max-width: 100%;
  height: auto;
  /*border: 1px solid #ccc;*/
  padding: 5px;
  background-color: #fff;
}

/* Filterbar */
.filterbar {
  display: block;
  gap: 15px;
  flex-wrap: wrap;
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
}

.filter-line{
	display: flex;
}

.filter-select,
.filter-input {
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;

  min-width: 200px;
}

.details-row {
  width: 100%;
  display: block;
  margin-top: 10px;
}

.details-row:has(.details-attach) {
  display: flex;
  flex-wrap: wrap;
}

.item-header-mini {
  font-weight: bold;
  font-size: 1.2em;
  color: #8e0e13;
  cursor: pointer;
  display: flex;
}

.item-header-mini p{

margin-top: 5px !important;
}

.item-place{
color: black;
font-size: small;
}



@media (max-width: 600px) {
  body {
    padding: 10px;
    font-size: 16px;
  }

.item-image{
    max-height: 100px !important;
    width: auto !important;;
  }

  .filterbar {
    flex-direction: column;
    gap: 10px;
  }

  .filter-select,
  .filter-input {
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
    font-size: 1em;
  }

  .item-header {
    font-size: 1.1em;
    padding: 15px;
  }

  .item-details {
    padding: 15px;
	background: white;
  }

  .details-wrapper {
    display: block;
  }

  .details-data,
  .details-image, .details-attach {
    width: 100%;
    padding: 10px 0;
  }

  .details-divider {
    display: none;
  }

  .item-image {
    width: 100%;
    height: auto;
  }
}


@media (max-width: 600px) {
  .committee-column {
	border-left: 6px solid #b51218;
	margin-bottom: 10px;
	padding: 15px;
  background-color: white;
  }

.foto-column{
  margin-right: 0px;
  margin-left: auto;
margin-top: 20px;
}

}

@media (min-width: 600px) {
.committee-column {
width: calc(33.333% - 20px);
display: flex;
  box-sizing: border-box;
  padding: 15px;
  background-color: white;
  margin: 10px;
  border-left: 6px solid #b51218;
}

  .committee-columnsingle {
display: flex;
  box-sizing: border-box;
  padding: 15px;
  background-color: white;
  margin: 10px;
  border-left: 6px solid #b51218;
}

.foto-column{
	margin-right:0px;	
	margin-left: auto;
}

.committee-row {
  display: flex;
  flex-wrap: wrap;
}

}