/* Overflow reset for itinerary map */
@media (min-width: 768px) {
  body.dino-trail #content {
    overflow: visible;
  }
}

/* Base button styles */
.itin .btn {
  margin: 0.25rem;
  background: var(--button_gradient_top_color);
  color: var(--button_accent_color);
  border-color: var(--button_border_color);
}

.itin a:hover {
  color: var(--itin-dark-color) !important;
  text-decoration: none !important;
}

/* Nav pills styles */
.itin .nav-pills .nav-link {
  border-radius: 0;
  border: 0px solid #ece8e1;
  background-color: #ece8e1;
  font-family: "canada-type-gibson", sans-serif;
  font-size: 1.25rem;
}

.itin .nav-pills .nav-link.active,
.itin .nav-pills .show > .nav-link {
  color: #fff;
  background-color: var(--itin-primary-color);
  border: 1px solid var(--itin-primary-color);
}

/* Badge styles */
.itin.itinerator-itinerary .badge-pill.badge {
  font-family: "canada-type-gibson", sans-serif;
  padding-top: 8px;
  padding-inline: 0;
  background-color: transparent;
  color: var(--itin-primary-color);
  width: 40px;
  height: auto;
}

.itin.itinerator-itinerary .type-business .badge-pill.badge {
  background: transparent;
}

.itin.itinerator-itinerary .type-dinosaur .badge-pill.badge {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  justify-content: flex-start;
}

.itin.itinerator-itinerary .badge-pill.map-badge.badge {
  padding: 0;
}

/* Completed stop styles */
.itin.itinerator-itinerary .completed-stop .badge-pill.badge,
.itin.itinerator-itinerary .badge.map-badge.badge-pill.completed-stop {
  font-weight: bold;
  color: #fff;
}

.itin.itinerator-itinerary .badge.map-badge.badge-pill.completed-stop {
  height: 50px;
  width: 50px;
}

.itin.itinerator-itinerary .award-image {
  height: 40px;
}


/* Badge Column Styles */
.itin.itinerator-itinerary .itinerary-content .list-group .badge-col {
  left: -25px;
  top: 50px;
}

/* Responsive styles */
@media (min-width: 430px) {
  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item {
    padding: 10px 50px 10px;
  }

  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-business {
    background-color: rgba(255 255 255 / 75%);
    margin: 0 -50px 0 -30px;
    padding: 10px 100px 10px;
  }

  .itin.itinerator-itinerary .badge-pill.badge {
    width: 40px;
  }

  .itin.itinerator-itinerary .type-dinosaur .badge-pill.badge {
    width: 50px;
  }

  .itin.itinerator-itinerary .award-image {
    height: 40px;
  }

  .itin.itinerator-itinerary .type-dinosaur .award-image {
    height: 50px;
  }

  /* Badge Column Styles */
  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-dinosaur .badge-col {
    left: -15px;
    top: 0;
  }

  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-business .badge-col {
    left: 50px;
    top: 5px;
  }
}

@media (min-width: 768px) {
  /* .itin.itinerator-itinerary .itinerary-content .list-group .badge-col {
    top: 0;
  } */
}

@media (min-width: 1024px) {
  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-dinosaur {
    padding: 10px 50px 10px 100px;
  }

  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-business {
    padding: 10px 50px 10px 160px;
  }

  /* .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-dinosaur .badge-col {
    right: 10px;
    top: -10px;
    left: unset;
  } */

  /* Badge Column Styles */
  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-dinosaur .badge-col {
    left: -15px;
    top: 0;
  }

  .itin.itinerator-itinerary .itinerary-content .list-group .list-group-item.type-business .badge-col {
    left: 100px;
    top: 5px;
  }

  /* Badge Styles */
  .itin.itinerator-itinerary .type-dinosaur .badge-pill.badge {
    width: 100px;
  }

  .itin.itinerator-itinerary .type-business .badge-pill.badge {
    width: 60px;
  }

  /* Award Image Styles */
  .itin.itinerator-itinerary .type-dinosaur .award-image {
    height: 100px;
  }

  .itin.itinerator-itinerary .type-business .award-image {
    height: 60px;
  }
}

/* Modal styles */
.itin .stop-modal {
  padding: 0;
  max-width: 800px;
  width: 90%;
  border: none;
  border-radius: 4px;
  font-family: "canada-type-gibson", sans-serif;
}

.itin .stop-modal::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

.itin .stop-modal .modal-header {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--itin-primary-color);
  color: #fff;
}

.itin .stop-modal .modal-body {
  padding: 1.5rem;
  color: #77858c;
}

.itin .stop-modal .close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.itin .stop-modal .close-button:hover {
  opacity: 0.8;
}