.live-departure-train-sec {
    box-shadow: 0px 6px 20px 0px #131E2929;
    min-width: 320px;
    max-width: 400px;
    border-radius: 5px;
    margin-top: 0px;
    margin-bottom: 56px;
}

.live-departure-train-header {
    padding: 0px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    border-radius: 5px 5px 0px 0px;
}

.live-departure-train-tab {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.375px;
    color: var(--aurometal);
    padding: 24px 0px;
    cursor: pointer;
    background-color: #fff !important;
}

    .live-departure-train-tab.active {
        color: var(--coalescent);
        border-bottom: 4px solid var(--dark-spark);
        background-color: #fff !important;
    }

.train-departure-title {
    padding: 12px 24px;
    background: var(--solway-breeze);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    color: var(--coalescent);
}

.live-departure-train-table-header {
    background: var(--graphene);
    display: flex;
    justify-content: space-between;
    padding: 12px 24px;
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    gap: 5px;
}

    .live-departure-train-table-header .live-dtt-header-item:first-of-type, .live-departure-train-table-row .live-stt-row-item:first-of-type {
        width: 40%;
        flex-shrink: 0;
    }

    .live-departure-train-table-header .live-dtt-header-item:last-of-type, .live-departure-train-table-row .live-stt-row-item:last-of-type {
        width: 6%;
        flex-shrink: 0;
        display: block;
    }

    .live-departure-train-table-header .live-dtt-header-item:nth-of-type(2), .live-departure-train-table-header .live-dtt-header-item:nth-of-type(3), .live-departure-train-table-row .live-stt-row-item:nth-last-of-type(2), .live-departure-train-table-row .live-stt-row-item:nth-last-of-type(3) {
        width: 27%;
        flex-shrink: 0;
        display: block;
    }

.live-departure-train-table-footer {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.02em;
    padding: 24px;
    background: var(--graphene);
    color: var(--solway-breeze);
    text-align: center;
    cursor: pointer;
    border-radius: 0px 0px 5px 5px;
    position:relative;
}
.live-departure-train-view-earlier {
    border-radius: 0px 0px 0px 0px !important;
    margin-bottom:2px;
}
.live-departure-train-table-footer::after {
    content: "\f078";
    font-family: fontawesome;
    position: relative;
    left: 8px;
    top: 0px;
    font-weight: 300;
    font-size: 12px;
}
.live-departure-train-view-earlier.live-departure-train-table-footer::after {
    content: "\f077";
    font-family: fontawesome;
    position: relative;
    left: 8px;
    top: 0px;
    font-weight: 300;
    font-size: 12px
}
.live-departure-train-table-row {
    padding: 24px;
    width: 100%;
    gap: 5px;
    border-bottom: 1px solid var(--light-periwinkle);
    display: flex;
    align-items: center;
    background: var(--white);
    justify-content:center;
}

.live-stt-row-item {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
    text-align: left;
    display: flex;
    gap: 10px;
    align-items: center;
}
.live-departure-train-table-body{
    position:relative;
}
.live-stt-row-item .live-dtt-original-time {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.22;
    text-align: center;
    color: var(--watermelon);
}

.live-dtt-pf-no-time, .live-dtt-status {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
    text-align: center;
    color: var(--coalescent);
}

.live-dtt-updated-time {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.33;
    text-align: center;
    color: var(--coalescent);
}

.text-strike {
    text-decoration: line-through;
}
.live-dtt-original-time.text-strike {
    color: var(--coalescent) !important;
    text-decoration: line-through;
    font-size:12px !important;
    font-weight:400 !important;
}
.live-stt-row-item .live-dtt-original-time.text-strike + .live-dtt-updated-time {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.22;
    text-align: center;
    color: var(--watermelon);
}

.live-dtt-img-icon, .live-dtt-dropdwon-icon {
    width: 18px;
    height: 18px;
    aspect-ratio: 1/1;
    cursor: pointer;
}
.live-departure-train-table-body .journey.open .live-dtt-dropdwon-icon {
    transform: rotate(180deg);
}

/* cooling points */


.live-dtt-route-wrapper {
    margin-top: 16px;
    width: 100%;
    color: #131E29;
    padding: 24px;
    padding-bottom:48px;
    border-bottom: 1px solid var(--light-periwinkle);
}
.live-dtt-route-wrapper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom:24px;
}
.live-train-logo {
   width:76px;
   height:auto;
}

.ldtt-refresh {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    margin-top: 18px;
}

.ldtt-refresh-icon {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.ldtt-refresh-time {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    color: #131E29;
    text-decoration: underline;
}

.fetching-info-wrapper {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 99;
}
    .fetching-info-wrapper .fetching-info-icon {
        position: absolute;
        top:10%;
        left:50%;
        transform:translate(-50%, -10%);
        width:60px;
        height:60px;
        aspect-ratio:1/1;
    }

.route-callpoint {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 48px;
    width: 100%;
    min-height: 50px;
    padding-bottom: 10px;
    position: relative;
}

    .route-callpoint::before {
        content: '';
        position: absolute;
        left: 64px;
        top: 0px;
        bottom: 0px;
        width: 5px;
        background-color: #004F59;
    }

    .route-callpoint.source-station::before {
        content: '';
        position: absolute;
        left: 64px;
        top: 20px;
        bottom: 0px;
        width: 5px;
        background-color: #004F59;
    }

    .route-callpoint.source-station::after {
        content: '';
        position: absolute;
        left: 53px;
        top: -2px;
        bottom: 0px;
        width: 18px;
        height: 18px;
        border: 4px solid #004F59;
        border-radius: 50%;
    }

    .route-callpoint.destination-station::before {
        content: '';
        position: absolute;
        left: 64px;
        top: 0px;
        bottom: 23px;
        width: 5px;
        background-color: #004F59;
    }

    .route-callpoint.destination-station::after {
        content: '';
        position: absolute;
        left: 54px;
        top: auto;
        bottom: 0px;
        width: 18px;
        height: 18px;
        border: 4px solid #004F59;
        border-radius: 50%;
    }

.time-section {
    width: 45px;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.station-section {
    width: max-content;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.destination-station .live-dtt-station-name,
.destination-station .live-dtt-updated-time,
.source-station .live-dtt-station-name,
.source-station .live-dtt-original-time {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    color: #131E29;
}

.live-dtt-updated-time,
.live-dtt-delay-time {
    color: #C0414D;
    font-weight: 700;
}

.live-dtt-delay-time {
    font-size: 13px;
    line-height: 16px;
}

.station-section:not(.destination-station .station-section, .source-station .station-section):before {
    content: '';
    position: absolute;
    left: -24px;
    top: 10px;
    bottom: auto;
    width: 8px;
    height: 3.57px;
    background-color: #004F59;
}

.erase-time {
    text-decoration: line-through;
}

.live-dtt-live-action {
    margin-top: 36px;
}

    .live-dtt-live-action button {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: center;
    }

.train-label-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    color: #131E29;
}

.current-postion-train {
    position: absolute;
    left: -44px;
    top: -5px;
    z-index: 1;
    width: 33px;
    height: 33px;
    aspect-ratio: 1/1;
}
@media only screen and (max-width: 400px) {
    .live-stt-row-item .live-dtt-original-time {
        font-size: 16px;
    }
        .live-stt-row-item .live-dtt-original-time.text-strike + .live-dtt-updated-time {
            font-size: 16px;
        }
}