/*
	ZeroFour by HTML5 UP - Mobile Stylesheet (Modernized for Mobile Performance & Usability)
	Optimized for Google PageSpeed, Touch UX, Clean Typography & Ultra-fast rendering.
*/

/*********************************************************************************/
/* 1. Basic & Reset                                                              */
/*********************************************************************************/

body, input, select, textarea {
	line-height: 1.65em;
	font-size: 15px;
	letter-spacing: 0;
	color: #2d3748;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: #f8fafc;
}

h1, h2, h3, h4, h5, h6 {
	color: #1a202c;
	font-weight: 700;
	letter-spacing: -0.01em;
}

h1 {
	font-size: 22px !important;
	line-height: 1.3em !important;
	margin: 0.2em 0 0.6em 0 !important;
}

h2 {
	font-size: 18px !important;
	line-height: 1.35em !important;
	margin: 1.2em 0 0.5em 0 !important;
}

h3, h4 {
	font-size: 16px !important;
	line-height: 1.4em !important;
	margin: 1em 0 0.4em 0 !important;
}

p {
	margin: 0 0 1.2em 0 !important;
	line-height: 1.65em !important;
	color: #374151 !important;
}

ul, ol {
	margin-bottom: 1.2em;
}

ul li, ol li {
	margin-bottom: 0.4em;
	line-height: 1.55em;
}

img {
	max-width: 100%;
	height: auto;
}

iframe, embed, object, video {
	max-width: 100% !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 16 / 9 !important;
	float: none !important;
	margin: 15px 0 !important;
	display: block !important;
	border-radius: 8px !important;
}

table {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	border-collapse: collapse !important;
}

table tr {
	display: flex !important;
	flex-direction: column !important;
}

table td {
	display: block !important;
	width: 100% !important;
	padding: 0 !important;
}

/* Section/Article */
section, article {
	clear: both;
}

/* Button */	
.button {
	width: 100%;
	min-height: 48px;
	font-size: 1.05em;
	text-align: center;
	padding: 0.85em 0;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/*********************************************************************************/
/* 2. Mobile Top Bar & Navigation Panel                                         */
/*********************************************************************************/

#titleBar {
	position: relative;
	height: 52px !important;
	line-height: 52px !important;
	background-color: #1e293b !important;
	background-image: url(../images/mobileheader.webp) !important;
	background-size: 210px auto !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	border-bottom: 2px solid #d32f2f !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

#titleBar .title {
	display: block;
	text-transform: uppercase;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: #fff;
	line-height: 52px;
	text-align: center;
	font-size: 14px;
}

#titleBar .toggle {
	position: absolute;
	left: 0;
	top: 0;
	width: 52px !important;
	height: 52px !important;
	opacity: 0.85 !important;
}

#titleBar .toggle:before {
	display: inline-block;
	font-family: FontAwesome;
	text-decoration: none;
	font-style: normal;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 20px;
	width: 52px;
	height: 52px;
	line-height: 52px;
	text-align: center;
	color: #fff;
	content: '\f0c9';
}

#titleBar .toggle:active {
	opacity: 1 !important;
	background-color: rgba(255,255,255,0.1);
}

#navPanel {
	background-color: #0f172a !important;
	background-image: none !important;
	box-shadow: 2px 0 15px rgba(0,0,0,0.4) !important;
}

#navPanel .link {
	display: block;
	color: #cbd5e1 !important;
	text-decoration: none;
	height: 48px !important;
	line-height: 48px !important;
	border-top: solid 1px rgba(255,255,255,0.06) !important;
	border-bottom: solid 1px rgba(0,0,0,0.25) !important;
	padding: 0 1.2em !important;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.85em;
	letter-spacing: 0.05em;
}

#navPanel .link:hover, #navPanel .link:active {
	background-color: #1e293b !important;
	color: #ef4444 !important;
}

#navPanel .indent-1 { display: inline-block; width: 1em; }
#navPanel .indent-2 { display: inline-block; width: 2em; }
#navPanel .indent-3 { display: inline-block; width: 3em; }
#navPanel .indent-4 { display: inline-block; width: 4em; }
#navPanel .indent-5 { display: inline-block; width: 5em; }
#navPanel .depth-0 { color: #fff; }

/*********************************************************************************/
/* 3. Wrappers & Layout Containers                                              */
/*********************************************************************************/

#header-wrapper {
	display: none !important; /* Hide desktop header bar on mobile */
}

#header {
	display: none !important;
}

#nav {
	display: none !important;
}

#main-wrapper {
	padding-top: 65px !important;
	background: #ffffff;
}

.homepage #main-wrapper {
	padding-top: 65px !important;
}

.wrapper {
	padding: 1.5em 15px 1em 15px !important;
}

.container {
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
}

.inner {
	padding: 0 !important;
}

.row {
	display: flex !important;
	flex-direction: column !important;
	background: #ffffff !important;
	padding: 0 15px !important;
	margin: 0 !important;
}

.\34 u, .\38 u, .\31 2u, .\36 u,
.4u, .8u, .12u, .6u,
[class*="4u"], [class*="8u"], [class*="12u"], [class*="6u"] {
	width: 100% !important;
	float: none !important;
	padding: 0 !important;
}

.\38 u, .8u, [class*="8u"], #content {
	order: 1 !important;
}

.\34 u, .4u, [class*="4u"] {
	order: 2 !important;
}

/*********************************************************************************/
/* 4. Streamlined Mobile Headers (Clean single hero banner image)                */
/*********************************************************************************/

#headerhome, #headerimg {
	display: block !important;
	position: relative !important;
	left: 0 !important;
	top: 0 !important;
	width: 100% !important;
	height: auto !important;
	margin: 0 0 16px 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}

#slideshow {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1140 / 375 !important;
	overflow: hidden !important;
	border-radius: 8px !important;
}

#slideshow img {
	display: none !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	border-radius: 8px !important;
}

/* Display only the primary active image on mobile for fast single-image rendering */
#slideshow img.active {
	display: block !important;
	position: relative !important;
	opacity: 1 !important;
}

/*********************************************************************************/
/* 5. Mobile Touch-Friendly Activity Navigation Grid                            */
/*********************************************************************************/

/* Convert image buttons into a modern 2-column touch card grid */
#navbarhome, #buttondiv {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 10px !important;
	margin: 1.2em 0 1.8em 0 !important;
	width: 100% !important;
	height: auto !important;
	left: 0 !important;
	float: none !important;
	visibility: visible !important;
	padding: 0 !important;
}

@media screen and (max-width: 440px) {
	#navbarhome, #buttondiv {
		grid-template-columns: 1fr !important;
	}
}

/* Hide heavy bitmap images and rollover layers */
#navbarhome img, #buttondiv img {
	display: none !important;
}

#navbarhome > div, #buttondiv > div {
	width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	position: static !important;
	display: block !important;
	transform: none !important;
}

#navbarhome > div a, #buttondiv > div a {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	min-height: 48px !important;
	padding: 12px 14px !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-left: 4px solid #d32f2f !important;
	border-radius: 8px !important;
	text-decoration: none !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
	transition: background-color 0.15s ease, transform 0.15s ease !important;
	position: relative !important;
}

#navbarhome > div a:active, #buttondiv > div a:active {
	background: #f1f5f9 !important;
	transform: scale(0.98) !important;
}

#navbarhome > div a .hometekst, #buttondiv > div a .tekst {
	position: static !important;
	left: auto !important;
	top: auto !important;
	color: #1e293b !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-align: left !important;
	line-height: 1.3em !important;
	display: flex !important;
	align-items: center !important;
	gap: 8px !important;
	width: 100% !important;
}

#navbarhome > div a .hometekst::after, #buttondiv > div a .tekst::after {
	content: '\f105';
	font-family: FontAwesome;
	color: #94a3b8;
	font-size: 15px;
	margin-left: auto;
}

/*********************************************************************************/
/* 6. Vacatures & Sidebar Cards on Mobile                                       */
/*********************************************************************************/

/* Hide top desktop vacature on mobile so the hand image only appears once at the bottom */
.vacature {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
}

#vacaturemobiel {
	display: block !important;
	visibility: visible !important;
	height: auto !important;
	width: 100% !important;
	max-width: 320px !important;
	margin: 25px auto 15px auto !important;
	padding: 16px !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
	text-align: center !important;
	float: none !important;
	left: auto !important;
	top: auto !important;
}

#vacaturemobiel img {
	max-width: 100% !important;
	height: auto !important;
	border-radius: 6px !important;
	margin: 10px auto !important;
}

.desktopdiv {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
}

/*********************************************************************************/
/* 7. Language Bar & Footer Address                                             */
/*********************************************************************************/

#taalmobiel {
	display: block !important;
	visibility: visible !important;
	text-align: center !important;
	padding: 10px !important;
	background: #f1f5f9 !important;
	border-radius: 8px !important;
	margin: 15px 0 10px 0 !important;
	border: 1px solid #e2e8f0 !important;
}

#taalmobiel a {
	font-weight: 700 !important;
	font-size: 14px !important;
	color: #1e293b !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 8px !important;
}

.adresbalk {
	width: 100% !important;
	position: static !important;
	left: auto !important;
	top: auto !important;
	padding: 12px 14px !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	margin: 15px 0 25px 0 !important;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
	box-sizing: border-box !important;
}

#adresbalk {
	position: static !important;
	left: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
}

#adresbalk li.adres-item {
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	min-height: 44px !important;
	padding: 8px 0 !important;
	border-bottom: 1px solid #edf2f7 !important;
}

.footer-icon {
	font-size: 15px !important;
	color: #4a5568 !important;
	width: 34px !important;
	height: 34px !important;
	line-height: 34px !important;
	text-align: center !important;
	background: #f1f5f9 !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 50% !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	margin-right: 12px !important;
}

#adresbalk li.adres-item .tekstadresbalk {
	position: static !important;
	top: auto !important;
	font-size: 14.5px !important;
	font-weight: 500 !important;
	color: #2d3748 !important;
}

#adresbalk li.adres-item .tekstadresbalk a {
	color: #2d3748 !important;
	text-decoration: none !important;
}

/* Twee logos mooi naast elkaar op mobiel */
#adresbalk li.footer-logos {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 25px !important;
	width: 100% !important;
	padding: 16px 0 8px 0 !important;
	border-bottom: none !important;
	margin: 0 auto !important;
}

#adresbalk li.footer-logos a {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

#adresbalk li.footer-logos img {
	margin: 0 !important;
	max-height: 30px !important;
	width: auto !important;
	object-fit: contain !important;
}

#dordrecht {
	position: static !important;
	left: auto !important;
	top: auto !important;
}

#disclaimer {
	font-size: 12px !important;
	line-height: 1.6 !important;
	color: #64748b !important;
	margin-top: 12px !important;
	text-align: center !important;
}

#footer-wrapper {
	padding: 1.5em 15px 1em 15px !important;
	background: #1e293b;
	color: #94a3b8;
}

#copyright {
	margin-top: 0;
	text-align: center;
	font-size: 12px;
}

.taalkeuze-desktop,
.nav-flags {
	display: none !important;
}
