.fotogalerij .container{
    max-width: 1490px;
}

.fotogalerij a{
	position: relative;
	display: block;
	text-decoration: none !important;
}

.fotogalerij .row{
    --bs-gutter-x: 1rem;
}

.fotogalerij .col-xl-8{
    display: flex;
}

.fotogalerij .col-xl-8 picture{
    display: flex;
    height: 100%;
    width: 100%;
}

.fotogalerij .col-xl-8 img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.fotogalerij .col-xl-4{
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
}

.galerij_onderschrift{
	font-size: 85%;
	line-height: normal;
	margin-top: 0.5rem;
}

@supports not (row-gap: 1rem) {
   /* 
	Isolated code for not supporting flexbox row-gap so have to work with margins. Thanks Safari :/ 
	*/
	.fotogalerij .row > div{
		margin-bottom: var(--bs-gutter-x);
	}
}

.fotogalerij.geen_extra_marge_onderkant + .fotogalerij{
	padding-top: var(--bs-gutter-x) !important;
}

.fotogalerij .last-no-margin{
	
}

.fotogalerij a:after{
	position: absolute;
	left: 0;
	top: 0;
	content: "";
	width: 100%;
	height: 100%;
	background-color: rgba(55,66,74, 0.6);
	opacity: 0;
	-webkit-transition:all 0.3s ease-in-out;
	-o-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;
}

.fotogalerij a:after,
.fotogalerij a:before{
	pointer-events: none;
}

.fotogalerij a:hover:after,
.fotogalerij a:hover:before{
	opacity: 1;
}

.fotogalerij a:before{
	opacity: 0;
	content: "\f00e";
	position: absolute;
	top: 50%;
	left: 50%;
	font-family: 'Font Awesome 6 Pro';
	font-weight: 400;
	color: #fff;
	-webkit-transform: translate(-50%,-50%);
	    -ms-transform: translate(-50%,-50%);
	        transform: translate(-50%,-50%);
	-webkit-transition:all 0.3s ease-in-out;
	-o-transition:all 0.3s ease-in-out;
	transition:all 0.3s ease-in-out;
	z-index: 150;
	font-size: 3.6rem;
}

.fotogalerij_groot_home picture{
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.fotogalerij_groot_home img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transition: 0.3s transform;
}

.fotogalerij_groot_home:hover img{
    transform: scale(1);
}

@media (max-width:767px)
{		
	.fotogalerij .container {
        max-width: none;
        padding: 0;
    }
	
	.fotogalerij .col-xl-8{
    	width: 66.6666666667%;
		max-width: 100%;
	}
	
	.fotogalerij .col-xl-4{
    	width: 33.3333333333%;
		max-width: 100%;
	}
	
	.fotogalerij_groot_home{
		height: 235px;
	}
	
	.fotogalerij_groot_home + .fotogalerij_groot_home{
		margin-top: 1rem;
	}
	
	.fotogalerij_groot_home picture{
		display: flex;
		height: 100%;
		width: 100%;
	}
	
	.fotogalerij_groot_home img{
		height: 100%;
		width: 100%;
		object-fit: cover;
	}
}

@media (min-width:768px) and (max-width:991px)
{    
    .fotogalerij .container {
        max-width: none;
        padding: 0;
    }
}

@media (min-width:992px) and (max-width:1199px)
{
	
}