.promet-badge {
  font-size: 12px;
  vertical-align: middle;
}

main.promet-page .map-hours-filter {
  top: 10px;
  left: 10px;
  margin: 0;
  flex-wrap: wrap;
  max-width: calc(100% - 140px);
}

main.promet-page .promet-filter__traffic {
  margin-left: 4px;
  padding-left: 4px;
  border-left: 1px solid #ddd;
}

.promet-alert {
  position: absolute;
  top: 56px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: min(460px, calc(100% - 80px));
  padding: 8px 12px;
  border: 0;
  border-left: 4px solid #7cb342;
  border-radius: var(--brand-radius, 4px);
  background: #fff;
  color: #333;
  box-shadow: 0 1px 4px rgb(0 0 0 / 25%);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.promet-alert[hidden] {
  display: none;
}

.promet-alert--warning {
  border-left-color: #e67e22;
}

.promet-alert--muted {
  border-left-color: #999;
  cursor: default;
}

.promet-alert__line .fa-exclamation-triangle {
  color: #e67e22;
}

.promet-alert__line .fa-check-circle {
  color: #7cb342;
}

.promet-alert__line .fa-bus {
  color: #4169e1;
}

.promet-popup__image {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin-bottom: 8px;
  border-radius: 4px;
}

.promet-kind {
  margin-bottom: 4px;
  font-weight: 700;
  color: #e67e22;
}

.promet-kind--events {
  color: #c0392b;
}

.promet-distance {
  margin: 6px 0 0;
  font-weight: 700;
}

.promet-departures,
.promet-trips,
.promet-prices,
.promet-nearby ul {
  margin: 4px 0;
  padding-left: 0;
  list-style: none;
}

.promet-departures li {
  display: flex;
  gap: 6px;
  align-items: baseline;
  padding: 3px 0;
  border-bottom: 1px solid #eee;
}

.promet-time {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.promet-line {
  padding: 0 5px;
  border-radius: 3px;
  background: #4169e1;
  color: #fff;
  font-size: 11px;
}

.promet-headsign {
  flex: 1;
  min-width: 0;
}

.promet-eta {
  font-weight: 700;
  color: #2e7d32;
  white-space: nowrap;
}

.promet-note,
.promet-source {
  color: #666;
  font-size: 12px;
}

.promet-nearby {
  margin-top: 6px;
  padding: 6px 8px;
  border-left: 3px solid #e67e22;
  background: #fff8f0;
}

.promet-nearby li {
  margin-top: 4px;
}

.promet-stoplink {
  padding: 0;
  white-space: normal;
  text-align: left;
}

.promet-featured {
  margin-top: 16px;
}

.promet-trip {
  position: relative;
  padding: 16px;
}

.promet-trip h3 {
  margin-top: 0;
  padding-right: 24px;
  font-size: 18px;
}

.promet-trip__form label {
  margin-right: 8px;
  font-weight: 400;
}

.promet-trips > li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.promet-legs {
  margin: 4px 0 0;
  padding-left: 0;
  list-style: none;
}

.promet-leg {
  padding: 2px 0;
}

.promet-leg .fa-bus {
  color: #4169e1;
}

.promet-leg--walk {
  color: #666;
}

.promet-heading {
  margin-top: 24px;
  font-size: 20px;
}

.promet-card .galerija-map-card__title img {
  vertical-align: middle;
}

.promet-card .member-card__actions > .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  align-self: stretch;
}

.promet-card--events .member-card {
  border-top: 3px solid #c0392b;
}

.promet-card--roadworks .member-card {
  border-top: 3px solid #e67e22;
}

@media (max-width: 767px) {
  main.promet-page .map-hours-filter {
    top: 60px;
    max-width: calc(100% - 20px);
  }

  .promet-alert {
    top: auto;
    bottom: 64px;
    max-width: calc(100% - 80px);
  }
}

main.promet-page .gm-style-iw.gm-style-iw-c:has(.promet-popup) {
  min-height: 0;
}
