table {
  counter-reset: Serial;
}

.live-train-table-heading {
  position: sticky;
  top: 90px;
}

/* Increment the "Serial" counter for each td1 element */
.td1 {
  counter-increment: Serial;
}

/* Display the counter value before the content of each td1 element */
.td1:before {
  content: counter(Serial);
  /* Optional styling */
  padding-right: 5px;
  /* Add spacing between the serial number and content */
}




.loader {
  border: 4px solid #f3f3f3;
  /* Light grey */
  border-top: 4px solid #e64c98;
  /* Pink */
  border-radius: 50%;
  width: 30px !important;
  height: 30px !important;
  animation: spin 1s linear infinite;
  display: none;
  /* Initially hidden */
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container-fluid {}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/*ads*/
.ad-container {
  position: fixed;
  bottom: 22px;
  width: 95%;
  z-index: 1;
  margin-left: 15px;
  margin-right: 15px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #00000094;

}

.ad-container img {
  width: 100%;
  height: 50px;
  object-fit: cover;

}

.ad-container button {
  position: absolute;
  top: 0;
}

.ad-main {
  position: relative;
}

.ad-main1 {
  position: relative;
}


.ad-container1 {
  position: fixed;
  top: 50%;
  width: 88%;
  z-index: 1;
  margin-left: 35px;
  margin-right: 35px;
  border-radius: 5px;
  box-shadow: 0px 0px 10px #00000094;
}

.ad-container1 img {
  width: 100%;
  height: 170px;
  object-fit: cover;

}

.ad-container1 button {
  position: absolute;
  top: 0;
}













.table-width-fromto {
  width: 100%;
}

#find_train_button {
  margin-right: 5px;
}

#find_train_button_live {
  margin-left: 5px;
}



.liveTrainBlink {
  border-radius: 50px;
  animation: pulse-animation 1s infinite;
  color: #e34896 !important;
}

.liveTrainNotBlink {
  animation: none;
}





.digital-fonts {
  letter-spacing: 1px;
}

body {
  /*font-family: 'Inter', serif;*/
  /*overflow: hidden !important;*/
  /*overflow-y: hidden !important;*/
  width: 100%;
  height: 100vh;
  background-color: #fdfdfd;

}

h5,
p {
  font-family: Poppins;

}

h4 {
  font-size: 18px;
  font-family: Sans-Serif;
}

.bg-color {
  background-image: linear-gradient(45deg,
      rgba(177, 31, 129, 1) 0%,
      rgba(202, 22, 131, 1) 27%,
      rgba(237, 90, 158, 1) 79%) !important;
}

.icon-color {
  color: #ed5a9e !important;
}

hr {
  color: #ed5a9e;
  opacity: 0.8;
}

.card {}

.search-box {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.results {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  z-index: 1;
  display: none;
  overflow-y: scroll;
  height: 40vh;
  /* Hide initially */
}

.results li {
  padding: 5px 10px;
  cursor: pointer;
}

.results li:hover {
  background-color: #f2f2f2;
}

.search-box2 {
  position: absolute;
  right: 8px;
  top: 10px;
  /* background-image: linear-gradient(45deg, rgba(177, 31, 129, 1) 0%, rgba(202, 22, 131, 1) 27%, rgba(237, 90, 158, 1) 79%) !important; */
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
}

.search-box22 {
  position: absolute;
  right: 8px;
  top: 10px;
  background-image: linear-gradient(45deg,
      rgba(177, 31, 129, 1) 0%,
      rgba(202, 22, 131, 1) 27%,
      rgba(237, 90, 158, 1) 79%) !important;
  padding: 6px 12px;
  border: none;
  border-radius: 5px;
}

input:focus-visible {
  outline: unset;
}

.img-train {
  position: absolute;
  bottom: 0;
  left: 0;
}

.loader {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  position: relative;
  z-index: 999;
}

.loader img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.animated-image {
  animation: zoomInZoomOut 2s ease-in-out infinite;
}

@keyframes zoomInZoomOut {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}

.track-card {
  text-align: center;
  border-radius: 50px;
}

.train2-img {
  position: absolute;
  left: -1%;
  top: 23%;
}

.track {
  position: relative;
  background-color: #ddd;
  height: 7px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.track .step {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  width: 25%;
  margin-top: -18px;
  text-align: center;
  position: relative;
}

.track .step.active:before {
  background: #126bd6;
}

.track .step::before {
  height: 7px;
  position: absolute;
  content: "";
  width: 100%;
  left: 0;
  top: 18px;
}

.track .step.active .icon {
  background: #126bd6;
  color: #fff;
}

.track .icon {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  position: relative;
  border-radius: 100%;
  background: #ddd;
  z-index: 99;
}

.track .step.active .text {
  font-weight: 400;
  color: #000;
}

.track .text {
  display: block;
  margin-top: 7px;
}

.tracktrain {
  position: fixed;
  bottom: 100px;
  left: 0;
}

.track1 {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.train1 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  z-index: 9;
}

/* media query */
@media (min-width: 360px) {
  body {
    overflow-x: hidden !important;
  }

  .tracking-mob {
    display: block;
  }

  .tracking-tab {
    display: none;
  }

  h6 {
    font-size: 13px;
    padding-left: 15px;
  }

  .img-train img {
    width: 70%;
  }

  .train2-img img {
    width: 38%;
  }

  .search-box {
    width: 100%;
    padding: 12px;
  }

  .search-box2 {
    width: 0%;
    position: absolute;
    left: 5px;
    top: 9px;
    padding: 3px 11px;
  }
}

.search-box22 {
  position: absolute;
  right: 8px;
  top: 10px;
  padding: 6px 12px;
}

.track-card h6 {
  font-size: 9px;
}

.train2-img {
  position: absolute;
  left: -3%;
  top: 16%;
}

p {
  font-size: 14px;
}

svg {
  width: 30px;
  height: 30px;
}

.tracking-item {
  border-left: 4px solid #126bd6;
  position: relative;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  font-size: 1.9rem;
  margin-left: 1.5rem;
  min-height: 3rem;
}

.tracking-item-pending {
  border-left: 4px solid #d6d6d6;
  position: relative;
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  font-size: 0.9rem;
  margin-left: 1.5rem;
  min-height: 5rem;
}

.tracking-item .tracking-content {
  font-weight: 600;
  font-size: 14px;
}

.tracking-item-pending .tracking-content {
  font-weight: 600;
  font-size: 14px;
  width: 100%;
}

.tracking-item .tracking-content span {
  display: block;
  color: #767676;
  font-size: 10px;
}

.tracking-item-pending .tracking-content span {
  display: block;
  color: #767676;
  font-size: 10px;
}

/* ..........form-to.html css ............ */

.modal-backdrop.show {
  opacity: 0.7 !important;
}

@media (min-width: 360px) {
  .autocomplete {
    position: relative;
    /* width: 300px; */
  }

  th,
  td {
    font-size: 14px;
  }
}

.cont {
  background: linear-gradient(45deg, #26c6da, #0288d1) !important;
}

.create p {
  color: #fff;
}

.card.card1 {
  background-color: #f8f9fa;
}

.search-box {
  border: 2px solid #ed5a9e;
  line-height: 2.2;
  padding: 0 0 3px 47px;
  font-size: 14px;
}

.py-5 {
  padding-bottom: 8rem !important;
}

.autocomplete.create-button {
  margin-top: 21px;
}

.custom-button {
  width: 100%;
  padding: 7px 0;
  text-align: center;
  color: white;
  text-decoration: none;
  background-image: linear-gradient(45deg,
      rgba(177, 31, 129, 1) 0%,
      rgba(202, 22, 131, 1) 27%,
      rgba(237, 90, 158, 1) 79%) !important;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* .........mobile-manu css........ */

.card-box .card {
  height: 100px;
  border: none;
  display: flex;
  width: 40%;
  justify-content: center;
  align-items: center;
  color: #068ed2;
  /* box-shadow: 0px 0px 5px -1px #33333315; */
}

.bottom-nav .nav ul li {
  list-style: none;
  font-size: 20px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  border: 1px solid #000;
  padding: 5px 15px;
  width: 25%;
}

.mobile-bottom-nav {
  /* position: absolute;
bottom: 0;
left: 0;
right: 0;
z-index: 1000; */
  will-change: transform;
  transform: translateZ(0);
  display: flex;
  height: 55px;
  /* box-shadow: 0 -2px 5px -2px #33333315; */
  background-color: #fff;
}

.mobile-bottom-nav__item {
  flex-grow: 1;
  text-align: center;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mobile-bottom-nav__item--active {
  color: #068ed2;
}

.mobile-bottom-nav__item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.navigation .select-box {
  padding: 10px 0px;
  width: 200px;
  position: relative;
  text-align: end;
}

/* .navigation .nav select
{
 outline: none;
 background: blue;
 padding: 0px 20px;
 border-radius: 10px;
 color: hsl(0, 0%, 100%);
 width: 100px;


} */

/* header
{
 background: linear-gradient(45deg, #26c6da, #0288d1 ) !important;
} */

.navigation select {
  outline: none;
  background: none;
  border-color: #fff;
  color: #000000;
  padding: 2px 5px;
}

.navigation .s-hidden {
  visibility: hidden;
  padding-right: 10px;
}

.navigation .select {
  cursor: pointer;
  display: inline-block;
  position: relative;
  font: normal 11px/22px Arial, Sans-Serif;
  color: black;
  border: 1px solid #ccc;
}

.navigation .styledSelect {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: white;
  padding: 0 10px;
  font-weight: bold;
}

.navigation .styledSelect:after {
  content: "";
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-color: black transparent transparent transparent;
  position: absolute;
  top: 9px;
  right: 6px;
}

.navigation .styledSelect:active,
.styledSelect.active {
  background-color: #eee;
}

.navigation .options {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 999;
  margin: 0 0;
  padding: 0 0;
  list-style: none;
  border: 1px solid #ccc;
  background-color: white;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.navigation .options li {
  padding: 0 6px;
  margin: 0 0;
  padding: 0 10px;
}

.navigation .options li:hover {
  background-color: #39f;
  color: white;
}

.search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.search-container .microphone i {
  color: #ff3b96;
}

/* ........train.html css........... */

.marquee-container {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  width: 100%;
  width: max-content;
  animation: marquee 10s linear infinite;
  /* slower & smooth */
}

.marquee-text {
  white-space: nowrap;
  margin-right: 80px;
  font-weight: 500;
  color: #fff;
  font-size: 21px;
}

/* 🔥 Smooth continuous scroll */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width:700px) {
  .marquee-track {
    animation: marquee 18s linear infinite;
  }
  @keyframes marquee {
  0% {
    transform: translateX(45%);
  }

  100% {
    transform: translateX(-100%);
  }
}
}
@media (max-width:1048px) and (min-width:701px) {
  .marquee-track {
    animation: marquee 12s linear infinite;
  }
  @keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}
}

.marquee-footer-container {
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.marquee-footer-track {
  display: flex;
  width: 100%;
  width: max-content;
  animation: footermarquee 18s linear infinite;
  /* slower & smooth */
}

.marquee-footer-text {
  white-space: nowrap;
  margin-right: 80px;
  color: #fff;
  font-weight: 500;
  font-size: 21px;
}

/* 🔥 Smooth continuous scroll */
@keyframes footermarquee {
  0% {
    transform: translateX(200%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@media (max-width:700px) {
  .marquee-footer-track {
    animation: footermarquee 12s linear infinite;
  }
  @keyframes footermarquee {
  0% {
    transform: translateX(60%);
  }

  100% {
    transform: translateX(-100%);
  }
}
}
@media (max-width:1048px) and (min-width:701px) {
  .marquee-footer-track {
    animation: footermarquee 12s linear infinite;
  }
  @keyframes footermarquee {
  0% {
    transform: translateX(110%);
  }

  100% {
    transform: translateX(-100%);
  }
}
}

.modal-backdrop.show {
  opacity: 0.7 !important;
}

.cont {
  background: linear-gradient(45deg, #26c6da, #0288d1) !important;
}

.tracking-list {
  height: 90vh;
}

.create p {
  color: #fff;
}

.tracking-item .tracking-content {
  width: 100%;
}

/* index1cs */

body {
  overflow: auto;
  overflow-y: auto;
}

.jump {
  padding: 20px 0px;
}

a {
  text-decoration: none;
}

.btn {
  background-color: gray;

  box-sizing: border-box;
}

/* .card {
  background-color: #fff;
  border-radius: 5px;
} */

.w3-button {
  background-color: #19b1d71c;
  color: #048cd2;
  border: none;
  padding: 3px 22px;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 2px;
}

.text {
  text-align: right;
  align-items: end;
  gap: 5px;
  margin-top: 4px;
}

.mt-4 {
  margin-top: 1.5rem !important;
  font-size: 14px;
}

header {
  /* background: rgb(177,31,129); */
  background-image: linear-gradient(45deg,
      rgba(177, 31, 129, 1) 0%,
      rgba(202, 22, 131, 1) 27%,
      rgba(237, 90, 158, 1) 79%) !important;
}

p {
  margin-bottom: 0;
}

.section-scroll {
  height: 90vh;
  padding-bottom: 20px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.trainrun {
  color: #19b1d7;
}

/* index1cs */

/* hameburger css */

.sub-menu {
  padding: 20px 26px;
  float: right;
  left: -210px;
  top: 0;
  transition: all 0.3s ease;
  height: 100%;
  width: 210px;
  position: fixed;
  margin: 0;
  background-color: #ffffff;
  border-radius: 0;
  z-index: 999;
  overflow: hidden;

  &.oppenned {
    left: 0;
  }

  ul {
    margin: 0;
  }

  li {
    display: block;
    list-style: none;
    height: auto;
    /* // text-align: center; */
    margin-left: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    &:first-child {
      margin-top: 100px;
    }

    a {
      color: #fff;
      font-size: 16px;
      width: 100%;
      display: block;
      float: left;
      text-transform: uppercase;
      line-height: 30px;

      &:hover {
        font-weight: bold;
        text-decontarion: none;
      }
    }
  }
}

/* // hamburguer menu • http://callmenick.com/_development/css-hamburger-menu-icons/ */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #f1f1f1;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 20px;
  color: #000;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.hameburger-icon {
  font-size: 30px;
  cursor: pointer;
  color: #fff;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }

  .sidenav a {
    font-size: 18px;
  }
}

/* hameburger css */

a {
  color: #ffffff;
}

.active {
  color: #ed5a9e;
}

/*Bhupendra CSS*/

.mobile-bottom-nav__item-content h5 {
  font-size: 14px;
  line-height: 15px;
}

.hameburger-icon i {
  font-size: 36px;
  transform: translateY(19%);
}

.table> :not(caption)>*>* {
  background-color: unset !important;
  color: unset !important;
}

.tablescroll .table .bg-color-tb {
  background-image: linear-gradient(45deg,
      rgb(177, 31, 129) 0%,
      rgba(202, 22, 131, 1) 27%,
      rgba(237, 90, 158, 1) 79%) !important;
  color: #fff !important;
}

.table>thead {
  vertical-align: middle !important;
}

td i.lightcolor {
  /* color: rgb(237 90 158 / 55%) ; */
  color: #c2c2c2;
}

td i.active-train {
  color: #37bb03 !important;
}

td .graycolor {
  color: #c2c2c2;
}

.active-train {
  border-radius: 50px;
  animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

.border {
  border: var(--bs-border-width) var(--bs-border-style) #f7f7f7 !important;
}

.book-tkt .border {
  border: var(--bs-border-width) var(--bs-border-style) #cdcdcd !important;

}

.to-station2 input {
  width: 100%;
  border: 2px solid #ed5a9e;
  line-height: 1.7;
  border-radius: 5px;
  padding: 5px 10px;
}

.backarrowi:hover {
  border-radius: 50px;
  animation: pulse-animation 1s infinite;
}

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
}

.backarrow {
  background-color: unset;
  border: unset;
}

th,
td {
  padding: 2px !important;
  text-align: center;
}

.up-in-toggle {

  /* padding: 5%; */
  input {
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;

    &:checked+label {
      background-image: linear-gradient(45deg,
          rgba(177, 31, 129, 1) 0%,
          rgba(202, 22, 131, 1) 27%,
          rgb(237, 90, 158) 79%) !important;
      color: white;
      font-weight: 500;
      box-shadow: 0 7px 20px rgba(0, 0, 0, 0.09), 0 6px 6px rgba(0, 0, 0, 0.13);
    }
  }

  label {
    display: inline-block;
    width: 80px;
    background-color: #f2f2f2;
    color: rgb(0, 0, 0);
    text-align: center;
    font-family: "Quicksand", sans-serif;
    font-size: 0.8rem;
    padding: 6px 6px;
    float: left;
    transition: all 0.1s ease-in-out;

    &:hover {
      cursor: pointer;
    }
  }
}

.up-in-toggle label:first-of-type {
  border-radius: 15.5px 0 0 15.5px;
}

.up-in-toggle label:last-of-type {
  border-radius: 0 15.5px 15.5px 0;
}

#live-table {
  display: none;
}


.swap-btn123 {
  transform: rotate(90deg);
  border: 1px solid;
  border-radius: 50%;
  background: #ed5a9e;
  color: white;
  padding: 8px;
  margin-top: -20px;
}

.to-station {
  position: relative;
}

.to-station .material-icons {
  background: #fff;
  border: 1px solid #ed5a9e;
  color: #ed5a9e !important;
}

.to-station button {

  z-index: 1;
  position: absolute;
  right: 0;
  top: -50%;
  transform: translateY(10%);
}

.footer {
  color: white;
  background: linear-gradient(45deg, rgba(177, 31, 129, 1) 0%, rgba(202, 22, 131, 1) 27%, rgba(237, 90, 158, 1) 79%) !important;
  bottom: 0;
}

.footer-marquee {
  font-size: 21px;
  font-weight: 600;

}