html {
  scroll-behavior: smooth;
  /* overflow-x: hidden; */
}

section.single-stop {
  margin-top: 80px;
}

section.single-stop>div,
section.section-map-destination>div {
  padding-right: 24px;
  padding-left: 24px;
  margin-left: auto;
  margin-right: auto;
  max-width: 1248px;
}

.mt-stop {
  margin-top: 40px !important;
}

.mt-stop-80 {
  margin-top: 80px !important;
}

a {
  text-decoration: none !important;
}

.single-stop-hero {
  height: 247px;
  position: relative;
  overflow: hidden;
  background-color: #1b1e2066;
}

.single-stop-hero::before {
  content: "";
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: inherit;
  pointer-events: none;
}

.single-stop-hero>div {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: center;
}

.single-stop-search {
  margin-top: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 50;
}

.single-stop-breadcrum {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 40px;
}

.single-stop-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.single-stop-chip {
  padding: 12px 16px;
  width: fit-content;
  background-color: var(--gray-200);
  color: var(--gray-700) !important;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.single-stop-chip:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

/* BLOQUE - RUTAS */
#map,
#ubication-map {
  height: 618px;
  width: 100%;
}

/* ----- */

/* BLOQUE - COMO LLEGAR */

.ubicaction-map-container {
  position: relative;
}

.ubication-container h2 {
  margin-bottom: 24px !important;
}

.ubication-details {
  position: absolute;
  left: 120px;
  top: 24px;
  padding: 40px;
  background-color: white;
  border-radius: 10px;
  width: 550px;
  min-height: 560px;
}

.ubication-details .address {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.title-indications {
  margin-bottom: 8px !important;
}

.item-direction {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

@media (max-width: 768px) {
  .ubication-container {
      margin-top: 56px;
  }

  .ubication-container h2 {
      padding: 0 16px;
  }

  .ubication-details {
      padding: 24px 16px;
      position: relative;
      width: auto;
      margin-right: 16px;
      margin-left: 16px;
      margin-top: -50px;
      z-index: 10;
      left: auto;
      top: auto;
  }

  .ubication-details {
      min-height: auto;
  }
}

/* ----- */

@media (max-width: 768px) {
  section.single-stop>div {
      padding-right: 16px;
      padding-left: 16px;
  }

  .single-stop-chip {
      padding: 8px;
      font-size: 15px !important;
  }
}

/* ---------- */

/* MAPA */


.section-map-stops {
  margin-top: 80px;
}

.title-map-stops {
  text-align: center;
  margin-bottom: 40px !important;
}

.stops-container-map {
  width: 100%;
  height: 634px;
  position: relative;
}

.stops-container-map #map {
  width: 100%;
  height: 100%;
}

.stops-container-search {
  position: absolute;
  top: 11px;
  left: 120px;
  background-color: white;
  padding: 12px;
  width: 460px;
  border-radius: 10px;
}

.search-form {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #e1e1e1;
  border-radius: 10px;
}

.search-form input {
  border: none !important;
  outline: none;
}

.search-form button {
  background-color: transparent;
  border: none;
}

.autocomplete-list {
  position: absolute;
  top: 94%;
  width: 100%;
  background-color: white;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.autocomplete-list-item {
  padding: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
}

.autocomplete-list-item .text {
  font-size: 18px !important;
  font-style: normal;
  font-weight: 700 !important;
  line-height: 20px !important;
  letter-spacing: 0.5px !important;
  color: #1b1e20 !important;
}

.autocomplete-list-item .icon {
  width: 24px;
  height: 24px;
}

.autocomplete-list-item:hover {
  background-color: #ffd1d8;
}

.autocomplete-list-item.not-found {
  cursor: auto;
}

.autocomplete-list-item.not-found:hover {
  background-color: white;
}

.autocomplete-list-item.selected {
  background-color: #ffd1d8;
}

.stop-summary {
  position: absolute;
  top: 11px;
  left: 120px;
  background-color: white;
  padding: 24px;
  border-radius: 10px;
  max-width: 460px;
}

.summary-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.summary-title button {
  background-color: transparent;
  width: 24px;
  height: 24px;
  padding: 0;
}

.stop-summary iframe {
  width: 100%;
  height: 221px;
  border-radius: 10px;
}

.summary-location div {
  margin-top: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.summary-services {
  border-top: 1px solid #98a0ab;
  padding-top: 16px;
  margin-bottom: 30px;
}

.grid-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.grid-services div {
  display: flex;
  gap: 8px;
  align-items: center;
}

.summary-link {
  text-decoration: none;
}

.container-location.has-direction {
  cursor: pointer;
}

.container-indications::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 1px;
  width: 100%;
  background-color: #E1E1E1;
}

.container-indications {
  position: relative;
  display: grid;
  margin-top: 24px;
  padding-top: 24px;
}

.title-nearby-services {
  margin-bottom: 24px !important;
}

.container-nearby-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.container-item-direction {
  position: relative;
  margin-bottom: 24px;
  padding-bottom: 24px;
}

.container-item-direction::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #E1E1E1;
}

.container-nearby-services div {
  display: flex;
  gap: 8px;
}

#street-view-button {
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  background: none;
  padding: 0;
  height: 80px;
  width: 80px;
  left: 695px;
  top: 505px;
  border-radius: 16px;
  border: 5px solid var(--color-gray-white, #FFF);
}

#street-view-button img,
#close-street-view img {
  width: 100%;
  height: 100%;
}

#close-street-view {
  display: none;
  cursor: pointer;
  position: absolute;
  overflow: hidden;
  background: none;
  padding: 0;
  height: 80px;
  width: 80px;
  left: 695px;
  top: 505px;
  border-radius: 16px;
  border: 5px solid var(--color-gray-white, #FFF);
}

.toggle-container.show {
  display: block;
}

.container-see-datails {
  background: none;
  padding: 0;
  cursor: pointer;
  display: none;
}

.see-details-open,
.see-details-close {
  display: none;
  font-size: 15px;
}

.see-details-open.active,
.see-details-close.active {
  display: block;
}


.container-see-datails svg {
  transition: all 0.3s ease;
}

.container-see-datails.active {
  margin-top: 24px;
  padding-top: 24px;
  position: relative;
}

.container-see-datails.active svg {
  transform: rotate(180deg);
}

.btn-copied-clipboard {
  background: none;
  padding: 0;
}

.message-copied-success {
  opacity: 0;
  display: none;
  position: absolute;
  text-wrap: nowrap;
  left: -150px;
  top: -25px;
  transition: opacity 0.5s ease-in-out;
}

.links-maps-info-windows {
  color: #35393F;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  column-gap: 4px;
}

.container-info-windows {
  width: 302px;
}

@media (max-width: 768px) {

  section.single-stop {
      margin-top: 24px;
  }

  .container-nearby-services {
      grid-template-columns: repeat(1, 1fr);
  }

  .toggle-container {
      display: none;
  }

  .container-see-datails::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      height: 1px;
      width: 100%;
      background-color: #E1E1E1;
  }

  .container-see-datails {
      display: flex;
  }

  .title-map-stops {
      padding: 0 16px;
      margin-bottom: 32px !important;
  }

  .section-map-stops {
      margin-top: 56px;
  }

  .stops-container-search {
      position: relative;
      top: auto;
      left: auto;
      width: auto;
      margin: 0 16px;
      z-index: 50;
      margin-top: -60px;
      box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.10);
  }

  .stop-summary {
      position: relative;
      top: auto;
      left: auto;
      width: auto;
      margin: 0 16px;
      z-index: 50;
      margin-top: -150px;
  }

  .mt-sm-430 {
      margin-top: 430px !important;
  }

  .mt-sm-480 {
      margin-top: 480px !important;
  }

  .sm-mt-stop {
      margin-top: 32px !important;
  }

  #street-view-button,
  #close-street-view {
      height: 75px;
      width: 75px;
      left: 20px;
      top: 263.5px;
  }

  #map,
  #ubication-map {
      height: 418px;
      width: 100%;
  }

  .container-info-windows {
      width: 230px;
  }
}

.redcoach-price-card {
  column-gap: 14px;
}

@media (max-width: 768px ) {
  .redcoach-price-card {
      column-gap: 4px;
  }
} 