figure.bannerwrap {
height: 398px;
  background: aqua;
  display: flex;
  justify-content: center;
}

@media screen and (min-width: 768px) {
figure.bannerwrap {
    height: unset;
  }
}

figure.bannerwrap .bannerimage {
  max-width: 100%;
}

figure.bannerwrap img.bannerimage.wide {
display: none;
max-width: 100%;
object-fit: contain;
}

@media screen and (min-width: 768px) {
figure.bannerwrap img.bannerimage.wide {
display: block;
max-width: 100%;
}
figure.bannerwrap img.bannerimage.small {
display: none;
max-width: 100%;
}
}

#block-system-main-block .view-historiker-innen-unconference-2024 .views-row.podium {
grid-template-areas:
"title" 
"body" 
"picture"
"speaker" 
"date";
}

@media screen and (min-width: 576px) {
#block-system-main-block .view-historiker-innen-unconference-2024 .view-content .views-row.podium {
grid-template-areas:
"title   title  " 
"body    body   " 
"picture speaker" 
"date    date   ";
  height: initial;
}
}

.block-views-blockhistoriker-innen-unconference-2024-block-1 .views-field-field-body-abstract {
grid-area: body;
}

.views-row .views-field-field-image .field-content {
position: relative;
}

.views-row .views-field-field-image .field-content .playbutton {
width: 100%;
height: 100%;
}

.mediawrap {
display: grid;
  grid-template-columns: auto auto;
  grid-column-gap: 10px;
  justify-content: left;
  justify-items: end;
}

.mediawrap a img {
object-fit: contain;
margin: 0!important;
}

#block-system-main-block  .view .view-content .views-row.videoplaying, .view .view-content .views-row.podium.videoplaying {
grid-template-areas:
"title   title  " 
"body    body   " 
"video   video  " 
"speaker speaker";
}

.block-views-blockhistoriker-innen-unconference-2024-block-1 .views-field-field-body-abstract {
  grid-area: body;
}

.block-views-blockhistoriker-innen-unconference-2024-block-1 .views-field-field-vimeo-iframe {
  grid-area: video;
}


@media screen and (min-width: 1000px) {
  iframe#presentation1 {
  min-height: 400px;
  }
}

.podium.views-row.videoplaying .wrapbutton {
width: 100%;
}

.views-row .views-field-field-image .field-content img {
max-height: initial;
}

/*Bericht*/
.block-views-blockhistoriker-innen-unconference-2024-report .view .views-row {
  grid-template-rows: auto;
  grid-template-columns: auto;
  height: initial;
  grid-template-areas: initial;
}

/*Fotos*/

  #fotos * {
    box-sizing: border-box;
  }
  
  /* Position the fullimagewrap (needed to position the left and right arrows) */
  .fullimagewrap {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
  }
  
  .mySlides {
  max-height: 700px;
  width: auto;
  }
  .mySlides img {
  object-fit: contain;
  max-height: inherit;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  #fotos .container .prev,
  #fotos .container .next {
    cursor: pointer;
    position: absolute;
    top: calc(50% + 22px);
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: #64c8c8;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
  }
  
  #fotos .container .prev:hover,
  #fotos .container .next:hover {
  text-decoration: none;
  }
  
  /* Position the "next button" to the right */
  #fotos .container .next {
    right: 12px;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #64c8c8;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Container for image text */
  .caption-container {
    text-align: center;
    background-color: #64c8c8;
    padding: 2px 16px;
    color: white;
  }
  
  .row:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Six columns side by side */
  .column {
    float: left;
    //width: 16.66%;
  }
  
  /* Add a transparency effect for thumnbail images */
  .thumbnail {
    opacity: 0.6;
  }
  
  .active,
  .thumbnail:hover {
    opacity: 1;
  }
  
  /*.thumbnailcontainer .column:nth-child(-n+20):nth-child(n+7) {
    display: none;
  }*/
  
  /*.row.thumbnailcontainer .column.activewrap {
  display: block;
  }*/
  

  .thumbnailcontainer {
    display: grid;
    grid-template-columns: repeat(2, auto);
    width: calc(100vw - 60px);
   grid-row-gap: 10px;
   align-items: center;
}

@media screen and (min-width: 768px) {
  .thumbnailcontainer {
    grid-template-columns: repeat(6, auto);
    width: 100%;
  }
}

.morephotos {
margin-top: 20px;
  font-weight: 500;
}


#fotos .morephotos a {
  color: #64c8c8;
}

.morephotos::before {
font-weight: bold;
  font-family: "Font Awesome 5 Free";
  color: #64c8c8;
  content: "\f03e\0a0";
  position: relative;
  top: 1px;
}

.morephotos a:hover::before {
text-decoration: none;
}