﻿path.tour-route-flow {
  animation: travelingo-route-flow 2.4s linear infinite;
}

@keyframes travelingo-route-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -18px; }
}

.modal:not(.show) path.tour-route-flow,
body:not(.tour-discovery-open) [data-tour-discovery] path.tour-route-flow {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  path.tour-route-flow {
    animation: none;
  }
}

.tour-route-modal,
.tour-list-map-modal {
  overflow: hidden;
  border: 0;
  border-radius: .875rem;
}

.tour-route-head,
.tour-list-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
}

.tour-route-head {
  flex-wrap: wrap;
}

.tour-route-heading {
  flex: 1 1 16rem;
  min-width: 0;
}

.tour-route-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: none;
  margin-inline-start: auto;
}

.tour-route-heading > span,
.tour-list-map-head span {
  color: var(--orange);
  font-size:var(--site-fs-label);
  font-weight:var(--site-fw-bold);
  letter-spacing: .1em;
}

.tour-route-heading h2,
.tour-list-map-head h2 {
  margin: .25rem 0;
  font-size:var(--site-fs-value);
}

.tour-route-heading p,
.tour-list-map-head p {
  margin: 0;
  color: #77827c;
  font-size:var(--site-fs-body);
}

.tour-route-close,
.tour-list-map-head button {
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
}

.tour-route-canvas,
#tourListModalMap {
  height: 65vh;
  min-height: 25rem;
}

.tour-route-modal .leaflet-container,
.tour-list-map-modal .leaflet-container {
  font-family:var(--site-font-family);
}

.tour-route-photo-icon {
  border: 0;
  background: transparent;
}

.tour-route-photo-pin {
  width: 88px;
  height: 76px;
  position: relative;
  box-sizing: border-box;
  display: block;
  border: 3px solid #fff;
  border-radius: .625rem;
  background: #fff;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .28);
}

.tour-route-photo-pin::after {
  content: "";
  position: absolute;
  top: 100%;
  left: calc(50% - .5rem);
  border-inline: .5rem solid transparent;
  border-top: .6875rem solid #fff;
}

.tour-route-photo-media {
  height: 48px;
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: .4375rem .4375rem 0 0;
  color: var(--green);
  background: #e7eeea;
  font-size: 1rem;
  font-weight: 800;
}

.tour-route-photo-media img,
.leaflet-container .leaflet-marker-pane .tour-route-photo-media img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.tour-route-photo-media > i {
  font-size: 1.25rem;
}

.tour-route-photo-name {
  display: block;
  overflow: hidden;
  padding: .125rem .25rem;
  color: #20382f;
  font-size:var(--site-fs-label);
  font-weight:var(--site-fw-bold);
  line-height: 1.125rem;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tour-route-photo-day {
  min-width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: -.625rem;
  inset-inline-end: -.625rem;
  display: grid;
  place-items: center;
  padding-inline: .25rem;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--orange);
  font-size:var(--site-fs-label);
  line-height: 1;
}

.tour-route-photo-icon-compact .tour-route-photo-pin {
  width: 52px;
  height: 46px;
  border-width: 2px;
  border-radius: .375rem;
}

.tour-route-photo-icon-compact .tour-route-photo-pin::after {
  left: calc(50% - .375rem);
  border-inline-width: .375rem;
  border-top-width: .5rem;
}

.tour-route-photo-icon-compact .tour-route-photo-media {
  height: 28px;
  border-radius: .25rem .25rem 0 0;
}

.tour-route-photo-icon-compact .tour-route-photo-media > i {
  font-size: 1rem;
}

.tour-route-photo-icon-compact .tour-route-photo-name {
  padding: 0 .125rem;
  font-size: .5625rem;
  line-height: 14px;
}

.tour-route-photo-icon-compact .tour-route-photo-day {
  min-width: 18px;
  height: 18px;
  top: -.4375rem;
  inset-inline-end: -.4375rem;
  padding-inline: .125rem;
  font-size: .5625rem;
}

@media (max-width: 767.98px) {
  .tour-route-canvas,
  #tourListModalMap {
    min-height: 22rem;
    height: 60vh;
  }
}
