.w3-modal {
  z-index: 999;
}

img {
  max-width: 100%;
  height: auto;
}

.stetten-blau {
  background-color: #009fe1;
}
.stetten-gelb {
  background-color: #fded01;

}

.stetten-sand {
  /*background-image: url("/themes/custom/tcsr_theme/images/20230411_162502.jpg");
  background-repeat: repeat;*/
}

.teasertitle {
  background-color: #FFFFFF;
}

@media (min-width: 34em) {
    .card-columns {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
    }
}

@media (min-width: 48em) {
    .card-columns {
        -webkit-column-count: 3;
        -moz-column-count: 3;
        column-count: 3;
    }
}

@media (min-width: 62em) {
    .card-columns {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
    }
}

@media (min-width: 75em) {
    .card-columns {
        -webkit-column-count: 5;
        -moz-column-count: 5;
        column-count: 5;
    }
}

* {box-sizing: border-box;}
.sponsorenbilder {display: none;}
img {vertical-align: middle;}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Caption text */
.text {
  color: #000000;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
  .text {font-size: 11px}
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-family: sans-serif;
}
h1 {
  color: coral;
}
.grid-container {
  columns: 5 200px;
  column-gap: 1.5rem;
  width: 90%;
  margin: 0 auto;
  div {
    width: 150px;
    margin: 0 1.5rem 1.5rem 0;
    display: inline-block;
    width: 100%;
    border: solid 2px black;
    padding: 5px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
    border-radius: 5px;
    transition: all .25s ease-in-out;
    &:hover img {
      filter: grayscale(0);
    }
    &:hover {
      border-color: coral;
    }
    img {
      width: 100%;
      filter: grayscale(100%);
      border-radius: 5px;
      transition: all .25s ease-in-out;
    }
    p {
      margin: 5px 0;
      padding: 0;
      text-align: center;
      font-style: italic;
    }
  }
}
/* CSS für AlEmon masonry */

/* Main CSS */
.alemon_grid-wrapper > * {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.alemon_grid-wrapper > img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	display: inline-block;
}

.alemon-grid-wrapper > div {
	display: flex;
	justify-content: center;
	align-items: center;
}
.alemon-grid-wrapper > div > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

.alemon-grid-wrapper {
	display: grid;
	grid-gap: 10px;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-auto-rows: 200px;
	grid-auto-flow: dense;
}
.alemon-grid-wrapper .wide {
	grid-column: span 2;
}
.alemon-grid-wrapper .tall {
	grid-row: span 2;
}
.alemon-grid-wrapper .big {
	grid-column: span 2;
	grid-row: span 2;
}

/* CSS für Trujillo masonry */

.trujillo-masonry > img {
  width: 100%;
}

.trujillo-masonry {
	column-count: 4;
	column-gap: 16px;
}

.trujillo-masonry .mItem {
  display: inline-block;
  margin-bottom: 16px;
  width: 100%;
}

@media (max-width: 1199px) {
  .trujillo-masonry {
    column-count: 3;
  }
}

@media (max-width: 991px) {
  .trujillo-masonry {
    column-count: 2;
  }
}

@media (max-width: 767px) {
  .trujillo-masonry {
    column-count: 1;
  }
}

/* --- Masonry nach Simmons --- */
/* --- Multicolumn --- */

#simmons-multicolumn {
  display: block;
  columns: 12rem;
  gap: 1rem;
}
#simmons-multicolumn > figure {
  margin-bottom: 1rem;
  break-inside: avoid;
}

/* --- The rest of the styling --- */

#simmons-multicolumn > {
  box-sizing: border-box;
}
#simmons-multicolumn > {
  font-family: avenir, roboto, helvetica, sans-serif;
  margin: 2rem calc(2vw + 2rem);
}
#simmons-multicolumn > {
  margin: 2rem 0;
}

#simmons-multicolumn > figure {
  margin: 10px;
}

#simmons-multicolumn > figure > figcaption {
  padding: 0.5rem 1rem 0.4rem;
  background: #ddd;
  color: #333;
  border-radius: 1rem 1rem 0 0;
  text-align: end;
}

#simmons-multicolumn > figure > img {
  max-width: 100%;
  display: block;
  border-radius: 0 0 1rem 1rem;
}
