thead {position: sticky; position: -webkit-sticky; top: 0;} 
@media screen and (max-width: 1000px) {
  thead {top: 0;}}
div {overflow: visible !important;}

table {border-collapse: separate;} 
td {border-top, border-right: 1px solid #bbb !important;}

thead {background-color: #ddd;}
th a, .website-field a {text-decoration: none !important; 
  font-weight: normal !important;}
th {vertical-align: bottom !important;}

.regio {min-width: 80px;}
.unie {min-width: 85px;}
.state {width: 160px;}
.inwoners, .inwoners24, .inwoners25, .inwoners26, .inwoners23_regio, .inwoners24_regio, .groei, .groei24, .groei25, .studenten, .econ_groei23, .econ_groei24, .econ_groei25
  {max-width: 90px;}
.country {min-width: 115px;}
.metropool {max-width: 60px;}
.studenten_per_inwoner {max-width: 110px;}
td {background-color: white;}

.volgnummer-field, .inwoners22-field, .inwoners-field, .inwoners24-field, .inwoners25-field, .inwoners26-field, .inwoners23_regio-field, .inwoners24_regio-field, .groei22-field, .groei-field, .groei24-field, .groei25-field, .oppervlakte-field, .dichtheid22-field, .dichtheid-field,  .dichtheid25-field, .bbp-field, .bbp_inwoner-field, .bbp_inwoner_kks-field, .bbp24-field, .bbp24_inwoner-field, .bbp24_inwoner_kks-field, .bbp25-field, .bbp25_inwoner-field, .bbp25_inwoner_kks-field, .bbp23_regio-field, .bbp24_regio-field, .econ_groei23-field, .econ_groei24-field, .econ_groei25-field, .studenten-field, .studenten_per_inwoner-field {text-align: right; padding: 4px !important;}
.euro-field, .schengen-field {padding: 4px !important;}
.land-field, .unie-field {padding: 3px !important;}
.regio-field {padding: 2px !important;}
.pdb-list-count {text-align: left;}

select, input {font-size: 16px !important;} 
input[name="value"], select[name="sortBy"], option {
        margin-bottom: 10px !important;}

input[name="submit_button"], .wisknop {
	background-color: #070 !important;
	color: #eee !important;
	font-weight: bold;
	border-radius: 15px;
        border: none !important;
	width: 160px;
	height: 40px;
}
input[name="submit_button"] {
        margin-bottom: 10px !important;
}
.wisknop {
        display: inline-block;
        text-decoration: none !important;
        text-align: center; 
        vertical-align: middle; 
        font-size: 16px;
        padding: 9px !important;
        margin-bottom: 6px !important;
}

input[name="submit_button"]:hover, .wisknop:hover {
	background-color: #090 !important; }

.inline-controls legend {
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 0;
}

.vlag-field img {width: 24px; height: 16px;}
.vlag-field {width: 44px; padding: 5px 10px !important;}