/* Reset en basis instellingen */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


html::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: url("../../wpimages/reddingsboot.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	opacity: 0.9;
	pointer-events: none;
}

html, body {
	height: 100%;
	width: 100%;
	font-family: Arial, sans-serif;
}

body {
	display: flex;
	flex-direction: column;
}

/* Header vast bovenin */
header.bovenbalk {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: #f5f5f5;
	border-bottom: 1px solid #ddd;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#div_headerbalk {
	padding: 5px 0;
	background-color: #003d7a;
	color: white;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.head {
	font-size: 28px;
	font-weight: bold;
}


/* Main content - scrollen in het midden */
main.content {
	margin-top: 70px; /* Pas aan naar hoogte van je header */
	margin-bottom: 60px; /* Pas aan naar hoogte van je footer */
	overflow-y: auto;
	flex: 1;
	padding: 5px;
}

#scrollable2 {
	min-height: 400px;
	padding-top:10px;
}

/* Footer vast onderaan */
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background-color: #003d7a;
	border-top: 1px solid #ddd;
	z-index: 100;
	height:25px;
}

#div_footerinhoud {
	/*padding: 15px 0;	 */
	color: white;
	text-align:center;
	padding-top:3px;
}

.footer {
	font-size: 14px;
	font-weight: bold;
}


/* =========================================================
   3. HOOFDMENU
   ========================================================= */

#div_headermenu {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 0;
	background-color: #d2691e;
	border-top: 1px solid white;
	height: 30px;
}

#div_headermenu nav {
	display: flex;
	align-items: center;
	height: 100%;
}

#div_headermenu ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	height: 100%;
}

#div_headermenu ul li {
	position: relative;
	border: 1px solid #A8A8A8;
	height: 100%;
}

/*hoofd menu */
#div_headermenu ul li a {
	display: flex;
	align-items: center;
	height: 100%;
	padding: 0 12px;
	color: white;
	text-decoration: none;
	font-size: 18px;
	transition: background-color 0.3s ease;
	box-sizing: border-box;
}

/*Sub menu */
#div_headermenu ul li ul li a {
	font-size: 14px;
	padding: 10px 12px;
	background-color: #003D7A;
	min-width: 170px;
}

#div_headermenu ul li a:hover {
	background-color: #FF0000;
}

#div_headermenu ul li ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	flex-direction: column;
	background-color: #d2691e;
	min-width: 100px;
	z-index: 100;
	height: auto;
}

#div_headermenu ul li:hover > ul {
	display: flex;
}


/* =========================================================
   4. LOGO, UITLOGGEN EN WELKOM
   ========================================================= */
#logovak {
	left: 0;
	right: 0;
	width: 100%;
	margin: 0;
	padding: 5px 20px 5px 5px;
	background-color: transparent;
	/*border-bottom: 1px solid #ddd;*/
	z-index: 99;

	/* Flexbox layout */
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}


.logo {
	width: auto;
	max-width: 40px;
	height: auto;
	position: absolute;
	left: 10px;
}

.logoLogin {
	width: auto;
	max-width: 80px;
	height: auto;
}

.welkom {
	font-size: 18px;
	font-weight: bold;
	color: #333;
	flex: 1;
	text-align: center;
	margin: 0 1em;
}

.log_out {
	font-size: 14px;
 	margin-left: auto;
	padding-right:30px;
	color: #FFFFFF;
}
.log_out a:hover {
	color: #003D7A;
}

 /* =========================================================
	5. BUTTON
	========================================================= */
/*.button {
	display: inline-block;
	box-sizing: border-box;
	padding: 5px 10px;
	border: 1px solid #000;
	border-radius: 5px;
	cursor: pointer;
	text-decoration: none;
}*/

.button-new {
	min-width:60px;
	width:90%;
	border-radius:5px;
	border:1px solid #000;
	box-shadow: 2px 2px 10px 1px #666;
	font-style: italic;
}

.button-save {
	max-width: 20px;
	max-height: 20px;
	vertical-align: middle;
	border: 0;
	padding: 0px 2px 0px 2px;
/*	padding-left:2px;padding-right:2px; */
}

.save-icon {
	max-width: 20px;
	max-height: 20px;
	vertical-align: middle;
/*	padding-top:1px;
	padding-bottom:1px;*/

	border: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	outline: none;
}



/* Opslaan-knop */
/*.button-save {
	width: 24px !important;
	height: 24px !important;
	min-width: 24px;
	max-width: 24px;
	padding: 0 !important;
	border: 0;
	object-fit: contain;
	display: block;
	margin: auto;

	vertical-align: middle;
	padding: 0;
}*/

/* Verwijderen-knop */
/*.button-delete {
	width: 25px !important;
	height: 25px !important;
	min-width: 25px;
	max-width: 25px;
	padding: 0 !important;
	box-sizing: border-box;
	display: block;
	margin: auto;
	flex-shrink: 0;

  	border-radius:5px;
	border:1px solid #000;
	font-style: italic;
}*/





.button-delete {
	max-width: 25px;
	min-height: 20px;
	background-color: #ff8080;

	border-radius:5px;
	border:1px solid #000;
	font-style: italic;
}

.button-edit {
	width: 95%;
}

.user-form,
.delete-form {
	margin: 0;
}

.user-name {
	overflow-wrap: anywhere;
}

.center {
	text-align: center;
}




/* Responsief design */
@media screen and (max-width: 768px) {
	header.bovenbalk {
		position: fixed;
	}
	main.content {
		margin-top: 70px;
		margin-bottom: 20px;
	}
	#verversvak {
		margin-top: 0.2em;
		padding: 0.5em 0;
		width: 98%;
	}
	#tekstvak ul li, #tekstvak ol li {
		left: 0;
		padding-right: 0;
		position: static;
	}
	#extravak {
		padding: 0.5em 0;
		width: 98%;
	}
	.log_out {
		font-size: 10px;
		/* width: 95%; */
	}
	#correctie {
		padding-top: 0.5em;
		width: 98%;
	}
	div.inner {
		width: 80%;
	}
	.titel{
		font-size:15px;
	}
}

@media screen and (max-width: 600px) {
	html,
	body {
		height: 100%;
		overflow: hidden !important;
	}

	div#logovak {
		flex: 0 0 80px;
		height: 80px;
		min-height: 80px;
	}

	/**************************  div_headerbalk  **************************/
	header{
		position: absolute;
		height:60px;
	}
	div#div_headerbalk {
		padding: 0.2em 0;
	}

	/************************** logo vak **************************/
	div#logovak {
		height:80px;
	}
	.logo {
		max-width: 37px;
		max-height:37px;
	}
	.welkom {
		top:-30px;
		font-size:16px;
		font-weight:bold;
	}
	span.head {
		font-size:18px;
	}

	/************************** footer **************************/
	footer {
		flex: 0 0 20px;
		height: 20px;
		min-height: 20px;
	}
	span.footer {
		height: 20px;
		font-size:11px;
		display:inline-block;
		vertical-align:top
	}
	span.txtPHP {
		font-size:11px;
	}
	/************************** middenvlak **************************/

	.content {
		margin-top:0px;
	}
	.dateinput {
		font-size:11px;
		max-width:100px;
	}
	input[type=text], input[type=password], input[type=tel], input[type=number], input[type=file] {
		font-size:11px;
		min-height:21px;
	}
	input[type=date] {
		font-size:11px;
		min-height:21px;
	}
	input[type=submit], input[type=button], button[type=submit]{
		font-size:11px;
		min-width:25px;
		min-height:25px;
	}
	button{
		font-size:11px;
		min-width:25px;
		min-height:25px;
	}
	ul > li:hover ul {
		position: absolute;
		top: 0;
		left: 5em;
	}
	ul > li {
		float: none;
		text-align:left;
	}
	select{
		font-size:11px;
		height:20px;
	}
	option {
		font-size:11px;
		height:20px;
	}
	label {
		font-size:11px;
	}
}


	/* iPads (portrait and landscape) -----------
	@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
		body {
			width: 495px;
		}
	}*/

/* Smartphones (portrait and landscape) -----------
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
		body {
			padding: 0;
			margin: 0;
		}

*/

