/*
 * Gebruik zoveel mogelijk nested CSS
 * Meer informatie: https://www.w3schools.com/cssref/sel_nesting.php
 */

.object-images-layout {
    display: flex;
    width: 100%;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
}

/* Beide kolommen exact 50% */
.object-images-layout .left-image,
.object-images-layout .right-grid {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
}

/* Linker afbeelding */
.object-images-layout .left-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Rechter grid */
.object-images-layout .right-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px;
}

/* Grid items */
.object-images-layout .grid-item {
    width: 100%;
    height: 100%;
}

.object-images-layout .right-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}



.object-gallery-button-wrapper {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 0;
}

.object-images-layout {
    position: relative;
}

.object-gallery-button {
    background:#194936;
    color: #fff;
    padding: 10px 18px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
	text-transform: uppercase;
}

.object-gallery-button:hover {
    color: #194936;
	background: #fff;
}

@media (max-width: 768px) {

	.right-grid {
		display: none !important;
	}
	.object-images-layout .left-image {
    flex: 0 0 100%; !important;
    max-width: 100% !important;
	min-width: 100%;
    height: 100%;
	}
}


