﻿﻿html {
    position: relative;
    height: 100%;
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-size: 14px;
    height: 100%;
}

    body > .container {
        padding: 0;
    }

    body > .container {
        margin-bottom: 2rem;
        margin-top: 2rem;
        padding: 0;
    }

.hide {
    display: none !important;
}

.display-4 {
    font-size: 2.5em;
}

.loading {
    text-align: center;
    display: none;
}

h4.normal-weight {
    font-weight: 400;
}

main {
    position: relative;
}

.main-spinner {
    background-color: #FFF;
    display: flex;
    height: 100vh;
    position: fixed;
    width: 100%;
    z-index: 10;
}

    .main-spinner .spinner-grow {
        animation-duration: 1s;
        background-color: var(--theme-color);
        height: 2em;
        width: 2em;
    }

.btn-primary, .ts-dropdown .active, .ts-dropdown .create:hover, .ts-dropdown .option:hover, .btn-primary:disabled, .btn-primary.disabled {
    background-color: var(--theme-color);
    border-color: var(--theme-border-color);
    color: var(--theme-text-color);
    font-weight: 400;
}

    .btn-primary:hover,
    .btn-primary:not(:disabled):not(.disabled).active,
    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:focus, .btn-primary.focus {
        background-color: var(--theme-border-color);
        border-color: var(--theme-border-color);
        color: var(--theme-text-color);
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        box-shadow: none;
    }

.blink {
    animation: blink 2s linear infinite;
}

@keyframes blink {
    50% {
        opacity: 0.3;
    }
}


.blink-2 {
    animation: blink 2.5s ease-in-out infinite;
}

.blink-3 {
    animation: blink 3s ease-in-out infinite;
}


.list-group {
    border-radius: 0;
}


.mobileButtons {
    display: none;
}

    .mobileButtons a {
        color: #4e4e4e;
        border: 1px solid #d9d9d9;
        border-bottom: none;
        border-radius: 4px 4px 0 0;
        background-color: #efefef;
    }

        .mobileButtons a.active {
            background-color: var(--theme-color);
            border-color: var(--theme-border-color);
            color: var(--theme-text-color);
        }

        .mobileButtons a:focus {
            box-shadow: none;
        }


#map {
    border-radius: 4px;
    border: 1px solid #e3e3e3;
    height: var(--map-height-default);
    width: 100%;
}


.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}


.offcanvas-header .btn-close {
    background: rgba(255,255,255,1) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23FFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    background-color: var(--theme-color);
    border-radius: 1rem;
    margin-right: 0;
    opacity: 1;
}



/*
    INFO PANEL
*/
.info-panel {
    background-color: #EDEDED;
    bottom: 0;
    border-top: 1px solid rgb(0 0 0 / 15%);
    height: 1.3rem;
    left: 0;
    position: absolute;
    width: 100%;
}

    .info-panel .spinner {
        line-height: 1.5em;
    }

    .info-panel .spinner-border {
        animation-duration: 1s;
        border-width: 0.15em;
        border-color: var(--theme-color);
        border-right-color: transparent;
        height: 0.9em;
        width: 0.9em;
    }

    .info-panel .timestamp {
        margin: 0;
        text-align: right;
        font-size: 0.9em;
        line-height: 1.8em;
    }



/*
    MAP MARKER INFO
*/
.markerInfo {
    font-weight: 400;
}

    .markerInfo span {
        font-weight: 500;
        font-size: 0.9rem;
    }

.stopMarkerInfo {
    font-weight: 400;
}

    .stopMarkerInfo .name {
        font-weight: 500;
        font-size: 0.9rem;
        max-width: 200px;
    }

    .stopMarkerInfo .lines {
        max-width: 200px;
        flex-wrap: wrap;
    }

    .stopMarkerInfo .lines li {
        border-radius: 1rem;
        font-size: 1rem;
        height: 1.6rem;
        width: 1.6rem;
        line-height: 1.7rem;
        margin-right: 2px;
        text-align: center;
    }

    .stopMarkerInfo .link {
        background-color: var(--theme-color);
        border-radius: 5px;
        display: block;
        color: var(--theme-text-color);
        cursor: pointer;
        font-size: 1rem;
        line-height: 1.1rem;
        padding: 0.6rem 1rem;
        text-align: center;
        text-decoration: none;
    }

        .stopMarkerInfo .link:hover, .stopMarkerInfo .link:active {
            background-color: var(--theme-border-color);
        }



/*
    HEADER
*/
.header {
    height: var(--header-height);
}

    .header .select-stop {
        background-color: #272c56 !important;
        border-color: #14183a !important;
        z-index: 1;
    }

        .header .select-stop.selected {
            border-radius: 4px 0 0 4px;
        }

        .header .select-stop .icon, .header .select-stop .arrow {
            position: relative;
        }

        .header .select-stop .icon {
            width: 2.4rem;
        }

        .header .select-stop .arrow {
            width: 1.5rem;
        }

            .header .select-stop .icon img, .header .select-stop .arrow img {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
            }

        .header .select-stop .icon img {
            left: 0;
            width: 1.9rem;
        }

        .header .select-stop .arrow img {
            right: 0.1rem;
            width: 1rem;
        }

        .header .select-stop .label {
            overflow: hidden;
            text-align: left;
            text-overflow: ellipsis;
            white-space: nowrap;
            width: 21.4rem;
        }

            .header .select-stop .label h3 {
                font-size: 0.9rem;
                opacity: 0.6;
            }

            .header .select-stop .label span {
                font-size: 1.1rem;
                font-weight: 500;
            }

    .header .deselect-stop {
        background-color: #9d9d9d;
        border-color: #959595;
        border-radius: 0 4px 4px 0;
        position: relative;
        width: 2.8rem;
        z-index: 1;
    }

        .header .deselect-stop.hide {
            display: none;
        }

        .header .deselect-stop img {
            left: 0.6rem;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 1.5rem;
        }

        .header .deselect-stop:hover {
            background-color: #959595;
            border-color: #898989;
        }



/*
    STOPS LIST SORT
*/
.stop-list-icon {
    height: 1.2rem;
    width: 1.2rem;
    opacity: 0.5;
}

.stop-list-icon-sort {
    margin-top: -2px;
}

#selectStop #stops > div {
    border: 1px solid #e6e9ed;
    border-radius: 4px;
}

    #selectStop #stops > div > div:not(:last-child) {
        border-bottom: 1px solid #f1f1f1;
    }

#selectStop #stops .text {
    display: inline-block;
}

#selectStop .lines {
    width: 100%;
    flex-wrap: wrap;
}

    #selectStop .lines li {
        border-radius: 1rem;
        font-size: 1rem;
        height: 1.9rem;
        width: 1.9rem;
        line-height: 2rem;
        text-align: center;
        margin-right: 2px;
    }

#selectStop #stops .list-sort-code img, #selectStop #stops .list-sort-name img, #selectStop #stops .list-sort-sequence img {
    display: none;
    height: 0.9rem;
    margin-top: -3px;
}

#selectStop #stops .list-sort-code.asc img.icon-sort-down,
#selectStop #stops .list-sort-name.asc img.icon-sort-down,
#selectStop #stops .list-sort-sequence.asc img.icon-sort-down,
#selectStop #stops .list-sort-code.desc img.icon-sort-up,
#selectStop #stops .list-sort-name.desc img.icon-sort-up,
#selectStop #stops .list-sort-sequence.desc img.icon-sort-up {
    display: inline;
}



/*
    STOPS LIST FILTER
*/

#selectStop #stopRoutesFilter {
    margin-top: 4px;
}

#selectStop .stopFilter {
    position: relative;
    width: 100%;
}

    #selectStop .stopFilter > div {
        background-color: var(--theme-color);
        border: 1px solid var(--theme-border-color);
        border-radius: 4px;
        color: var(--theme-text-color);
        cursor: pointer;
        font-size: 0.9rem;
        font-weight: 400;
        padding: 0.5rem 2rem 0.3rem 0.8rem;
        position: relative;
        transition: all 0.2s ease-in;
    }

        #selectStop .stopFilter > div:hover, #selectStop .stopFilter > div:active, #selectStop .stopFilter > div.active {
            background-color: var(--theme-border-color);
        }

        #selectStop .stopFilter > div span {
            border-radius: 1rem;
            display: inline-block;
            height: 1.5rem;
            width: 1.5rem;
            line-height: 1.6rem;
            margin-top: -2px;
            text-align: center;
        }

        #selectStop .stopFilter > div:after {
            border: 6px solid transparent;
            border-color: #fff transparent transparent transparent;
            content: "";
            height: 0;
            position: absolute;
            right: 0.6rem;
            top: 63%;
            transform: translateY(-50%);
            width: 0;
        }

        #selectStop .stopFilter > div.active, #selectStop .stopFilter > div:active {
            border-radius: 4px 4px 0 0;
        }

            #selectStop .stopFilter > div:active:after, #selectStop .stopFilter > div.active:after {
                top: 44%;
                border-color: transparent transparent #fff transparent;
            }

    #selectStop .stopFilter ul {
        border-radius: 0px 0px 4px 4px;
        box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 17%);
        left: 0;
        list-style: none;
        position: absolute;
        right: 0;
        top: 100%;
        z-index: 99;
    }

        #selectStop .stopFilter ul.hide {
            display: none;
        }

        #selectStop .stopFilter ul li {
            background-color: #FFF;
            border-top: 1px solid #eff1f3;
            color: #121212;
            line-height: 1.6rem;
            padding: 0.4rem 0.8rem;
            cursor: pointer;
            transition: all 0.15s ease-in;
        }

            #selectStop .stopFilter ul li:first-child {
                border-top: none;
            }

            #selectStop .stopFilter ul li:last-child {
                border-radius: 0px 0px 4px 4px;
            }

            #selectStop .stopFilter ul li:hover, #selectStop .stopFilter ul li.selected {
                background-color: #eff1f3;
            }

            #selectStop .stopFilter ul li span {
                border-radius: 1rem;
                display: inline-block;
                font-size: 1rem;
                height: 1.6rem;
                width: 1.6rem;
                line-height: 1.8rem;
                text-align: center;
                transition: all 0.15s ease-in;
            }

#selectStop #stopRoutesFilter.hidden {
    display: none !important;
}



/*
    STOPS LIST
*/
#stopsList, .lines {
    list-style: none;
}

    #stopsList a {
        background-color: #eff1f3;
        border-radius: 4px;
        min-height: 4.7rem;
        text-decoration: none;
        transition: 0.2s all ease-in-out;
    }

        #stopsList a.selected, #stopsList a:hover {
            background-color: var(--theme-color);
        }

        #stopsList a.selected {
            cursor: default;
        }

    #stopsList .stop-code {
        position: relative;
        width: 19%;
    }

        #stopsList .stop-code > span {
            border-radius: 2rem;
            background-color: var(--theme-color);
            color: var(--theme-text-color);
            font-size: 1.1rem;
            font-weight: 500;
            height: 3.4rem;
            left: 0.4rem;
            line-height: 3.6rem;
            position: absolute;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
            width: 3.4rem;
        }

    #stopsList a.selected .stop-code > span, #stopsList a:hover .stop-code > span {
        color: var(--theme-color);
        background-color: var(--theme-text-color);
    }

    #stopsList .stop-description {
        color: #121212;
        font-size: 1.1rem;
        font-weight: 400;
        text-align: left;
        width: 81%;
    }

    #stopsList a.selected .stop-description, #stopsList a:hover .stop-description {
        color: var(--theme-text-color);
    }



/*
    VEHICLES LIST
*/

.data-column {
    border-radius: 0 0 4px 4px;
    height: max-content;
    overflow: hidden;
}

    .data-column .title {
        background-color: var(--theme-color);
        border: 1px solid var(--theme-border-color);
        border-bottom: none;
        border-radius: 4px 4px 0 0;
        color: var(--theme-text-color);
        font-weight: 400;
        font-size: 1rem;
        line-height: 1.1rem;
        padding: 0.5rem 0;
        text-align: center;
    }

.vehicles-list {
    height: var(--vehicle-list-height-default);
    list-style: none;
    overflow-y: auto;
    padding-bottom: 1.2rem !important;
    background-color: #e9e9e9;
    box-shadow: inset 0px 0px 60px 11px rgb(0 0 0 / 15%);
}

    .vehicles-list .no-results {
        background-color: #f9f9f9;
        border-bottom: 1px solid #d5d5d5;
        font-size: 1.4em;
        font-weight: 300;
        line-height: 1.8em;
    }

    .vehicles-list li.vehicle {
        background-color: #fff;
        min-height: 90px;
        position: relative;
    }

        .vehicles-list li.vehicle:last-child {
            margin-bottom: 0 !important;
        }

        .vehicles-list li.vehicle span.overlay {
            border-style: solid;
            border-width: 2px;
            display: none;
            height: 100%;
            left: 0;
            pointer-events: none;
            position: absolute;
            top: 0;
            width: 100%;
            z-index: 100;
        }

        .vehicles-list li.vehicle.active span.overlay {
            display: block;
        }

        .vehicles-list li.vehicle > div > span {
            font-size: 0.8rem;
            font-weight: 500;
            color: #747474;
            padding-left: 1px;
        }

        .vehicles-list li.vehicle .line {
            text-align: center;
        }

            .vehicles-list li.vehicle .line > span {
                color: #FFFFFF;
            }

            .vehicles-list li.vehicle .line > div {
                font-size: 2.5em;
                font-weight: 500;
                text-align: center;
                line-height: 1.7em;
            }

        .vehicles-list li.vehicle .route > div {
            font-size: 1.1rem;
            line-height: 1.4rem;
        }

        .vehicles-list li.vehicle .departure {
            background-color: #747474;
            text-align: center;
        }

            .vehicles-list li.vehicle .departure > span {
                color: #c5c5c5;
            }

            .vehicles-list li.vehicle .departure > div {
                color: #FFFFFF;
                font-size: 2.4em;
                font-weight: 700;
                text-align: center;
                line-height: 1.5em;
            }

                .vehicles-list li.vehicle .departure > div span {
                    font-size: 0.8em;
                }

                .vehicles-list li.vehicle .departure > div em {
                    color: #c5c5c5;
                    display: block;
                    font-size: 0.8rem;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 0;
                }

            .vehicles-list li.vehicle .departure sup {
                top: -0.3em;
            }



        .vehicles-list li.vehicle.vplaceholder {
            background-color: #E7E7E7;
            opacity: 0.5;
        }

            .vehicles-list li.vehicle.vplaceholder .line {
                background-color: #B5B5B5;
            }

            .vehicles-list li.vehicle.vplaceholder > div > span {
                background-color: #CACACA;
                display: inline-block;
                min-height: 0.9em;
                width: 50%;
            }

            .vehicles-list li.vehicle.vplaceholder .line > div {
                background-color: #CACACA;
                min-height: 1.2em;
            }

            .vehicles-list li.vehicle.vplaceholder .route {
                background-color: #FFFFFF;
            }

                .vehicles-list li.vehicle.vplaceholder .route > div {
                    background-color: #CACACA;
                    min-height: 1.0em;
                }

            .vehicles-list li.vehicle.vplaceholder .departure > div {
                background-color: #CACACA;
                min-height: 1.4em;
            }



/*
    SCHEDULE
*/

.schedule-row .title {
    background-color: var(--theme-color);
    border-radius: 4px 4px 0 0;
    color: var(--theme-text-color);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.1rem;
    padding: 0.5rem 0;
    text-align: center;
    border: 1px solid var(--theme-border-color);
    border-bottom: none;
}

.schedule-row .schedule-wrapper {
    border-radius: 0 0 4px 4px;
    border: 1px solid #e3e3e3;
    border-top: none;
}


/*
    SCHEDULE - DAYS
*/

.schedule-wrapper .days .list-group-item {
    background-color: #efefef;
    border-top: none;
    color: #121212;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 0.5rem 0.4rem 0.2rem;
    text-align: center;
    line-height: 1.5rem;
}

    .schedule-wrapper .days .list-group-item.selected {
        background-color: #FFF;
        border-color: #FFF;
        border-top: 1px solid #f5f5f5;
        border-radius: 2px 2px 0 0;
        font-weight: 500;
        margin-top: -2px;
    }

    .schedule-wrapper .days .list-group-item:first-child {
        border-radius: 0;
        border-left: none;
    }

    .schedule-wrapper .days .list-group-item.selected:first-child {
        border-radius: 0 2px 0 0;
    }

    .schedule-wrapper .days .list-group-item.selected:last-child {
        border-radius: 2px 0 0;
    }

    .schedule-wrapper .days .list-group-item:last-child {
        border-radius: 0;
        border-right: none;
    }


/*
    SCHEDULE - SPINNER
*/
.trips-spinner {
    background-color: #FFF;
    display: flex;
    height: 20rem;
    width: 100%;
    z-index: 10;
}

    .trips-spinner .spinner-grow {
        animation-duration: 1s;
        background-color: var(--theme-color);
        height: 2em;
        width: 2em;
    }


/*
    SCHEDULE - FILTERS
*/

.schedule-wrapper .trip-filters-wrapper {
    border-bottom: 1px solid #e5e5e5;
}

.schedule-wrapper .trip-filters-title {
    font-size: 1rem;
    line-height: 2.9rem;
    text-align: right;
}

    .schedule-wrapper .trip-filters-title img {
        width: 1.5rem;
        opacity: 0.7;
    }

.schedule-wrapper .trip-filters {
    position: relative;
}

    .schedule-wrapper .trip-filters > a {
        height: 3.2rem;
        padding: 0.1rem 0.4rem 0 0.6rem;
    }

    .schedule-wrapper .trip-filters .icon, .schedule-wrapper .trip-filters .arrow {
        position: relative;
    }

    .schedule-wrapper .trip-filters .icon {
        width: 2.3rem;
    }

    .schedule-wrapper .trip-filters .arrow {
        width: 1.5rem;
    }

        .schedule-wrapper .trip-filters .icon img, .schedule-wrapper .trip-filters .arrow img {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }

    .schedule-wrapper .trip-filters .icon img {
        left: 0;
        width: 1.7rem;
    }

    .schedule-wrapper .trip-filters .arrow img {
        right: 0.1rem;
        width: 1rem;
    }

    .schedule-wrapper .trip-filters .label {
        overflow: hidden;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 15rem;
    }

        .schedule-wrapper .trip-filters .label h3 {
            font-size: 0.9rem;
            opacity: 0.7;
        }

        .schedule-wrapper .trip-filters .label span {
            font-size: 1.1rem;
            font-weight: 500;
        }

.line-select-buttons a, .route-select-buttons a {
    background-color: #ebebeb;
    border-radius: 2rem;
    border: 1px solid #fff;
    color: #121212;
    display: inline-block;
    padding-right: 0.6rem !important;
    text-decoration: none;
}

    .line-select-buttons a:hover, .route-select-buttons a:hover {
        background-color: #cfcfcf;
        border-color: #a3a3a3;
    }

    .line-select-buttons a img, .route-select-buttons a img {
        height: 1.3rem;
        margin-top: -2px;
        margin-right: 0.1rem !important;
        opacity: 0.7;
    }




.filters-list {
    list-style: none;
}

    .filters-list li {
        border-bottom: 1px solid #ebebeb;
    }

        .filters-list li:last-child {
            border-bottom: none;
        }

        .filters-list li input {
            clip: rect(0, 0, 0, 0);
            pointer-events: none;
            position: absolute;
        }

        .filters-list li label {
            font-size: 1.1rem;
            line-height: 1rem;
            text-align: left;
            position: relative;
        }

            .filters-list li label .checkbox {
                background-color: #ebf4ff;
                border: 1px solid #b3c5db;
                border-radius: 3px;
                height: 1rem;
                left: 0.7rem;
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                width: 1rem;
            }

        .filters-list li .filter-check:checked + label .filter-name {
            font-weight: 500;
        }

        .filters-list li .filter-check:checked + label .checkbox::after {
            background: url(/images/icons/check-mark.svg) no-repeat;
            content: "";
            height: 1.4rem;
            left: -2px;
            position: absolute;
            top: -4px;
            width: 1.4rem;
        }

        .filters-list li .filter-code {
            border-radius: 1rem;
            display: inline-block;
            font-size: 1rem;
            height: 1.6rem;
            line-height: 1.9rem;
            position: absolute;
            text-align: center;
            transform: translateY(-50%);
            top: 50%;
            width: 1.6rem;
        }

        .filters-list li .filter-name {
            vertical-align: -2px;
        }








/*
    SCHEDULE - TRIPS
*/
.schedule-wrapper .no-trips {
    font-size: 1.1rem;
    font-weight: 400;
    text-align: center;
}

.schedule-wrapper .trips {
    background-color: #FFF;
    list-style: none;
}

    .schedule-wrapper .trips h3 {
        border-right: 1px dashed #dee2e6;
        color: #393939;
        font-size: 2rem;
        font-weight: 400;
        line-height: 1.6rem;
        text-align: right;
        width: 8%;
    }

        .schedule-wrapper .trips h3::after {
            content: "00";
            font-size: 0.9rem;
            vertical-align: super;
            opacity: 0.8;
            margin-left: 2px;
        }

.schedule-wrapper .hour-trips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    list-style: none;
    width: 92%;
}

    .schedule-wrapper .hour-trips li {
        background-color: #eaf0f6;
        border-radius: 4px;
        line-height: 1.6rem;
        overflow: hidden;
        text-align: center;
    }

        .schedule-wrapper .hour-trips li .trip-line-time {
            position: relative;
        }

        .schedule-wrapper .hour-trips li .trip-line {
            height: 1.6rem;
            left: 0.3rem;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 1.6rem;
            border-radius: 2rem;
        }

            .schedule-wrapper .hour-trips li .trip-line span {
                font-size: 1rem;
                line-height: 1.6rem;
                text-align: center;
            }

        .schedule-wrapper .hour-trips li .trip-time {
            color: #043566;
            font-size: 1.3rem;
            font-weight: 500;
            padding: 0.5rem 0 0.3rem 0.5rem;
        }

        .schedule-wrapper .hour-trips li .trip-route {
            font-size: 0.8rem;
            font-weight: 400;
            height: 100%;
            line-height: 0.8rem;
            padding: 0.2rem 0.4rem 0.1rem 0.4rem;
            background-color: #dbe6f0;
            border-top: 1px solid #d2dee9;
        }










/*
    MEDIA QUERIES
*/

@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}


@media (max-width: 1200px) {
    .header .select-stop .label {
        width: 17.1rem;
    }

    .header .deselect-stop {
        width: 2.4rem;
    }

        .header .deselect-stop img {
            left: 0.4rem;
        }

    .schedule-wrapper .trip-filters-title {
        font-size: 0.9rem;
    }

        .schedule-wrapper .trip-filters-title img {
            width: 1.3rem;
        }

    .schedule-wrapper .trips h3 {
        width: 10%;
    }

    .schedule-wrapper .hour-trips {
        width: 90%;
    }
}



@media (max-width: 992px) {

    .display-4 {
        font-size: 1.7rem;
        line-height: 3rem;
    }

    .mobileButtons {
        display: block;
    }

    #map {
        height: var(--map-height-992);
    }

    .data-column .title, .schedule-row .title {
        display: none;
    }

    .vehicles-list {
        height: max-content;
        overflow-x: hidden;
    }

    .schedule-wrapper .trip-filters > a {
        height: 3rem;
        padding: 0.1rem 0.4rem 0 0.4rem;
    }

    .schedule-wrapper .trip-filters .icon {
        width: 1.3rem;
    }

        .schedule-wrapper .trip-filters .icon img {
            width: 1.6rem;
        }

    .schedule-wrapper .trip-filters .label {
        width: 13rem;
    }

        .schedule-wrapper .trip-filters .label span {
            font-size: 1rem;
            font-weight: 500;
        }

    .schedule-wrapper .days {
        border-top: 1px solid #e3e3e3;
    }

    .schedule-wrapper .hour-trips {
        grid-template-columns: repeat(3, 1fr);
    }
}



@media (max-width: 768px) {
    .header {
        height: var(--header-height-768);
    }

        .header .select-stop {
            flex-grow: 1;
        }

            .header .select-stop .label {
                flex-grow: 1;
            }

    .display-4 {
        font-size: 1.8rem;
    }

    .header .deselect-stop {
        width: 3rem;
    }

        .header .deselect-stop img {
            left: 0.6rem;
        }

    #map {
        height: var(--map-height-768);
    }

    .trip-filters-title, .trip-filters {
        flex-grow: 1;
    }

    .schedule-wrapper .trip-filters-title {
        font-size: 1rem;
        line-height: 2.9rem;
        text-align: left;
    }

    .schedule-wrapper .trip-filters .label {
        width: 11.8rem;
    }

    .schedule-wrapper .trips h3 {
        width: 13%;
    }

    .schedule-wrapper .hour-trips {
        width: 87%;
    }

    .schedule-wrapper .hour-trips {
        grid-template-columns: repeat(2, 1fr);
    }
}





@media (max-width: 575.98px) {
    .header {
        height: var(--header-height-575);
    }

        .header .select-stop, .header .select-stop.selected, .header .deselect-stop {
            border-radius: 0;
        }

            .header .select-stop .label {
                width: 0;
            }

        .header > .row, .mapRow.row {
            --bs-gutter-x: 0;
        }

    .display-4 {
        font-size: 1.6rem;
    }

    #map {
        border-radius: 0;
        border: none;
    }

    .mobileButtons a {
        border-radius: 0;
    }

        .mobileButtons a:first-child {
            border-left: none;
        }

        .mobileButtons a:last-child {
            border-right: none;
        }

    .vehicles-list li.vehicle .route > div {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .schedule-wrapper .days {
        --bs-gutter-x: 0;
    }

    .schedule-wrapper .trip-filters .icon {
        width: 2.3rem;
    }

    .schedule-wrapper .trip-filters .label {
        flex-grow: 1;
    }

    .schedule-wrapper .trips h3 {
        width: 14%;
    }

    .schedule-wrapper .hour-trips {
        width: 86%;
    }

    .schedule-wrapper .trips h3 {
        font-size: 1.8rem;
        line-height: 1.6rem;
        letter-spacing: -2px;
    }

        .schedule-wrapper .trips h3::after {
            font-size: 0.9rem;
            letter-spacing: -1px;
        }
}










@media (min-width: 992px) {
    #tabSchedule {
        display: block;
        opacity: 1;
    }

    .data-column .tab-content > .tab-pane {
        display: block;
        opacity: 1;
    }
}
