* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif !important;
}

/* Date dropdown specific styles ("myDropdown") to match page look */
#myDropdown {
    /* make it sit under the date box and look like other dropdowns */
    display: none; /* controlled by JS */
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-radius: 8px;
    padding: 6px 6px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 50;
}

    #myDropdown a {
        display: block;
        padding: 10px 14px;
        color: #111;
        text-decoration: none;
        font-weight: 600;
        border-radius: 6px;
        margin: 4px 0;
    }

        #myDropdown a:hover {
            background: #f5faff;
            color: #0F9367;
        }

    #myDropdown .dbdt {
        display: block;
        color: #8b8b8b;
        font-size: 13px;
        font-weight: 500;
        margin-top: 4px;
    }



/* make sure the dropdown aligns to the drdrpbx container width */
.tm_dt_prnt .dropdown, .tm_dt_prnt #myDropdown {
    min-width: 220px;
}

/* small responsive tweak */
@media screen and (max-width: 600px) {
    #myDropdown {
        max-height: 180px;
    }
}

.serchbx {
    background: linear-gradient(110deg, rgba(15, 147, 103, 0.85) 8.49%, rgba(0, 79, 150, 0.98) 42.02%, rgba(0, 40, 100, 0.9) 91.51%);
    padding: 60px 0;
}

.srchcontent {
    margin-top: 10px;
    -webkit-animation: fadeEffect 1s;
    animation: fadeEffect 1s;
}

@-webkit-keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeEffect {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.srchbx {
    display: flex;
    background: #fff;
    width: 100%;
    border-radius: 8px;
}

    .srchbx > .d-flex {
        width: 100%;
    }

.srchinp_prnt {
    min-width: 150px;
    flex: 1;
    padding: 6px 15px;
    position: relative;
    border-right: 1px solid rgba(0,0,0,.2);
    gap: 15px;
}

body:has(.lvstn) .srchinp_prnt {
    display: flex;
}

.tm_dt_prnt_width {
    max-width: 285px;
}

.hr_in_width {
    max-width: 150px;
}

.srchinp {
    display: flow;
    font-size: 16px;
    font-weight: 500;
    color: #676464;
}

    .srchinp input {
        border: 0;
        width: 100%;
        font-size: 18px;
        font-weight: 600;
        padding: 10px 0;
        outline: 0;
    }

.durbx {
    width: 100%;
}

.drdrpbx {
    position: relative;
    min-width: max-content;
}

.drpvl {
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-right: 15px;
    color: #000;
    margin-top: 10px;
    cursor: pointer;
}

    .drpvl::after {
        content: '';
        border: solid black;
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        position: absolute;
        right: 0;
        top: 7px;
    }

.drdrpbx {
    position: relative;
    min-width: max-content;
}

.drpvl {
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-right: 15px;
    color: #000;
    margin-top: 5px;
    cursor: pointer;
}

    .drpvl::after {
        content: '';
        border: solid black;
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 3px;
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        position: absolute;
        right: 0;
        top: 7px;
    }

.drdrpbx ul {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 0 4px 0 #00000026;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    list-style: none;
    min-width: 150px;
}

    .drdrpbx ul li {
        padding: 5px 10px;
        border-bottom: 1px solid #e4e4e4;
        font-size: 14px;
        color: #676464;
    }

        .drdrpbx ul li span {
            color: #000;
            display: block;
        }

        .drdrpbx ul li:last-child {
            border-bottom: 0;
        }

.tm_dt_prnt_ul {
    background: #fff;
    box-shadow: 0 0 4px 0 #00000026;
    position: absolute;
    top: 100%;
    left: 0;
    display: none;
    width: 100%;
    list-style: none;
    min-width: 150px;
}

    .tm_dt_prnt_ul li {
        font-size: 15px;
        width: 100%;
        padding: 7px 15px;
        border-bottom: 1px solid #dddd;
        font-weight: 600;
        display: block;
        font-size: 15px;
        color: #000;
    }

        .tm_dt_prnt_ul li span {
            color: #a0a0a0;
            font-size: 13px;
            display: block;
        }

        .tm_dt_prnt_ul li:last-child {
            border-bottom: 0;
        }

.srchbutton {
    font-size: 20px;
    background: #0F9367;
    padding: 26px 50px;
    color: #fff;
    font-weight: 600;
    border-radius: 0 8px 8px 0;
    border: 0;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.irtcaut {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #fff;
    justify-content: center;
    font-size: 20px;
    margin-top: 10px;
    font-weight: 600;
}

.breadcrum {
    font-size: 16px;
    font-weight: 500;
    padding: 30px 0;
}

    .breadcrum a {
        color: #0F9367;
    }

.trnlstmnbx {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 30px 0 rgba(0, 0, 0, 0.1);
    margin: 15px 0;
}

body:has(.lvstn) .srchinp img {
    margin-right: 5px;
}

body:has(.lvstn) .srchinp {
    display: flex;
}

body:has(.tcpd) .srchinp img {
    margin-right: 5px;
}

body:has(.tcpd) .srchinp, body:has(.tcpd) .srchinp_prnt {
    display: flex;
    border-top: 0;
}

.tnlshd {
    font-size: 15px;
    font-weight: 600;
    background: #5b5b5b;
    color: #fff;
    padding: 10px 10px;
    border-radius: 10px 10px 0 0;
}

.trnfnd {
    font-size: 14px;
    font-weight: 600;
}

.rfrsbtn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 20px;
    border-radius: 20px;
    background: transparent;
    border: 0;
    color: #2093EF;
    border: 1px solid #2093EF;
    font-size: 13px;
    cursor: pointer;
    margin-left: 12px;
    font-weight: 600;
}

.trninnrbx {
    padding: 20px;
}

.trnlsttbl {
    border: 1px solid #E0E0E0;
    border-collapse: collapse;
    width: 100%;
    font-size: 13px;
    margin-top: 20px;
}

    .trnlsttbl th {
        border-left: solid 1px #E0E0E0;
        border-bottom: solid 1px #E0E0E0;
        padding: 8px 6px;
        empty-cells: show;
        text-align: center;
    }

    .trnlsttbl td {
        border-left: solid 1px #E0E0E0;
        border-top: solid 1px #888888;
        padding: 8px 6px;
        empty-cells: show;
        font-weight: 500;
        text-align: center;
        min-width: 50px;
    }

.sfstrn {
    color: #3F51B5;
}

.trndst {
    color: #ff1493;
}

.trnlsttbl tbody tr:nth-child(even) {
    background-color: #F0F8FF;
}

.dsclm {
    font-size: 16px;
    color: #000;
    margin: 20px 0 30px;
}

.tblevf {
    max-width: 100%;
    overflow: auto;
}
/* live-train-status */
.lvtrndvd {
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.sidebar {
    width: 27%;
    min-width: 250px;
}

.trainfodta {
    width: 70%;
}

.rtebx {
    border-radius: 10px;
    border: 1px solid #5B9582;
}

.rtehdr {
    background: #EBF6FF;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    gap: 15px;
}

.rtimg {
    border-radius: 8px;
    padding: 4px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    aspect-ratio: 1;
}

.rttl {
    font-size: 16px;
    color: #171717;
    font-weight: 600;
}

.rtetrn {
    font-size: 11px;
}

.rtetxt {
    margin-left: auto;
    margin-top: auto;
    color: #5B9582;
    font-size: 11px;
    font-weight: 500;
}

.rtbdy {
    padding: 15px;
}

.trncrs {
    gap: 15px;
}

    .trncrs img {
        width: 17px;
        aspect-ratio: 1;
    }

.trncrsd {
    font-size: 14px;
    font-weight: 600;
}

.cltm {
    color: #61C761;
}

.prnxtst {
    margin-top: 10px;
    padding: 10px 0;
    border-top: 1px solid #D2DADD;
    gap: 5px;
}

.stnnme {
    font-size: 13px;
    font-weight: 600;
    color: #E83D3A;
}

.prnxitm:last-child .stntyp {
    text-align: end;
}

.stntyp {
    font-size: 11px;
    color: #646D74;
}

.route-card {
    background: #F5F7F9;
    border-radius: 8px;
    padding: 7px 10px;
    width: 100%;
}

.route-card__stations {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5px;
    gap: 10px;
}

.route-card__station--destination {
    text-align: right;
}

.route-card__station-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.route-card__station-km {
    font-size: 11px;
    color: #646D74;
    font-weight: 500;
}

.route-card__track {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
}

.route-card__track-bg {
    height: 3px;
    background: #D2DADD;
    border-radius: 15px;
    width: 100%;
}

.route-card__track-fill {
    position: absolute;
    left: 0;
    width: 18%;
    height: 3px;
    background: #5B9582;
    border-radius: 99px;
}

.route-card__train-icon {
    position: absolute;
    left: calc(18% - 14px);
    width: 23px;
    height: 23px;
    background: #5B9582;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    outline: 1px solid #5B9582;
    z-index: 2;
}

.route-card__dest-dot:first-child {
    border-color: #5B9582;
}

.route-card__dest-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border: 2px solid #d0d3dc;
    border-radius: 50%;
    z-index: 1;
    aspect-ratio: 1;
}

.lsuptd {
    font-size: 11px;
    font-weight: 600;
    margin: 10px 0;
}

.trmalrt {
    gap: 5px;
    background: #ff747445;
    padding: 8px;
    border-radius: 8px;
    align-items: baseline;
}

    .trmalrt.on-time {
        background: #e5ffe5;
    }

        .trmalrt.on-time .trnaltxt {
            color: #1a7a1a;
        }

    .trmalrt .alrimgbx {
        min-width: 10px;
        height: fit-content;
    }

        .trmalrt .alrimgbx img {
            display: block;
            margin-bottom: -2px;
        }

.trnaltxt {
    font-size: 10px;
    color: #C32020;
}

.tdisclmbx {
    margin: 20px 0;
    background: linear-gradient(95.82deg, #FFFFFF 3.68%, #FFF7E0 95.37%);
    border: 1px solid #EBD7A0;
    border-radius: 10px;
    padding: 10px;
}

.dsttl {
    font-size: 12px;
    font-weight: 600;
}

.tdisclmbx p {
    font-size: 11px;
    margin-top: 2px;
}

.bldsc {
    background: linear-gradient(95.82deg, #FFFFFF 3.68%, #F1F5FC 95.37%);
    border: 1px solid #C2CDDF;
}

.trndtlcrd {
    border-radius: 10px;
    border: 1px solid #5B9582;
    margin-bottom: 20px;
    overflow: hidden;
}

.trndthdr {
    padding: 10px 15px;
    background: #EBF6FF;
    gap: 10px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
}

.trndrlnmbx, .trnrtbx {
    flex: 1;
}

.trnclsbx {
    gap: 10px;
}

.rttimg {
    width: 15px;
    transition: all .4s ease;
}

.active .rttimg {
    transform: rotate(180deg);
}

.trndtlbdy {
    gap: 10px;
    padding: 10px 15px;
}

.stndtls:last-child {
    text-align: end;
}

.stncd {
    font-size: 15px;
    font-weight: 600;
    color: #171717;
}

.stntm {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: #171717;
}

.stnlcn {
    font-size: 12px;
    color: #383838;
}

.trnstpsinfo {
    min-width: 100px;
    width: 55%;
    margin: auto;
    text-align: center;
}

.stndv {
    border-bottom: 1px dashed #1B1A15;
    position: relative;
    margin: 5px 0;
}

    .stndv::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        display: block;
        height: 8px;
        width: 8px;
        background: #5B9582;
        border-radius: 50%;
    }

.trnstpsinfo > span {
    font-size: 12px;
    color: #383838;
    font-weight: 500;
}

.wks {
    display: flex;
    gap: 3px;
    color: #4FC82E;
    font-size: 14px;
    font-weight: 600;
    justify-content: center;
}

.trndtbx {
    gap: 10px;
    margin: 15px 0;
    max-width: 100%;
    overflow: auto;
}

.dteitm {
    border: 1px solid #5B9582;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    min-width: fit-content;
}

.trndtv {
    font-size: 16px;
    color: #171717;
    font-weight: 600;
}

.trndtew {
    font-size: 11px;
    color: #000;
}

.dteitm.actv {
    background: #EFFAFF;
}

.actv .trndtew {
    color: #0F9367;
}

.trnrutemap {
    border: 1px solid #5B9582;
    border-radius: 10px;
}

.rtehdrbx {
    background: #EBF6FF;
    padding: 10px 15px;
    border-radius: 10px 10px 0 0;
    font-size: 16px;
    font-weight: 500;
}

.kmbx {
    width: 20%;
    text-align: end;
    padding-right: 20px;
    margin-bottom: auto;
    height: fit-content;
}

.stnsbx, .dlybx {
    width: 25%;
    text-align: center;
}

.arrbx, .deprbx {
    width: 15%;
}

.lvtrndy {
    padding: 15px 20px;
    overflow: hidden;
}

.dtdtcvr {
    margin-top: 20px;
}

.dtdd {
    background: #1F138D;
    font-size: 11px;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    width: fit-content;
    margin-left: auto;
    margin-bottom: 10px;
    margin-top: -20px;
}

.lvstcd {
    font-size: 13px;
    font-weight: 600;
}

.lvkms {
    font-size: 13px;
    line-height: 1;
}

.bdstn {
    display: flex;
    gap: 20px;
}

.stbrbx {
    width: 6px;
    min-width: 6px;
    height: 250%;
    background: #D2DADD;
    position: relative;
}

.reachd .stbrbx {
    background: #5B9582;
}

.stbrbx::before {
    content: '';
    height: 8px;
    width: 8px;
    border: 4px solid #D2DADD;
    border-radius: 50%;
    left: -5px;
    display: block;
    position: absolute;
    background: #fff;
}

.reachd .stbrbx::before {
    content: '';
    height: 16px;
    width: 16px;
    background: #5B9582;
    border-radius: 50%;
    position: absolute;
    top: -1px;
    left: -5px;
    display: block;
    border: 0;
}

.stndtnx {
    text-align: start;
}

.lvtrndy .dlybx {
    color: #E83D3A;
    font-size: 13px;
}

    .lvtrndy .dlybx .on-time {
        color: #2A9E2A;
        font-weight: 600;
    }

    .lvtrndy .dlybx .delayed {
        color: #E83D3A;
        font-weight: 600;
    }

.lvtrndy .arrbx, .lvtrndy .deprbx {
    font-size: 14px;
}

.arctme {
    color: #61C761;
    display: block;
}

.adctme {
    color: #E83D3A;
    display: block;
}

    .adctme.on-time {
        color: #2A9E2A;
    }

.rterow:not(:first-child) .arrbx, .rterow:not(:first-child) .deprbx {
    height: fit-content;
    margin: 10px 0 0 0;
}

.rterow:not(:first-child) .dlybx {
    margin-top: 12px;
}

.rterow:has(.dtdd) .dlybx, .rterow:has(.dtdd) .arrbx, .rterow:has(.dtdd) .deprbx {
    height: fit-content;
    margin: auto;
}

/* .frst { */
/* margin-top: 35px; */
/* } */

.rterow:not(:last-child) .kmbx {
    padding-bottom: 18px;
}

.instrdv {
    background: #F1F9FF;
    padding: 3px 6px;
    border-radius: 30px;
    border: 1px solid #C5E5FF;
    font-size: 13px;
    display: flex;
    gap: 5px;
    min-width: max-content;
    position: relative;
    cursor: pointer;
    height: fit-content;
}

    .instrdv img {
        width: 10px;
    }

.intstat .stbrbx::before {
    display: none;
}

.instbr {
    width: 55%;
    display: block;
    border-bottom: 1px dashed #C5E5FF;
    height: fit-content;
    margin-top: 14px;
}

.intermdbx .stbrbx::before {
    content: '';
    height: 8px;
    width: 8px;
    border: 4px solid #5B9582;
    border-radius: 50%;
    left: -5px;
    background: #fff;
}

.intermdbx .bdstn {
    height: 50px;
}

.currentpos .stbrbx::before {
    content: url(/images/allimages/trnrge.svg);
    left: -13px;
    height: 30px;
    width: 30px;
    background-color: #5B9582;
    border: 1px solid #fff;
    outline: 1px solid #5B9582;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrdtl {
    background: #e5ffe5;
    color: #000;
    padding: 5px 10px;
    border: 1px solid #61C761;
    border-radius: 8px;
    position: relative;
    width: fit-content;
}

    .arrdtl::after {
        content: "";
        position: absolute;
        top: 15px;
        right: 100%;
        margin-top: -5px;
        border-width: 7px;
        border-style: solid;
        border-color: transparent #61C761 transparent transparent;
    }

    .arrdtl .lvstcd {
        font-size: 13px;
        min-width: max-content;
    }

    .arrdtl .lvkms {
        font-size: 11px;
    }

.timetrn {
    font-size: 11px;
    color: #EF6614;
    display: block;
    gap: 4px;
    align-items: center;
    border: 1px solid #EF6614;
    border-radius: 6px;
    padding: 6px 8px;
    height: fit-content;
    margin: auto 0;
    margin-left: auto;
    margin-right: 5%;
}

.nxtdtls {
    font-size: 12px;
    min-width: max-content;
    color: #C38F00;
    margin-top: 3px;
}

.nxtstaion {
    position: relative;
}

    .nxtstaion::before {
        content: '';
        width: 78%;
        background: #5b95821b;
        border-radius: 8px;
        height: 48px;
        position: absolute;
        right: 0;
        z-index: -1;
        top: -4px;
    }

.inpt_lbl {
    color: #707070;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

@media screen and (max-width:800px) {
    .srchbx > .d-flex {
        flex-wrap: wrap;
    }

    .srchinp_prnt {
        min-width: 190px;
        padding: 10px;
    }

    body:has(.lvtrndtl) .srchinp_prnt {
        min-width: 180px;
    }

    .srchinp_prnt.d-flex {
        border-top: 1px solid rgba(0,0,0,.2);
    }

    .durbx {
        width: 35%;
    }

    .sidebar, .trainfodta {
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .srchbx {
        flex-wrap: wrap;
    }

    .srchinp:last-child {
        border-top: 1px solid rgba(0,0,0,.2);
    }

    .srchinp:not(:first-child) {
        border-top: 1px solid rgba(0,0,0,.2);
    }

    .srchinp {
        padding: 5px 10px;
        min-width: 100%;
    }

    .srchinp_prnt {
        border-bottom: 1px solid rgba(0,0,0,.2);
        padding: 0;
    }

        .srchinp_prnt:last-child {
            border-right: 0;
            border-bottom: 0;
        }

        .srchinp_prnt input {
            padding: 2px 0;
            margin-bottom: 0;
        }

    .srchinp {
        font-size: 14px;
    }

        .srchinp input, .drpvl {
            margin-top: 0;
            font-size: 16px;
        }

    .srchbutton {
        padding: 10px 35px;
        font-size: 16px;
        border-radius: 8px;
        margin: 5px;
        max-width: 100%;
        height: auto;
        padding: 12px 35px;
        margin-top: 10px;
    }

    .serchbx {
        padding: 30px 0;
    }

    .breadcrum {
        padding: 20px 0;
        font-size: 15px;
    }

    .trninnrbx {
        padding: 10px;
    }

    .dsclm {
        margin: 15p 0 20px;
        font-size: 14px;
    }

    .rtehdrbx {
        font-size: 13px;
        padding: 10px;
    }

    .lvtrndy, .trndtlbdy {
        padding: 10px;
    }

    .stnsbx, .dlybx {
        width: 23%
    }

    .lvstcd, .lvkms {
        font-size: 13px;
    }

    .trndtv, .stncd {
        font-size: 13px;
    }

    .dteitm {
        padding: 8px;
    }

    .stntm {
        font-size: 18px;
    }

    .stnlcn {
        font-size: 11px
    }

    .trnstpsinfo {
        max-width: 40%;
    }

    .tdisclmbx {
        margin: 10px 0;
    }

    .lvtrndvd {
        gap: 10px;
    }

    .cpyrgt {
        text-align: center;
    }

    body:has(.lvsthm) .durbx {
        width: 45%;
        font-size: 15px;
    }

    body:has(.lvsthm) .srchinp_prnt.d-flex {
        padding: 0 10px;
    }

    body:has(.lvsthm) .durbx:last-child {
        border-left: 1px solid rgba(0,0,0,.2);
        padding-left: 10px;
    }
}




.dropdown {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    outline: 0;
    position: absolute;
    top: 100%;
    background: #fff;
    left: 0;
    width: 100%;
    max-height: 300px;
    box-shadow: 0px 0px 17px 0px rgba(112, 112, 112, 1);
    z-index: 10;
    color: #333333;
    padding: 6px;
}

    .dropdown .item {
        padding: 10px 6px;
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: 0.3s;
        cursor: pointer;
    }

        .dropdown .item img {
            height: 20px;
            filter: brightness(0) saturate(100%)
        }

        .dropdown .item:hover {
            background-color: #f1f1f1;
            color: #000;
        }
