/* Hansetrail Geo — suggestion dropdown and map markers. */

.hansetrail-geo-suggestions {
	position: absolute;
	z-index: 100000;
	margin: 2px 0 0;
	padding: 4px 0;
	list-style: none;
	box-sizing: border-box;
	max-width: calc(100vw - 16px);
	background: #fff;
	border: 1px solid #d5d8de;
	border-radius: 6px;
	box-shadow: 0 6px 18px rgba(25, 34, 60, 0.18);
	font-size: 16px;
	line-height: 1.3;
	color: #19223c;
	text-align: left;
}

.hansetrail-geo-suggestions[hidden] {
	display: none;
}

.hansetrail-geo-suggestions li {
	margin: 0;
	padding: 8px 12px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hansetrail-geo-suggestions li:hover,
.hansetrail-geo-suggestions li.is-active {
	background: #fdf1e6;
}

.hansetrail-geo-suggestions__name {
	font-weight: 600;
}

.hansetrail-geo-suggestions__detail {
	margin-left: 8px;
	color: #6b7280;
	font-size: 14px;
}

.hansetrail-geo-marker {
	position: relative;
	line-height: 0;
}

.hansetrail-geo-marker img {
	display: block;
	max-width: none;
	filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 2px #fff);
}

.hansetrail-geo-marker--station img {
	width: 52px;
	height: 63px;
}

.hansetrail-geo-marker--start img {
	width: 50px;
	height: 50px;
}

.hansetrail-geo-marker .maps-marker-label {
	position: absolute;
	left: 43px;
	top: 14px;
	box-sizing: content-box;
	white-space: nowrap;
}

.hansetrail-geo-pin {
	width: 28px;
	height: 28px;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
	background: #f78022;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 28px;
	text-align: center;
}

.hansetrail-geo-marker.is-clickable,
.hansetrail-geo-pin.is-clickable {
	cursor: pointer;
}
