.urbxmap {
	width: 100%;
	max-width: 100%;
	min-height: 300px;
	background: #F2F2F2;
	color: #000000;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	position: relative;
	overflow: visible;
}

.urbxmap.dark,
.urbxmap.satellite {
	background: #1B1B1B;
	color: #ffffff;
}

.urbxmap .map-state {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	position: absolute;
	background: inherit;
	white-space: nowrap;
	z-index: 1000;
}

.urbxmap .map-state:before {
	content: url('../images/map-icon.svg');
	top: 26px;
	left: 24px;
	width: 24px;
	height: auto;
	display: block;
	position: relative;
	z-index: 1000;
}

.urbxmap.dark .map-state:before,
.urbxmap.satellite .map-state:before {
	content: url('../images/map-white-icon.svg');
}

.urbxmap .map-state .positioner {
	top: 50%;
	left: 50%;
	position: absolute;
	transform: translate(-50%, -50%);
}

.urbxmap .map-state .heading,
.urbxmap .map-state .state {
	text-align: center;
	line-height: 1.2;
	display: block;
}

.urbxmap .map-state .heading {
	margin-bottom: 0.4em;
	color: #6D6D6D;
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 1.2;
}


.marker {
  background-color: #FB2056;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  cursor: pointer;
}

.urbxmap .mapboxgl-popup {
	width: 280px;
}

.urbxmap .mapboxgl-popup-content {
	padding-bottom: 10px;
	color: #000000;
	font-family: 'Montserrat', sans-serif;
	border-radius: 10px;
}

.urbxmap .mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-content {
	border-bottom-left-radius: 0px;
}

.urbxmap .mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-content {
	border-bottom-right-radius: 0px;
}

.urbxmap .mapboxgl-popup-anchor-top-left .mapboxgl-popup-content {
	border-top-left-radius: 0px;
}

.urbxmap .mapboxgl-popup-anchor-top-right .mapboxgl-popup-content {
	border-top-right-radius: 0px;
}

.urbxmap .mapboxgl-popup-content .location-info {
	padding: 0 48px 10px 0;
}

.urbxmap .mapboxgl-popup-content .popup-close-btn {
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	position: absolute;
	background: #EFEFEF url('../images/delete-icon.svg') no-repeat center center;
	background-size: 12px auto;
	border-radius: 16px;
	cursor: pointer;
}

.urbxmap .mapboxgl-popup-content h3 {
	margin: 0 0 6px 0;
	font-size: 1.2em;
}

.urbxmap .mapboxgl-popup-content .coordinates {
	color: #6D6D6D;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.urbxmap .mapboxgl-popup-content .btn {
	margin: 6px 0 0 0;
	padding: 8px 16px;
	background: #EFEFEF;
	color: #000000;
	font-size: 0.9em;
	text-align: center;
	text-decoration: none;
	border-radius: 6px;
	border: none;
	outline: none;
	display: block;
	transition: background 0.11s ease-in-out 0s;
}

.urbxmap .mapboxgl-popup-content .btn:hover {
	background: #000000;
	color: #ffffff;
}

.urbxmap .mapboxgl-popup-content .location-links {
	padding-top: 6px;
	border-top: 1px solid #D4D4D4;
}

.urbxmap .mapboxgl-popup-content .location-links .heading {
	color: #6D6D6D;
	font-size: 0.8em;
	text-transform: uppercase;
}


.urbxmap .search {
	top: 10px;
	right: 50px;
	position: absolute;
	
	background: #ffffff;
	color: #000000;
	border-radius: 4px;
	box-shadow: 0 0 0 2px rgba(0,0,0,.1);
	
	z-index: 1;
}

.urbxmap .search > input {
	margin: 1rem;
	padding: .2rem;
	background: transparent;
	font-family: inherit;
	font-size: 14px;
	border: none;
	border: 1px solid gray;
	border-radius: 5px;
	outline: none;
}

.urbxmap .search input:focus {
	outline: none;
}

.urbxmap .search .search-results {
	margin: 0;
	padding: 0;
	border-top: 1px solid #D4D4D4;
	display: none;
}

.urbxmap .search.active .search-results {
	display: block;
}

.urbxmap .search .search-results li {
	margin: 4px;
	padding: 2px 8px;
	background: transparent;
	font-size: 14px;
	border-radius: 4px;
	list-style: none;
	cursor: pointer;
	transition: background 0.11s ease-in-out 0s;
	display: flex;
	align-items: center;

}

.urbxmap .search .search_options {
	padding: 2px 12px;
    font-size: 10pt;
}


.urbxmap .search .search-results li:hover {
	background: #EFEFEF;
}

.mapboxgl-ctrl-group button {
	background: transparent !important;
}

.mapboxgl-ctrl-bottom-right {
	display: none;
}

.search_options_toggle {
	cursor: pointer;
}

.search_options_toggle > .less {
	display: none;
}

.search_options_custom {
	transform: scaleY(0);    
	height: 0;
	transform-origin: top;
	transition: transform 0.26s ease;
}
.search_options_custom.visible {
	transform: scaleY(1);
	height: auto;
}
.marker_preview, .result_preview {
	width: 16px;
	height: 16px;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin: 0 0.15rem;
}
.result_preview {
	width: 14px;
	height: 14px;
}

.marker_btn {
	background-color: rgb(223, 223, 223);
	border: 1px solid rgb(190, 190, 190);
	color: gray;
	border-radius: 10px;
	margin-bottom: 0.25rem;
	padding: 0 0.5rem;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.marker_btn.visible {
	color: #0b2130;
	background-color: rgb(164 211 255);
	border-color: #4a89c5;
}
.urbxmap .search .search_options .count {
	font-size: 8pt;
    color: gray;
	margin-left: .25rem
}

.count, .marker_preview {
	pointer-events: none;
}

.search_options_toggle {
	color: gray;
}

.urbxmap .route_section {
	padding: 2px 12px 8px 12px;
	border-top: 1px solid #D4D4D4;
}

.urbxmap_route_btn {
	margin: 0.5rem 0;
	padding: 0.4rem 0.8rem;
	width: 100%;
	box-sizing: border-box;
	background: #EFEFEF;
	color: #000000;
	font-size: 0.85em;
	font-family: inherit;
	text-align: center;
	border-radius: 6px;
	border: none;
	outline: none;
	cursor: pointer;
	transition: background 0.11s ease-in-out 0s;
}

.urbxmap_route_btn:hover {
	background: #000000;
	color: #ffffff;
}

a.urbxmap_route_btn {
	display: block;
	text-align: center;
	text-decoration: none;
}

.urbxmap_route_btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.urbxmap_route_btn.secondary {
	background: transparent;
	border: 1px solid #D4D4D4;
}

#route_toggle.active {
	background: #0b2130;
	color: #ffffff;
}

.route_panel {
	display: none;
	flex-direction: column;
	width: 100%;
	min-width: 220px;
	padding: 0 0.5rem 0.5rem 0.5rem;
	box-sizing: border-box;
	font-size: 0.85em;
}

.route_panel.visible {
	display: flex;
}

.route_hint {
	margin: 0.25rem 0.5rem;
	color: #6D6D6D;
	font-size: 0.85em;
}

.route_stops {
	margin: 0.25rem 0.5rem;
	padding: 0;
	list-style: none;
	max-height: 160px;
	overflow-y: auto;
}

.route_stops li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
	padding: 0.2rem 0.4rem;
	margin-bottom: 0.2rem;
	background: #EFEFEF;
	border-radius: 4px;
}

.route_stops li[draggable="true"] {
	cursor: grab;
}

.route_stops li.dragging {
	opacity: 0.5;
}

.route_stops li .stop_handle {
	margin-right: 0.2rem;
	color: #6D6D6D;
	letter-spacing: -2px;
	flex: none;
}

.route_stops li .stop_index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	margin-right: 0.3rem;
	background: #0b2130;
	color: #ffffff;
	border-radius: 50%;
	font-size: 0.75em;
	flex: none;
}

.route_stops li .stop_name {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.route_stops li .stop_remove {
	cursor: pointer;
	color: #6D6D6D;
	font-weight: bold;
}

.route_stops li.start_point {
	background: rgb(164 211 255);
}

.route_actions {
	display: flex;
	gap: 0.5rem;
	margin: 0 0.25rem;
}

.route_actions .urbxmap_route_btn {
	width: auto;
	flex: 1;
}

.route_result {
	margin: 0.4rem 0.5rem 0;
	font-size: 0.85em;
	color: #6D6D6D;
}

.route_result .route_error {
	color: #c0392b;
}