/* Temp local css starts */

.gc-link-block-basic-page-main-container {
    max-width: unset !important;
}

.coh-row-hidden-xl {
    overflow-y: auto !important;
}

/* temp local css ends */

/* CSS code for check your journey banner*/

.date-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.date-buttons button {
    flex: 1;
    padding: 10px;
    cursor: pointer;
}

.time-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
}

.xc-check-your-journey-container {
    background: var(--colour-Shadow-Rose, #9F2843);
    background-image: url(./../images/check-my-image-journey-image.png);
    background-repeat: no-repeat;
    background-size: 21.938rem calc(100% - 16px);
    background-position: bottom right;
}

.xc-check-your-journey-main-container {
    padding: 4.265rem 0 4.265rem 0;
    display: flex;
    width: 100%;
    height: 34.875rem;
    justify-content: space-between;
    align-items: center;
}

.xc-journey-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    font-family: var(--font-family-all, "rooney-sans");
    flex-shrink: 0;
    max-width: 47.5rem;
    position: relative;
}

.xc-journey-service-container {
    display: flex;
    margin-top: 11px;
    align-items: flex-start;
    gap: 10px;
    align-self: stretch;
}

.xc-journey-service-icon {
    width: 32px;
    height: 32px;
}

.xc-good-service-text {
    color: #FFF;
    /* Typography/Headings/H5 */
    font-family: var(--font-family-all, "rooney-sans");
    font-size: var(--size-H5, 24px);
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.xc-look-out-container {
    width: 21.938rem;
    display: flex;
}

.xc-look-out-container span {
    background-image: url(./../images/check-my-image-journey-image.png);
    width: 100%;
    height: 34.875rem;
    background-size: cover;
    background-position: top;
    width: 100%;
}

.xc-journey-container .arr-dep-container {
    width: 100%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.xc-journey-container .container-heading {
    color: #F8EFE3;
    /* Typography/Headings/H1 */
    font-family: var(--font-family-all, "rooney-sans");
    font-size: var(--size-H1, 44px);
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.xc-journey-container .input-fields-container {
    position: relative;
    gap: 15px;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    align-self: stretch;
}

.xc-journey-container .input-container input {
    padding: var(--spacing-3, 24px) 14px;
    border-radius: 6px;
    border: 2px solid var(--colour-Shadow-Cream, #CDC3BA);
    font-size: var(--size-Input-Field-Text, 20px);
    background: var(--colour-White, #FFF);
    width: 100%;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.xc-journey-container .input-container input::placeholder {
    font-weight: 400;
}

.xc-journey-container .input-container .autocomplete-list {
    display: none;
    position: absolute;
    width: 100%;
    padding: var(--spacing-2, 16px) var(--spacing-1, 8px);
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
    gap: 12px;
    max-height: 343px;
    overflow: auto;
    flex: 1 0 0;
    border-radius: 6px;
    border: 2px solid var(--colour-English-Rose, #CA123F);
    background: var(--Neutral-White, #FFF);
}

.xc-journey-container .input-container .autocomplete-list div {
    display: flex;
    padding: 9px 14px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    color: var(--Neutral-Black, #000);
    /* Typography/Body Text/Paragraph-Sm */
    font-family: var(--font-family-all, "rooney-sans");
    font-size: var(--size-Paragraph---Small, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.xc-journey-container .input-container .autocomplete-list div.web-view-heading-container {
    padding: 0 14px;
}

.xc-journey-container .input-container .autocomplete-list div:hover {
    padding: 9px 14px;
    gap: 12px;
    border-radius: 6px;
    background: var(--colour-Light-Rose, #EC9BAD);
    /* Typography/Headings/H6 */
    font-size: var(--size-H6, 18px);
    font-style: italic;
    font-weight: 700;
}

.xc-journey-container .response-error-message {
    font-family: 'rooney-sans', sans-serif;
    font-weight: 500;
    color: rgb(255, 255, 255);
    font-size: 1rem;
    font-style: italic;
    line-height: normal;
    padding-top: 0.375rem;
}

.xc-journey-container .swap-btn {
    display: flex;
    width: 66px;
    height: 66px;
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #CA123F;
    border-radius: 50%;
    position: absolute;
    right: 21px;
    top: 50%;
    transform: translate(-50%, -50%);
}

.xc-journey-container .swap-btn svg {
    width: 100%;
    height: auto;
}

.xc-journey-container .arr-dep-container .xc-journey-btn {
    display: flex;
    padding: var(--spacing-3, 24px) 14px;
    align-items: center;
    font-size: var(--size-Input-Field-Text, 20px);
    gap: var(--spacing-1, 8px);
    border-radius: 6px;
    border: 2px solid var(--colour-Shadow-Cream, #CDC3BA);
    background: var(--colour-White, #FFF);
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.xc-journey-container .arr-dep-container .xc-journey-btn:hover,
.xc-journey-container .arr-dep-container .xc-journey-btn:focus {
    text-decoration: underline;
}

.xc-journey-container .arr-dep-container .xc-journey-btn.xc-check {
    padding: 22px var(--spacing-3, 24px);
    font-size: var(--size-Primary-Button-Text, 24px);
    background: var(--colour-Clotted-Cream, #F8EFE3);
}

.xc-journey-container .arr-dep-container .xc-journey-btn.xc-check:hover {
    text-decoration: none;
    color: var(--colour-Clotted-Cream, #FFFFFF);
    background: var(--colour-Clotted-Cream, #000000);
    border: 2px solid #000000;
}

.xc-date-time-selection-container {
    display: none;
}

.xc-journey-container .xc-time-date-form-container {
    border: 1px solid #ccc;
    padding: 16px;
    width: 550px;
    margin-top: 20px;
    font-family: sans-serif;
    padding: var(--spacing-3, 24px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-3, 24px);
    border-radius: 6px;
    background: var(--Neutral-White, #FFF);
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1;
}

.xc-dropdown-heading {
    color: var(--colour-Shadow-Rose, #9F2843);
    /* Typography/Headings/H6 */
    font-size: var(--size-H6, 20px);
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.input-fields-container .xc-mobile-view-heading-section .xc-dropdown-heading {
    display: none;
}

.xc-time-date-form-container .xc-mobile-view-heading-section .xc-dropdown-heading {
    flex: 1;
}

.xc-button-bottom-container {
    width: 100%;
    display: flex;
    gap: 32px;
    position: relative;
}

.xc-date-buttons {
    width: 100%;
    display: flex;
}

.xc-time-container-tabs {
    display: flex;
    padding: 14px 0;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    width: 50%;
    /* Typography/Navigation/Main Nav Links */
    font-size: var(--size-Main-Nav-Links, 16px);
    font-style: italic;
    font-weight: 500;
    line-height: var(--spacing-3, 24px);
    /* 150% */
    border-radius: 6px;
    color: var(--Brand-Primary-Off-Black, #272727);
    border: 1px solid var(--colour-Shadow-Cream, #CDC3BA);
}

.xc-selected-button {
    background: var(--Brand-Primary-Off-Black, #272727);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.14);
    color: var(--Neutral-White, #FFF);
    font-weight: 700;
}

.xc-time-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    padding: 0 10px;
    border-radius: 6px;
    border: 1px solid var(--Overlays-Default, rgba(0, 0, 0, 0.20));
}

.xc-time-selector:focus {
    border: 1px solid var(--colour-English-Rose, #CA123F);
}

.xc-time-selector label {
    margin-right: 10px;
    white-space: nowrap;
    color: var(--app-legacy-off-black, #2F2F31);
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
}

.xc-time-selector select {
    flex: 1;
    padding: 14px 27px 14px 10px;
    font-size: 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1.57251 4.09595C1.53219 4.13617 1.5002 4.18395 1.47838 4.23655C1.45655 4.28915 1.44531 4.34554 1.44531 4.40249C1.44531 4.45944 1.45655 4.51583 1.47838 4.56843C1.5002 4.62104 1.53219 4.66881 1.57251 4.70903L6.76813 9.90465C6.80835 9.94497 6.85613 9.97696 6.90873 9.99879C6.96133 10.0206 7.01772 10.0319 7.07467 10.0319C7.13162 10.0319 7.18801 10.0206 7.24061 9.99879C7.29322 9.97696 7.34099 9.94497 7.38121 9.90465L12.5768 4.70903C12.6581 4.62773 12.7038 4.51747 12.7038 4.40249C12.7038 4.28752 12.6581 4.17725 12.5768 4.09595C12.4955 4.01465 12.3853 3.96898 12.2703 3.96898C12.1553 3.96898 12.045 4.01465 11.9637 4.09595L7.07467 8.98589L2.1856 4.09595C2.14538 4.05563 2.0976 4.02364 2.045 4.00181C1.9924 3.97999 1.936 3.96875 1.87905 3.96875C1.8221 3.96875 1.76571 3.97999 1.71311 4.00181C1.66051 4.02364 1.61273 4.05563 1.57251 4.09595Z' fill='%239F2843'/%3E%3C/svg%3E");
    background-color: white;
    background-repeat: no-repeat;
    background-position: right;
    background-size: 16px;
    border-radius: 6px;
    border: none;
    text-align: right;
    direction: rtl;
    width: 100%;
    margin: 0;
}

.xc-time-selector select:focus-visible {
    outline: none;
}

.xc-selected-date {
    color: #000;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    width: 100%;
    margin-top: 40px;
}

.xc-selected-date .date-label {
    font-style: italic;
    font-weight: 700;
}

.xc-confirm-date-time-btn {
    display: flex;
    padding: var(--spacing-1, 8px) var(--spacing-2, 16px);
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    width: 100%;
    border-radius: var(--radius-sm, 6px);
    background: var(--components-Button-Primary, #F5A706);
    color: var(--colour-Black, #000);
    font-size: 14px;
    font-style: italic;
    font-weight: 500;
    line-height: var(--spacing-3, 24px);
    /* 171.429% */
}

.xc-confirm-date-time-btn span {
    font-style: italic;
    font-weight: 700;
}

.xc-mobile-view-block {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
}

.xc-mobile-view-backdrop {
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    background: #000;
    opacity: 0.5;
}

.xc-date-time-selection-container .xc-mobile-view-backdrop {
    display: none;
}

.xc-mobile-view-content-container {
    display: flex;
    padding: 23px var(--spacing-1, 8px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    position: absolute;
    bottom: 0;
    height: 536px;
    gap: 19px;
    width: 100%;
    align-self: stretch;
    border-radius: 12px;
    background: var(--Neutral-White, #FFF);
    z-index: 1;
}

.xc-mobile-view-heading-section {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    align-items: center;
    padding: 0 16px;
}

.xc-date-time-selection-container .xc-mobile-view-heading-section {
    padding: 0;
}

.xc-close-list {
    color: var(--colour-Black, #000);
    font-size: 16px;
    font-style: italic;
    font-weight: 500;
    line-height: 16px;
    /* 100% */
    cursor: pointer;
    display: none;
}

.loading {
    margin-top: 40px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loading img {
    width: 100px;
    height: 100px;
}

.loading-text {
    font-size: 28px;
    letter-spacing: -0.7px;
    font-weight: bold;
    color: #CA123F;
}

.loading-icon {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white overlay */
    display: flex; /* For centering the spinner */
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top */
    pointer-events: auto; /* Enable pointer events on the loader itself */ 
    display: none;      
}

@media (min-width: 1200px) and (max-width: 1511px) {
    .xc-check-your-journey-main-container {
        padding: 4.265rem 0 4.265rem 0;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .xc-check-your-journey-main-container {
        padding: 1rem 0 1rem 0;
        position: relative;
        height: 36.875rem;
    }

    .xc-look-out-container {
        width: 21.938rem;
        display: flex;
        position: absolute;
        right: 0;
        bottom: 0;
        overflow: hidden;
        height: calc(100% - 16px);
        height: 100%;
    }

    .xc-journey-container {
        max-width: 27.625rem;
        z-index: 1;
    }

    .xc-journey-container .container-heading {
        font-size: var(--size-H1, 40px);
    }

    .xc-journey-container .input-container input {
        font-size: var(--size-Input-Field-Text, 18px);
    }

    .xc-button-bottom-container .xc-journey-btn.xc-check {
        margin-top: 24px;
    }

    .xc-journey-container .xc-time-date-form-container {
        width: 27.625rem;
    }

    .xc-mobile-view-heading-section {
        font-size: var(--size-H6, 18px);
    }

}

@media (max-width: 767px) {
    .xc-close-list {
        display: inline;
    }

    .xc-time-date-form-container {
        position: absolute;
        bottom: 0;
        height: 536px;
    }

    .input-container .xc-mobile-view-content-container .autocomplete-list {
        display: none;
        position: relative;
    }

    .xc-check-your-journey-main-container {
        padding: 2rem 0;
        height: 35.5rem;
        width: unset;
    }

    .xc-check-your-journey-container {
        background-image: none;
    }

    .xc-journey-container {
        width: 100%;
        max-width: unset;
    }

    .xc-journey-container .swap-btn {
        width: 44px;
        height: 44px;
        padding: 0.417rem;
        gap: 6px;
        bottom: 62px;
    }

    .xc-button-bottom-container .xc-journey-btn.xc-check {
        margin-top: 16px;
    }

    .xc-journey-container .container-heading {
        font-size: var(--size-H1, 32px);
        justify-content: center;
        display: flex;
        width: 100%;
    }

    .xc-journey-service-container {
        margin-top: 0px;
        justify-content: center;
    }

    .xc-date-time-selection-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        justify-content: space-between;
    }

    .xc-date-time-selection-container .xc-mobile-view-backdrop {
        display: block;
    }

    .xc-journey-container .xc-date-time-selection-container .xc-time-date-form-container {
        width: 100%;
        bottom: 0;
        top: auto;
    }

    .xc-selected-date {
        margin-bottom: auto;
    }

    .xc-journey-container .input-container .autocomplete-list{
        border: none;
        padding: 0;
        gap: unset;
    }

    .xc-journey-container .input-container input{
        padding: 14px 22px;
    }
}

@media (max-width: 1199px) {
    .xc-button-bottom-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .xc-journey-container .arr-dep-container .xc-journey-btn {
        width: 100%;
        justify-content: center;
    }

    .xc-journey-container .arr-dep-container .xc-journey-btn.xc-departing-button {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Start of Liva arrival and departure table*/
.main-container {
    display: block;
}

#train-search-info {
    display: flex;
    flex-direction: column;
    padding-top: 56px;
    margin-bottom: 64px;
}

#fix-heading {
    color: #000;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

#train-info-heading {
    color: #000;
    font-family: "rooney-sans";
    font-size: 44px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    padding-top: 23px;
    padding-bottom: 7px;
}

#train-info-time {
    color: #000;
    font-family: "rooney-sans";
    font-size: 32px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.train-search-info-time {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
}

.last-updated-trains {
    display: flex;
    gap: 10px;
}

#last-updated-value {
    color: #000;
    font-family: "rooney-sans";
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 24px;
}

.update-refresh, .stations-update-refresh {
    color: #CA123F;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
    min-height: 24px;
    display: flex;
    gap: 4px;
}

.update-refresh:hover .refrest-icon, .stations-update-refresh:hover .refrest-icon {
    transform: rotate(180deg);
    transition: transform .4s ease-in-out;
}

.refrest-icon {
    background-image: url(../images/update.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
    width: 42px;
    height: 24px;
}

#train-data {
    display: flex;
    flex-direction: column;
    gap: 23px;
}

#train-data .no-result {
    font-family: 'rooney-sans', sans-serif;
    font-weight: 500;
    font-size: 36px;
    font-style: italic;
    line-height: normal;
    padding-top: 56px;
    text-align: center;
}

.show-earlier-container,
.show-later-container {
    display: flex;
    width: 100%;
    background: #7C7771;
    border-radius: 6px;
    justify-content: center;
    align-items: center;
    padding: 22px;
    align-self: stretch;
    cursor: pointer;
}

.show-earlier-container:hover,
.show-later-container:hover {
    background-color: #585550;
}

.show-earlier-btn,
.show-later-btn {
    color: #FFF;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    background-repeat: no-repeat;
    background-size: 27px;
    background-position: center right;
    padding-right: 40px;
}

.show-earlier-btn {
    background-image: url(../images/show-earlier.svg);
}

.show-later-btn {
    background-image: url(../images/show-later.svg);
}

.status-on-time,
.status-delayed,
.status-cancelled {
    display: flex;
    padding: 24px 56px;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    color: #FFF;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.status-on-time {
    background: #06A00D;
}

.status-delayed {
    background: #E07B00;
}

.status-cancelled {
    background: #CA123F;
}

.info-container {
    border-radius: 0 0 6px 6px;
    padding: 40px 56px;
    display: grid;
    grid-template-columns: 1.25fr .25fr 1.25fr .75fr .75fr;
    gap: 20px;
    align-items: start;
    background: #FFF;
}

.mobile-info-container {
    display: none;
}

.info-status-on-time {
    border: 2px solid #06A00D;
}

.info-status-delayed {
    border: 2px solid #E07B00;
}

.info-status-cancelled {
    border: 2px solid #CA123F;
}

.expected-departure,
.expected-arrival,
.duration,
.departs-and-arrives .title,
.departs-and-arrives .platform {
    color: #000;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.departs-and-arrives .title {
    font-size: 20px;
}

.departs-and-arrives .platform {
    font-size: 20px;
    margin-top: 30px;
}

.departure-station,
.arrival-station {
    color: #000;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.info-container .departure-station,
.info-container .arrival-station {
    padding-top: 16px;
}

.departs-and-arrives .departure-station,
.departs-and-arrives .arrival-station {
    font-size: 32px;
    font-style: italic;
}

.expected-departure .departure-on-time {
    display: flex;
    gap: 8px;
}

.expected-departure .departure-cancelled {
    display: none;
}

.expected-departure .departure-delayed-on, .delay-reason-delayed-on {
    display: block;
    color: #CA123F;
}

.stops .departure-delayed-on {
    display: inline;
    color: #CA123F;
    padding-left: 8px;
}

.expected-departure .departure-delayed-off, .stops .departure-delayed-off, .delay-reason-delayed-off {
    display: none;
}

.departs-and-arrives .departure-cancelled-on, .arrival-cancelled-on, .cancelled-reason-cancelled-on {
    display: block;
    color: #CA123F;
}

.departed-not-on-time, .arrival-delayed {
    color: #CA123F;
}

.departed-on-time, .arrival-on-time {
    color: #000;
}

.cancelled-reason-cancelled-on {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.expected-arrival-cancelled-on {
    text-decoration: line-through;
}

.more-info-details-cancelled-on {
    display: none;
}

.cancelled-reason-cancelled-off {
    display: none;
}

.delay-reason-text, .cancelled-reason-text, .cancelled-reason-further-info {
    color: #000;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.cancelled-reason-further-info {
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.cancelled-reason-further-info-text {
    color: #000;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.arrow-size {
    width: 27px;
    height: 27px;
}

.more-info {
    color: #CA123F;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    text-align: right;
    cursor: pointer;

}

.info-container-desktop-view {
    display: block;
}

.info-container-mobile-view {
    display: none;
}

.more-info-summary {
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 56px;
    background: #fff;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-style: solid;
    border-width: 2px;
    border-top: 0;
}

.more-info-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.departs-and-arrives {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 75%;
    gap: 5%
}

.departs,
.arrives {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    flex-grow: 1;
    min-width: 40%;
    justify-content: space-between;
    gap: 20px;
}

.departs div,
.arrives div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.more-info-journey-details .heading {
    color: #000;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 25px;
}

.train-summary {
    display: grid;
    grid-template-columns: 1fr .75fr 1.25fr;
    width: 45%;
    align-items: center;
    margin-top: 15px;
}

.train-summary .duration {
    font-size: 20px;
}

.train-summary .direct-text {
    color: #666;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.train-operator {
    background-image: url(../images/operator-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 168px 29px;
    width: 168px;
    height: 29px;
}

.calling-points {
    width: 86%;
}

.timeline {
    position: relative;
}

.timeline-table {
    width: 100%;
}

.timeline-table thead {
    text-align: left;
}

.timeline-table thead td {
    color: #000;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.timeline-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr 0.75fr 0.75fr;
    align-items: start;
    padding-bottom: 30px;
    gap: 16px;
    position: relative;
}

.timeline-table tr.departed-on-time, .timeline-table tr.departed-not-on-time {
    border-left: 3.5px solid #046872;
    position: relative;
}

/* .timeline-table thead tr {
    margin-bottom: 25px;
} */

tr.stop.departure-station::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 0;
    height: 10px;
    border-left: 6px solid #fff;
}

tr.stop.departure-station.departed-on-time::before, tr.stop.departure-station.departed-not-on-time::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 0;
    height: 10px;
    border-left: 6px solid #fff;
}

tr.stop.last-station::after {
    content: "";
    position: absolute;
    left: 0;
    top: 15%;
    height: 85%;
    border-left: 6px solid #fff;
}

.timeline-table td {
    color: #000;
    font-family: "rooney-sans";
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: 24px
}

.timeline-table td.platform {
    color: rgba(0, 0, 0, 0.70);

}

.timeline-line {
    position: absolute;
    height: calc(100% - 105px);
    width: 3px;
    left: 0;
    top: 56px;
    background-color: black;
}

.zero-stops {
    display: none !important;
}

.timeline-dots-container {
    display: flex;
    padding: 0px 0px;
    align-items: center;
    flex: 1 0 0;
    position: relative;
}

.visited-icon.at-station {
    background-color: #CA123F;
}

.timeline-table tr:nth-child(1) .icon,
.timeline-table tr:last-child .icon {
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    z-index: 2;
    border: 3px solid #000;
    margin-left: -5.5px;
}

.timeline-table tr:nth-child(1) .visited-icon,
.timeline-table tr:last-child .visited-icon {
    width: 14px;
    height: 14px;
    background: #046872;
    border-radius: 50%;
    z-index: 2;
    border: 3px solid #046872;
    margin-left: -8.5px;
}

.timeline .visited-icon, .timeline .icon {
    width: 8px;
    height: 2px;
    background: #000;
    z-index: 2;
    margin-left: 0;
}

.timeline .visited-icon {
    background: #046872;
}

.timeline .at-station {
    position: absolute;
    background-image: url(../images/XC-train-icon.svg);
    z-index: 3;
    transform: translateX(-45%);
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    bottom: 15px;
}

.timeline .toggle-status {
    margin-left: 10px;
}

.toggle-stops .train-stops {
    color: #CA123F;
    font-family: "rooney-sans";
    font-size: 16px;
    font-style: italic;
    font-weight: 700;
    line-height: var(--spacing-3, 24px);
    cursor: pointer;
}

.open-eye-icon {
    margin-left: 30px;
    display: inline-block;
    background-image: url(../images/open-eye-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    width: 20px;
    height: 12px;
}

.cross-eye-icon {
    margin-left: 30px;
    display: inline-block;
    background-image: url(../images/cross-eye-icon.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    width: 20px;
    height: 12px;
}

.station-info {
    padding: 32px 0;
    border-top: 2px solid #06A00D;
    border-bottom: 2px solid #06A00D;
}

.station-info-heading, .service-updates-heading {
    color: #CA123F;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.station-info-body {
    color: #000;
    font-family: "rooney-sans";
    font-size: 20px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
}

.go-back-top, .go-back-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 56px;
}

.go-back-top {
    padding-bottom: 48px;
} 

.go-back-text {
    color: #CA123F;
    font-family: "rooney-sans";
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: normal;
    cursor: pointer;
}

.no-results {
    width: 100%;
    text-align: center;
    padding: 40px;
    font-size: 28px;
    font-weight: bold;
    color: #CA123F;
}

/* custom dropdown css by vishal */
.xc-time-select-custom-dropdown {
    position: relative;
    width: 6.875rem;
}
.xc-time-select-custom-dropdown .selected {
    cursor: pointer;
    height: 57px;
    padding: var(--spacing-2, 16px);
    border-radius: 6px;
    background: var(--White, #FFF);
    font-size: var(--size-Input-Field-Text, 20px);
    font-style: italic;
    font-weight: 400;
    line-height: normal;
    position: relative;
}

.xc-time-select-custom-dropdown .selected::after {
    content: url("./../images/chevron-right.svg");
    position: absolute;
    right: 8px;
    top: 16px;
    width: 14px;
    height: 14px;
}

.xc-time-select-custom-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: none;
    display: none;
    position: absolute;
    width: 100%;
    z-index: 100;
    padding: 8px 6px;
    border-radius: 4px;
    background: #FFF;
    box-shadow: 0 0 22.9px 0 rgba(0, 0, 0, 0.23);
    background: var(--Neutral-White, #FFF);    
    height: auto;
    max-height: 23.375rem;
    top: -5.938rem;
    left: 0.938rem;
    overflow: auto;
}

.xc-time-select-custom-dropdown li {
    cursor: pointer;
    padding: 9px 14px;
    color: var(--Neutral-Black, #000);
    font-size: var(--size-Paragraph---Small, 20px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.xc-time-select-custom-dropdown li:hover,
.xc-time-select-custom-dropdown li.active {
    border-radius: 6px;
    background: var(--colour-Light-Rose, #EC9BAD);
    font-style: italic;
    font-weight: 700;   
}

.xc-time-select-custom-dropdown .selected:focus {
    border: 1px solid #ec9bad;
}
/* custom dropdown css ends */

/** Start of Service Update CSS**/

.service-update-category-row {
    display: flex;
    align-items: center;
    gap: 6px;
    align-self: stretch;
    margin-bottom: 16px;
}

.service-update-icon {
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.service-update-formation {
    background-image: url(../images/XC-service-update-formation-updates.svg);
}

.service-update-cancelled {
    background-image: url(../images/XC-service-update-cancelled.svg);
}

.service-update-catering {
    background-image: url(../images/XC-service-update-catering-updates.svg);
}

.service-update-delayed {
    background-image: url(../images/XC-service-update-delayed.svg);
}

.service-update-accessibility {
    background-image: url(../images/XC-service-update-accessibility.svg);
}

.service-update-default-icon {
    background-image: url(../images/XC-service-update-default-icon.svg);
}

.service-update-category {
    color: #000;
    font-family: "rooney-sans";
    font-size:  20px;
    font-style: italic;
    font-weight: 700;
    line-height: 24px;
}

.service-update-item{
    padding: 16px 0;
    border-bottom: 2px solid #CDC3BA;
}

.service-update-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-update-text {
    color: #000;
    font-family: "rooney-sans";
    font-size:  20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.service-update-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.scheduled-time, .train-status {
    padding-left: 14px;
}

/** End of Service Update CSS**/


@media (min-width: 1200px) and (max-width: 1511px) {
    .info-container {
        grid-template-columns: 1.25fr .25fr 1.25fr .5fr .5fr;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .last-updated-trains {
        display: flex;
        flex-direction: row;
        justify-content: end;
        gap: 10px;
    }

    .more-info-summary {
        padding: 24px 32px;
    }

    .departs-and-arrives {
        width: 100%;
        gap: 20px;
    }

    .departs,
    .arrives {
        min-width: 50%;
    }

    .train-summary {
        width: 60%;
    }

    .calling-points {
        width: 100%;
    }

    .more-info-journey-details .heading {
        font-size: 22px;
    }

    .timeline-table tr {
        grid-template-columns: 1.5fr 1fr 0.75fr 0.75fr;
    }

    .station-info-heading, .service-updates-heading {
        font-size: 18px;
    }

    .departs-and-arrives .departure-station,
    .departs-and-arrives .arrival-station {
        font-size: 28px;
    }

    #fix-heading{
        font-size: 22px;
    }

    #train-info-heading {        
        font-size: 40px;
    }
    
    #train-info-time {       
        font-size: 28px;
        font-style: italic;
        font-weight: 700;
        line-height: normal;
        display: flex;
        justify-content: start;
        align-items: center;
        width: 100%;
    }
}



@media (max-width: 1199px) {
    .train-search-info-time {
        display: flex;
        flex-direction: column;
        gap: 48px;
    }

    .show-earlier-btn,
    .show-later-btn {
        font-size: 22px;
        background-size: 24px;
    }

    .mobile-info-container {
        border-radius: 0 0 6px 6px;
        padding: 16px 24px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: center;
        background: #fff;
    }

    .info-container {
        display: none;
    }

    .mobile-info-container-row {
        display: grid;
        grid-template-columns: 1fr .15fr 1fr;
        width: 100%;
    }

    .arrow-size {
        margin-top: 27px;
    }

    .mobile-info-container-row .expected-arrival,
    .mobile-info-container-row .arrival-station,
    .mobile-info-container-row .more-info {
        text-align: right;
    }

    .info-container-desktop-view {
        display: none;
    }

    .info-container-mobile-view {
        display: block;
    }

    .expected-departure,
    .expected-arrival,
    .duration {
        font-size: 22px;
    }

    .departure-station,
    .arrival-station {
        font-size: 22px;
        padding-top: 0px;
    }

    .info-container .departure-station,
    .info-container .arrival-station {
        padding-top: 0px;
    }

    .status-on-time,
    .status-delayed,
    .status-cancelled {
        padding: 16px 24px;
        font-size: 22px;
    }

    .status-on-time svg,
    .status-delayed svg,
    .status-cancelled svg {
        width: 25px;
        height: 25px;
    }

    #train-search-info {
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {

    .last-updated-trains {
        display: flex;
        flex-direction: column-reverse;
        align-items: flex-end;
        justify-content: center;
        gap: 8px;
    }

    .arrow-size {
        margin-top: 24px;
    }

    .show-earlier-container {
        margin-top: 32px;
    }

    .show-earlier-btn,
    .show-later-btn {
        font-size: 18px;
        background-size: 24px;
    }
    
    .xc-time-select-custom-dropdown ul {
        top: -4.375rem;
        right: 0.5rem;
    }

    .status-on-time,
    .status-delayed,
    .status-cancelled {
        padding: 16px 24px;
        font-size: 18px;
    }

    .status-on-time svg,
    .status-delayed svg,
    .status-cancelled svg {
        width: 18px;
        height: 17px;
    }

    .expected-departure,
    .expected-arrival,
    .duration {
        font-size: 18px;
    }

    .departure-station,
    .arrival-station,
    .more-info-journey-details .heading {
        font-size: 18px;
    }

    .departure-not-on-time {
        display: none;
    }

    .departs-and-arrives {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 28px;
    }

    .more-info-summary {
        padding: 32px 12px;
        background: #fff;
        border: 0px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-style: none;
        border-width: 0;
        border-top: 0;
    }

    .departs,
    .arrives {
        gap: 17px;
        width: 100%;
    }

    .departs-and-arrives .title {
        font-size: 16px;
    }

    .departs-and-arrives .departure-station,
    .departs-and-arrives .arrival-station {
        font-size: 26px;
    }

    .departs-and-arrives .platform {
        font-size: 15px;
        color: rgba(0, 0, 0, 0.70);
        margin-top: 0px;
    }

    .train-summary {
        display: grid;
        grid-template-columns: 1fr .75fr .50fr;
        width: 90%;
        align-items: center;
        margin-top: 15px;
    }

    .train-operator {
        background-image: url(../images/operator-icon-mobile.svg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 37px 21px;
        width: 37px;
        height: 21px;
    }

    .timeline-table thead {
        display: none;
    }

    .timeline-table tr {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: self-start;
    }

    .timeline-table tr .scheduled-time {
        font-size: 15px;
        padding-left: 14px;
    }

    .timeline-table tr {
        display: flex;
        flex-direction: column;
    }

    .timeline-line {
        top: 10px;
        height: calc(100% - 138px);
    }

    .timeline-table tr .station,
    .timeline-table tr .capacity,
    .timeline-table tr .platform {
        padding-left: 30px;
        font-size: 15px;
    }

    .timeline-table tr .platform {
        color: rgba(0, 0, 0, 0.70);
    }

    .station-info {
        padding: 16px 0;
    }

    .station-info-heading,
    .station-info-body, .service-updates-heading {
        font-size: 18px;
    }

    .go-back-top {
        padding-top: 28px;
        padding-bottom: 28px;
    }

    .go-back-bottom {
        padding-bottom: 48px;
    } 

    .go-back-text {
        font-size: 18px;
    }

    #fix-heading{
        font-size: 20px;
    }

    #train-info-heading {        
        font-size: 36px;
    }
    
    #train-info-time {       
        font-size: 26px;
        font-style: italic;
        font-weight: 700;
        line-height: normal;
        display: flex;
        justify-content: start;
        align-items: center;
        width: 100%;
    }
}