
.close {
	position: absolute;
	top:  0rem;
	right: 1.25rem;
	font-size: 24px;
	color: #000;
	cursor: pointer;
	z-index: 99;
}

.hoofdknoppen {
	margin-bottom: 2em;
	position: relative;
	margin-top: 3rem;
}
.hoofdknoppen div {
	width: 22%;
	border-top: 2px solid #acaa7b;
	height: 35px;
	vertical-align: top;
	display: inline-block;
	text-align: center;
	margin-right: 20px;
	cursor: pointer;
}
.hoofdknoppen div.active {
	border-bottom: 2px solid #acaa7b;
}

.tegels {
	display: block;
}

.tegels figure {
	cursor: pointer;
}

.lijst_en_kaartjes {
	display: none;
}

.tegel {
	width: 200px;
	height: 260px;
	overflow: hidden;
	display: inline-block;
	margin-right: 30px;
}
.tegel figure {
	width: 200px;
	height: 200px;
	overflow: hidden;
	margin: 0;
}
.tegel figure img {
	width: 110%;
	height: auto;
}
.tegel .titel {
	display: inline-block;
	max-height: 40px;
	padding: 10px;
	font-size: 16px;
	line-height: 1.5rem;
}

ul.namenlijst {
	padding-left: 0;
}

.namenlijst li {
	list-style-type: none;
	margin-top: 0;
	color: #acaa7b;
	cursor: pointer;
}
.namenlijst li:hover {
	color: #000;
}
.namenlijst li:hover:after {
	content: " >";
}
.kaartje {
	/* Always-centered popup. `!important` is needed because ingredienten.js
	   still sets inline `position`, `top` and `left`/`right` on click; those
	   inline styles would otherwise win over normal rules. */
	position: fixed !important;
	top: 50% !important;
	left: 50% !important;
	right: auto !important;
	transform: translate(-50%, -50%);
	max-width: 50%;
	max-height: 90vh;
	border: 1px solid #B4B4B4;
	padding: 1em;
	padding-right: 0;
	background-color: #FFF;
	display: none;
	z-index: 1001;
	overflow: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}
.kaartje .fotootje {
	width: 40%;
	max-width: 370px;
	display: inline-block;
	margin-right: 5%;
	vertical-align: top;
}
.kaartje .fotootje img {
	width: 100%;
	height: 100%;
	transition: height 1s ease;
	object-fit: cover;
}
.kaartje .beschrijving {
	width: 54%;
	display: inline-block;
	font-size: 1rem;
	line-height: 1.5rem;
	max-height: 325px;
	padding-right: 2rem;
	overflow-y: auto;
	position: relative;
}
.kaartje h2 {
	font-size: 1.5em;
	line-height: 1em;
	color: #47686f;
	margin: 0;
}
.kaartje h3 {
	font-size: 1em;
	line-height: 1.6em;
	color: gray;
	margin-top: 0;
}


@media only screen and (max-width: 600px) {
	.tegels {
		text-align: center;
	}
	.tegel {
		width: 320px;
		height: 350px;
		margin-right: 0px;
	}
	.tegel figure {
		width: 320px;
		height: 320px;
	}
	.kaartje {
		max-width: 90%;
		overflow-y: auto;
	}
	.kaartje .fotootje {
		width: 95%;
	}
	.kaartje .beschrijving {
		width: 95%;
		margin-top: 2rem;
		max-height: auto;
		padding-right: .2rem;
		overflow-y: unset;
	}
}