﻿@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
 
  background-color: #fff;
  color: #000;

}
.timetable-container table {
  width: 100%;
  border-collapse: collapse
}
table, th, td {
  border: 0;
  padding: 0
}
thead {
  background-color: var(--fg-header-1);
  color: var(--bg-header)
}
.timetable-container p {
  padding: 0;
  margin-top: 2px;
  margin-bottom: 2px
}
.timetable-container h1 {
  font-size: var(--font-size-h1);
  text-align: center;
  text-transform: uppercase;
  font-weight: bold;
  padding: 0;
  margin: 2px
}
.timetable-container h2 {
  background-color: var(--fg-header-1);
  color: var(--fg-header-table);
  text-align: center;
  font-size: var(--font-size-h2);
  font-weight: bold;
  padding: 2px;
  margin: 2px
}
.timetable-container hr {
  margin-bottom: 5px
}
html {
--font-size-legend: 12px; 
--font-size-departure: 13px; 
--font-size-note: 11px; 
--font-size-day: 13px; 
--font-size-route: 38px; 
--font-size-direction: 15px; 
--font-size-via: 11px; 
--departure-min-width: 25px;
}
td {vertical-align: middle;}
.direction-title, .via-title, .st-title, .departures-title, .direction-value {background: #f3f3f3;}

.table-title {width: 100%; padding: 10px; background: #ccc; margin: 0; text-align: center; font-weight: 600;}

.timetable-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden
}

 @media (max-width:540px){
        
     .timetable-container {overflow-x: scroll; width:100%;}
     .city-timetable {width:100%}
    }


.timetable-container td {border: 0; padding: 5px;}

tr:nth-child(even) {
    background-color: #f6faff;
}

.no-data {
  background-color: #8b0000;
  padding: 10px !important;
  text-align: center;
  font-size: var(--font-size-h2);
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%
}
.stop-name {
  font-size: var(--font-size-h2);
  font-weight: bold;
  line-height: 2;
    color: #03a5d4;
}
.city-name {
  background-color: var(--fg-header-1);
  color: var(--bg-header);
  font-weight: bold;
  font-size: var(--font-size-h1);
  text-align: center;
  line-height: 1.5;
    color: #03a5d4;
}
.current-time {
  text-align: right;
  background-color: var(--fg-header-1);
  color: var(--bg-header);
  font-weight: bold;
  font-size: var(--font-size-h1);
  display: inline-block;
  float: right;
  padding: 0 5px
}
.notes-legend {
  padding: 0 10px
}
.notes-legend td {
  vertical-align: top;
  text-align: left;
  padding: 0 5px;
  line-height: 1.1
}
.notes-legend .note-symbol, .notes-legend .note-separator, .notes-legend .note-description {
  font-size: var(--font-size-legend)
}
.notes-legend .note-symbol {
  font-weight: bold
}
.city-timetable {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center
}
.city-timetable .direction-container {
  background-color: var(--bg-table-row-1);
  border-bottom: 1px solid var(--fg-header-2);
  border-left: 1px solid var(--fg-header-2);
  padding: 0
}
.city-timetable .route-cell {
  width: 160px;
  padding: 0 10px;
  font-weight: bold;
  font-size: var(--font-size-route);
  text-align: center;
  background-color: var(--fg-header-1);
  color: var(--bg-header);
background:#f3f3f3;
}
.city-timetable .direction-title, .city-timetable .direction-value {
  font-size: var(--font-size-direction)
}
.city-timetable .direction-track-title, .city-timetable .direction-track-value {
  font-size: var(--font-size-via)
}
.city-timetable .direction-title, .city-timetable .direction-track-title {
  text-align: right;
  vertical-align: top;
  padding: 5px 0 5px 10px;
  width: 100px
}
.city-timetable .direction-value, .city-timetable .direction-track-value {
  font-weight: bold;
  vertical-align: middle;
  padding: 5px 0 5px 10px
}
.city-timetable .track-separator {
  display: inline-block;
  margin: 0 10px
}
.city-timetable .day-row {
  border-bottom: 1px solid var(--fg-header-2);
  font-size: var(--font-size-day);
  font-weight: bold
}
.city-timetable .day-cell {
  text-align: center;
  text-transform: uppercase;
  padding: 0;
  border: 1px solid var(--fg-header-2);
  border-right: 2px solid var(--fg-header-2)
}
.city-timetable .day-cell-main {
  width: 41%
}
.city-timetable .day-cell-last {

}
.city-timetable .departures-cell {
  padding: 2px 10px;
  border-left: 1px solid var(--fg-header-2);
  border-right: 1px solid var(--fg-header-2);
  background-color: var(--bg-table-row-2);
  vertical-align: top;
  font-size: var(--font-size-departure);
  color: var(--bg-header)
}
.city-timetable .departure {
  display: inline-block;
  margin: 2px 5px 2px 0;
  min-width: var(--departure-min-width)
}
.city-timetable .departure .note-symbols {
  font-size: var(--font-size-note)
}
.city-timetable .dummy-row {
  height: 10px
}
.suburban-timetable {
  min-height: 300px;
  d
  justify-content: center;
  align-items: center
}
.suburban-timetable thead {
  background-color: var(--fg-header-1);
  font-weight: bold;
  font-size: var(--font-size-h2)
}
.suburban-timetable th {
  padding: 2px 2px 2px 10px;
  border-bottom: 4px solid var(--bg-table-row-1)
}
.suburban-timetable td {
  padding: 5px 10px
}
.suburban-timetable .direction-title {
  min-width: 180px
}
.suburban-timetable .via-title {
  min-width: 150px
}
.suburban-timetable .st-title {
  min-width: 50px;
  text-align: center
}
.suburban-timetable .departures-title {
  text-align: center;
  min-width: 500px
}
.suburban-timetable .direction-value {
  background-color: var(--bg-table-row-1);
  font-weight: bold;
  font-size: var(--font-size-direction);
  border-bottom: 1px solid var(--bg-table-row-2)
}
.suburban-timetable .via-value {
  background-color: var(--bg-table-row-1);
  font-size: var(--font-size-via);
  border-bottom: 1px solid var(--bg-table-row-2)
}
.suburban-timetable .st-value {
  background-color: var(--bg-table-row-1);
  font-weight: bold;
  font-size: var(--font-size-direction);
  border-bottom: 1px solid var(--bg-table-row-2);
  text-align: center
}
.suburban-timetable .departures-value {
  font-size: var(--font-size-departure);
  background-color: var(--bg-table-row-2);
  color: var(--fg-header-table);
  border-bottom: 1px solid var(--fg-header-table)
}
.suburban-timetable .departures-value .departure {
  display: inline-block;
  margin: 1px 2px 1px 0;
  min-width: var(--departure-min-width)
}
.suburban-timetable .departures-value .time {
  font-weight: bold
}
.suburban-timetable .departures-value .note-symbols {
  font-size: var(--font-size-note)
}