body {
  background-color: RGB(var(--mdui-color-surface));
  height: 100dvh;
  font-family: "Outfit", sans-serif !important;
  user-select: none; /* Standard */
  -webkit-user-select: none; /* Safari/Chrome */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none;
}

.gmnoprint {
  display: none;
}
.titleHolder {
  margin-left: auto;
  display: flex;
  flex: 0 0 0;
}
.swipeContainer2 {
  position: sticky;
  top: 43px;
  z-index: 5;
}
.iconCenter {
  container-type: inline-size;
  container-name: iconLabel;
  flex-grow: 1;
  flex-basis: 25px;
}
.title {
  z-index: 3;
  padding: 0 20px;
  margin: 0;
  display: block;
  height: 45px;
  justify-content: left;
  align-items: center;
  display: flex;
  transition: all 0.4s;

  width: 100%;
  max-width: 100vw;
  color: RGB(var(--mdui-color-on-surface));
  text-align: center;
  position: sticky;
  top: -1px;
  box-sizing: border-box;
}
.topBarHolder.stationClick {
  transform: translateX(100dvh);
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth)), top 0.3s;
}
.bottomSheet.maximized .topBarHolder {
  top: calc(30px + var(--top-safe, 0)) !important;
}
.topBarHolder {
  position: fixed;
  top: 30px;
  transition: top 0.3s;
  width: 100%;
  background: rgba(var(--mdui-color-surface), var(--background-opacity));
  padding-bottom: 10px;
  z-index: 10;
}

mdui-tabs::part(container) {
  background: none;
}
.titleText {
  display: flex;
  align-items: center;
  flex: 1;
  white-space: nowrap;
  margin-right: 15px;
  max-width: calc(100vw - 205px);
}
.elipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  max-width: fit-content;
  flex-grow: 1;
  text-align: start;
}
@media only screen and (max-width: 500px) {
  .title {
    font-size: 1.5rem;
  }
}

md-circular-progress#loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

mdui-text-field::part(container) {
  background: var(--mdui-color-surface-container);
  border-radius: 150px;
  box-shadow: none !important;
}
mdui-select::part(text-field) {
  --mdui-color-on-surface-variant: none;
  -webkit-tap-highlight-color: transparent;
  --mdui-color-primary: none;
  --mdui-color-surface-container-highest: transparent;
}
mdui-select {
  border-radius: 150px;
  overflow: hidden;
  --webkit-tap-highlight-color: transparent;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 30;
}
html,
body {
  width: 100%;
  box-sizing: border-box;
  height: 100%;
  margin: 0;
  overscroll-behavior: auto;
  overflow: hidden;
  background: black;
}

.station {
  width: 100%;
  padding: 15px;
  background: var(--mdui-color-surface-container);
  border-radius: 25px;
  margin: 7px 0;
  color: RGB(var(--mdui-color-on-surface));
  position: relative;
  box-sizing: border-box;
}
.station:first-child {
  margin-top: 0;
}
.station.animate,
.shareButtonContainer.animate {
  animation: arrivalItemShow 0.6s cubic-bezier(0.38, 1.21, 0.3, 1.33) forwards;
}
.station.animate2 {
  animation: busItemShow 0.6s cubic-bezier(0.38, 1.21, 0.3, 1.33) forwards;
}
.homeHolder {
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  position: absolute;
  z-index: 3;
  height: calc(100dvh - 50px);
  border-radius: 25px;
  left: 0;
  width: 100%;
  top: 0;
  padding-top: 185px;
  overscroll-behavior: auto;
  overflow-x: hidden;
  overflow-y: scroll;
  border-radius: 35px;
}
.center {
  position: relative;
  white-space: nowrap;
  padding: 4px 4px;
  font-size: 1rem !important;
  width: 25px;
  display: block;
  height: 25px;
}

@container iconLabel (max-width: calc(8ch + 15px)) {
  .topBarHolder .centerHolder span {
    display: none !important;
  }
  .topBarHolder .centerHolder {
    padding: 0 !important;
    gap: 0px;
    background: linear-gradient(134deg, RGB(var(--mdui-color-surface-bright)), #00000047);
  }
}
@container iconLabel (max-width: calc(8ch + 57px)) {
  .tabPanel .centerHolder span {
    display: none !important;
  }
  .tabPanel .centerHolder {
    padding: 0 !important;
    gap: 0px;
    background: linear-gradient(134deg, RGB(var(--mdui-color-surface-bright)), #00000047);
  }
}
.centerHolder span {
  font-size: 0.7rem !important;
  font-weight: bold;
  white-space: nowrap;
}

.centerHolder {
  width: fit-content;
  margin-left: 10px;
  border-radius: 100px;
  padding: 2px 14px 2px 8px;

  display: flex;
  align-items: center;
  gap: 5px;
  background: RGB(var(--mdui-color-surface-container-highest));
}
.textHolder {
  align-items: center;
  display: flex;
  padding: 5px 0;
}
.searchContain {
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  transform: translateX(0);

  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#homeTopBarHolder {
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth)), top 0.3s;
}
#tabsFav {
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
}
mdui-tab-panel {
  overflow: visible;
}
.show-for-swipe {
  display: block !important;
}
/*mdui-tab-panel:not([active]) {
  display: none !important;
}*/
.gm-style iframe + div {
  border: none !important;
}
#map div div a[target="_blank"] div {
  background-color: white;
  border-radius: 100px;
  padding: 3px;
  margin-left: 20px !important;
}
@media (prefers-color-scheme: dark) {
  .dark-voyager {
    filter: invert(100%) grayscale(100%) sepia(100%) hue-rotate(var(--hue, 177deg)) brightness(140%) saturate(var(--saturation, 140%)) contrast(85%) !important;
  }
  .navigationBar,
  .infoBar {
    box-shadow: 0 0 30px 0 black !important;
    background: rgba(var(--mdui-color-surface-container-low), var(--background-opacity)) !important;
  }
  .timeSuffix {
    filter: brightness(1.4);
  }
  #map div div a[target="_blank"] div {
    background-color: #242f3e;
  }
  .arrivalRed {
    background: linear-gradient(329deg, RGB(var(--mdui-color-on-primary)), RGB(var(--mdui-color-secondary-container))) !important;
  }
  .arrivalBlue {
    background: linear-gradient(329deg, #001b69, #003b93) !important;
  }
  .arrivalTime {
    color: #c4dfc0;
  }
  .arrivalYellow {
    background: linear-gradient(163deg, #fce45c, #b49901) !important;
    color: #000000d5;
  }
}

@media (prefers-color-scheme: light) {
  .stepInfoText,
  span.stepText.busLine,
  .busHolder.walking,
  .stepTextCollapseItem {
    background: rgb(var(--mdui-color-surface-container-low)) !important;
  }
  .dark-voyager {
    filter: brightness(85%) hue-rotate(var(--hue, 50deg)) saturate(var(--saturation, 300%)) grayscale(80%) contrast(125%) !important;
  }
  .timeSuffix {
    filter: brightness(0.9);
  }
  #map div div a[target="_blank"] div {
    background-color: #fbf9f7;
  }
  .arrivalRed {
    background: linear-gradient(329deg, RGB(var(--mdui-color-primary)), RGB(var(--mdui-color-secondary))) !important;
  }
  .arrivalRedTxt {
    color: RGB(var(--mdui-color-on-primary)) !important;
  }
  .arrivalBlue {
    background: linear-gradient(163deg, #1a55ba, #000941) !important;
  }
  .arrivalTime {
    color: #264720;
  }
  .arrivalYellow {
    background: linear-gradient(147deg, #ffe86a, #d6b400) !important;
    color: #000000d5;
  }
}
#map div div a[target="_blank"] div img {
  left: unset !important;
  top: unset !important;
}

.centerMap,
.switch {
  position: absolute;
  bottom: 9dvh;
  right: 17px;
  z-index: 2;
}
.switch {
  right: 12px;
  bottom: 16dvh;
}
#map {
  margin-bottom: -30px;
  width: 100%;
  height: calc(67dvh + var(--top-safe, 0px));
  position: relative;
  transition: opacity 0.3s;
  z-index: 0;
}
.ol-control {
  background: none !important;
}
/*.ol-control button {
  background-color: #cde7bb50 !important;
  backdrop-filter: blur(3px);
  color: #202e17 !important;
  box-sizing: content-box;
  transition: all 0.1s;
  padding: 5px !important;
  border-radius: 15px !important;
}*/
.ol-zoom .ol-zoom-in {
  border-radius: 15px 15px 3px 3px !important;
  margin-bottom: 5px;
  padding: 5px 0px 0px 0px !important;
  display: none;
}
.ol-zoom .ol-zoom-out {
  border-radius: 3px 3px 15px 15px !important;
  padding: 0px 0px 5px 0px !important;
  display: none;
}
.ol-attribution {
  margin-bottom: 35px;
}
.ol-attribution button {
  padding: 0 !important;
  background: none !important;
}
.filterSearch {
  font-size: 15px;
  display: flex;
  color: rgb(var(--mdui-color-on-surface-variant));
  align-items: center;
  transition: opacity 0.3s;
}
mdui-text-field > mdui-icon {
  margin-left: 10px;
}
/*mdui-text-field.focused:not(.timeInput),

.search.focused .filterSearch {
  opacity: 0;
  pointer-events: none;
}
.search.focused::part(container) {
  padding-bottom: 40px;
  border-radius: 35px;
}
.search.focused {
  border-radius: 35px;
}  
*/
mdui-text-field:focus:not(.timeInput) {
  border: 1px solid RGB(var(--mdui-color-outline));
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.search,
.feedbackEmail {
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 100px;
}
body.load .search,
body.load .feedbackEmail {
  transition: all 0.3s;
}
.search::part(container) {
  transition: all 0.3s;
}

.stationDistance {
  margin-left: auto;
  margin-right: 5px;
  opacity: 0.8;
  font-weight: 300;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.stationDistance mdui-icon {
  margin-right: 5px;
  font-size: 16px;
}
.stationName {
  font-weight: 400;
  font-size: 1.2rem;
  white-space: nowrap;
}

.iconFill {
  font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 40 !important;
}

.listOfStations,
.favouriteStations {
  flex-direction: column;
  overflow-y: scroll;
  height: 100%;
  width: 100%;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));

  padding: 0 20px;
  padding-bottom: 30px;
  overscroll-behavior: auto;
  overflow-x: hidden;
  overflow-y: scroll;
  height: calc(100dvh - 240px);
  position: relative;
  padding-bottom: calc(var(--bottom-safe) + var(--top-safe) + 220px);
  margin-top: 15px;
}
.hideStations {
  position: absolute;
  height: max-content !important;
  top: 97px;
  animation: hideOut 0.5s forwards;
  transform: translateX(0);
  left: 0;
  margin: 0 5vw;
}
.hideStations .stationItem {
  animation: none !important;
}
@keyframes hideOut {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100vw);
  }
}
.arrivalsHolder {
  transform: translateX(100dvh);
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  position: absolute;
  z-index: 3;
  height: calc(100dvh - 50px);
  border-radius: 25px;
  left: 0;
  width: 100%;
  top: 0;
  padding-top: 130px;
  overscroll-behavior: auto;
  overflow-x: hidden;
  overflow-y: scroll;
  border-radius: 35px;
}
md-list-item.stationItem {
  background: var(--mdui-color-surface-container);
  margin: 10px 0;

  border-radius: 25px;
  cursor: pointer;
}
md-list .arrivalItem {
  /* padding: 0; */
  width: 100%;
  margin: 10px 0;
  box-sizing: border-box;
  color: RGB(var(--mdui-color-on-surface));
}

span.hidden {
  display: none;
}

.busAuthor mdui-icon {
  font-size: 1rem;
}
.busAuthor {
  position: absolute;
  bottom: 3px;
  z-index: 5;
  padding: 7px 13px;
  box-sizing: border-box;
  background: RGBA(0, 0, 0, 0.6);
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(3px);
  right: 0;
  border-radius: 15px 0px 25px 0px;
}
@keyframes show {
  0% {
    scale: 0.95;
    opacity: 0;
  }
  100% {
    scale: 1;
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.eta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2px;
}
.arrivalTime {
  position: relative;
  white-space: nowrap;
  width: min-content;
  background: linear-gradient(163deg, RGB(var(--mdui-color-surface-container-highest)), #00000021);
  padding: 5px 13px;
  margin-top: 10px;
  border-radius: 100px;
  display: flex;
  margin-right: 10px;
  flex-direction: row;
  align-items: center;
  gap: 3px;
}
.arrivalRedTxt {
  animation: blinking 2s ease-in infinite;
  color: RGB(var(--mdui-color-on-secondary-container));
}
.arrivalBlue {
  animation: blinkingBlue 2s ease-in infinite;
  color: RGB(var(--mdui-color-on-error-container));
}
.arrivalGreen {
  color: RGB(var(--mdui-color-primary));
}
.arrivalTime mdui-icon:not(.garaza > mdui-icon),
.locationAnimation {
  animation: rotatingIcon 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  transform: rotate(-10deg);
  font-size: 1rem;
}
.locationAnimation {
  font-size: 1.5rem;
}

.garaza {
  margin-left: 5px;
  font-size: 0.8rem;
  border: 1px solid RGB(var(--mdui-color-primary));
  padding: 1px;
  width: 0.8rem;
  height: 0.8rem;
  text-align: center;
  border-radius: 5px;

  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes blinking {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}
@keyframes blinkingBlue {
  0%,
  100% {
    color: white;
  }
  50% {
    color: #003b93;
  }
}
@keyframes rotatingIcon {
  0%,
  30%,
  80%,
  100% {
    transform: rotate(-10deg);
  }
  10%,
  20%,
  90% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(1turn);
  }
  50.01% {
    transform: rotate(0turn);
  }
}
.arrivalItem {
  background: var(--mdui-color-surface-container);
  margin: 10px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 25px;
  align-items: center;
  padding: 15px;
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 2;
  transform: translateX(50px);
  opacity: 0;
  animation: arrivalItemShow 0.6s cubic-bezier(0.38, 1.21, 0.3, 1.33) forwards;
}
@keyframes arrivalItemShow {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes busItemShow {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
}
.myBusDiv .arrivalItem span {
  font-size: 1.2rem;
  color: RGB(var(--mdui-color-on-surface));
  font-weight: 400;
}
.arrivalData {
  gap: 5px;
  display: flex;
  flex-direction: column;
  width: 80%;
}
#searchRoutes,
#searchRoutesTimetable {
  width: calc(100% - 40px);
  margin: 20px;
  margin-bottom: 0;
  box-sizing: border-box;
  /* margin: 10px auto; */
}
.buses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
  gap: 10px;
  margin-top: 7px;
}
.tripNameSpan {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
.busNo {
  font-weight: 900;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: red;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffffba;
  padding: 5px;
  height: 30px;
  width: 35px;
  box-sizing: border-box;
}
.busNo2:not(.busGoeey .busNo2) {
  width: fit-content;
  min-width: 45px;
}
.busNo2 {
  font-size: 1rem;
  font-weight: 900;
  height: 40px;

  width: 45px;
  border-radius: 18px;
  background: red;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  justify-content: center;
  color: #ffffffba;
  padding: 5px;
  box-sizing: border-box;
  position: relative;
  cursor: pointer;
}
mdui-button-icon.busNo2::part(loading) {
  stroke: #ffffff87;
}
.nextBus {
  background: transparent;
  border-radius: 0;
  width: 90%;
}

.busTemplate {
  display: grid;
  padding: 10px 0;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  flex-direction: row;
}
.busTemplate .arrivalItem {
  width: auto;
  margin: 0;
  padding: 10px;
  flex: 1 1 0;
  gap: 10px;
  background: none;
  box-shadow: none;
}
.busTemplate .arrivalItem .arrivalData {
  gap: 0px;
}

@keyframes showIn {
  0% {
    transform: translateX(100vw);
  }
  100% {
    transform: translateX(0);
  }
}
span.nextBusTitle {
  width: 100%;
  color: RGB(var(--mdui-color-on-surface));
  display: block;
  font-size: 1.5rem;
  text-align: center;
}
.none {
  display: none;
}
.arrivalsScroll {
  z-index: 2;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px;
  position: relative;
  color: RGB(var(--mdui-color-on-surface));
  flex-direction: column;
  align-items: center;

  transition: all 0.3s cubic-bezier(var(--ease-smooth));
  padding-bottom: calc(var(--bottom-safe) + var(--top-safe) + 170px);
}

.hideLoad {
  transition: all 0.3s;
  scale: 0;
  opacity: 0;
  transform-origin: 50% -50%;
}

.loader {
  position: fixed;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -50%);
  width: 35px;
  display: none;
  aspect-ratio: 1;
  --_color: red;
  --_g: no-repeat radial-gradient(farthest-side, var(--_color) 94%, #0000);
  background: var(--_g) 0 0, var(--_g) 100% 0, var(--_g) 100% 100%, var(--_g) 0 100%;
  background-size: 40% 40%;
  animation: l38 1s infinite, showLoader 0.3s;
  transition: all 0.3s cubic-bezier(var(--ease-smooth));
}
@keyframes l38 {
  100% {
    background-position: 100% 0, 100% 100%, 0 100%, 0 0;
  }
}
@keyframes showLoader {
  0% {
    background-size: 0% 0%;
  }
  100% {
    background-size: 40% 40%;
  }
}
.infoBar[hide]:not([hide="false" i]) {
  transform: translateY(calc(70px + var(--bottom-safe))) translateX(-50%) !important;
}
.infoBar {
  box-shadow: 0px 0px 19px -6px black;
  position: fixed;
  bottom: 2dvh;
  z-index: 4;
  background: rgba(var(--mdui-color-surface-container-high), var(--background-opacity));
  width: calc(100% - 40px);
  height: calc(2.5rem + 20px);
  display: flex;
  transition: all var(--ease-time) cubic-bezier(var(--ease-smooth));
  border-top: 1px var(--mdui-color-outline-variant, #cac4d0) solid;
  overflow: hidden;
  white-space: nowrap;
  gap: 10px;
  transform: translateY(calc(var(--bottom-safe, 0px) + var(--top-safe, 0px) + 2.5rem + 20px)) translateX(-50%);
  view-transition-name: infoBar;
  box-sizing: border-box;
  padding: 0 10px;
  border-radius: 100px;
  margin-bottom: calc(var(--bottom-safe, 0px) + var(--top-safe, 0px) + 10px);

  left: 50%;

  /* Ta senca ustvari mehak "glow" efekt okoli */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 10px 30px -5px rgba(0, 0, 0, 0.15);
}
.infoBtn {
  width: fit-content;
  height: auto;
  color: rgb(var(--mdui-color-error));
  --_hover-icon-color: RGB(var(--mdui-color-on-error-container));
  --_active-icon-color: RGB(var(--mdui-color-on-error-container));
}
.changeTime,
.streetViewBtn {
  margin: 10px 0;
  flex: 1;
}
/*.infoBar {
  z-index: 4;
  background: var(--mdui-color-surface-container);
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  transform: translateY(-14px);
  height: fit-content;

  align-items: top;

  view-transition-name: infoBar;
  height: calc(var(--bottom-safe, 0px) + 60px);

  padding-bottom: calc(var(--bottom-safe, 0px) + var(--top-safe, 0px));
}*/

@keyframes slideText {
  from {
    transform: translateX(50vw);
  }
  to {
    transform: translateX(-100%);
  }
}
.myBusHolder {
  position: absolute;
  top: 30px;
  left: 0;
  padding: 0;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  width: 100%;
  transform: translateX(100vw);
  margin: 0;
  overscroll-behavior: auto;
}

.myBusDiv .arrivalsOnStation {
  width: 100%;
  z-index: 1;
  padding-bottom: calc(var(--bottom-safe) + var(--top-safe) + 100px);
  margin-top: 15px;
  overscroll-behavior: auto;
  animation: arrivalItemShow 0.6s cubic-bezier(0.38, 1.21, 0.3, 1.33) forwards;
  position: relative;
  opacity: 0;
  transform: translateY(-20px);
}

.arrivalsOnStation {
  flex-direction: column !important;
  /*view-transition-name: busArrivals;*/
}
.arrivalsOnStation .iks {
  position: sticky;
  top: -1px;
  z-index: 90;
  width: 100%;
  background: RGB(var(--mdui-color-surface));
  padding: 8px 0;
}
.myBusDiv {
  height: calc(100dvh - 95px);
  box-sizing: border-box;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  padding: 0 30px;
  width: 100%;
  overscroll-behavior: auto;
}
.myEtaHolder {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgb(var(--mdui-color-outline-variant));
  width: 100%;
  justify-content: space-between;
  z-index: 9;
  background: RGB(var(--mdui-color-surface));
  padding: 0px 20px 10px 20px;
  box-sizing: border-box;
  view-transition-name: busChips;
}
.myEtaChips {
  display: flex;
  flex-grow: 1;
  /* justify-content: center; */
  flex-wrap: wrap;
  line-height: 30px;
  gap: 5px;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
  overflow: scroll;
  padding: 0 20px;
}
.myEtaHolder .selected {
  background: linear-gradient(163deg, RGB(var(--mdui-color-surface-variant)), RGB(var(--mdui-color-outline-variant)));
}
.myEtaHolder .arrivalTime {
  margin: 0;
  padding: 0;
}

tr {
  line-height: 20px;
}
.arrivalsOnStation.arrivalsScroll {
  display: flex;
  flex-direction: row;
  overflow-y: scroll;
  overflow-x: hidden;
  align-items: normal;
  position: absolute !important;
  top: 40px !important;
  height: calc(100dvh - 55px);

  transition: transform 0.5s !important;
  transform: translateX(0);
  overscroll-behavior: auto;
  padding-bottom: var(--bottom-safe, 0px);
}
.arOnRoute {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  gap: 0px;
}
.arrDiv {
  display: flex;
  justify-content: left;
}
.lineStation {
  width: 7px;
  height: 48px;
  background: RGB(var(--mdui-color-primary));
  position: relative;
  border-radius: 10px;
  margin: 1px 0;
}
.lineStationNoMargin .lineStation {
  margin: 0;
  border-radius: 0 0 10px 10px;
}
.lineStationNoMargin .nameStation {
  margin-top: -8px;
  margin-left: 25px;
  font-size: 1.3rem;
  font-weight: bold;
}
.activeStation .nameStation {
  /*
  font-weight: bold;
  background: rgb(var(--mdui-color-surface-container-high));
  padding: 0 15px 0 15px;
  border-radius: 20px;
*/
}
.arrDiv.half-hidden-first div .lineStationImg,
.arrDiv.half-hidden div .lineStationImg {
  width: 25px;
  height: 25px;
  border-width: 0;
}
.arrDiv.half-hidden-first div {
  height: 38px;
  margin-top: 12px;
}
.arrDiv.half-hidden div {
  height: 38px;
}

.arrDiv.half-hidden-first div .lineStationImg {
  top: calc(50% - 20px);
}
.arrDiv.half-hidden-first .nameStation {
  align-items: normal;
}
.arrDiv.half-hidden .nameStation {
  align-items: end;
}
.arrDiv.half-hidden div .lineStationImg {
  top: calc(50% + 10px);
}
.lineStationImg {
  width: 10px;
  height: 10px;
  position: absolute;
  left: 50%;
  background-color: darkred;
  border: 5px red solid;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
img.googleLogo {
  position: absolute;
  bottom: 9dvh;
  left: 17px;
  z-index: 2;
}
.busOnStation {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(140, 136, 65);
  margin-top: -5px;
}
.busBetween {
  display: flex;
  align-items: center;
  justify-content: center;
}

.busBetween mdui-icon {
  color: rgb(140, 136, 65);
  transform: translateY(-25px);
  font-size: 1rem;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  padding: 2px;
  margin-top: -5px;
  view-transition-name: busIcon;
}
.busOnStation mdui-icon {
  color: rgb(140, 136, 65);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  scale: 1.1;
  padding: 3px;
}
.etaStation {
  font-size: 1.1rem;
  display: flex;
  background: RGB(var(--mdui-color-surface-container-low));
  align-items: center;
  height: 48px;
  margin: 2px 0;
  position: relative;
  border-radius: 5px;
  padding: 0 10px;
}
.noBG {
  background: none;
}
.etaStation mdui-icon {
  font-size: 12px;
  animation: rotatingIcon 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  position: relative;
  right: 4px;
  top: -8px;
  width: fit-content;
}
.etaStation sub {
  margin-top: 0.5rem;
}

.etaHoder {
  height: fit-content;
  width: fit-content;

  border-radius: 25px;
}
.arrivalData > span > span > mdui-icon,
.arrivalItem > span > span > mdui-icon {
  font-size: 20px;
  height: 10px;
  width: 18px;
  opacity: 0.6;
}
.nameStation {
  margin-left: 20px;
  font-size: 1rem;
  align-items: center;
  display: flex;
}
.arrivalsOnStation .iks {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
}
.etaHolder {
  display: flex;

  gap: 40px;
}
.arrivalsColumns {
  display: flex;
  margin-left: auto;
  flex-direction: row;
  gap: 10px;

  height: fit-content;
  max-width: 74vw;
}
p {
  color: RGB(var(--mdui-color-on-surface));
  align-items: center;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
p mdui-icon {
  font-size: 1.4rem;
}
.arrivalsScroll p {
  margin-top: 30px;
}
.half-hidden,
.half-hidden-first,
.half-hidden-normal {
  position: relative;
}
.refresh.hidenNavBar {
  transform: translateY(70px) !important;
}
.refresh.hidenInfoBar {
  transform: translateY(85px) !important;
}
.refresh,
.directionsButton {
  position: fixed;
  bottom: calc(120px + var(--top-safe, 0px) + var(--bottom-safe, 0px));
  z-index: 100;
  right: 25px;
  transition: all var(--ease-time) cubic-bezier(var(--ease-smooth)) !important;
}
.directionsButton {
  view-transition-name: dirBtn;
  width: auto !important;
}
.refresh {
  bottom: calc(120px + var(--top-safe, 0px) + var(--bottom-safe, 0px));
  view-transition-name: refBtn;
}

.directions {
  overflow-y: scroll;
  overflow-x: hidden;
  align-items: normal;
  height: 100%;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth)) !important;
  overscroll-behavior: auto;

  transform: translateX(100vw);

  background: RGB(var(--mdui-color-surface));
  width: 100%;
  padding: 0 20px;
  padding-bottom: calc(var(--bottom-safe) + var(--top-safe) + 180px);
  box-sizing: border-box;
  position: absolute;
}
.nextButton {
  margin-top: 20px;
}
.panel {
  transform: translateX(100vw);
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth)) !important;
  width: 100vw;
  position: absolute;
  left: 0;
  padding: 0 20px;
  box-sizing: border-box;
  height: 100%;
  padding-bottom: calc(var(--bottom-safe) + var(--top-safe) + 200px);
  overflow: scroll;
  overscroll-behavior: auto;
}
.panel .iks {
  margin-bottom: 20px;
}
mdui-text-field.locationInput::part(container) {
  border-radius: 25px;
}
mdui-text-field.locationInput::part(label) {
  color: #898989;
}
.locationInput {
  margin: 10px auto;
  width: 80%;
  border: 2px solid var(--ol-subtle-foreground-color);
  border-radius: 25px;
}
mdui-text-field::part(input)::-internal-datetime-container {
  display: none !important;
}
mdui-text-field.timeInput {
  padding: 10px;
}
mdui-text-field.timeInput::part(container) {
  background: none;
}
.timeHolder {
  display: flex;
  justify-content: space-evenly;
  margin-top: 10px;
  flex-direction: column;
}
mdui-list-item.collapseHeader {
  margin: 0 !important;
  width: 100%;
}
.timeHolder mdui-tabs::part(container) {
  background: none;
}
mdui-text-field::part(input)::-webkit-calendar-picker-indicator {
  display: none;
  -webkit-appearance: none;
}
.stepTextCollapseItem {
  background: rgb(var(--mdui-color-surface-container-high));
  border-radius: var(--mdui-shape-corner-large);
}
.stepTextCollapse mdui-card {
  box-shadow: none;
}
mdui-collapse-item:not(.stepTextCollapseItem) {
  background: var(--mdui-color-surface-container);
  margin: 10px auto;
  width: 80%;
  border: 2px solid var(--ol-subtle-foreground-color);
  border-radius: 25px;
}
.intermediateStops {
  display: flex;
  flex-direction: column;

  padding: 10px 10px 20px 20px;
}
.intermediateStops .stepText.stepInfo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.intermediateStops .time {
  margin-left: auto;
  margin-top: 0 !important;
}
.intermediateStops .nameStation {
  width: 100%;
  position: relative;
}
.intermediateStops .half-hidden .time {
  display: flex;
  align-items: end;
}
.intermediateStops .locationAnimation {
  font-size: 0.7rem;
}

.stepDiv mdui-divider {
  height: unset !important;
  margin: 0;
}
.stepTextContent mdui-icon {
  font-size: 1.1rem;
}
p.totalDuration {
  /* flex-grow: 1; */
  /* flex-basis: 100%; */
  margin: 0;
  text-align: left;
  display: flex;
  width: 100%;
  justify-content: start;
  gap: 5px;
  margin: 5px 0 5px 5px !important;
  font-weight: bold;
  white-space: nowrap;
  flex-wrap: wrap;
}
.stepDiv {
  display: flex;
  position: relative;
  align-items: stretch;
  gap: 15px;
  overflow: hidden;

  overflow: hidden;
}

.stepDiv.step:first-child > .stepTextContent {
  border-radius: 25px 25px 0 0 !important;
  margin-top: 15px;
}
.stepDiv.step:last-child > .stepTextContent {
  border-radius: 0 0 25px 25px !important;
  margin-bottom: 15px;
}
.stepTextContent {
  border-radius: 0px;
  width: 100%;
  display: flex;
  overflow: hidden;
  padding: 20px;
  flex-direction: column;
  gap: 10px;
  margin: 3px 0;
  background: var(--mdui-color-surface-container);
}
.stepInfoText {
  font-size: 1rem;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}
.stepInfoText span {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
span.stepText.endStation {
  align-items: center;
  display: flex;
  font-size: 1.1rem;
  font-weight: bold;
  gap: 2px;
  white-space: nowrap;
  flex-wrap: wrap;
}
span.stepText.endStation mdui-icon {
  font-weight: bold;
}
.stepText.stepInfo {
  opacity: 0.6;
}
.stepIcon .busNo {
  max-width: 20px;
  width: 20px;
}

b {
  font-weight: bold !important;
}
.stepsDir {
  box-sizing: border-box;
  border-radius: 25px;

  display: flex;
  flex-direction: column;
}
.goButton {
  width: 40%;
  margin: 10px auto;
}

.placeResults {
  transition: all 0.3s cubic-bezier(var(--ease-smooth));
  opacity: 0;
  scale: 0.9;
  position: fixed;
  width: 80%;
  background: RGB(var(--mdui-color-surface-container-high));
  border-radius: 25px;
  box-sizing: border-box;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  list-style: none;
  --md-elevation-level: 3;
  overflow: hidden;
  transform-origin: center center;
  padding: 0;
}
.errorMessage {
  position: fixed;
  transition: all 0.8s cubic-bezier(var(--ease-smooth));
  z-index: 100;
  background: RGB(var(--mdui-color-primary-container));
  color: RGB(var(--mdui-color-on-primary-container));
  padding: 10px;
  border-radius: 20px;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  bottom: -150px;
  filter: saturate(0.5) drop-shadow(0px 0px 9px RGB(var(--mdui-color-primary-container)));
  display: flex;
  align-items: center;
  gap: 10px;
}
#streetViewContainer {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #000;
  opacity: 0;
  transition: opacity 0.4s;
}
iframe.streetView {
  position: fixed;
  z-index: 30;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
  box-sizing: border-box;
  opacity: 0;
  scale: 0.95;
  transition: all 0.3s;
}
.iks.closeStreetView {
  position: fixed;
  z-index: 31;
  top: calc(var(--top-safe) + 10px);
  right: 10px;
  background: RGB(var(--mdui-color-primary-container));
  border-radius: 100px;
  --_icon-color: RGB(var(--mdui-color-on-primary-container));
  filter: drop-shadow(2px 2px 7px black);
}
div.errorMessage > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
div.errorMessage > div > span:nth-child(1) {
  font-size: 1.1rem;
  flex-grow: 1;
  width: 100%;
}

/* Place second item top right */
.placeName {
  grid-column: 2;
  grid-row: 1;
  height: fit-content;
}

/* Place third item bottom right */
.placeAddress {
  grid-column: 2;
  grid-row: 2;
  height: fit-content;
  font-size: 0.9rem;
  color: RGB(var(--mdui-color-outline));
}
.chipsHolder {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.agencyLogo {
  height: 100%;
  border-radius: 1000px;
  box-sizing: border-box;
  padding: 3px;
  /* margin-top: 3px; */
}
.arrivalItem .stepIcon {
  flex-direction: column;
  font-size: 0.7rem;
  will-change: filter;
  transform: translateZ(0);
  gap: 5px;
}

img.agenImg {
  width: 37px;
  box-sizing: border-box;
  padding: 5px;
}
.busGoeey {
  position: relative;
}
.busGoeey .busNo2 {
  height: min-content;
  width: 40px;
  text-align: center;
  padding: 7px;
  top: 0px;
  aspect-ratio: unset;
  box-sizing: border-box;
  border-radius: 3px 3px 16px 15px;
}
.arrivalItem .stepIcon .agencyLogo {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px 15px 3px 3px;
}
.stepIcon .busHolder {
  height: max-content;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.panel .stepIconContainer {
  z-index: 1;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(100px);
  border-radius: 100px;
  background: rgb(var(--mdui-color-surface-container-high));
}

.stepDiv.step > .stepIcon > .lineStation {
  position: absolute;
  z-index: 0;
  height: 100%;
  background: rgb(var(--mdui-color-surface-container-high));
  border-radius: 0px;
}
.lineStation.wait {
  /* Nariše krogce */
  background: transparent !important;
  background-image: radial-gradient(circle, rgb(var(--mdui-color-surface-container-high)) 40%, transparent 45%) !important;
  background-size: 10px 10px !important; /* Prva cifra je širina, druga višina ponavljanja */
  background-repeat: repeat-y !important;
  background-position: center !important;
  width: 10px;
  /* POMEMBNO: Širina samega div-a mora biti dovolj velika za krogce */
}
.stepDiv.step:first-child > .stepIcon > .lineStation {
  top: 50%;
}
.stepDiv.step:last-child > .stepIcon > .lineStation {
  top: -50%;
}
span.stepText.busLine {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgb(var(--mdui-color-surface-container-high));
  padding: 10px;
  border-radius: var(--mdui-shape-corner-large);
}
.stepInfoText {
  background: rgb(var(--mdui-color-surface-container-high));
  padding: 10px;
  border-radius: 15px;
}
.stepIcon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  z-index: 0;
  justify-content: center;
}
.connectingLine {
  height: 15px;
  width: 1px;
  border-left: 3px dotted RGB(var(--mdui-color-on-surface));
}
.routeDiv {
  background: var(--mdui-color-surface-container);
  width: 100%;
  height: fit-content;
  z-index: 55;
  padding: 17px 10px;
  box-sizing: border-box;
  border-radius: 25px;
  display: flex;
  position: relative;
  gap: 5px;
  flex-wrap: wrap;
  align-items: center;
}
.routeDiv .connectingLine {
  display: none;
}
.routeDiv .agencyLogo {
  /* position: absolute; */

  border: 1px solid RGB(var(--mdui-color-on-surface));
  padding: 2px;
}
.busHolder {
  position: relative;
  height: 23px;
  width: fit-content;
  min-width: 28px;
  /* padding: 0 2px; */
}
.busHolder > .busNo2 {
  height: 100%;
  width: 100%;
}
.busHolder.transit > .busNo2 {
  height: 100%;
  width: 100%;
  min-width: 40px;
  min-height: 30px;
}
.busHolder.walking {
  background: rgb(var(--mdui-color-surface-container-highest));
  padding: 4px 9px;
  border-radius: 14px;
  display: flex;
  flex-direction: row;
  width: fit-content;
  align-items: end;
}
.busHolder.transit .busNo2.ba {
  height: 1rem !important;
  background: #24b7c7;
}
.busNo2.ba img {
  height: 100%;
}
.busHolder.transit {
  width: fit-content;
  height: fit-content;
  border-radius: 14px;
}
.textMin {
  font-size: 0.8rem;

  opacity: 0.8;
  text-align: right;
}
div#popup-content,
div#popup-content2 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#popup,
#popup2 {
  height: fit-content;
  width: fit-content;
  animation: popup 0.8s cubic-bezier(0.69, 0, 0, 1.82);
  transform-origin: 0% 100%;
  padding-bottom: 15px;
  padding-left: 3px;
}
#pop,
#pop2 {
  cursor: pointer;
  transform: translate(0%, 0%);

  background: RGB(var(--mdui-color-secondary));
  padding: 10px;
  border-radius: 25px;
  transform-origin: 0% 100%;
}
.bubbleImg {
  position: absolute;
  width: 30px;
  left: -7px;
  bottom: -10px;
}
@keyframes popup {
  from {
    scale: 0;
    transform: translate(0%, 0%) rotate(-30deg);
  }
  to {
    scale: 1;
    transform: translate(0%, 0%) rotate(0deg);
  }
}
.navigationBar[hide]:not([hide="false" i]) {
  /* transform: translateY(calc(90px + var(--bottom-safe))) translateX(-50%) !important;*/
  width: 60%;
  height: 60px;
  min-width: 242px;
  padding: 0;
}
.navigationBar[hide]:not([hide="false" i]) mdui-navigation-bar-item::part(label) {
  height: 0;
  margin: 0;
}
.navigationBar[hide]:not([hide="false" i]) mdui-navigation-bar-item::part(container) {
  padding-top: 0;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.navigationBar[hide]:not([hide="false" i]) mdui-navigation-bar-item[active]::part(indicator) {
  height: 100%;
  width: calc(100% - 20px);
  margin: 0 10px;
}
body.load mdui-navigation-bar-item[active]::part(indicator) {
  transition: all 0.3s;
}
body.load .navigationBar {
  transition-duration: 0.3s;
  transition-property: width, height, transform, padding, bottom;
}
.navigationBar {
  view-transition-name: navBar;
  /* Ta senca ustvari mehak "glow" efekt okoli */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  background: rgba(var(--mdui-color-surface-container-high), var(--background-opacity));
  z-index: 100;
  bottom: 2dvh;
  height: 80px;

  border-radius: 35px;
  margin-bottom: calc(var(--bottom-safe, 0px) + var(--top-safe, 0px) + 10px);
  width: calc(100% - 40px);
  left: 50%;
  transform: translateX(-50%) translateZ(0);

  will-change: transform;
  padding: 0 10px;
}
body.glass .handleHolder,
body.glass .navigationBar,
body.glass .infoBar,
body.glass .topBarHolder {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  --background-opacity: 0.85;
}
mdui-navigation-bar-item::part(label) {
  transition: all 0.3s;
}

mdui-navigation-bar-item::part(container) {
  transition: padding 0.3s;
  padding-top: 0rem;
  padding-bottom: 0rem;
}
mdui-tabs.newDesign mdui-tab::part(container) {
  background: none;
}
mdui-tabs.newDesign::part(container)::after {
  display: none;
}
/*mdui-tabs#tabsStation mdui-tab[active]::part(container) {
  background: rgb(var(--mdui-color-secondary-container));
  border-radius: 100px;
}*/
mdui-tabs.newDesign::part(indicator) {
  width: calc(50% - 20px);
  background-color: rgb(var(--mdui-color-secondary-container));
  height: calc(100% - 10px);
  z-index: -1;
  transform: translateX(-50%);
  left: 24%;
  border-radius: 100px;
  margin-top: 5px;
  top: 0;
}
mdui-tabs.newDesign:has(> :nth-child(2)[active])::part(indicator) {
  transform: translateX(-50%);
  left: 76%;
}
mdui-tabs.newDesign {
  margin: 0 20px;
  border-radius: 30px;
  margin-top: 10px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 10px 30px -5px rgba(0, 0, 0, 0.15);
  background: rgba(var(--mdui-color-on-surface), 0.05);
}
body {
  --ease-smooth: 0.38, 1.21, 0.22, 1;
  --ease-time: 0.5s;
  --transDur: 0.4s;
  --bottom-safe: env(safe-area-inset-bottom);
  --top-safe: env(safe-area-inset-top);
  --background-opacity: 1;
}

@keyframes scaleupy {
  from {
    scale: 0;
  }
  to {
    scale: 1;
  }
}
@media (orientation: landscape) {
  .bottomSheet {
    width: 50vw !important;
    left: 27% !important;
  }
  div#map {
    height: 100dvh !important;
  }
}
.bottomSheet.maximized {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}
.bottomSheet.maximized .sheetContents,
.bottomSheet.maximized .handleHolder {
  padding-top: var(--top-safe);
}
.bottomSheet.maximized .infoBar,
.bottomSheet.maximized .navigationBar {
  bottom: 0dvh;
}
.bottomSheet {
  position: fixed;
  width: 100%;
  max-width: 1000px;
  left: 50%;
  transform: translate(-50%, 0vh);
  background-color: RGB(var(--mdui-color-surface));
  bottom: calc(-1 * var(--top-safe));
  border-top-left-radius: 35px;
  border-top-right-radius: 35px;
  z-index: 9;
  overflow: hidden;
  box-shadow: 0px 3px 20px 0px black;
}
.bottomSheetHandle {
  transition: opacity var(--transDur);
  margin-top: 7px;
  background: RGB(var(--mdui-color-on-surface));
  width: 10%;
  height: 3px;
  border-radius: 50px;
  opacity: 0.4;
}

.handleHolder {
  view-transition-name: bottomSheetHandle;
  left: 50%;
  background: rgba(var(--mdui-color-surface), var(--background-opacity));
  transform: translateX(-50%);
  position: absolute;
  top: 0px;
  width: 100%;
  display: flex;
  cursor: ns-resize;
  justify-content: center;
  height: 30px;
  z-index: 200;
}

.sheetContents {
  height: 100dvh;
  overflow: hidden;
}

body.load .bottomSheet {
  transition-property: bottom, padding-top, border-top-left-radius, border-top-right-radius;
  transition-duration: var(--transDur);
}
body.load .sheetContents,
body.load .handleHolder {
  transition: padding-top calc(var(--transDur) - 0.1s);
}

.mainSheet {
  display: flex;
  transition: all calc(var(--transDur) - 0.1s);
  padding: 30px 0 30px 0;
  flex-wrap: wrap;
  overflow-y: hidden;
  overflow-x: hidden;
  overscroll-behavior: auto;
  align-items: start;
  height: 100%;
  gap: 0;
  flex-direction: column;
  width: 100%;
  position: relative;
}
span.tripName {
  width: 80%;
}
mdui-icon.arrow {
  width: 1rem;
  justify-content: center;
  display: flex;
}
span.tripNameInner {
  text-overflow: ellipsis;
  white-space: nowrap;
}
span.searchStation {
  background: RGB(var(--mdui-color-surface-container-highest));
  padding: 3px 10px;
  border-radius: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
mdui-icon.alert,
.alert .title mdui-icon {
  color: #ffbb00;
  margin-left: 5px;
  font-size: 1.2rem;
}
.alert .title mdui-icon {
  margin-right: 5px;
  margin-left: 0px;
}
.alert {
  display: flex;
  flex-direction: column;
  align-items: baseline;
}
.alert span.title {
  margin: 0;
  background: none;
  font-weight: bold;
  width: 100%;
  text-align: left;
  font-size: 1.2rem !important;
}
.alert span.body {
  margin: 10px 0 0 0;

  width: 100%;
  text-align: left;
  font-size: 1rem;
}
mdui-button-icon.favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  opacity: 0.5;
}

.arrivalsOnStation::view-transition-group(goingAway) {
  z-index: 50;
  animation-duration: 0.1s;
}
.arrivalsOnStation::view-transition-group(busIcon) {
  z-index: 50;
  animation-duration: 0.3s;
}
.arrivalsOnStation::view-transition-new(busIcon) {
  animation: busIconNew 1000ms forwards cubic-bezier(0.38, 1.21, 0.3, 1.33);
  z-index: 50;
}

/* Exit transition */
.arrivalsOnStation::view-transition-old(busIcon) {
  animation: busIcon 1000ms forwards cubic-bezier(0.38, 1.21, 0.3, 1.33);
  z-index: 39;
}
@keyframes busIcon {
  0% {
    transform: scale(1);

    opacity: 1;
    z-index: 50;
  }
  40% {
    transform: scale(2.5);

    opacity: 1;
    z-index: 50;
  }
  50% {
    transform: scale(2.5);

    opacity: 1;
    z-index: 50;
  }
  70% {
    transform: scale(2.5);

    opacity: 0;
    z-index: 50;
  }
}
@keyframes busIconNew {
  40% {
    transform: scale(2.5);

    opacity: 0;
    z-index: 50;
  }
  50% {
    transform: scale(2.5);

    opacity: 1;
    z-index: 50;
  }
  70% {
    transform: scale(2.5);

    opacity: 1;
    z-index: 50;
  }
  100% {
    transform: scale(1);

    opacity: 1;
    z-index: 50;
  }
}
.arrivalsOnStation::view-transition-group(*) {
  z-index: 40;
  animation-duration: 0.4s;
  animation-timing-function: cubic-bezier(0.38, 1.21, 0.3, 1.33);
}
.busDataDiv {
  z-index: 2;
}
.busDataTable {
  background: var(--mdui-color-surface-container);
  width: 100%;
  border-radius: 25px;
  padding: 15px;
  display: flex;
  gap: 10px;
  box-sizing: border-box;
  position: relative;
  justify-content: space-between;
  animation: arrivalItemShow 0.6s cubic-bezier(0.38, 1.21, 0.3, 1.33) forwards;
}
.busDataInfo {
  width: 60%;
}

.busDataText {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: fit-content;
}
span.busDataName {
  font-size: 1.5rem;
  font-weight: bold;
}
span.busDataModel {
  font-size: 0.93rem;
  width: 0;
  color: rgb(var(--mdui-color-outline));
  margin-bottom: 15px;
  white-space: nowrap;
}
.busDataPillHolder {
  height: 100%;
  width: max-content;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
  margin-right: 10px;
}
.busDataPill {
  background: rgb(var(--mdui-color-secondary-container));
  filter: saturate(0.5);
  width: fit-content;
  padding: 5px 10px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1rem;
  margin-bottom: 6px;
  color: rgb(var(--mdui-color-on-secondary-container));
}
.busDataPill mdui-icon {
  opacity: 0.6;
}
.busDataInfo {
  max-height: 100%;
  width: 60%;
  display: flex;
  align-items: end;
  flex-direction: column;
}
span.busDataAge {
  margin-top: 5px;
  font-size: 2rem;
  font-weight: bold;
  margin-right: 10px;
}
.busImgHolder {
  position: relative;
  height: 100%;
  margin-top: 25px;
  display: flex;
  overflow: hidden;
  border-radius: 18px;
}
img.busImgElement {
  pointer-events: none;
  max-width: 100%;
  border-radius: 18px;
  z-index: 2;
  position: relative;
  height: 100%;
  object-fit: cover;
  animation: show var(--ease-time) cubic-bezier(var(--ease-smooth));
  display: none;
}
mdui-dialog[fullscreen]::part(panel) {
  padding: calc(var(--top-safe, 0) + 1.5rem) 1.5rem calc(var(--bottom-safe, 0) + 1.5rem) 1.5rem;
}
#tabsTimes {
  width: 100%;
}
.lineTimes {
  overflow: scroll;
  position: absolute !important;
  top: 30px !important;
  overscroll-behavior: auto;
  transform: translateX(100vw);
  height: 98dvh;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth)) !important;
}
.lineTimes .busNo2 {
  background: RGB(var(--mdui-color-surface-container-highest));
  align-self: start;
  color: rgb(var(--mdui-color-on-surface));
}

.lineTimes .arrivalItem:not(#lineTimeIndicator) {
  background: none;
  border-radius: 0;
  border-bottom: 1px solid rgb(var(--mdui-color-surface-container-high, #cac4d0));
  margin: 0;
  padding: 15px;
}
.lineTimes .arrivalTime {
  padding: 0;
  background: none;
  margin: 0;
  flex-wrap: wrap;
  width: 100%;
  gap: 15px;
  align-items: flex-start;
  margin-left: 10px;
  flex-direction: column;
}
.timeSuffix {
  background: var(--mdui-color-surface-container);
  padding: 5px 10px;
  border-radius: 9px;
  margin-left: 5px;
  font-size: 0.8rem;
}
.timet {
  background: var(--mdui-color-surface-container);

  padding: 5px 10px;
  border-radius: 9px;
}
sub {
  font-size: x-small;
  margin-left: 2px;
  vertical-align: baseline;
}
div.arrivalItem.currentTime > div.arrivalData > div > span > .timet {
  background: #860000;
}
div.arrivalItem.previusTime > div.arrivalData > div > span > .timet {
  color: gray;
}

.lineTimes mdui-button-icon.iks {
  top: 0;
  left: 0;
}
.iksa {
  visibility: hidden;
  pointer-events: none;
}
div#infoItem {
  border: none !important;
  margin: 20px 0 !important;
  padding: 0;
}
#infoItem > .arrivalTime {
  width: 100%;
  white-space: normal;
}
#lineTimeIndicator > .busNo2 {
  color: #ffffffba !important;
}
.arrivalItem.skeleton {
  animation: arrivalItemShow 0.6s cubic-bezier(0.38, 1.21, 0.3, 1.33) forwards, skeletonItem 3s infinite ease-in-out;
  background: linear-gradient(
    120deg,
    RGB(var(--mdui-color-surface-container-low)) 30%,
    RGB(var(--mdui-color-surface-container-high)),
    RGB(var(--mdui-color-surface-container-low)) 70%
  );
  background-size: 300% 100%;
}
@keyframes skeletonItem {
  0% {
    background-position: -30% 50%;
  }

  100% {
    background-position: 130% 50%;
  }
}

.chips {
  display: flex;
  gap: 6px;
  width: 100vw;
  box-sizing: border-box;
  overflow-x: scroll;
  padding-left: 20px;
  top: 50px;
  left: 0;
  margin-top: 10px;
  transition: height 0.2s, margin-top 0.2s;
  height: 2rem;
}
.chip {
  max-width: fit-content;
  border: 1px solid transparent;
  background: var(--mdui-color-surface-container);
  --shape-corner: 50px;
}
.chip[selected] {
  background: rgb(var(--mdui-color-secondary-container));
  font-weight: bold;
}
.chip::part(icon) {
  font-size: 15px;
}
/*.topBarHolder .chip:not([selected])::part(label) {
  padding: 0px;
  font-size: 0px;
  opacity: 0;
}


.chip::part(label) {
  transition: all 0.2s;
}*/
.feedback {
  overflow-y: scroll;
  display: flex;
  overflow-x: hidden;
  align-items: normal;
  height: calc(100dvh - 110px);
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth)) !important;
  overscroll-behavior: auto;
  position: absolute;
  top: 30px;
  transform: translateX(100vw);
  z-index: 100;
  background: RGB(var(--mdui-color-surface));
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(var(--ease-smooth));
}
.feedbackMessage {
  border-radius: 30px;
  border: 1px solid transparent;
  transition: all 0.3s;
  margin: 20px 0;
}
.feedbackMessage::part(container) {
  border-radius: 30px;
}
.feedback mdui-text-field:focus {
  border: 1px solid RGB(var(--mdui-color-outline));
}
.feedbackSend {
  margin-top: 20px;
  width: fit-content;
  margin: 20px auto;
}
.feedbackEmail {
  height: 64px;
}
.feedback > h2 {
  display: flex;
  align-items: center;
  margin: 0;
  margin-left: 5px;
  gap: 5px;
}
.swipe-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  transition: transform var(--ease-time) cubic-bezier(var(--ease-smooth));
  flex: 1 1 50%;
}

.panels {
  display: flex;
  height: 100%;
  width: 200%; /* 2 panels */
}

.tabPanel {
  transition: transform 0.3s ease;
  flex: 0 0 50%;
  height: 100%;
  box-sizing: border-box;
  width: 50%;
}
.lineItem {
  margin: 10px 0 !important;
}
div#bus_- {
  background: linear-gradient(165deg, rgba(77, 79, 82, 0.426), rgba(34, 89, 171, 0)) !important;
}
/* SVG kontejner čez cel zaslon */
.overlay-svg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000; /* Visok z-index, nad vsemi meniji */
  pointer-events: none; /* KLJUČNO: Sam kontejner spusti klike skozi (v luknji) */
  transition: all 0.4s;
  view-transition-name: overlay;
}

/* Sama pot (temna barva) */
.overlay-path {
  fill: rgba(0, 0, 0, 0.65); /* Barva in prosojnost teme */
  fill-rule: evenodd; /* KLJUČNO: To naredi luknjo v obliki */
  pointer-events: auto; /* KLJUČNO: Temni del BLOKIRA klike */
  transition: d 0.4s cubic-bezier(0.25, 0.1, 0.25, 1); /* Gladka animacija oblike */
  cursor: default;
}

.onboarding-highlight {
  z-index: 1002;
}

.onboarding-tooltip {
  position: fixed;
  max-width: 260px;
  background: RGB(var(--mdui-color-primary));
  color: RGB(var(--mdui-color-on-primary));
  padding: 20px;
  border-radius: 30px;
  z-index: 1002;
  font-size: 0.95rem;
  opacity: 1;
  transition: opacity 0.3s ease;
  view-transition-name: tooltip;
}
.onboarding-tooltip button {
  margin-top: 8px;
}
.onboarding-ghost {
  position: fixed;
  z-index: 1001;
  pointer-events: none;
  filter: brightness(1.2);
  opacity: 0;
  scale: 1;
  transition: all 0.4s ease;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  inset: 0;
  transform: translate(0, 0) !important;
}
mdui-card.arrivalItem.onboarding-ghost {
  margin-left: 0px !important;
}
#infoDialogHeadline {
  width: 100%;
}
.onboardingIcon {
  width: 100%;
  display: flex;
  height: 80px;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}
.onboardingIcon img {
  height: 100%;
  border-radius: 25px;
}
.noFavorites {
  animation: fadeIn 0.2s ease-in-out;
}
mdui-divider {
  margin: 10px 0;
}
.shareButtonContainer {
  background: var(--mdui-color-surface-container);
  padding: 20px 10px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  gap: 15px;
}
#settings::part(panel) {
  background-color: rgb(var(--mdui-color-surface-container-low)) !important;
  padding-top: calc(1.5rem + var(--top-safe));
}

mdui-list-item:not(.placeResult) {
  border-radius: 25px;
  overflow: hidden;
  margin: 10px 0;
}
mdui-menu-item {
  background-color: rgb(var(--mdui-color-surface-container-high)) !important;
}
.langSelectListItem::part(container) {
  padding: 0;
}

.settingsHeadline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
#seo-content {
  position: absolute;
  left: -9999px;
  height: 1px;
  overflow: hidden;
}
#detourText p {
  display: block !important;
}
#detourText {
  line-height: 1.5625rem;
}
#detourText ul {
  padding-left: 20px;
}
#detourText img {
  width: 100%;
  border-radius: 35px;
}
#detourDialog {
  view-transition-name: dialog;
}
.loaderDiv {
  width: 100%;
  height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}
