#selector {
	width:90%;
	padding:3px;
	font-size:1em;
	margin:1em 0;
	border:1px solid var(--blauw);
	height:44px;
	outline:none;
}


button[disabled], button[disabled]:hover, button[disabled]:active {
  background-color: #aaa!important;
  cursor: not-allowed;
}

:target {
    scroll-margin-top: 80px;
}

#map {
  height: 75vh;
  width: 100%;
  outline: none;
  margin-top: -40px;
}

#outercontrols {
  display: flex;
  justify-content: center;
  background-color: var(--blauw);
  position: fixed;
  bottom: 0;
  z-index: 1000;
}
#controls {
  color: var(--wit);
  margin:0 auto;
  padding: 0.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
	
#controls label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-weight:600;
  color: var(--wit);
}

#controls label span {
	display:none;
}

.leaflet-touch .leaflet-control-attribution { display: none }

.button.small {
	margin:0 10px;
}

#vorige {
	margin-left: -15px;
}
#volgende {
	margin-right: -15px;
}

#volgende,#vorige {
	width:1em!important;
	padding:10px 0!important;
}

#borg {
	flex: 1 0 50%;
}

@media (min-width:782px){
	#controls label span {
		display:inline-block;
	}
	#outercontrols {
		position: relative;
	}
	#volgende,#vorige {
		width:2em!important;
		padding:10px;!important;
	}
	#borg {
		flex:1
	}
}

/*********** Baseline, reset styles ***********/
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  width: 100%;
}

/* Removes default focus */
input[type="range"]:focus {
  outline: none;
}

/******** Chrome, Safari, Opera and Edge Chromium styles ********/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
  background-color: #9e9e9e;
  border-radius: 0rem;
  height: 0.75rem;
}

/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  margin-top: -4px; /* Centers thumb on the track */
  background-color: #ff0000;
  border-radius: 0.5rem;
  height: 1.25rem;
  width: 1rem;
}


/*********** Firefox styles ***********/
/* slider track */
input[type="range"]::-moz-range-track {
  background-color: #9e9e9e;
  border-radius: 0rem;
  height: 0.75rem;
}

/* slider thumb */
input[type="range"]::-moz-range-thumb {
  background-color: #ff0000;
  border: none; /*Removes extra border that FF applies*/
  border-radius: 0.5rem;
  height: 1.25rem;
  width: 1rem;
}
