.gc-live-arrival-departure .main-form-container {
  display: flex;
  padding: 18px;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  border-radius: 13px;
  background: #C5C5C5;
}

.gc-live-arrival-departure .container-heading {
  color: var(--Brand-Primary-Off-Black, #272727);
  text-align: center;
  font-family: Raleway;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 0;
}

.gc-live-arrival-departure .arr-dep-container {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  flex-wrap: wrap;
}

.gc-live-arrival-departure .tab-container {
  display: flex;
  max-height: var(--height-h-12, 48px);
  padding: var(--py-1, 4px) var(--px-1, 4px);
  justify-content: center;
  align-items: center;
  gap: var(--gap-1, 4px);
  border-radius: 6px;
  background: var(--Main-goku, #F5F5F5);
  flex: 1;
}

.gc-live-arrival-departure .input-fields-container {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 64.2%;
}

.gc-live-arrival-departure .form-tab {
  display: flex;
  padding: var(--py-2, 8px) 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--gap-0, 0px);
  border-radius: 6px;
  border: none;
  color: var(--Main-bulma, #000);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Source Sans Pro";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  cursor: pointer;
  flex: 1;
}

.gc-live-arrival-departure .form-tab.active {
  background: var(--wcag-21-aa-orange, #F06F00);
}

.gc-live-arrival-departure .swap-btn {
  background: black;
  color: white;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  line-height: 0px;
}

.gc-live-arrival-departure .search-btn {
  display: flex;
  padding: 11px 17px;
  justify-content: center;
  align-items: center;
  gap: 3px;
  color: var(--Brand-Primary-Off-Black, #272727);
  font-family: "Source Sans Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  border-radius: 6px;
  background: var(--GC-Train, #FABA1A);
  white-space: nowrap;
  border: none;
  cursor: pointer;
  line-height: 26px;
  flex: 1;
}

.gc-live-arrival-departure .input-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.gc-live-arrival-departure input {
  padding: 14px 10px 14px 31px;
  border-radius: 6px;
  align-items: center;
  border-radius: 6px;
  background: var(--Main-gohan, #FFF);
  background-position: 10px 16px;
  background-repeat: no-repeat;
  background-image: url(../images/user-icon.svg);
  color: var(--Brand-Primary-Off-Black, #272727);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Source Sans Pro";
  font-size: 16px;
  font-style: italic;
  font-weight: 400;
  line-height: 20px;
  border: none;
  width: 100%;
}


.gc-live-arrival-departure .autocomplete-list {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  width: 100%;
  max-height: 160px;
  overflow-y: auto;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  display: none;
  z-index: 10;
  border-top: 2px solid #f08300;
  font-family: "Source Sans Pro";
}

.gc-live-arrival-departure .autocomplete-list div {
  padding: 8px;
  cursor: pointer;
}

.gc-live-arrival-departure .autocomplete-list div:hover {
  background: #f0f0f0;
}

.gc-live-arrival-departure .tabs {
  display: flex;
  max-height: var(--height-h-12, 48px);
  justify-content: center;
  align-items: center;
  border-radius: 6px;
  background: var(--Neutral-White, #FFF);
}

.gc-live-arrival-departure .tab {
  color: #000;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Source Sans Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  display: flex;
  width: 220px;
  padding: 14px 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--gap-0, 0px);
  cursor: pointer;
}

.gc-live-arrival-departure .tab[data-filter="all"].active {
  border-radius: 6px;
  background: #446DBB;
  color: #ffffff;
  font-weight: 700;
}

.gc-live-arrival-departure .tab[data-filter="Grand Central"].active {
  border-radius: 6px;
  background: #f08300;
  color: #000;
  font-weight: 700;
}

.gc-live-arrival-departure .main-table {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 6px;
  border: 1px solid #DDD;
  overflow: hidden;
  box-shadow: 0 0 10px 1px #aaa;
}

.gc-live-arrival-departure .timeline-table {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
}


.gc-live-arrival-departure thead {
  display: flex;
  padding: 16px 24px 16px 16px;
  align-items: center;
  gap: 16px;
  align-self: stretch;
  border-radius: 6px 6px 0px 0px;
  border-bottom: 1px solid var(--wcag-21-aa-orange, #F06F00);
  background: var(--Disruption-Blue, #D8E6FE);
  flex-direction: row;
}

.gc-live-arrival-departure tbody {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.gc-live-arrival-departure thead tr,
.gc-live-arrival-departure tbody tr {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1 0 0;
}

.gc-live-arrival-departure .timeline-table tbody {
  gap: 11px;
}

.gc-live-arrival-departure tbody tr {
  display: flex;
  padding: var(--gap-4, 16px) 24px var(--gap-4, 16px) var(--gap-4, 16px);
  justify-content: center;
  align-items: center;
  gap: var(--gap-4, 16px);
  align-self: stretch;
}

.gc-live-arrival-departure th {
  border-right: 1px solid var(--Input-Field-Grey, #595D62);
  font-weight: 600;
}

.gc-live-arrival-departure th,
.gc-live-arrival-departure td {
  color: var(--Main-bulma, #000);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Source Sans Pro";
  font-size: 14px;
  font-style: normal;
  line-height: 24px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  flex: 1 0 0;
}

.gc-live-arrival-departure td {
  font-weight: 500;
}

.gc-live-arrival-departure th:last-child {
  flex: 0;
  border: none;
}

.gc-live-arrival-departure .main-table tbody tr:nth-child(4n+1),
.gc-live-arrival-departure .main-table tbody tr:nth-child(4n+2) {
  background-color: white;
}

.gc-live-arrival-departure .main-table tbody tr:nth-child(4n+3),
.gc-live-arrival-departure .main-table tbody tr:nth-child(4n+4) {
  background-color: #F5F6F8;
}

.gc-live-arrival-departure .timeline-table tbody tr {
  background-color: transparent !important;
}

.gc-live-arrival-departure #train-data tr td:last-child {
  flex: 0;
  cursor: pointer;
}

.gc-live-arrival-departure .expandable {
  background: transparent;
  display: none;
}

.gc-live-arrival-departure .calling-points-heading {
  display: flex;
  gap: 24px;
  width: 62%;
}

.gc-live-arrival-departure .calling-points {
  width: 56.66%;
}

.gc-live-arrival-departure .calling-points h3 {
  color: var(--Text, #763B04);
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "Source Sans Pro";
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  flex:1 0 0;
  margin: 0;
}

.gc-live-arrival-departure .timeline .point {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.gc-live-arrival-departure .hidden {
  display: none;
}

.gc-live-arrival-departure .toggle-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex:1 0 0;
}

.gc-live-arrival-departure .toggle-btn p {
  color: var(--Text, #763B04);
  font-family: "Source Sans Pro";
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  margin: 0;
}

.gc-live-arrival-departure .toggle-btn.more svg {
  transform: rotate(180deg);
}

.gc-live-arrival-departure .main-container {
  display: none;
  padding: 20px 0px;
  flex-direction: column;
  align-items: center;
  gap: 31px;
  position: relative;
}

.gc-live-arrival-departure .points-container td {
  flex: 1 0 0 !important;
}

.gc-live-arrival-departure .timeline {
  position: relative;
}

.gc-live-arrival-departure .timeline-line {
  position: absolute;
  height: calc(100% - 36px);
  width: 1px;
  left: 57.5px;
  top: 18px;
  background-color: #BCBCBC;
  z-index: 1;
}

.gc-live-arrival-departure .points-container {
  padding: 0;
  position: relative;
}

.gc-live-arrival-departure .scheduled-time {
  min-width: 31.323px;
}

.gc-live-arrival-departure .timeline-table tbody tr:first-child .icon,
.gc-live-arrival-departure .timeline-table tbody tr:first-child .visited-icon {
  height: 12px;
  width: 12px;
  margin-left: 3px;
  background-color: #ff6e1d;
}

.gc-live-arrival-departure .timeline-table tbody tr:last-child .icon,
.gc-live-arrival-departure .timeline-table tbody tr:last-child .visited-icon {
  height: 12px;
  width: 12px;
  margin-left: 3px;
}


.gc-live-arrival-departure .timeline .icon,
.gc-live-arrival-departure .timeline .visited-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  z-index: 2;
  position: relative;
  background-color: #bcbcbc;
  margin-right: 1.5px;
}

.gc-live-arrival-departure .timeline .visited-icon {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  z-index: 2;
  background-color: #ff6e1d;
  margin-right: 1.5px;
}

.gc-live-arrival-departure .transition-icon,
.gc-live-arrival-departure .transition-icon-first,
.gc-live-arrival-departure .transition-icon-last {
  position: absolute;
  background-image: url(../images/train-visited.svg);
  left: 58px;
  z-index: 3;
  transform: translateX(-49%);
  background-size: contain;
  background-repeat: no-repeat;

}

.gc-live-arrival-departure .transition-icon-first,
.gc-live-arrival-departure .transition-icon-last {
  top: -17px;
  width: 24px;
  height: 26px;
}

.gc-live-arrival-departure .transition-icon {
  width: 24px;
  height: 26px;
  top: 1px;
}

.gc-live-arrival-departure .timeline-dots-container {
  display: flex;
  padding: 0px 4px;
  align-items: center;
  gap: 14px;
  flex: 1 0 0;
  position: relative;
  min-width: 68px;
  justify-content: space-between;
}

.gc-live-arrival-departure .no-results {
  display: flex;
  padding: 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 6px;
  background: #FFF;
  color: #000;
  font-family: "Source Sans Pro";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}

.gc-live-arrival-departure .mobile-cards-container {
  display: none;
}

.gc-live-arrival-departure #train-info-heading {
  color: var(--Brand-Primary-Off-Black, #272727);
  font-family: "Source Sans Pro";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 19.641px;
  margin-top: 60px;
  margin-bottom: 22px;
}

@media screen and (max-width:1219px) {
  .gc-live-arrival-departure input {
    width: 100%;
  }

  .gc-live-arrival-departure .search-btn {
    width: 100%;
  }

  .gc-live-arrival-departure .arr-dep-container {
    flex-direction: column;
  }

  .gc-live-arrival-departure .tab-container {
    width: 100%;
  }

  .gc-live-arrival-departure .form-tab {
    width: calc(50% - 2px);
  }

  .gc-live-arrival-departure .input-container {
    width: 100%;
  }

  .gc-live-arrival-departure .input-container input {
    width: calc(100% - 3px);
  }


  .gc-live-arrival-departure .swap-btn {
    position: absolute;
    right: 9px;
    z-index: 3;
    transform: translateY(50%);
  }

  .gc-live-arrival-departure .swap-btn svg {
    transform: rotate(90deg);
  }

  .gc-live-arrival-departure .input-fields-container {
    position: relative;
    flex-direction: column;
    width: 100%;
  }

  .gc-live-arrival-departure .main-container {
    width: 100%;
  }

  .gc-live-arrival-departure .tabs {
    width: 100%;
  }

  .gc-live-arrival-departure .tab {
    width: 50%;
  }

  .gc-live-arrival-departure .main-table {
    display: none;
  }

  .gc-live-arrival-departure .mobile-cards-container {
    display: block;
    width: 100%;
  }

  .gc-live-arrival-departure .train-card {
    display: flex;
    padding: 3px 10px;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
  }

  .gc-live-arrival-departure .train-card:nth-child(4n+1),
  .gc-live-arrival-departure .train-card:nth-child(4n+2) {
    background-color: #fff;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
  }

  .gc-live-arrival-departure .train-card:nth-child(4n+3),
  .gc-live-arrival-departure .train-card:nth-child(4n+4) {
    background-color: #F5F6F8;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
  }

  .gc-live-arrival-departure .train-card:first-child {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    border: 1px solid #DDD;
    overflow: hidden;
    border-bottom: 0px;
  }


  .gc-live-arrival-departure .mobile-train-info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;

  }

  .gc-live-arrival-departure .mobile-train-info-card h5 {
    color: var(--Main-bulma, #000);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Source Sans Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 0;
  }

  .gc-live-arrival-departure .mobile-train-info-card p {
    color: var(--Main-bulma, #000);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Source Sans Pro";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    margin: 0;
  }

  .gc-live-arrival-departure .calling-points {
    width: 100%;
  }

  .gc-live-arrival-departure .expandable {
    display: none;
    padding: 18px;
    border-left: 1px solid #DDD;
    border-right: 1px solid #DDD;
  }

  .gc-live-arrival-departure .expandable:nth-child(4n+1),
  .gc-live-arrival-departure .expandable:nth-child(4n+2) {
    background-color: #FFF;
    ;
  }

  .gc-live-arrival-departure .expandable:nth-child(4n+3),
  .gc-live-arrival-departure .expandable:nth-child(4n+4) {
    background-color: #F5F6F8;
  }

  .show-more-btn::after {
    content: url(../images/arrow-circle-down.svg);
    font-size: 20px;
  }

}