.fotogalerij{
  margin-bottom:5em;
}
/* ---- grid ---- */

.fotogrid {
  margin:0
}
.fotogalerij .fotogrid_item img{
  width: 100%;
  object-fit:inherit;
}
/* clear fix */
.fotogrid:after {
  content: '';
  display: block;
  clear: both;
}

/* ---- .grid-item ---- */

.fotogrid-sizer,
.fotogrid_item {
  width: 50%;
}

.fotogrid_item {
  float: left;
  padding: 2px;
}
.fotogrid_item .fotoVisual{
  display: inline-block;
  float:none;
  height: 100%;
  
}
.fotogrid_itemxl img{
    width: 100%;
    display: inline-block;
  }
  .fotogrid_item_xl {
  width: 100% !important;
    float: left;
  padding: 2px;
}
.fotogrid_item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: scale-down;
  object-position: center;
}
.fotogrid_item .video_play{
	width:100%;
	height:100%;
	background:  url("../images/swipe/play.png") no-repeat center center ;
	position: absolute;
	top:0px;
	left:0px;
}

.fotogrid_item h2{
	/*background:yellow;*/
	display:inline-block;
}
.fotogrid-item-content-detail{
	display:none;
}
.fotogrid-item-content-detail .is-expanded{
	display:block;
}
.eventInfoVisual{
	width:100%;
	background-position: center center;
  background-repeat: no-repeat;
  background-size:cover;
}
@media screen and (min-width: 1024px) {
  .fotogrid-sizer,
  .fotogrid_item {
    width: 33.333%;
  }

  .fotogrid_item_xl {
  width: 66.66% !important;
}
}
@media screen and (min-width: 1480px) {
  .fotogrid-sizer,
  .fotogrid_item {
    width: 25%;
  }
  .fotogrid_item_xl {
  width: 50% !important;
}
}
/* ===== FOTOGALERIJ_BLOKKEN 13-10 (begin) =====
   Vierkante thumbs van het blok "fotogalerij met titel en vierkante thumbs" op /nl/fotogalerij (fotos.php).
   De breedte volgt de kolombreedte (zelfde kolomaantal als .fotogalsizer in style.css) en de hoogte volgt de breedte
   met aspect-ratio. Zo zijn de foto's vierkant bij elke schermbreedte en blijven ze het na een resize, ook als de
   javascript (info_modules_js.php) nog niet herberekend heeft. De inline pixelmaten van die javascript worden
   daarvoor overschreven (!important). Alleen waar aspect-ratio bestaat; anders blijft de javascript-hoogte gelden. */
.fotogalerij-page .fotogalWrapper .fotogal_item { width: 100% !important; box-sizing: border-box; }
@media screen and (min-width: 640px)  { .fotogalerij-page .fotogalWrapper .fotogal_item { width: 50% !important; } }
@media screen and (min-width: 1024px) { .fotogalerij-page .fotogalWrapper .fotogal_item { width: 33.3333% !important; } }
@media screen and (min-width: 1600px) { .fotogalerij-page .fotogalWrapper .fotogal_item { width: 25% !important; } }
@media screen and (min-width: 1900px) { .fotogalerij-page .fotogalWrapper .fotogal_item { width: 20% !important; } }
@supports (aspect-ratio: 1 / 1) {
  .fotogalerij-page .fotogalWrapper .fotogal_item { height: auto !important; }
  .fotogalerij-page .fotogalWrapper .fotogal_item > a.venobox { display: block; line-height: 0; }
  .fotogalerij-page .fotogalWrapper .fotogal_item .fotogalVisual {
    display: block; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1;
    background-size: cover; background-position: center center;
  }
}
/* ===== FOTOGALERIJ_BLOKKEN 13-10 (einde) ===== */
