/* globale styling (zowel voor frontend als backend) */

/* ------------------------------------------------------------------------------------------------- basisinstellingen en body */


* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

html { 
  width: 100%;
  height: 100%;
  font-size: 100%;
}

body {
	font-family: 'Arial', sans-serif;
	font-weight: 500;
	font-size: 80%;
	line-height: 160%;
	color: #272727;
	padding: 1%; 
	background: white; 
	width: auto;
}

h1 {font-size: 130%; margin-top:0px; margin-bottom: 15px;}
h2 {font-size: 110%; margin-top:0px; margin-bottom: 15px; color: #h2h2h2;}
h3 {font-size: 100%; margin-top:0px; margin-bottom: 0px; color: #h2h2h2;}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}

ul {
  list-style-position: inside;  
}

p {	
	font-size: 100%;
	margin-top:0px;
	margin-bottom:15px;
}


a {
	color: #005abc;/* zwolle-blauw */
	text-decoration: underline;
}
a:hover {
	text-decoration: underline;
	color: red;
}

img {
	max-width: 100%;
}

table {
  border-collapse: collapse;
}
tr {
  border: 1px solid transparent;  
  border-bottom: 1px solid lightgray;
}
tr:hover{
  background-color: #f8f8e5;  
  border: 1px solid gray;
}

th, td {
	padding: 1% 5px;
	text-align: left;
}

.rood {
	color: red !important;
}
.groen {
	color: green !important;
}
.blauw {
	color: blue !important;
}
.oranje {
	color: orange !important;	
}
.grijs {
	color: gray !important;	
}

.backgroundWhite {
  background-color: white;
}

.backgroundGray {
	background-color: lightgray;
}
.backgroundRed {
	background-color: red;
}
.backgroundSelected {
	background-color: lightblue;
}

.vet {
	font-weight: bold !important;
}
.cursief {
  font-style: italic !important;
}
.centered {
  text-align: center !important;
}

.left {
	text-align: left !important;
}
.right {
	text-align: right !important;
}

/* ************** pagina ***************************** */
/*----------------------------------------------------------------------------------------------------- inhoud */
#inhoud {
	position: relative;
	margin-top: 0;
	padding: 1%;
	padding-top: 1%;
	min-height: 550px;
  background: white;
}

/* ********************************************************************************  homepage ********************** */
.hp_content_width {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}


/* inlogformulier */
#inlogformulier {
	width: 300px;
	border: 1px solid lightgray;
	margin: 0 auto;
	text-align: center;
}
#inlogformulier label {
	width: 100%;
	min-width: 0;
	margin: 0;
}
#inlogformulier input {
	width: 90%;
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
	text-align: center;
}


/* ************** formulier standaard opmaak ********************** */
form {
	display: block;
}
label {
  display: block;
  float: left;
  width: 200px; 
  margin-top: 10px;
  margin-right: 10px;
}

input, select, textarea {
  display: inline-block;
  margin-top: 10px;
	border: 1px solid gray;
	min-width: 200px;
	width: auto;
	padding: 3px 10px;
	font-size: 16px;
	color: black;
	font-family: inherit;
}
input.checkbox {
	min-width: auto;
}

input[type="checkbox" i]{
	min-width: auto;
}
input[type="radio" i]{
	min-width: auto;
}
input[type="number" i]{
	text-align: center;
	min-width: 1px;
	width: 90px;
}
input.datum, input.geboortedatum {
	min-width: 1px;
	width: 130px;
	text-align: center;
}

select {
}

textarea {
	min-width: 50%;
	min-height: 100px;
}

.narrowLabel {width: auto; min-width: 10px; margin-right: 3px;}
.narrow {width: 50px; min-width: 10px;}

.form_field_explanation {
	color: blue;
	font-size: small;
	clear: both;
}

.submit {
	display: inline-block;
	padding: 5px 10px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 100%;
	min-width: 10px !important;
	width: auto !important;
	border: 1px solid #425336;
  background-color: #425336 !important; /* groen */
	color: white !important;
	cursor: pointer;
}
.submit:hover {
	background-color: green !important;
	border: 1px solid blue;
}

/* knoppen 'Visueel geïnspecteerd' (pages/materieel.php) */
.visualBtn, .visualBtnDone {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-left: 6px;
	padding: 2px 10px;
	border-radius: 12px;
	font-size: 85%;
	line-height: 1.6;
	white-space: nowrap;
	vertical-align: middle;
}
.visualBtn {
	border: 1px solid #425336;
	background-color: #fff;
	color: #425336;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.visualBtn:hover, .visualBtn:focus {
	background-color: #425336;
	color: #fff;
}
.visualBtnDone {
	border: 1px solid #c8d8c0;
	background-color: #eef4ea;
	color: #5b7a4a;
	cursor: default;
}
.visualBtn img, .visualBtnDone img {
	width: 12px;
	height: 12px;
}

.submitSmall {
	display: inline-block;
	padding: 3px 5px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 100%;
	min-width: 10px !important;
	width: auto !important;
	border: 1px solid #425336;
  background-color: #425336 !important; /* groen */
	color: white !important;
	cursor: pointer;
}

.filledField {
	background-color: lightgreen;
}

.formFieldExplanation {
  display: block;
  font-size: smaller;
  font-style:italic;  
  color: #272727;
}

.errorExplanation {
  display: block;
  font-size: smaller;
  color: red;
}

.fout {
	border: 2px solid red !important;
}

.input-fout {
  border: 1px solid red !important;
  padding-right: 20px;  
  background: url('images/inputfout.png') top right no-repeat;
}

.input-waarschuwing {
  border: 2px solid orange !important;
}

.noWrap {
	display: inline-block;
	white-space: nowrap;
}

.noDesktop {
  display: none !important; 
}
.tabletOnly, .mobileOnly {
	display: none;
}

.icon {
	height: 15px;
	vertical-align: middle;
	margin-left: 5px;
}

.iconLarge {
	height: 25px;
	vertical-align: middle;
	margin-left: 8px;
}

.clickable {
	cursor: pointer;
	text-decoration: underline;
}

.fullWidth {
	width: 100%;
}

#bottomBalk {
	background: #3b3b3b;
	height: 50px;
}


/* ------------------------------------------------------------------------------------------------------- wachten */
#wachten {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20000;
  width: 100%;
  height: 100%;
  background: transparent url('images/wachten_achtergrond.png');
}
#wachten img {
  position: absolute;
  top: 48%;
  left: 45%;
}

/* ------------------------------------------------------------------------------------------------- popup */
div#popup {
	display: none;
	position: fixed;
	top: 10%;
	left: 25%;
  z-index: 999;
  width: 50%;
  height: auto;
  text-align: center;
  height: auto;
  border: 2px solid blue;
  background: white;
  color: blue;
  padding: 1%;
}


/* ------------------------------------------------------------------------------------------------- bericht */
#bericht {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100%;
  text-align: center;
  height: auto;
}
#bericht div {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  background: white;
  height: auto;
  min-height: 50px;
  padding: 5px 10px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}  

#bericht .negatief {
  color: red;
  font-weight: bold;
  background: white;
  border: 2px solid red;
  border-top: none;
  box-shadow: 5px 5px 10px gray;
}

#bericht .positief {
  color: green;
  font-weight: bold;
  background: white;
  border: 2px solid green;
  border-top: none;
}

#bericht .waarschuwend {
  color: orange;
  font-weight: bold;
  background: white;
  border: 2px solid orange;
  border-top: none;
}

span#bericht_sluiten {
  display: block;
  clear: both;
  width: 100%;
  text-align: right;
  text-decoration: underline;
  cursor: pointer;
}


/* *********************************************************** paginatiestring ******************************* */
.pagination {
	text-align:center; 
	margin: 10px;
}
.pagination a{
	display: inline-block;
	padding: 3px 5px;
	outline: 1px dotted lightgray;
}
.pagination a:hover {
	outline: 1px solid green;
}
a.toFirstPage, a.toLastPage  {
	font-size: 110%; margin: 0 5px;
}
.currentPage {
	font-size: 120%; 
	display: inline-block; 
	margin: 0 5px; 
	color: green; 
	font-weight: bold;
}
a.otherPage {
	font-size: 110%; margin: 0 5px;
}

/* ***************************************************** NENfilter ******************************** */
#nenFilterWrapper {
	display: block;
	clear:both;
	border: 1px solid lightblue;
	border-radius: 5px;
	background: lightyellow;
	padding: 5px;
	margin-bottom: 1%;
	vertical-align: top;
}
#nenFilter span {
	display: inline-block;
	border-right: 1px dotted lightgray;
	padding-right: 5px;
	padding-left: 5px;
	text-align: center;
	vertical-align: top;
}
#nenFilter span label {
	width: auto;
	min-width: 0;
	margin: 0;
	font-size: smaller;
}
#nenFilter span input {
	margin: 0;
	width: 130px;
	min-width: 10px;
	font-size: smaller;
}

#nenFilter span input[type="checkbox"] {
	width: 20px;
}
#nenFilter span input.datum {
  width: 105px!important;
}

#nenFilter span select {
	font-size: smaller;
	width: auto; 
	margin: 0;
	min-width: 10px;
}
#nenReset {
	width: 80px!important; 
	min-width: 0!important;
	padding: 4px 10px!important;
	font-size: 100%!important;
	border-radius: 5px!important;
	cursor: pointer;
}

#nenPdf {
	width: 40px!important; 
	min-width: 0!important;
	padding: 4px 10px!important;
	font-size: 100%!important;
	border-radius: 5px!important;
	cursor: pointer;
	text-align: center;
	background-color: darkred;
	color: white;
}


/* ***************************************************** FILTER (keuren.php, klant.php, klanten.php) ******************************** */
#filterWrapper {
	display: block;
	clear:both;
	border: 1px solid lightblue;
	border-radius: 5px;
	background: #6885A0;
	padding: 5px;
	margin-bottom: 1%;
	vertical-align: top;
}

#filterTitle {
	font-style: italic; 
	display: inline-block; 
	text-align: center; 
	width: 100%;
	color: white;
}

#filter span {
	display: inline-block;
	border-right: 1px dotted lightgray;
	padding-right: 5px;
	padding-left: 5px;
	text-align: center;
	vertical-align: top;
}
#filter span label {
	width: auto;
	min-width: 0;
	margin: 0;
	font-size: smaller;
	color: white;
}
#filter span input {
	margin: 0;
	width: 130px;
	min-width: 10px;
	font-size: smaller;
}

#filter span input[type="checkbox"] {
	width: 20px;
}
#filter span input.datum {
  width: 105px!important;
}

#filter span select {
	font-size: smaller;
	width: auto; 
	margin: 0;
	min-width: 10px;
}


#filterSubmit {
	width: 80px!important; 
	background-color: green!important;
	color: white!important;
}

#filterReset, #nenFilterReset {
	width: 80px!important; 
	background-color: lightgray!important;
	color: black!important;
}

#filterPdf, #nenFilterPdf {
	width: 40px!important; 
	min-width: 0!important;
	padding: 4px 10px!important;
	font-size: 100%!important;
	border-radius: 5px!important;
	cursor: pointer;
	text-align: center;
	background-color: darkred;
	color: white;
}

#filterCsv, #nenFilterCsv {
	width: 50px!important; 
	min-width: 0!important;
	padding: 3px 10px!important;
	font-size: 100%!important;
	border-radius: 5px!important;
	cursor: pointer;
	text-align: center;
	background-color: lightgray;
	color: white;
}

/* ********************************* opmaak tabelkop ********************************** */
.tableHeader, .tableHeader:hover {
	width: 100%;
	background: #6885A0;
	color: white;
}

.tableHeader a {
  color: white;
}

header {
	border-bottom: 1px solid gray;
	padding: 1%;
	margin-bottom: 1%;
	background: #f3f3f3; /*lichtgrijs*/
}

footer {
	/* border-top: 1px solid gray;*/
	padding: 1%;
	margin-top: 1%;
	/* background: #f3f3f3;*/
}

div#voeter_menu {
	text-align: center;
}

div#inhoud{
	min-height: 500px;
	position: relative;
}

.mobileOnly, .tabletOnly {
  display: none !important;
}
.noDesktop {
  display: none; 
}

/*-------------------------------------------------------------------------------------------------- credits */
#credits {
	background: inherit;
	color: white;
	width: 100%;
	text-align: right;
	font-size: 10px;
	padding: 5px;
}

#credits-wrapper {
}

#credits a{ 
	color: inherit;
	text-decoration: none;
}

#credits img{
  height: 14px;
}  


/* ********************************************* RESPONSIVE CSS ******************************************* */

@media all and (max-width: 1240px), (hover: none) and (pointer: coarse) {

  .noDesktop {
    display: block!important; 
  }

  .noTablet {
    display: none !important; 
  }
  
  .tabletOnly {
    display: block; 
  }
  
  #credits {
     text-align: center; 
  }
  
  textarea {
  	clear: both;
  	width: 70%;
  }
  
  html {
    background: white;	
  }
  
  body {
  	margin: 0;
  	padding: 0;
  	width: 100%;
  }
  
  #inhoud {
  	margin-top: 0;
  	min-height: 200px;
  }
  
  #header_wrapper {
  	width: 90%;
  	max-width: 960px;
    min-height: 65px;	
    position: relative;
  }
  
  #header_logo {
  	float: left;
  	width: 200px;
  	padding-right: 0;
  	margin: 10px 10px 10px 10px;
  }
  
  
  
  /* hoofdmenu */
  #header_menu ul li.mainitem {
     padding: 5px; 
  }

  div#header_menu {
    float: left;
    text-align: center;
    display: block;
  	background-color: inherit;
  	padding-right: 0;
  	border-top-right-radius: 0;
  	border-top-left-radius: 0;
  	position: relative;
  	z-index: 10000;
  	top: 10px;
  	left: 10px;
  }
  
  #mobile_menu_wrapper {
  	display: block;
  	float: right;
  	top: 10px;
  	right: 10px;
  }
  
  #mobile_menu_switch {
  	display: block;
  	width: 40px;
  	height: 40px;
  	margin-top: 10px;
  	background: transparent;
  	cursor: pointer;
  	position: relative;
  	right: 10px;
  	z-index: 10000;
  }
  
  #mobile_menu_switch img{
   	max-width: 100%; 
  }
  
  #mobile_menu {
  	display: block;
  	width: auto;
  	/*outline:1px solid red;*/
  	position: relative;
  	font-size: 16px;
  	padding: 5px;
  	background: white;
  }
  
  #mobile_menu ul li {
    display: block;
    background: #ff008b; /* roze */
    color: white;
    padding:10px;
    margin-bottom: 5px;
    text-align: left;
    /*border: 1px solid white;*/ 
    border-bottom: none;
  	white-space: nowrap;
  	text-align: center;
  }
  #mobile_menu ul li:last-child {
  	border-bottom: 1px solid white;
  }
  
  #mobile_menu ul li a {
  	display: block;
  	width: auto;
  	padding: 3px 10px 3px 0;
  	color: inherit;
  	text-decoration: none;
  	text-transform: uppercase;
  }
  
	#mobile_menu ul li a:hover  {
		color: black;
		text-decoration: underline;
	}
	
	#mobile_menu ul.subitem li {
		border: none;
	}
  #mobile_menu ul.subitem li a {
	  text-transform: none;
  }
  
  div#fixedBannerImage span {
  	width: 80%;
  }
}

@media screen and (max-width: 600px) {
 
  .noMobile {
     display: none !important; 
  }
  
  .noDesktop {
     display: inline-block !important; 
  }
  
  .mobileOnly {
    display: inline-block !important; 
  }
  
  body {
  }
  
	p {	
		margin-bottom: 3%;
	}
	
	h1, h2 {
		margin-bottom: 4%;
		line-height: 110%;
	}
	
	textarea {
		margin: 0 auto;
    width: 92.5%;
	}
	
	select {
		margin: 0 auto;
		width: 100%;
	}
	
	input {
		margin: 0 auto;
		width: 91%;
		margin-top: 8px;
	}
	
	label {
		clear:both;
		width: auto;
		margin-top: 3%;
		margin-bottom: 0;
	}
	
	.submit {
		width: auto;
		display: block;
		margin: 5px 0 25px 0;
		text-align: left;
	}
  
  
	#header_logo {
		min-width: 200px;
	}
	
  #desktop_submenu_wrapper ul li {  
  	width: 100%;
  	clear:both;
  	border-bottom: none;
  }
  #desktop_submenu_wrapper ul li:hover {
  	border-bottom: none;
  }
  
  #desktop_submenu_wrapper ul.subitem  {
  	display: block;
  	margin-top:-20px;
  }
  #desktop_submenu_wrapper ul.subitem li a {
  	color: white;
  	font-size: 95%;
  	text-transform: none;
  	margin-left: 10px;
  }

	#desktop_submenu_wrapper ul li:hover ul.subitem {
		display: block;
		position: relative;
		top: 0;
		z-index: 200;
		width: auto;
		border: none;
		transition: all 0.2s ease;
	}
	nav#subNav {
	  height: auto;
  }
  
}
/* ********************************************* EINDE RESPONSIVE CSS ******************************************* */




div {
	/*outline: 1px dashed orange;*/
}




#quickDownloadResultsTable {
	background-color: #fff;
	margin: 25px auto 0 auto;
	max-width: 100%;
}
#quickDownloadResultsTable th,
#quickDownloadResultsTable td {
	padding: 10px 12px;
	vertical-align: middle;
}

#quickDownloadWrapper h2,
#quickDownloadWrapper h3 {
	color: #fff;
}
#quickDownloadWrapper h3 {
	margin-bottom: 10px;
}
#quickDownloadWrapper #certificaat {
	width: 320px;
	max-width: 100%;
	box-sizing: border-box;
}
#quickDownloadWrapper p.rood {
	color: #ff9a9a !important;
}

@media all and (max-width: 600px) {
	#quickDownloadResultsTable th,
	#quickDownloadResultsTable td {
		padding: 8px 5px;
		font-size: 13px;
	}
	#quickDownloadResultsTable th:last-child,
	#quickDownloadResultsTable td:last-child {
		text-align: center;
	}
}

#quickDownloadWrapper {
	margin-top: 60px;
}
