html, body {
    overscroll-behavior: none; /* modern */
    -webkit-overflow-scrolling: auto !important; /* iOS specific */
    touch-action: none;
  }

/* Prevent body scroll when overlay is active */
body.lock-scroll {
  position: fixed;
  overflow: hidden;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.skeleton {
    opacity: 0.7;
    animation: skeleton-loading 3s linear infinite alternate;
}

.skeleton-text {
    width: 100%;
    height: 0.5rem;
    margin-bottom: 0.25rem;
    border-radius: 0.125rem;
}

.skeleton-text:last-child {
    margin-bottom: 0;
    width: 80%;
}

@keyframes skeleton-loading {
    0% {
        background-color: hsl(200, 20%, 80%);
    }
    100% {
        background-color: hsl(200, 20%, 95%);
    }
}

.tabbar-icons .tab-link-active {
    color: #242424!important;
}
.tabbar-icons .tab-link {
    color: #565656;
}

.toolbar {
    height: 100px;
    background-color: white !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 5001 !important;
}

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* White background initially */
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1; /* Initially visible */
    transition: opacity 0.5s ease; /* Smooth fade-out */
}

/* Hidden state for the preloader */
.preloader.hidden {
    opacity: 0; /* Fully transparent */
    pointer-events: none; /* Disable interactions */
}

/* Logo Styles */
.preloader-logo {
    width: 100px;
    margin-bottom: 70px;
    height: auto;
    opacity: 0; /* Initially hidden */
    transition: opacity 1s ease; /* Smooth fade-in */
}

#map {
    height: 100vh;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.search-bar-out {
    background-color: #44474f; 
    width: 100%; 
    height: 90vh;
    position: absolute; 
    left: 0; 
    bottom: 0;
    display: flex; 
    flex-direction: column;
    border-radius: 10px 10px 0 0;
    cursor: grab;
    transition: bottom 0.3s ease-out;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

.search-bar-out.dragging {
    transition: none;
}

.search-bar-out-inner {
    padding: 10px 20px;
    height: 100%;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.search-bar-out-inner::-webkit-scrollbar {
    display: none;
}

.button-custom{
    width: 100%;
    background-color: white;
    border-radius: 7px;
}

.button-custom .inner{
    padding: 10px;
    display: flex;
    align-items: center;
    background-color: white;
    border-radius: 7px;
}

.button-custom:hover{
    background-color: transparent;
}

.button-custom-small {
    width: fit-content;
    background-color: white;
    border-radius: 7px;
}

.button-custom-small .inner{
    padding: 5px 12px;
    display: flex;
    align-items: center;
}

.button-custom-small .inner span {
    margin-left: 3px; 
    font-weight: bold; 
    color: grey;
}

.button-custom-small:hover{
    background-color: #dfdfdf;
}

.button-custom-small-container {
    margin-top: 10px;
    display: flex;
}

.button-custom-small-container div {
    margin-right: 10px;
}

/* .swiper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
} */

/* .swiper div {
    background-color: white;
    width: 50px;
    height: 4px;
    border-radius: 2px;
} */

.sheet-modal {
    z-index: 5000 !important;
}

#tab-3 .sheet-modal {
    margin-bottom: 100px;
    height: calc(100% - 100px) !important;
}

.search-input::placeholder {
    color: #999;
}

.button-custom .inner:hover {
    background-color: #f8f8f8;
}

/* 添加輸入欄位過渡效果 */
.search-input {
    transition: all 0.3s ease-out;
}

.service-hours {
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
}
.service-hours-item {
    margin-bottom: 15px;
}
.service-hours-item:last-child {
    margin-bottom: 0;
}
.service-hours-title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #007aff;
}
.service-hours-content {
    padding-left: 15px;
}
.service-hours-time {
    font-size: 0.9em;
    margin-bottom: 3px;
}
.service-hours-departures {
    font-size: 0.9em;
    color: #666;
}

.bus-route-container {
padding: 20px;
}
.station-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
.station-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 5px;
    width: 2px;
    height: 100%;
    background-color: #007aff;
}
.station-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.station-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #007aff;
    margin-right: 10px;
}
.station-info {
    display: flex;
    flex-direction: column;
}
.station-name {
    font-weight: bold;
    font-size: 16px;
}
.station-name-en {
    font-size: 14px;
    color: #666;
}
.station-line {
    display: none;
}

.demo-expandable-cards {
    /* 可能需要的樣式 */
}
.bus-route-card {
    height: 120px;
}
.card-header-container {
    height: 120px;
    background-color: #44474f;
    position: relative;
}
.card-header {
    flex-direction: row;
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    padding-top: 30px;
}
.route-number {
    background-color: #ffffff;
    padding: 5px 30px;
    color: #2a2a2a;
    border-radius: 8px;
    width: fit-content;
    font-size: 1.3rem;
    margin-top: 4px;
    border: 0.15rem solid #ffffffc4;
}

.route-name {
    /* 可能需要的樣式 */
}
.route-time {
    font-size: 0.8rem;
}
.card-close {
    position: absolute;
    right: 15px;
    top: 50px;
}

  /* Locate Button */
.locate-btn {
    position: absolute;
    top: 65px;
    right: 20px;
    z-index: 10;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .locate-btn i {
    font-size: 20px;
    color: #242424;
  }
  
  /* Active state for the button */
  .locate-btn.active {
    background-color: #4285f4;
  }
  
  .locate-btn.active i {
    color: white;
  }

.reload-page-btn {
    position: absolute; 
    top: 50px; 
    right: 20px; 
    z-index: 0;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
}

.search-info-buttontype {
    color: black;
    background-color: #c3f733;
    width: fit-content;
    height: auto;
    border-radius: 100px;
    padding: 7px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); */
    cursor: pointer;
    margin: 15px 8px 10px 0px !important;
}

.search-info-buttontype.unmain{
    color: white;
    background-color: #798160;
}

.search-info-buttontype:active{
    opacity: 0.8;
}

.pop-out-error {
    position: fixed;
    width: 90vw;
    background-color: #a9a9a9fc;
    left: 50%;
    transform: translate(-50%, 0%);
    top: 50px;
    z-index: 9997;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    padding: 5px 2.5vw;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    display: flex;
}

.pop-out-message {
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pop-out-error-inner-left {
    width: 100%;
    padding-top: 2.5vw;
    padding-bottom: 2.5vw;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    align-items: center;
    justify-content: start;

}

.pop-out-search-info-bottom-left-container-top {
    margin: 10px 20px; 
}

.pop-out-error-inner-right {
    width: 8%;
    cursor: pointer;
}

.pop-out-error-inner-right span {
    font-size: 1.5rem;
    line-height: 1;
}

.pop-out-error-inner-left-symbols {
    color: white; 
    opacity: 0.8;
    font-size: 1.5rem;
    padding-right: 7px;
}

.pop-out-close {
    color: white;
    opacity: 0.8;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .pop-out-close:hover {
    color: white;
  }

  .pop-out-search-info-bottom {
    position: absolute;
    width: 100vw;
    background-color: white;
    left: 0;
    bottom: 0;
    z-index: 9;
    align-items: start;
    justify-content: center;
    border-radius: 15px 15px 0 0;
    display: flex;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }

.pop-out-search-info-bottom-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.pop-out-search-info-bottom-content {
    font-size: 13px;
    color: #5D5D5D;
    background-color: #F6F6F6;
    padding: 4px 9px;
    border-radius: 5px;
    font-weight: 600;
    width: fit-content;
    margin-top: 4px;
}

.pop-out-search-info-bottom-content-english {
    font-size: 0.9rem;
    color: #959595;
    font-weight: 600;
}

  .button-search {
    width: calc(100vw - 130px);
    background-color: white;
    position: fixed;
    top: 60px;
    margin-left: 15px;
    overflow: hidden;
    z-index: 11;
    border-radius: 10px;
    padding: 10px 20px;
}

.button-search-close {
    box-shadow: 0px 2px 5px 0px rgb(0 0 0 / 15%);
}

.button-search-open {
    
}

.button-search .inner{
    display: flex;
    align-items: center;
    background-color: white;
    border-collapse: separate; 

}

.search-overlay {
    background-color: white;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none; /* or block when active */
    touch-action: none;
  }

.textbox {
    width: calc(100vw - 110px);
    background-color: white;
    margin-left: 15px;

    border-radius: 5px; 
    overflow: hidden; 
    padding: 8px;
    border: 1px solid #9999993b;
    margin-bottom: 5px;

}

.textbox .inner{
    display: flex;
    align-items: center;
    background-color: white;
    border-collapse: separate; 

}

.search-textbox {
    background-color: #f2f4f5;
    margin-left: 10px;
    border-radius: 15px;
    overflow: hidden;
    padding: 10px;
    padding-left: 20px;
    margin-bottom: 5px;
    color: #4d4d4d;
    font-weight: 600;

}

.top-margin{
    margin-top: 60px;
}

.route-overlay-toppart {
    margin-left: 20px;
    display: flex;
    flex-direction: row;
}

.route-overlay {
    background-color: white;
    position: fixed;
    z-index: 11;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    overflow: hidden;

}

.result-overlay-toppart {
    display: flex;
    flex-direction: row;
}

.result-overlay {
    background-color: white;
    position: fixed;
    z-index: 11;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: none;
    overflow: hidden;

}

.search-options-container {
    display: flex;
    margin-top: 10px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space:nowrap;
    width: 100vw;

}

.search-options-block {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    height: 50px;
    width: 33.3vw;
    color: grey;

}

.search-options-container .active {
    background-color: #c3f832;
    color: #0a0a0a;
    font-weight: 700;
}

.search-options-block span {
    margin-right: 5px;
}


.search-result-content {
    width: calc(100vw - 40px);
    top: 110px;
    position: fixed;
    padding: 0px 20px;
    height: calc(100vh - 110px);
    overflow: scroll;
}

.search-result-title {

    font-size: 13px;
    color: #2d2d2d;
    font-weight: 900;
    margin-left: 10px;
    margin-bottom: 7px;
}

.material-symbols-rounded {
    font-variation-settings:
    'FILL' 1,
    'wght' 700,
    'GRAD' 200,
    'opsz' 48
    }

.search-result-div {
    /* background-color: grey; */
    display: flex;
    padding: 10px;
    border-bottom: 0.8px solid lightgrey;
    align-items: center;
}

/* Hover effect */
.div-button:hover {
    background-color: #f9f9f9;
}

/* Clicked effect */
.div-button.clicked {
    background-color: #e6f7ff; /* Light blue for the clicked effect */
    transform: scale(0.98); /* Slightly scale down for a "pressed" look */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}


.search-result-div .left-content {
    display: flex;
    align-items: center;
}

.search-result-div .right-content {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.search-result-div .right-content .right-content-top {
    font-size: 1.1rem;
    font-weight: bold;
    color: #242424;
}

.search-result-div .right-content .right-content-bottom {

    font-size: 0.8rem;
    color: #656565;

}

.locate-btn-info {
    position: absolute;
    transform: translateY(-27px);
    right: 15px;
    z-index: 10;
    background-color: #C3F832;
    width: 54px;
    height: 54px;
    font-size: 30px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.locate-btn-info:active {
    background-color: #b9ec2f; /* 更明顯的點擊效果 */
}

.swap-start-end-btn {
    position: absolute;
    right: 10px;
    top: 22.5px;
    z-index: 10;
    background-color: #C3F832;
    width: 40px;
    height: 40px;
    font-size: 20px;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.search-options-detail.selected {
    font-size: 0.6rem;
    color: white;
}

.search-options-time.selected {
    font-size: 1rem;
    color: white;
}

.search-options-detail {
    font-size: 0.6rem;
    color: grey;
}

.search-options-time {
    font-size: 1rem;
    color: grey;
}

.search-options-info {
    line-height: 0.9rem;
}

.search-options-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.option-btn {
    background-color: #f1f1f1;
    color: #0a0a0a;
    border: none;
    padding: 9px 20px;
    margin: 3px;
    cursor: pointer;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
}

.option-btn.active {
    background-color: #c3f832;
    color: #0a0a0a;
    font-weight: 700;
}

.route-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    color: rgb(18, 18, 18);
    margin-top: 0;
    background-color: #f2f4f5;
    border-radius: 10px;
    padding: 10px;
    transition: background-color 0.1s ease-in-out;
}

.route-box:active {
    background-color: #dcddde;
}

.route-info {
    color: rgb(18, 18, 18);
    margin-left: 5px;
}

.pop-out-option-info-bottom {
    position: fixed;
    width: 80vw;
    background-color: white;
    border: 2px solid #232323;
    left: 50%;
    transform: translate(-50%, 0%);
    bottom: 50px;
    z-index: 9;
    align-items: start;
    justify-content: center;
    border-radius: 20px;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.card-container {
    /* Positioning the container where you want the card to be */
    position: absolute;
    bottom: 0; /* Adjust based on where you want the card to appear */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Center the container */
    width: 100%; /* Adjust as needed */
    max-width: 600px; /* Optional: to prevent it from being too wide on large screens */
    z-index: 1;
  }
  
  .swiper-container {
    width: 100%;
    height: auto; /* Let the height be determined by the content */
  }
  
  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  #search-result-show-return {
    position: absolute; 
    top: 50px; 
    left: 20px; 
    z-index: 0;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
  }

  .purple-bg-textbox {
    background-color: #e4bbff;
    color: #292927;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 1rem;

    margin: 20px 0 10px 0;
  }

  .route-info-container{
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .route-info-text {
    font-size: 0.8rem;
    color: #292927;
    font-weight: 500;
  }

  .route-info-icon {
    font-size: 1.5rem;
    color: #292927;
    margin-right: 10px;
    margin-left: 10px;
  }

  .route-info-lg-text {
    font-size: 2rem;
    color: #292927;
    font-weight: 700;
    margin-top: 0px;
    margin-bottom: 10px;
  }

  .route-info-flex-container{
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .route-info-flex-item{
    display: flex;
    flex-direction: column;
    margin-right: 2px;
  }

  .route-info-xs-text {
    font-size: 0.7rem;
    color: #292927;
    font-weight: 300;
  }

  .route-info-md-text {
    font-size: 1rem;
    color: #292927;
    font-weight: 700;
  }

.route-info-info-icon{
    font-size: 1.7rem;
    color: #292927;
    margin-right: 0px;
}


.walking-path {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Adjust as needed */
    height: 50px;
  }
  
  .walking-path-moreinfo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; /* Adjust as needed */
    height: 50px;
  }
  .person {
    width: 24px; /* Size of the person icon */
    height: 24px; /* Size of the person icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

  .walking-path .item {
    position: absolute;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }

  .walking-path-icon {
    font-size: 2rem;
    color: #414141;
    text-shadow: -2px -2px 0 #f2f2f2,
                 2px -2px 0 #f2f2f2,
                 -2px 2px 0 #f2f2f2,
                 2px 2px 0 #f2f2f2;
  }
  
  /* the range will be 4% to 90% */
  .item.left {
    left: 4%;
  }
  
  .item.right {
    left: 90%;
  }

  .thirty-percent {
    left: calc((0.86 * 30%) + 4%);
  }
  
  .path {
    flex-grow: 1;
    height: 15px;
    background-color: #c3f832;
    border: 4px solid #f2f2f2;
    border-radius: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .slash {
    width: 24px; /* Size of the slash icon */
    height: 24px; /* Size of the slash icon */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
  }

  .route-info-container-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .route-info-container-flex-left .walking-path-icon {
    font-size: 4rem;
  }

  .route-info-container-flex-right {
    display: flex;
    flex-direction: column;
    line-height: 1;
  }

  .route-info-button-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
  }

  .route-info-button {
    font-size: 0.8rem;
    color: #292927;
    font-weight: 700;
  }

.card-container-bar {
    position: fixed;
    /* background-color: red; */
    width: 80vw;
    height: 20px;
    bottom: 30px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 10;
    display: flex;
    align-items: start;
    justify-content: center;
}

.slide-button {
    width: 100px;
    background-color: #0000002b;
    height: 30%;
    border-radius: 50vh;
    margin: 5px 5px;
}

.slide-button.active {

    background-color: #000000c9;

}

.side-safe-margin {
    margin-left: 20px;
    margin-right: 20px;
}

.route-options-title {
    font-size: 1.1rem;
    color: #2d2d2d;
    font-weight: 300;
    margin-bottom: 10px;
    margin-top: 10px;
}

.purple-bg-textbox-2 {
    background-color: #e4bbff;
    color: #292927;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    width: fit-content;
    margin: 5px 0 0 0;
}

.route-info-time{
    font-size: 1.5rem;
    color: #292927;
    font-weight: 800;
}

.route-info-info-icon-each {
    font-size: 1.4rem;
}

.route-info-md-text.each {
    font-size: 0.8rem;
}

.route-options-container {
    max-height: 75vh;
    overflow: scroll;
}

.more-info-overlay {
    background-color: white;
    position: fixed;
    z-index: 11;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;

}

.more-info-route-item {
    display: flex; 
    justify-content: start; 
    align-items: stretch; 
    margin-bottom: 5px;
}

.more-info-route-item-arrow {
    display: flex; 
    justify-content: start; 
    align-items: stretch;   
}

.more-info-route-item-icon {
    width: 15px;
    background-color: #6a6a6a;
}

.more-info-route-item-text {
    max-width: calc(95% - 15px);
}

.more-info-route-item {
    display: flex;
    flex-direction: row;
}

.more-info-route-item-icon {
    width: 15px;
}

.more-info-route-item-text {
    flex: 1;
}

.route-info-container-flex {
    display: flex;
    align-items: center;
}

.route-info-container-flex-left {
    display: flex;
    align-items: center;
}

.route-info-container-flex-left .material-symbols-outlined {
    font-size: 2.5rem;
}

.route-info-lg-text {
    margin-bottom: 0;
    font-size: 1.8rem;
}

.route-info-container {
    margin: 5px 0;
}

.route-info-icon {
    font-size: 1rem;
    margin: 0 2px;
}

.route-info-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1;
}

.more-info-route-item-arrow {
    display: flex;
    justify-content: start;
}

.more-info-route-item-arrow .material-symbols-outlined {
    font-size: 15px;
}

.outline-button {
    color: #272727;
    background-color: white;
    font-weight: 700;
    border: 1px solid #575757;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 0.8rem;
    width: fit-content;
    margin-top: 5px;
}

.outline-button:hover {
    background-color: #f2f2f2;
}

.outline-button:active {
    background-color: #e0e0e0;
}

.search-result-item-div {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.search-result-item-div-top {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 3px;
    font-size: 0.8rem;
}

.search-result-item-div-top .material-symbols-outlined {
    font-size: 1rem;
    color: #414141;
}

.search-result-item-div-top .search-result-item-div-top-text {
    font-size: 0.9rem;
    font-weight: 700;
}

.search-result-item-div-bottom {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
    margin-top: 3px;
}

.search-result-item-div-bottom .search-result-item-div-bottom-text {
    font-size: 0.7rem;
    font-weight: 400;
    border-radius: 6px;
    padding: 2px 8px;
    border: 1px solid rgb(94 94 94);
    color: rgb(59 59 59);
}

.building-search-result-item-div-nodes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
}

.bus-info-container {
    display: flex;
    width: 100%;
    margin-bottom: 7px;
    flex-direction: row;
    justify-content: space-between;
}

.route-number-container {
    background-color: #da15ff;
    padding: 5px 10px;
    border-radius: 5px;
    width: 15px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.route-number-text {
    font-size: 0.8rem;
    color: white;
    font-weight: 800;
}

.route-info-middle-container {
    display: flex;
    flex-direction: column;
    margin-left: 7px;
    /* flex-grow: 1; */
    flex-shrink: 0;
    min-width: 0;
    max-width: 70%;
}

.route-info-middle-container div {
    margin: 0px 0px;
}

.route-info-bus-stop {
    border: 1px solid #343434;
    border-radius: 5px;
    padding: 3px 10px;
    width: fit-content;
}

.more-route-info-container {
    flex-shrink: 0;     /* do not shrink */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
}

.building-search-result-item-div {
    width: calc(50% - 4px);
    margin-bottom: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
    
    border-radius: 6px;
    padding: 5px 10px;
    box-sizing: border-box;
}

#search-results {
    padding-bottom: 50vh;
}

#search-results-route {
    padding-bottom: 100px;
}

#switchDisplayMode {
    position: fixed;
    top: 70px;
    right: 50px;
    z-index: 10;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#landing-layer {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100vw;
    height: 100vh;
    background-color: #c3f832;
    z-index: 9998;
    overflow: hidden;
}

.landing-logo {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    padding: 10px;
}

.landing-page {
    position: absolute;
    top: -5%;
    right: -20vh;
    height: 95vh;
    object-fit: cover;
    transform: rotate(-45deg);
    
}

.landing-page-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 100px 40px;
}

.landing-page-h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #272727;
    margin: 0;
}

.landing-page-p {
    font-size: 1rem;
    color: #272727;
    font-weight: 300;
    margin-bottom: 10px;
    margin-top: 0;
}

.landing-page-span {
    font-size: 0.7rem;
    color: #272727;
}

.btn-landing-page {
    background-color: #272727;
    color: white;
    border: none;
    font-size: 1.4rem;
    border-radius: 100vw;
    padding: 10px 10px;
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
    
}

.swiper-pagination {
    bottom: 30px!important;
}

.swiper-pagination-bullet {
    background-color: #272727;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.bustab-title-icon {
    font-size: 20px; 
    color: #414141;
}

.bustab-title-text {
    font-size: 16px; 
    color: #414141;
    font-weight: 700;
}
.bustab-container {
    padding: 0 20px 150px 20px;
}

.bustab-title-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 3px;
}

.bustab-button-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    gap: 3px;
}

.bustab-top-left-right-container {
    display: flex;
    flex-direction: row;
    align-items: end;
    justify-content: space-between;
}

.bustab-button{
    background-color: #FFFFFF;
    border: 1px #CACACA solid;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 400;
    color: #414141;
}

.bustab-button:active {
    background-color: #f0f0f0;
}

.bustab-content-container{
    margin: 10px 0px;
    /* padding: 15px 0px; */
    background-color: white;
    border-radius: 10px;
    box-shadow: 4px 5px 10px 0px rgb(0 0 0 / 2%);
    border: 1px #dcdcdc solid;
}

.bustab-content-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    padding: 15px 24px;
}

.bustab-content-item-title {
    font-size: 16px;
    font-weight: 700;
}

.bustab-content-item-description {
    font-size: 14px;
    font-weight: 400;
}

.bustab-content-item-divider {
    width: 100%;
    height: .5px;
    background-color: #CACACA;
    /* margin: 15px 0px; */
}

.d-flex {
    display: flex;
}

.bustab-content-item-arrival-time-title {
    font-size: 26px;
    font-weight: 700;
}

.bustab-content-item-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 20px;
    padding: 15px 24px;
}

.bustab-content-item-row:active {
    background-color: #f0f0f0;
}

.bustab-content-item-route-info-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 3px;
}

.bustab-content-item-route-info-title {
    background-color: #C3F832;
    font-weight: 800;
    font-size: 13px;
    padding: 2px 18px;
    border-radius: 5px;
}

.bustab-content-item-route-info-description {
    font-size: 15px;
    font-weight: 400;
}

.bustab-content-item-more-info-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
    padding: 15px 20px;
    gap: 5px;
}

.bustab-content-item-route-info-container-left {
    width: 80px;
}

.bustab-content-item-route-info-title-larger {
    background-color: #C3F832;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px; 
    height: 40px;
    font-weight: 800;
    font-size: 20px;
    border-radius: 10px;
}

.bustab-content-item-route-info-title-larger.disabled {
    background-color: #CACACA;
}

.bustab-content-item-route-info-title-status {
    font-weight: 400;
    color: white;
    font-size: 13px;
    padding:   5px;
    border-radius: 3px;
    line-height: 1;
}

.status-orange {
    background-color: #FF9500;
}

.status-yellow {
    background-color: #ff5900;
}

.status-green {
    background-color: #34C759;
}

.status-grey {
    background-color: #8A8D8C;
}

.status-red {
    background-color: #FF3B30;
}

.bustab-content-item-route-info-line-name {
    font-weight: 700; 
    font-size: 18px; 
    line-height: 1;
}

.bustab-content-item-route-info-title-remark {
    color: black;
    font-weight: 700;
    font-size: 12px;
}

#tab-2 {
    background-color: #F2F4F5;
}

.all_timetable_display {
    background-color: white;
}

.pt-0 {
    padding-top: 0px;
}

.disable-style-a {
    text-decoration: none;
    color: inherit;
}

.bustab-input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;

    background-color: #FFFFFF;
    border: 1px #CACACA solid;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 400;
    color: #414141;

    margin-top: 5px;
}

.bustab-search-input {

}

#loading-overlay {
    z-index: 10000;
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: #a4a4a457; */
    display: none;
}

.square-borderradius {
    background-color: #fafafa;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -30px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.loader {
    border: 4px solid #e2e2e2;
    border-top: 4px solid #676767;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.8s infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.route-options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.route-option {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background-color 0.3s;
}

.route-option:hover {
    background-color: #e0e0e0;
}

.route-details-container {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
}

#RouteMap {
    height: 100vh;
    width: 100vw;
}

.BRD-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
}

.BRD-container .left {
    width: 25%;
}

.BRD-container .center {
    width: 55%;
    line-height: 1.2;
    padding-left: 12px;
}

.BRD-container .right {
    width: 20%;
    height: 100%;
}

.BRD-container .center .remark1 {
    font-size: 18px;
    font-weight: 800;
    color: black;
    padding-bottom: 3px;
}

.BRD-container .center .remark2 {
    font-size: 12px;
    font-weight: 400;
    color: #414141;
}

.BRD-container .center .remark3 {
    font-size: 12px;
    font-weight: 400;
    color: #414141;
}

.BRD-status {
    font-weight: 400;
    color: white;
    border-radius: 3px;
    padding: 3px 1px;
    width: 90px;
    height: 30px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.BRD-noticebar {
    padding: 10px 20px;
    background-color: #FF3B30;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 13px;
}

.BRD-container-main {
    display: flex;
    /* gap: 50px; */
    flex-direction: row;
    justify-content: flex-start;
    /* width: 100%; */
    padding: 0 20px;
}

.BRD-container-main .left {
    /* width: 50px; */
    /* text-align: right; */
    /* padding-right: 50px; */
    padding-top: 10px;
}

.BRD-container-main .right {
    display: flex;
    flex-direction: column;
    align-content: stretch;
    flex-wrap: wrap;
    width: 100%;
    padding-left: 40px;
    /* padding-right: 100px; */
}

.BRD-container-main-item {
    background-color: #F8F8F8;
    border-radius: 5px;
    padding: 10px 20px;
    /* width: 100%; */
    display: flex;
    margin-bottom: 10px;

    align-items: center;
    justify-content: space-between;
}

.BRD-container-main-item:active {
    background-color: #f1f1f1;
}

.bar-busline {
    position: absolute;
    background-color: #C3F832;
    width: 20px;
    left: 10px;
    height: 100%;
}

.circle-busline {
    position: absolute;
    background-color: white;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 15px;
    top: 17px;
}

.top-rounded {
    border-radius: 10px 10px 0 0;
}

.bottom-rounded {
    border-radius: 0 0 10px 10px;
}

.BRD-container-main-item .box .remark1 {
    font-size: 12px;
    color: #414141;
}

.BRD-container-main-item .box .remark2 {
    font-size: 17px;
    font-weight: 700;
    color: black;
}

.BRD-container-main-item .box .remark3 {
    font-size: 12px;
    color: #414141;
}

.BRD-container-main-item .arrow-right {
    display: flex;
    align-content: flex-end;
    flex-wrap: wrap;
    height: 100%;
}

.BRD-container-main-item .box .route-passing {
    margin-top: 5px;
}

.BRD-container-main-item .box .route-passing span {
    font-size: 10px;
}

.bustab-button-timetable {
    background-color: #FFFFFF;
    border: 1px #CACACA solid;
    border-radius: 5px;
    padding: 6px 0px;
    font-size: 14px;
    font-weight: 400;
    color: #414141;
}

.BRD-status-container-option {
    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.BRD-status-container-option-item {
    display: flex;
    gap: 10px;
    border: 1px solid #d1d1d1;
    border-radius: 5px;
    padding: 8px 20px;
    align-content: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

#timetable-option {
    appearance: auto;
    width: 100%;
}

.route-passing {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    max-width: 90%;
}

.text-btn:active {
    opacity: 0.7;
}

.btn:active {
    background-color: #f0f0f0;
}

.BRD-map-view-btn {
    position: fixed;
    border: 1px solid black;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding: 7px 25px;
    font-size: 14px;
    font-weight: 800;
    color: #414141;
    background-color: #FFFFFF;
    bottom: 40px;
    right: 25px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.BRD-map-view-btn:active {
    background-color: #dfdfdf;
}

.BRD-container-main .title {
    font-size: 18px;
    font-weight: 700;
    padding-bottom: 3px;
}

.BRD-container-main .service-hours-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    gap: 10px;
}

.BRD-container-main .service-hours-container .box {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 5px;
    background-color: #F8F8F8;
    border-radius: 5px;
    padding: 5px 10px 10px 10px;
    width: 50vw;
    color: black;

}

.BRD-container-main .service-hours-container .box .remark1 {
    font-size: 18px;
    font-weight: 700;
}

.BRD-container-main .service-hours-container .box div .remark2 {
    border: 1px black solid;
    border-radius: 3px;
    padding: 2px 4px;
    font-weight: 500;
    margin-right: 5px;
    font-size: 12px;
}

.BRD-container-main .service-hours-container .box div .remark3 {
    font-size: 20px;
    font-weight: 1000;
    line-height: 1;
}

.BRD-container-main .service-hours-container .box .service-hours-container-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.content-item {
    margin-top: 5px;
    margin-bottom: 20px;
}

.content-item .text-note {
    font-size: 13px;
    color: #414141;
    max-width: 90%;
    padding-bottom: 10px;
}

.text-note.smaller-font {
    font-size: 10px;
}

.text-note.bold {
    font-weight: 700;
    padding-bottom: 2px;
}

.text-note-container {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 10px;
}

.text-displaybox {
    background-color: #232323;
    color: white;
    padding: 5px 0;
    width: 24%;
    display: flex;

    align-items: center;
    font-size: 15px;
    font-weight: 1000;
    justify-content: center;
}

.text-note-container-inner {
    width: 76%;
}

.public-holiday-notice-bar {
    padding: 10px 20px;
    background-color: #FF9500;
    color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin: 15px 0;
    font-size: 14px;
    border-radius: 5px;
    font-weight: 600;
}

.operating-days-container {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
    gap: 5px;
    margin-top: 0;
}

.operating-days-item {
    font-size: 12px;
    background-color: #E6E6E6;
    font-weight: 800;
    width: -webkit-fill-available;
    color: #414141;
    display: flex;
    align-items: end;
    justify-content: center;
    padding: 6px 0;
    border-radius: 50px;
}

.operating-days-item.active {
    background-color: #C3F832;
}

.swipe-handler {
    height: 30px;
    left: 0;
    width: 100%;
    top: 0;
    background: #fff;
    cursor: pointer;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
}

.swipe-handler-inner {
    width: 80px;
    height: 5px;
    background-color: #232323;
    border-radius: 100px;
}

.popup-swipe-to-close {
    height: 70%;
    top: 30%;
    display: block;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.page-swipe-to-close {
    background-color: unset;
}

.backdrop {
    opacity: 0.1!important;
}

#bus-map {
    height: calc(100vh - 180px);
    width: 100%;
    background-color: #e5e5e5;
    z-index: 1;
}

.BRD-container-top-busroutemap {
    display: flex; 
    flex-direction: row; 
    justify-content: space-between;
    align-items: center; 
    z-index: 2; 
    position: sticky; 
    box-shadow: 0px 9px 15px 0px rgb(0 0 0 / 5%);
}

.gm-style-iw-chr {
    display: none!important;
}

.gm-style-iw-tc {
    display: none!important;
}

.gm-style-iw.gm-style-iw-c {
    padding: 0!important;
    border-radius: 0!important;
    max-width: none!important;
}

.loading-bar {
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: unset;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff26;
    transition: transform 4s ease-in-out, width 0.5s ease-in-out;
    flex-direction: column;
}

.loading-bar-inner {
    width: 150px;
    height: 5px;
    background-color: #dedede;
    border-radius: 10px;
    display: flex;
    justify-content: start;
    overflow: hidden;
}

.loading-bar-inner-inner {
    width: 0%;
    background-color: #44474f;
    height: 100%;
    border-radius: 10px;
    animation: fakeLoading 20s infinite;
}

@keyframes fakeLoading {
    0% { width: 0%; }
    5% { width: 15%; }
    10% { width: 30%; }
    15% { width: 33%; }
    20% { width: 60%; }
    25% { width: 90%; }
    100% { width: 100%; }
}

.gm-style-iw-d {
    overflow: none!important;
}

.BRD-noticebar:active {
    opacity: 0.8;
}

.home-safe-margin {
    padding: 10px 20px;
    margin-top: 110px;
    height: calc(100vh - 110px);
    overflow: scroll;
}

.home-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;

    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 10px 20px;
    gap: 10px;
}

.home-search-container-icon {
    font-size: 24px;
    color: #414141;
    transition: color 0.3s ease;
}

.home-search-container-text {
    font-size: 18px;
    color: #7d7d7d;
    font-weight: 700;
}

.home-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.home-option {
    background-color: #f9f9f9;
    padding: 50px 20px 20px 20px;
    border-radius: 8px;
    display: flex;
    align-items: start;
    justify-content: end;
    /* gap: 10px; */
    flex-direction: column;
    transition: background-color 0.1s ease-in-out;
}

.home-option:active {
    background-color: #e0e0e0;
}

.home-option-text {
    display: flex;
    flex-direction: column;
}
.home-option strong {
    font-size: 18px;
}
.home-option p {
    margin: 0;
    font-size: 13px;
    color: #666;
    width: 80%;
}

.home-logo-container {

    padding: 50px 20px 5px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    display: flex;
    gap: 5px;
    align-items: center;
}

.real-time-location-icon {
    font-size: 20px; 
    animation: colorBreath 2s infinite;
}

@keyframes colorBreath {
    0%, 100% {
        color: #4282ee;
    }
    50% {
        color: #6aa8ff;
    }
}

.real-time-location-title-text {
    font-size: 14px;
    color: #4282ee;
    font-weight: 700;
}

.real-time-location-container {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

#real-time-location-text {
    font-size: 13px;
    color: #767676;
    font-weight: 500;
}

.real-time-location-container-text{
    margin-left: 22px;
}

.version-text {
    font-size: 12px;
    color: #666;
    font-weight: 400;
    text-align: center;
}

.settings-beta-text {
    background-color: #2ed06e;
    color: white;
    font-size: 16px;
    font-weight: 1000;
    padding: 2px 8px;
    border-radius: 100px;
}

.settings-logo-container {
    padding-top: 30px;
    z-index: 10;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
}

.padding-bottom {
    height: 50px;
}

::-webkit-scrollbar {
    display: none;
}

.home-search-container:active {
    background-color: #e0e0e0;
}

.back-btn {
    position: absolute;
    top: 100px;
    right: 20px;
    z-index: 10;
    background-color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.block-title {
    font-size: 13px;
    font-weight: 500;
    color: grey;
    padding-left: 20px;
}

.list.list-strong.inset ul li .item-content div.item-inner {
    margin-left: 7px;
}

.ios .toggle-icon:before {
    background-color: #eeeeee;
}

.ios .toggle {
    background-color: #eeeeee;
}

.pop-out-search-info-bottom-small-title {
    font-size: 12px;
    color: #4d4d4d;
    font-weight: 400;
    margin-left: 20px;
    margin-bottom: 8px;
}

.pop-out-search-info-bottom-small-photo-container {
    width: 100vw;
    overflow-x: auto; /* Better than just 'scroll' for mobile */
    overflow-y: hidden; /* Prevent vertical scroll */
    white-space: nowrap; /* Prevent wrapping of flex items */
    padding-bottom: 40px;
}

.pop-out-search-info-bottom-small-photo-container-item-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: max-content; /* Force container to be as wide as its contents */
    padding-bottom: 20px; /* Add space for scrollbar if needed */
}

.pop-out-search-info-bottom-small-photo-container-item-container:first-child {
    margin-left: 20px;
}

.pop-out-search-info-bottom-small-photo-container-item-container:last-child {
    margin-right: 20px;
}

.pop-out-search-info-bottom-small-photo-container-item {
    width: 180px;
    height: 110px;
    margin: 0 !important;
    border-radius: 8px;
    flex-shrink: 0; /* Prevent items from shrinking */
    background-color: rgb(226 226 226);
}

.pop-out-search-info-bottom-small-photo-container-item img {
    border-radius: 8px;
}

.pop-out-search-info-bottom-small-photo-container-item-text {
    position: sticky;
    background-color: #0000008c;
    color: white;
    padding: 5px 6px;
    font-size: 12px;
    border-radius: 3px;
    transform: translate(7px, -37px);
    width: fit-content;
}

.advertisement_bottom {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    width: 320px;
    height: 50px;
    background-color: rgb(216, 216, 216);
    margin: 0 auto;
}

#swiper-controller-more-info {
    position: fixed;
    top: 0;
    height: 50px;
    width: -webkit-fill-available;
    background-color: white;

    padding-left: 20px;
    padding-right: 20px;

    padding-top: 60px;
}

#more-info-route-details-container-upper {
    overflow-y: scroll;
    padding-bottom: 300px;
    position: fixed;
    width: 100vw;
    top: 100px;
    height: calc(100vh - 110px);
}

.pop-out-options-of-building {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
}

.bus-route-selector-inner {
    background-color: #C3F832;
    padding: 6px;
    border-radius: 6px;
    width: fit-content;
    display: flex;
    align-items: stretch;
}

.bus-route-selector-inner.inactive {
    background-color: #eeeeee;
}


.bus-route-selector-inner.inactive:active {
    background-color: #c4c4c4;
}

.bus-route-selector-inner:active {
    background-color: #b3e628;
}

.bus-route-selector-inner-container-scroll {
    display: flex;
    flex-direction: row;
    gap: 10px;
    width: 70vw;
    overflow-x: scroll;
    padding-bottom: 10px;
}

.bus-route-selector-route-number {
    display: flex;
    align-items: center;
    font-size: 16px;
    padding: 0 15px;
    font-weight: 800;
    color: #000000;
    background-color: white;
    border-radius: 6px;
}

.bus-route-selector-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    margin: 5px 10px;
    line-height: 1;
    min-width: 200px;
}

.bus-route-selector-info .remark1 {
    font-size: 17px;
    font-weight: 700;
    color: black;
    padding-bottom: 5px;
}

.bus-route-selector-info .remark2 {
    font-size: 12px;
    font-weight: 400;
    color: #575757;
}

.bus-route-selector-info .remark3 {
    font-size: 12px;
    font-weight: 400;
    color: #575757;
}

.more-info-route-item-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    padding: 15px 0;
    border-top: 1px solid #7575751a;
    border-bottom: 1px solid #7575751a;
}

.more-info-route-item-new-new {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: stretch;

    border-top: 1px solid #7575751a;
    border-bottom: 1px solid #7575751a;
}

.more-info-route-item-icon-new {
    width: 5vw;
    background-color: #b3b3b3;
}

.more-info-route-item-left-new-inner {
    width: 20vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-info-route-item-center-new-inner {
    width: 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.more-info-route-item-right-new-inner {
    width: 65vw;
    padding: 0 5vw;
}

.more-info-route-item-center-status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: grey;
    width: 5vw;
    height: 5vw;
    border-radius: 2px;
    color: white;
    font-weight: 900;
}

.more-info-route-item-center-status-icon.start {
    background-color: #4cd964;
}

.more-info-route-item-center-status-icon.end {
    background-color: #ff3b30;
}

.more-info-route-item-center-status-icon.pass {
    background-color: #ff9500;
}


.more-info-route-item-left-new-time {
    font-weight: 500;
    color:#232323;
    font-size: 14px;
}

.more-info-route-item-right-new-inner-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.more-info-route-item-right-new-inner-inner-new {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.more-info-route-item-right-new-inner-new {
    width: 70vw;
    padding-left: 5vw;
}

.divider {
    width: 100%;
    height: 1px;
    background-color: #7575751a;
    margin: 10px 0;
}

.more-info-route-item-icon-new.bus-bar {
    background-color: #C3F733;
}

.route-info-bus-stop-text-station {
    font-size: 12px;
    font-weight: 400;
    color: #575757;
    margin: 5px 0;
}

.route-info-bus-stop-text {
    font-size: 12px;
    font-weight: 800;
    color: #575757;
}

.circle-on-bar {
    position: absolute;
    left: 20vw;
    transform: translateY(10px);
    width: 2.5vw;
    height: 2.5vw;
    background-color: #ffffff;
    border-radius: 50%;
    margin: 0 5px;
}

.search-developing-notification {
    background-color: #f9f9f9;
    padding: 5px 20px;
    border-radius: 10px;
    margin: 10px 5px;
}

.search-developing-notification-title-container {
    display: flex;
    align-items: center;
    font-weight: 700;
}

.search-developing-notification-title-container .material-symbols-outlined {
    font-size: 20px;
    margin-right: 5px;
}

.search-developing-notification-title {
    font-size: 14px;
}

.search-developing-notification-text-container {
    color: #6a6a6a;
    font-size: 10px;
    margin-bottom: 10px;
}

.search-developing-notification-text {
    font-size: 12px;
}

.safe-margin-init-page {
    padding: 100px 40px 0 40px;
    background-color: #f9fbfa;
}

.full-screen-init-page {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.full-screen-init-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    min-height: 70vh;
}

.full-screen-init-page-content-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.full-screen-init-page-button {
    background-color: #2ed06e;
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 50px;
    border: none;
    border-radius: 100px;
    width: fit-content;
}

.full-screen-init-page-skip-button {
    background-color: #f9fbfa;
    color: #bfbfbf;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 10px;
    border: none;
    border-radius: 100px;

    margin-top: 5px;
}

.full-screen-init-page-remark {    
    font-size: 14px;
    font-weight: 400;
    color: #6a6a6a;
    margin-top: 50px;
}


.full-screen-init-page-title {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
}

.full-screen-init-page-description {    
    font-size: 13px;
    font-weight: 300;
    color: #212121;
    text-align: center;
    margin-top: 10px;
}

.full-screen-init-page-description-list {
    font-size: 12px;
    font-weight: 300;
    color: #212121;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    line-height: 2;
    background-color: #ffffff;
}

.full-screen-init-page-logo {
    width: 80vw;
    height: 80vw;
}

.full-screen-init-page-button.extra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.home-beta-text {
    background-color: #2ed06e;
    color: white;
    font-size: 12px;
    font-weight: 1000;
    padding: 2px 8px;
    border-radius: 100px;
}

.nearest-location {
    margin: 0 15px;
}

#search-results {
    margin: 0 15px;
}

#search-results-route {
    margin: 0 15px;
}
.search-filter-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 5px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.search-filter-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 7px 15px;
    border-radius: 100px;
    border: 1px solid #454545;
    color: #454545;

    transition: background-color 0.2s ease-in-out;
}

.search-filter-item:active {
    background-color: lightgrey;
}

.search-filter-item .material-symbols-rounded {
    font-size: 16px;
}

.search-filter-item .search-filter-item-text {
    font-weight: 600;
}

.search-filter-item.active {
    background-color: #c3f733;
    border: none;
}

.search-filter-item.active:active {
    background-color: #a2ce28;
}



.filter-container {
    position: fixed;
    bottom: 0;
    width: 100vw;
    left: 0;
    right: 0;
    z-index: 11;
    border-radius: 10px 10px 0 0;

    background-color: #ffffff;
    
}

.filter-time-container-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
}

.set-filter-title-container {
    padding: 15px 20px;
    width: -webkit-fill-available;
    border-bottom: 1px solid #d9d9d9;
}

.set-filter-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.set-filter-title-text {
    font-size: 16px;
    font-weight: 500;
}

.set-filter-title .material-symbols-rounded {
    font-size: 18px;
}

.set-filter-item-container {
    padding: 10px 25px 10px 25px;
    width: -webkit-fill-available;
    transition: background-color 0.2s ease-in-out;
}

.set-filter-item-container:active {
    background-color: rgb(237, 237, 237);
}

.set-filter-item.selected {
    color: #45c402;
}


.set-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.set-filter-item-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.set-filter-item-left .material-symbols-outlined {
    font-size: 18px;
}

.set-filter-item-left .set-filter-item-text {
    font-size: 15px;
    font-weight: 500;
}

.set-filter-item-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: end;
}

.set-filter-item-right .check-icon {
    font-size: 20px;
    color: #45c402;
    display: none;
}

.set-filter-item-right .check-icon.selected {
    display: block;
}

#filter-time-container-background {
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    background-color: #000000;
    opacity: 0.2;
    z-index: 10;
}

.custom-time-container-title {
    font-size: 15px;
    font-weight: 500;
}

.custom-time-container-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0px;
    gap: 5px;
}

.custom-time-container-inner {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 0px 20px;
}

.custom-time-container-content select {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    border: 1px solid #e1e1e1;
    background-color: white;
    border-radius: 5px;
    padding: 5px 10px;
}

.custom-time-container-content .date-picker {
    width: 50%;
}

.custom-time-container-content .hour-picker {
    width: 25%;
}

.custom-time-container-content .minute-picker {
    width: 25%;
}


.custom-time-button {
    width: fit-content;
    padding: 6px 50px;
}

#all-timetable-display-suggestions-box {
    position: absolute;
    width: calc(100vw - 42px);
    transform: translateY(5px);

    background-color: white;
    border: 1px solid #CACACA;
    border-radius: 5px;
    max-height: 200px;
    overflow-y: auto;
    }

#all-timetable-display-suggestions-box .suggestions-box-content {
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #cacaca57;
    color: #313131;
    cursor: pointer;

    transition: background-color 0.2s ease-in-out;
}

#all-timetable-display-suggestions-box .suggestions-box-content:active {
    background-color: #f0f0f0;
}

#all-timetable-display-suggestions-box .suggestions-box-content:last-child {
    border-bottom: none;
}

#all-timetable-display-suggestions-box .suggestions-box-content.hide {
    display: none;
}

.preloader-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
    width: 100vw;
    height: 100vh;
}

.custom-preloader-2 {
    width: 25px;
    aspect-ratio: 1;
    --c:no-repeat repeating-linear-gradient(90deg,#91f731 0 calc(100%/7),#0000 0 calc(200%/7));
    background: var(--c),var(--c),var(--c),var(--c);
    background-size: 140% 26%;
    animation: l25 .75s infinite;
  }
  @keyframes l25 {
   0%   {background-position:0    calc(0*100%/3),100% calc(1*100%/3),0    calc(2*100%/3),100% calc(3*100%/3)}
   25%  {background-position:100% calc(0*100%/3),100% calc(1*100%/3),0    calc(2*100%/3),100% calc(3*100%/3)}
   50%  {background-position:100% calc(0*100%/3),0    calc(1*100%/3),0    calc(2*100%/3),100% calc(3*100%/3)}
   75%  {background-position:100% calc(0*100%/3),0    calc(1*100%/3),100% calc(2*100%/3),100% calc(3*100%/3)}
   100% {background-position:100% calc(0*100%/3),0    calc(1*100%/3),100% calc(2*100%/3),0    calc(3*100%/3)}
  }

#SearchMap {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    
}

.center-marker-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 25px));
    z-index: 1;
    transition: transform 0.2s ease-in-out;
}

.center-marker-container .center-marker {
    width: 50px;
    height: 50px;
}

.center-dot-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.center-dot-container .center-dot {
    width: 5px;
    height: 5px;
    background-color: #45c402;
    border-radius: 50%;
}

.bus-stop-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.bus-stop-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: -webkit-fill-available;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
    padding: 15px 25px;
    height: 30px;
}

.bus-stop-item-content {
    display: flex;
    align-items: center;
    gap: 15px;
    max-width: 65vw;
}

.bus-stop-item-icon {
    display: flex;
}

.bus-stop-item-icon .material-symbols-rounded {
    font-size: 17px;
}

.bus-stop-item-name {
    font-size: 15px;
    font-weight: 600;
}

.bus-stop-item-button {
    display: none;
    transition: background-color 0.1s ease-in-out;
}

.bus-stop-item.active {
    color: #45c402;
    border-color: #45c402;
}

.bus-stop-item.active .bus-stop-item-button {
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    padding: 7px 17px;
    border: none;
    background-color: #45c402;
    color: white;

    display: block;
}

.bus-stop-item.active .bus-stop-item-button:active {
    background-color: #369900;
}

.select-from-map-container-item {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
    color: #3b3b3b;
    font-weight: 700;
}

.select-from-map-container {
    background-color: #f3f3f3;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 10px;
    transition: background-color 0.05s ease-in-out;
}

.select-from-map-container:active {
    background-color: #e0e0e0;
}

.locate-btn-map-search {
    top: 50px;  
}