/* Box Sizing
--------------------------------------------- */

html,
input[type="search"]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}
html, body {
	overscroll-behavior: none;
	height: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden; /* Voorkomt scrollen op de achtergrond */
}
body {
	background: #fff;
	color: #010101;
	font-family: 'Raleway', Arial, Helvetica, sans-serif !important;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	margin: 0;
}

body.infosection-active .mobile-search,
body.infosection-active .mobile-filters,
body.listlocations-active .mobile-search,
body.listlocations-active .mobile-filters {
	xdisplay: none;
	xvisibility: hidden;
	transform: translateY(-100vh);
	transition: .3s ease-in-out;
}

.genesis-skip-link {
	display: none;
	visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Raleway', Arial, Helvetica, sans-serif !important;
}

#map { 
	height: calc(100vh - 100.8px); 
	width: 67%;
}

.info-navigatie-steps-container
.routebeschrijving-container {
	background: white;
	padding: 16px;
	zmax-width: 500px;
	font-family: sans-serif;
	border-top: 1px solid #DFDFDF;
	margin-top: 40px;
}

.routebeschrijving-container h3 {
	margin-top: 0;
	margin-bottom: 12px;
	font-size: 18px;
}

.route-row {
	display: flex;
	align-items: center;
}

.route-icons {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-right: 12px;
}

.route-icons i {
	font-size: 18px;
	color: #0F53FF;
}

.route-line {
	width: 2px;
	height: 14px;
	background-image: radial-gradient(#ccc 1px, transparent 1px);
	background-size: 2px 6px;
	background-repeat: repeat-y;
	margin: 6px 0;
}

.route-inputs {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}

.route-input {
	padding: 8px 12px;
	background: #f0f0f0;
	border: none;
	border-radius: 6px;
	width: 100%;
	font-size: 14px;
	position: relative;
	user-select: none;
}
.route-inputs-container {
	position: relative;
}
.route-inputs-container:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pin-wrapper {
  position: relative;
  display: inline-block;
}

.pin-image {
  width: 32px;
  height: 32px;
  border-radius: 50%; /* als je een ronde marker wilt */
  display: block;
}

.pin-wrapper::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #c33; /* Google Maps-stijl rood */
}

.pin-wrapper.museum::after { 
	border-top-color: #BE0000; 
}
.pin-wrapper.park::after { 
	border-top-color: #24572C; 
}
.pin-wrapper.kerk::after { 
	border-top-color: #03C1D7; 
}
.pin-wrapper.bezienswaardigheid:after { 
	border-top-color: #8C7394; 
}
.pin-wrapper.inactive::after {
  border-top-color: #aaa !important;
}
.pin-wrapper.tempclosed::after {
	border-top-color: #BE0000 !important;
}
/* Voeg andere types toe als je wilt */

.ov-tabs { 
	margin-top: .5rem; 
}
.ov-tab-buttons { 
	display: flex; 
	gap: .5rem; 
	flex-wrap: nowrap; 
}
.ov-tab-btn { 
	padding: .5rem .8rem; 
	background: #fff !important; 
	color: #000 !important;
	border: none; 
	border-radius: 12px; 
	cursor: pointer; 
}
.ov-tab-btn:hover {
	background-color: #EDEDED !important;
	color: #000 !important;
}	
.ov-tab-btn[aria-selected="true"],
.ov-tab-btn[aria-selected="true"]:hover { 
	background: #BE0000 !important; 
	color: #fff !important;
}
.ov-tab-btn[aria-selected="true"] img {
	filter: invert(100%) sepia(1%) saturate(134%) hue-rotate(207deg) brightness(116%) contrast(100%);;
}
.ov-tab-panel { 
	xbackground: #f3f4f6; 
	xborder-radius: 0 .5rem .5rem .5rem; 
	xpadding: .8rem; 
}
.ov-tab-panel[hidden] { 
	display: none !important; 
}


/* bij hover of highlight */
.leaflet-marker-icon.highlight .pin-wrapper {
  transform: scale(1.25);
  z-index: 1000;
}
.leaflet-marker-icon.selected .pin-wrapper {
  transform: scale(1.25);
  z-index: 1000;
}

/* Zorg dat normale pin ook netjes transition gebruikt */
.pin-wrapper {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.leaflet-marker-icon.marker-icon::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-top-color: #333; /* stem dit af op je icoon */
}


#info-navigatie {
	padding: 0 20px 20px;
    position: fixed;
    top: 0;
	right: 0;
    bottom: 0;
	left: 0;
    background: #fff;
    z-index: 2;
    overflow: auto;
}

#profile-buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
    row-gap: 15px;
}
#profile-buttons-info {
	font-size: 14px;
	margin-left: auto;
}
#profile-buttons-info i {
	font-size: 18px;
	vertical-align: text-bottom;
}
#profile-buttons-info-new-line {
	flex-basis: 100%;
    display: flex;
    align-items: center;
    column-gap: 10px;
    font-size: 14px;
    background-color: #F0F0F0;
    padding: 10px;
    border-radius: 6px;
}
#profile-buttons button {
    background-color: #fff;
    color: #1f1f1f;
    border: none;
    padding: 8px 14px;
    margin-right: 8px;
    border-radius: 50%;
    font-size: 20px;
	width: 34px;
	height: 34px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s ease;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 5px;box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 5px;
}

#profile-buttons button.active {
	background-color: #1967D2;
	color: #fff;
	opacity: 1;
}

#profile-buttons button:hover {
	opacity: 1;
}

.spinner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #ccc;
  border-top: 5px solid #0F53FF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sticky-navigation {
	z-index: 9999;
	border-top: 2px solid #C30;
	background-color: #fff;
	flex-flow: column wrap;
	padding-top: 0;
	padding-bottom: 0;
	display: flex;
	position: fixed;
	width: 100%;
	bottom: 0;
}		
.navigation-buttons-container {
	grid-column-gap: 15px;
	justify-content: center;
	align-items: center;
	display: flex;
}
.navigation-button {
	flex-direction: column;
	align-items: center;
	width: 70px;
	color: #4F4F4F;
	text-decoration: none;
	display: flex;
	padding-top: 20px;
	padding-bottom: 20px;
}
.navigation-button.w--current,
.navigation-button:hover {
	outline-offset: 0px;
	background-color: #E9EEEA;
	border-width: 0;
	border-color: #000;
	border-bottom-style: solid;
	border-left-style: solid;
	border-right-style: solid;
	outline: 3px #00e;
}
.navigation-button i {
	font-size: 30px;
}

.filter-buttons {
	padding: 10px 20px;
	background-color: #F5F5F5;
}
.filter-buttons img {
	width: 150px;
	vertical-align: middle;
}
button,
.button {
	padding: 10px;
	cursor: pointer;
	display: inline-flex;
	justify-content: center; /* center the content horizontally */
	align-items: center;
	text-decoration: none;
	font-family: 'Raleway', Arial, Helvetica, sans-serif !important;
}
button#info-route,
button#fav-btn,
.button {
	background-color: #1967D2;
	color: #fff;
	border: 0;
	border-radius: 20px;
	padding: 10px 16px;
	line-height: 16px;
}
button#info-route:hover,
.button:hover {
	background-color: #165DBD;
}
button#fav-btn {
	border: 0;
	color: #BE0000;
	background-color: #fff;
	width: 40px;
	height: 40px;
	border-radius: 999px;
}
button#fav-btn:hover {
	border: 2px solid #BE0000;
}
button#fav-btn .bx-heart:before,
button#fav-btn .bxs-heart:before {
	font-size: 28px;
	vertical-align: -webkit-baseline-middle;
}
button#fav-btn.active {
	color: #BE0000;
}

.info-buttons {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: space-around;
    justify-content: flex-start;
    align-items: center;
}
p#info-website {
	margin-top: 0;
	margin-bottom: 0;
}
#info-website:not(:empty) {
	margin-right: 10px;
}
#info-website .button {
	background-color: #CC3300;
}
#info-website .button:hover {
	background-color: #ba2e00;
}

button i.bx,
.button i.bx {
	font-size: 20px;
	margin-right: 5px;
}
button.fav-btn i.bx,
.button.fav-btn i.bx {
	margin-right: 0;
}

.rotate315 {
	transform: rotate(315deg);
}

.marker-icon.highlight,
.marker-icon.selected {
  transform: scale(1.3);
  z-index: 1000;
}


.clear {
	display: none;
	position: absolute;
	float: right;
	top: 14px;
	right: 25px;
	background: #fff;
	color: #ccc;
	font-size: 32px;
	text-align: center;
	cursor: pointer;
}
.clear:hover {
  color: #000;
}

#info-notice:not(.inactive):not(.tempclosed) {
	display: none;
	visibility: hidden;
}
#info-notice.inactive,
#info-notice.tempclosed {
	display: block;
	visibility: visible;
	color: #58151c;
	background-color: #f8d7da;
	border: 1px solid #f1aeb5;
	padding: 16px;
	border-radius: 8px;
	margin-top: 20px;
	margin-bottom: 0px;
}
#info-notice.tempclosed {
	color: #000;
	background-color: #F0CB0F;
	border: 1px solid #000;
}
#info-notice.inactive h3,
#info-notice.tempclosed h3 {
	margin: 0;
}	

.filter-buttons button,
.mobile-filters  button {
	position: relative;
	padding-left: 30px;
	xbackground-color: #fff;
	border: 1px solid;
	border-radius: 15px;
	line-height: normal;
    font-family: Arial;
	font-size: 13.3333px;
}
.filter-buttons button:before,
.mobile-filters button:before {
	position: absolute;
	content: "";
	display: block;
	width: 20px;
	height: 20px;
	background-size: contain;
	background-repeat: no-repeat;
	left: 5px;
	top: 8px;
	clear: both;
}
.filter-buttons button.alles:before,
.mobile-filters button.alles:before {
	background-image: url(https://map.parijsalacarte.nl/wp-content/themes/foodie-pro/parijs-interactieve-map/icons/map-icon-alles.png);
}
.filter-buttons button.musea,
.mobile-filters button.musea {
	border-color: #BE0000;
	color: #BE0000;
}
.filter-buttons button.musea.active-filter,
.mobile-filters button.musea.active-filter {
	background-color: #BE0000;
	color: #fff;
}
.filter-buttons button.musea:before,
.mobile-filters button.musea:before {
	background-image: url(https://map.parijsalacarte.nl/wp-content/themes/foodie-pro/parijs-interactieve-map/icons/map-icon-museum.png);
}
.filter-buttons button.kerken,
.mobile-filters button.kerken {
	border-color: #03C1D7;
	color: #03C1D7;
}
.filter-buttons button.kerken.active-filter,
.mobile-filters button.kerken.active-filter {
	background-color: #03C1D7;
	color: #fff;
}
.filter-buttons button.kerken:before,
.mobile-filters button.kerken:before {
	background-image: url(https://map.parijsalacarte.nl/wp-content/themes/foodie-pro/parijs-interactieve-map/icons/map-icon-church.png);
}
.filter-buttons button.parken,
.mobile-filters button.parken {
	border-color: #24572C;
	color: #24572C;
}
.filter-buttons button.parken.active-filter,
.mobile-filters button.parken.active-filter {
	background-color: #24572C;
	color: #fff;
}
.filter-buttons button.parken:before,
.mobile-filters button.parken:before {
	background-image: url(https://map.parijsalacarte.nl/wp-content/themes/foodie-pro/parijs-interactieve-map/icons/map-icon-park.png);
}
.filter-buttons button.bezienswaardigheden,
.mobile-filters button.bezienswaardigheden {
	border-color: #8c7394;
	color: #8c7394;
}
.filter-buttons button.bezienswaardigheden.active-filter,
.mobile-filters button.bezienswaardigheden.active-filter {
	background-color: #8c7394;
	color: #fff;
}
.filter-buttons button.bezienswaardigheden:before,
.mobile-filters button.bezienswaardigheden:before {
	background-image: url(https://map.parijsalacarte.nl/wp-content/themes/foodie-pro/parijs-interactieve-map/icons/map-icon-bezienswaardigheid.png);
}

.active-filter {
	background-color: #005EB8;
	color: white;
}
.sidebar {
	position: fixed;
	top: 0;
	right: 0;
	width: 33%;
	height: calc(100vh - 97px);
	background: white;
	box-shadow: -2px 0 5px rgba(0,0,0,0.2);
	xpadding: 20px;
	z-index: 1000;
	overflow-y: auto;
	max-height: 100vh;
	transform: translateY(0px);
	opacity: 1;
	visibility: visible;
	transition: height 0.3s ease-in-out;
}
.sidebar-container {
	display: flex;
	-webkit-box-align: stretch;
	align-items: stretch;
	flex-direction: column;
	-webkit-box-pack: start;
	justify-content: flex-start;
	width: 100%;
	height: 100%;
	overscroll-behavior: none;
}
.sidebar .sidebar-buttons-bar {
	background-color: #F5F5F5;
	padding: 10px 20px;
	width: 100%;
	scrollbar-width: none;
}
.sidebar .sidebar-buttons-bar input {
	border: 0px;
	font-size: 14px;
	outline: none;
	padding: 12px 5px;
	border-radius: 2px;
	background: #fff !important;
	width: 100% !important;
	box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 8px 0px;
}
.sidebar .sidebar-buttons-bar input:focus {
	outline: none;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
}
.sidebar .sidebar-list-locations {
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	-webkit-box-flex: 1;
	flex-grow: 1;
	flex-shrink: 1;
	background: rgb(255, 255, 255);
}
.sidebar .sidebar-list-locations h2 {
	padding: 0 20px;
}
.sidebar .count-results {
	padding: 20px;
	font-weight: 700;
	display: block;
	border-bottom: 1px solid #eee;
}
ul#sidebar-list {
	padding-left: 0;
	margin-top: 0;
	display: flex;
	flex-direction: column;
	max-height: 100%;
	overflow: hidden auto;
	height: 100%;
}
.sidebar .info-section {
	display: none;
	padding: 0 20px 20px;
	position: fixed;
	top: 0;
	bottom: 0;
	background: #fff;
	z-index: 1;
	overflow: auto;
}
#sidebar #info-content-container {
	margin-top: 40px;
	padding: 0 0 40px 0;
}
#sidebar .info-title-container {
	display: flex;
    justify-content: space-between;
    align-items: center;
	border-bottom: 1px solid #e3e3e3;
}
#sidebar #info-content-container #info-address {
	border-bottom: 1px solid #e3e3e3;
	padding-bottom: 24px;
}
#sidebar #info-content-container #info-address i.fa-solid,
#sidebar #info-content-container #info-address i.bx {
	width: 16px;
	margin-right: 5px;
	vertical-align: text-bottom;
}
#sidebar #info-content-container #info-address .info-ov-metro,
#sidebar #info-content-container #info-address .info-ov-rer,
#sidebar #info-content-container #info-address .info-ov-bus,
#sidebar #info-content-container #info-address .info-ov-tram {
	display: block;
	border-radius: 8px;
	background-color: #fff;
	padding: 20px 0;
}
#sidebar #info-content-container #info-address .info-ov-metro span.ov-title,
#sidebar #info-content-container #info-address .info-ov-rer span.ov-title,
#sidebar #info-content-container #info-address .info-ov-bus span.ov-title,
#sidebar #info-content-container #info-address .info-ov-tram span.ov-title {
	font-weight: 700;
    display: block;
    margin-bottom: 5px;
}
#sidebar #info-content-container .info-content-wrapper {
	border-bottom: 1px solid #e3e3e3;
	padding-bottom: 24px;
	overflow: hidden;
}
#sidebar #info-content-container .info-buttons {
	border-bottom: 1px solid #e3e3e3;
	padding: 8px 0 24px;
}
#sidebar #info-content-container #info-address h3,
#sidebar #info-content-container #info-content h3 {
	margin-bottom: 0;
}
#sidebar #info-title h2 {
	margin-top: 20px;
}
#sidebar #info-title img.type-image {
	width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-block;
    vertical-align: text-top;
    margin-right: 5px;
}

#sidebar .info-content-wrapper {
  position: relative;
}
#sidebar .info-content-wrap {
  max-height: 240px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.3s ease;
}
/* Fade-out effect onderaan */
#sidebar .info-content-wrap.collapsed::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50px;
  width: 100%;
  background: linear-gradient(to bottom, transparent, white);
  pointer-events: none;
}
/* Uitgeklapte staat */
#sidebar .info-content-wrap.expanded {
  max-height: 1000px; /* genoeg om alles te tonen */
}

/* Knop styling */
.toggle-info-content {
  background: #fff !important;
  border: none;
  color: #005EB8 !important;
  font-weight: bold;
  cursor: pointer;
  margin-top: 8px;
  padding: 0;
}
.toggle-info-content .bx {
	vertical-align: text-bottom;
}

#sidebar #info-image img {
	width: auto;
	max-width: 100%;
	border-radius: 8px;
}
#sidebar #info-image .info-image-single {
	width: fit-content;
}
#sidebar #info-image .info-image-caption {
	font-size: 11px;
    font-style: italic;
    margin: 0;
    text-align: center;
	margin-top: 0;
}
#sidebar #disclaimer {
	font-size: 0.8em;
	font-style: italic;
	color: #666;
}

.info-section.active {
	display: block;
}
.close-button {
	position: absolute;
	top: 0px;
	right: 0px;
	background: none !important;
	border: none;
	font-weight: bold;
	cursor: pointer;
	color: #333 !important;
	font-size: 52px !important;
    padding: 4px;
	width: auto !important;
	line-height: 24px;
}

.close-button:hover {
	color: #000;
}

#back-to-info-section {
	position: absolute;
	top: 0px;
	left: 10px;
	background: none !important;
	border: none;
	font-weight: bold;
	cursor: pointer;
	color: #333 !important;
	font-size: 14px !important;
    padding: 4px;
	width: auto !important;
	line-height: 32px;
    margin-bottom: 0;
	display: inline-flex;
    justify-content: center;
    align-items: center;
}
#back-to-info-section i {
	vertical-align: middle;
	font-size: 32px;
}

#back-to-info-section:hover {
  color: #165DBD;
}

.sidebar .info-section #info-latlng {
	display: none;
}
.location-item {
	cursor: pointer;
	padding: 10px 20px;
	border-bottom: 1px solid #ddd;
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	flex-direction: row;
}
.location-item .cell-title {
	font-weight: 700;
}
.location-item .cell-info {
	font-size: 12px;
	-webkit-line-clamp: 2;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	margin-top: 10px;
}
.location-item .cell-address {
	display: block;
	color: #969696;
	font-size: 12px;
	width: 100%;
}
.location-item img {
	width: 35px;
	height: 35px;
	margin-right: 10px;
	margin-top: 5px;
}
.location-item:hover {
	background-color: #F9F9F9;
}
.location-item small {
	flex-basis: 100%;
	margin-top: 14px;
}
.back-button {
	display: none;
	margin-bottom: 10px;
	padding: 10px;
	background-color: #007bff;
	color: white;
	border: none;
	cursor: pointer;
}
.info-section.active ~ h2, .info-section.active ~ ul {
	display: none;
}

.mobile-search,
.mobile-filters {
	display: none;
}

.leaflet-control-custom.fontawesome i {
	font-size: 18px;
	vertical-align: middle;
}
.mylocation.active {
	color: #4285f3;
}
.leaflet-routing-collapse-btn {
	display: none !important;
	visibility: hidden !important;
}
.leaflet-routing-alt {
	max-height: none !important;
}
.leaflet-routing-alt-minimized {
	display: none !important;
	visibility: hidden !important;
}
.leaflet-routing-container {
	width: 100% !important;
	box-shadow: none !important;
	border-top: 1px solid #DFDFDF;
	margin-top: 20px;
}
.leaflet-routing-alt table tr {
	border-bottom: 1px solid #DFDFDF;
}
.leaflet-routing-alt table tr:last-of-type {
	border: 0;
}

.leaflet-marker-icon.currentlocation {
	z-index: 999 !important;
}

.leaflet-routing-alt table {
	width: 100%;
}

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ccc;
    border-top-color: #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


#gpx-export-btn {
  xxmargin: 10px;
}
#gpx-export-btn img {
	width: 20px;
	height: 20px;
}

#gpx-export-btn.disabled {
  cursor: not-allowed !important;
  pointer-events: none;
  background-color: #F5F5F5;
}

#gpx-export-btn.active {
  opacity: 1;
  cursor: pointer !important;
  background: #fff !important;
}

#gpx-tooltip-floating {
	transition: opacity 0.5s ease, transform 0.5s ease;
	opacity: 1;
}

#gpx-tooltip-floating.fade-out {
	opacity: 0;
	transform: translateY(-10px); /* optioneel voor extra effect */
	pointer-events: none;
}

.leaflet-bar-horizontal a,
.leaflet-bar-horizontal div {
  float: left;
  border-right: 1px solid #ccc;
  border-bottom-width: 0px;
}

.leaflet-bar-horizontal a:hover
.leaflet-bar-horizontal div:hover {
  border-bottom-width: 0px;
}

.leaflet-bar-horizontal a:first-child,
.leaflet-bar-horizontal div:first-child {
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top-right-radius: 0px;
}

.leaflet-bar-horizontal a:last-child,
.leaflet-bar-horizontal div:last-child {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 0px;
  border-right-width: 0px;
}


.route-steps-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 10px;
}

.route-step-block {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid #ddd;
}
.route-step-block:last-child {
	border-bottom: 0;
}


.route-icon-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 48px;
	flex-shrink: 0;
}

.route-icon-block i {
	font-size: 22px;
	color: #1967D2;
}

.route-distance {
	font-size: 14px;
	color: #888;
	margin-top: 4px;
	text-align: center;
}

.route-instruction {
	display: flex;
	align-items: center;
	font-size: 14px;
	line-height: 1.4;
	color: #333;
	font-weight: bold;
}




.info-overlay {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100vw;
	height: calc(100vh - 99px);
	background: rgba(0, 0, 0, 0.5);
	z-index: 9998;
	justify-content: center;
	align-items: center;
}

.info-popup {
	background: white;
	border-radius: 10px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
	width: 500px;
	max-width: 90%;
	padding: 20px;
	position: relative;
	z-index: 9999;
	height: 66vh;
	overflow: none;
}

.info-popup-content {
	position: relative;
    height: calc(100% - 54px);
    overflow: auto;
}

.info-popup-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: white;
  padding: 8px 0px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
}

.info-popup-header h1,
.info-popup-header h2 {
  font-size: 18px;
  margin: 0;
  flex-grow: 1;
  text-align: left;
}

.info-popup-content ul {
	padding-left: 4px;
}
.info-popup-content ul li {
	clear: both;
	list-style-type: none;
	margin-bottom: 6px
}
.info-popup-content ul li .uitleg-tekst {
	margin-left: 40px;
	display: block;
}

.info-popup-content .leaflet-control-custom {
	width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: rgb(255, 255, 255);
}


.floating-tooltip {
	position: absolute;
	background: #fff;
	color: #333;
	padding: 6px 10px;
	font-size: 13px;
	border: 1px solid #ddd;
	border-radius: 5px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	white-space: nowrap;
	z-index: 1000;
	pointer-events: none;
	transition: opacity 0.3s ease;}
}

/* ::before pijltje */
.floating-tooltip::before {
	content: '';
	position: absolute;
	top: 50%;
	left: -6px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
	border-right: 6px solid #ddd; /* randkleur */
}

.floating-tooltip::after {
	content: '';
	position: absolute;
	top: 50%;
	left: -5px;
	transform: translateY(-50%);
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-right: 5px solid white; /* binnenkant (kleur tooltip) */
}

@keyframes bounce-in {
  0%   { transform: translateY(-50%) scale(0.9); opacity: 0; }
  30%  { transform: translateY(-60%) scale(1.05); opacity: 1; }
  50%  { transform: translateY(-50%) scale(1); }
  70%  { transform: translateY(-52%) scale(1.03); }
  100% { transform: translateY(-50%) scale(1); }
}

.floating-tooltip.bounce {
  animation: bounce-in 0.8s ease-out;
}


#back-to-route-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #1967D2;
	color: #fff;
	padding: 12px 20px;
	font-size: 16px;
	border: none;
	border-radius: 25px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	z-index: 9999;
	cursor: pointer;
	transition: opacity 0.3s ease;
	display: inline-flex;
	justify-content: center;
	align-items: center;
}
#back-to-route-button:hover {
	background-color: #165DBD;
}


.sidebar-tabs {
	display: flex;
	border-bottom: 1px solid #ddd;
}

.sidebar-tabs button {
	flex: 1;
	padding: 10px;
	border: none;
	background: #f5f5f5;
	cursor: pointer;
	font-weight: bold;
	font-size: 14px;
}

.sidebar-tabs button.active {
	background: #BE0000;
	color: white;
}


.leaflet-control .tracking-toggle.active {
	background-color: #d9f2ff;
	color: #007bff;
}

.mobile-nav-instruction {
	position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    z-index: 9999;
    height: 106px;
	min-height: 106px;
	max-height: 106px;
    background: #177E46;
    color: #fff;
    padding: 10px 16px;
    font-size: 18px;
    display: flex;
    border-radius: 5px;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#mobile-nav-instruction.hidden {
	display: none;
}

.nav-distance {
  xfont-size: 13px;
  xcolor: #444;
  margin-top: 4px;
}

.stop-tracking-button {
  background-color: #177E46;
  border: 1px solid #fff;
  color: white;;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-left: auto;
  margin-right: 10px;
  transition: background-color 0.2s ease;
}

.stop-tracking-button:hover {
  background-color: rgba(0,0,0,0.8);
}

.routing-instruction-highlight {
	pointer-events: none;
}


.arr-label {
	font-size: 16px;
	font-weight: bold;
	color: #43474A;
	text-shadow: 1px 1px 2px white;
	pointer-events: none;
	text-align: center;
	text-transform: uppercase;
	display: inline-table;
}



@media only screen and (min-width: 601px) {
	.close-button {
		right: 10px;
	}
	.info-section.active {
		transform: none !important;
	}
	#sidebar #info-content-container {
		border-top: 1px solid #DFDFDF;
	}
	.mobile-nav-instruction {
		display: none;
	}
}

@media only screen and (max-width: 600px) {
	/* Kaart */
	#map {
		height: calc(100vh - 147.99px);
		top: 0;
		width: 100vw;
	}
	
	.sidebar .count-results {
		font-size: 14px;
		padding: 10px 20px;
		cursor: grab;
	}
	.sidebar .count-results:before {
		content: "\eb44";
		font-family: boxicons !important;
		margin-right: 5px;
	}

	/* Zijbalk */
	#sidebar {
		display: block;
		position: absolute;
		transform: translateY(100%) translateY(-47px);
		height: 100%;
		bottom: 100.8px;
		left: 0;
		right: 0;
		width: 100%;
		overflow-x: hidden;
		z-index: 9999;
		transition: transform 0.3s ease-out, opacity 0.3s ease-out;
		overscroll-behavior: none;
	}
	#sidebar:not(.listlocations-active) {
		top: auto;
	}
	#sidebar.listlocations-active {
		height: 66vh;
		bottom: 100.8px;
		overflow-y: auto;
		top: auto;
	}
	#sidebar.infosection-active {
		transform: translateY(0%);
	}
	#sidebar.hidden {
		visibility: hidden;
	}
	#sidebar .sidebar-buttons-bar {
		display: none;
	}
	#sidebar::before {
		background-color: rgb(150, 150, 150);
		width: 7%;
		height: 0.1em;
		border-radius: 1em;
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
	}
	.sidebar .iinfo-section:before {
		content: "";
		background-color: rgb(150, 150, 150);
		width: 7%;
		height: 0.1em;
		border-radius: 1em;
		position: absolute;
		top: 20px;
		left: 50%;
		transform: translate(-50%, -50%);
		cursor: grab;
	}
	#sidebar .info-title-container {
		
	}
	
	#drag-handle {
		width: 7%;
		height: 0.1em;
		background-color: #969696;
		border-radius: 3px;
		position: absolute;
		top: 20px;
		left: 50%;
		transform: translateX(-50%);
		cursor: grab;
		overscroll-behavior: none;
	}

	#sidebar.expanded {
		height: 66vh;
		bottom: 100.8px;
		overflow-y: auto;
	}
	
	.count-results.swiped-up {
		xtransform: translateY(-100%);
		xopacity: 0;
		transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	}
	.sidebar.swiped-up {
		transform: translateY(0%) ;
		transition: transform 0.3s ease-out;
		height: 62vh !important;
	}
	
	.leaflet-control-zoom {
		display: none;
		visibility: hidden;
	}
	.leaflet-top.leaflet-left {
		top: 110px;
	}

	/* Zoekbalk */
	.mobile-search {
		display: block;
		position: absolute;
		top: 10px;
		left: 10px;
		right: 10px;
		padding: 10px;
		background-color: #fff;
		border: 1px solid #ddd;
		border-radius: 5px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		z-index: 999;
		transform: translateY(0);
		transition: .4s ease-in-out;
	}

	.mobile-search input {
		width: 100%;
		padding: 10px;
		font-size: 16px;
		border: none;
		border-radius: 5px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	}
	
	.mobile-filters {
		display: flex;
		position: absolute;
		top: 78px;
		left: 10px;
		right: 10px;
		overflow-x: auto;
		z-index: 999;
		scrollbar-width: none;
		transform: translateY(0);
		transition: .4s ease-in-out;
	}
	.mobile-filters button {
		margin-right: 5px;
	}

	/* Filterknoppen */
	.filter-buttons {
		position: absolute;
		bottom: 10px;
		left: 10px;
		right: 10px;
		padding: 10px;
		background-color: #fff;
		border: 1px solid #ddd;
		border-radius: 5px;
		box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
		display: none;
	}

	.filter-buttons button {
		width: 100%;
		padding: 10px;
		font-size: 16px;
		border: none;
		border-radius: 5px;
		background-color: #f0f0f0;
		cursor: pointer;
	}

	.filter-buttons button.active {
		background-color: #007bff;
		color: #fff;
	}
	
	.close-button {
		font-size: 38px !important;
        padding: 5px 0 5px !important;
	}
	#info-navigatie .close-button {
		xright: 20px;
	}
	
	#back-to-info-section {
		left: -10px;
	}
	#back-to-info-section i {
		font-size: 26px;
	}
	
	#back-to-route-button {
		right: 20px !important;
	}
	
	.routebeschrijving-container {
		border-top: 0;
		margin-top: 20px;
		padding: 0;
	}
	
	#profile-buttons {
		flex-wrap: wrap;
		row-gap: 10px;
		margin: 20px 0 !important;
	}
	#profile-buttons-info {
		column-gap: 10px;
		margin-left: inherit;
	}

	/* Info-section */
	.info-section {
		position: absolute !important;
		bottom: 0;
		top: 0;
		left: 0;
		right: 0;
		height: 100%;
		background-color: #fff;
		border-top: 1px solid #ddd;
		z-index: 99999;
		transform: translateY(100%); /* Startpositie: verborgen */
		transition: transform 0.3s ease-out; /* Soepele animatie */
		display: flex;
		flex-direction: column;
		overscroll-behavior: none;
	}
	.info-section.active {
		visibility: visible;
	}
	
	.info-buttons {
		gap: 20px;
	}
	#info-website:not(:empty) {
		margin-right: 0;
		width: 100%;
	}
	#info-website .button {
		width: 100%;
	}

	/* Vastzetten van de header (drag-handle + sluitknop) */
	#info-header {
		position: sticky;
		top: 0;
		background: white;
		z-index: 2;
		padding: 20px;
		text-align: center;
		border-bottom: 1px solid #ddd;
		overscroll-behavior: none;
	}

	/* Scrollbare content */
	#info-content-container {
		flex-grow: 1;
		overflow-y: auto;
		max-height: calc(100% - 50px); /* Zorgt dat de scroll niet over de drag-handle komt */
		overscroll-behavior: none;
		margin-top: 0 !important;
	}

	.info-section.expanded {
		height: calc(100vh - 60px);
		bottom: 49px !important;
		top: 70px !important;
		overflow-y: auto;
	}

	.info-section.expanded .info-content {
		display: block;
	}

	.info-content {
		display: none;
		padding: 20px;
	}

	.info-section h2 {
		font-size: 18px;
		margin-bottom: 10px;
		margin-top: 20px !important;
	}

	.info-section p {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.info-section button {
		width: 100%;
		padding: 10px;
		font-size: 16px;
		border: none;
		border-radius: 5px;
		background-color: #007bff;
		color: #fff;
		cursor: pointer;
	}
	
	#info-navigatie-close-container {
		position: sticky;
		top: 0;
		z-index: 10;
		background: white;
		padding: 19.21px;
		border-bottom: 1px solid #ddd;
	}

	#info-navigatie {
		display: block;
		position: fixed;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background: white;
		z-index: 99999;
		overflow: hidden; /* Verberg globale scroll */
		display: flex;
		flex-direction: column;
	}

	.info-navigatie-steps-container {
		flex-grow: 1;
		overflow-y: auto;
		xpadding: 20px;
	}
	
	.info-navigatie-steps-container .routebeschrijving-container {
		padding: 0;
		border-top: 0;
		margin-top: 0;
	}
	
	#info-navigatie-steps {
		display: flex;
	}
	
	#info-navigatie-drag-handle {
		width: 20.44px;
		height: 0.1em;
		background-color: #969696;
		border-radius: 3px;
		position: sticky;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		z-index: 11;
		xmargin-top: 10px;
		xmargin-bottom: 10px;
		cursor: grab;
	}
	
	.leaflet-routing-alt {
		padding: 0 !important;
	}
	
	.navigation-buttons-container {
		justify-content: space-around;
	}
	
	.leaflet-bottom.leaflet-left {
		margin-bottom: 57px !important;
	}
	
	.info-overlay {
		height: calc(100vh - 145px);
	}
}