/* Huis-banner: desktop naast logo, mobiel onder de header in de documentflow. */

.n112-house-header-ad[data-pending] {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.n112-house-header-ad {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 6px 15px 6px 8px;
	min-width: 0;
	box-sizing: border-box;
	position: relative;
	float: none;
	clear: both;
}

.n112-house-header-ad__link {
	display: block;
	max-width: 100%;
	line-height: 0;
}

.n112-house-header-ad__img {
	max-width: 100%;
	height: auto;
	max-height: 100px;
	width: auto;
	display: block;
}

@media (min-width: 992px) {
	#theme-header .logo-wrapper {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		width: 100%;
	}

	#theme-header .logo-wrapper > .logo-container {
		flex: 0 0 33.333%;
		max-width: 33.333%;
		float: none;
	}

	#theme-header .logo-wrapper > .n112-house-header-ad {
		flex: 1 1 66.666%;
		max-width: 66.666%;
		margin-left: auto;
	}
}

@media (max-width: 991px) {
	.n112-house-header-ad {
		display: block;
		width: 100%;
		max-width: 100%;
		flex: none;
		margin: 0;
		padding: 10px 12px 12px;
		justify-content: center;
		text-align: center;
		background: transparent;
	}

	.n112-house-header-ad__link {
		margin: 0 auto;
	}

	.n112-house-header-ad__img {
		max-height: none;
		width: 100%;
		height: auto;
		margin: 0 auto;
	}
}
