﻿@font-face {
    font-family: "Josefin";
    src: url('../fonts/TitilliumWeb-Regular.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}
h3,h2{
    color: #000;
}
.subheading{
    color: #000;
}
/*.map-top-header::after {
    clear: both;
    content: "";
    width: 4px;
    height: 4px;
    background: linear-gradient(45deg, blue, red, green);
    position: absolute;
    width: 300px;
}*/
.map-section {
    height: 600px;
    padding-top: 3rem;
    margin-bottom: 10rem;
    padding-bottom: 5rem;
}

#map svg {
    position: absolute;
    overflow: visible !important;
}

#map {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    left: 0;
    margin-top: 10rem;
    margin-bottom: 5rem;
    padding-bottom: 3rem;
}

@media screen and (max-width: 675px) {
    #map {
        display: flow;
        overflow: visible;
        overflow-x: scroll;
    }
}

.region {
    fill: #cccccc;
    stroke: #ffffff;
    stroke-width: 0.5;
    transition: 0.3s ease;
}

    .region:hover {
        fill: #007BFF;
    }

.tooltip {
    position: absolute;
    text-align: center;
    width: auto;
    height: auto;
    padding: 5px;
    font: 12px sans-serif;
    background: lightsteelblue;
    border: 0px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}
/*Station Map*/
.station-map-section {
    margin-bottom: 3rem;
    font-family: Josefin !important;
    width: 100%;
}

#station-list {
    width: 300px;
    max-height: 100vh;
    overflow-y: auto;
    background-color: #292929;
    color: #fff;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

    #station-list h3 {
        font-family: Josefin !important;
        color: #fff;
    }

.station-details {
    padding: 10px;
    overflow-y: auto;
    background-color: #292929;
    width: 100%;
    color: #fff;
    margin-left: 0.4rem;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

    .station-details h3 {
        font-family: Josefin !important;
        color: #fff;
    }

.active-station {
    background-color: #89afd1 !important;
    color: #fff !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.station-item {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background-color: #e0eefa;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s ease;
    color: #3b3b3b;
    font-size: 12px;
}

    .station-item:hover {
        background-color: #89afd1;
        color: #fff;
    }

    .station-item img {
        width: 32px;
        height: 32px;
        border-radius: 5px;
    }

#station-details {
    width: 300px;
    max-height: 600px;
    overflow-y: auto;
    background-color: #f5f5f5;
    padding: 10px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

    #station-details h2 {
        margin-top: 0;
        color: #fff;
    }

#search-input {
    width: calc(100% - 20px);
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.3s ease;
}

    #search-input:active {
        border: 1px solid #00a1ff;
    }

    #search-input:focus {
        border: 1px solid #00a1ff;
    }

#search-button, #reset-button {
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 5px;
    background-color: #246087;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: 0.3s ease;
}

    #search-button:hover, #reset-button:hover {
        background-color: #4d4d4d;
    }

#station-info {
    margin-top: 10px;
    padding: 10px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    height: 300px;
    margin-bottom: 1rem;
}

    #station-info p {
        margin-bottom: 0.5rem !important;
        color: #8b8b8b;
    }

.station-left-wrapper {
    display: flex;
    flex-direction: row;
}

#station-map {
    height: 750px;
    width: 100%;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.no-p {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}
@media screen and (max-width: 768px){
    .no-p{
        padding-right: 0!important;
    }
}

.projects-padding {
    padding-bottom: 5rem !important;
}

#station-items {
    max-height: 550px;
    overflow-y: hidden;
    transition: all 0.3s ease;
}

#scroll-up {
    margin-bottom: 0.5rem;
}

.scroll-button {
    width: 100%;
    background-color: #246087;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 24px;
    text-align: center;
    padding: 5px 0;
    border-radius: 5px;
    transition: 0.3s ease;
}

    .scroll-button:hover {
        background-color: #4d4d4d;
    }

.custom-icon {
    background-image: url('/images/loc.png');
    background-size: cover;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.station-service-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
}