html {
  font-family:"arial";
  font-size:18;
  overflow-x: auto;
  -webkit-font-smoothing: never;
  background-color:#000000;
  color:#E3E3E3;
}

div.leaflet-popup-content-wrapper {
  background:black;
  color:#BBBBBB;
  border-color:#BBBBBB;
  border-style:solid;
}

div.leaflet-popup-tip {
  background:#BBBBBB;
}

body {
  font-family:"arial";
  font-size:18;
  background-color:#000000;
}

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

.tooltip:hover .tooltiptext2 {
  visibility: visible;
}

.tooltiptext {
  visibility: hidden;
  width: auto;
  background-color: black;
  color: #fff;
  text-align: center;
  font-size:12;
  padding: 3px 0;
  border-radius: 3px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.tooltiptext2 {
  visibility: hidden;
  width: 100px;
  background-color: black;
  color: #fff;
  text-align: center;
  font-size:12;
  padding: 3px 0;
  border-radius: 3px;
 
  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

.tooltip .tooltiptext {
  top: -5px;
  left: 133%;
  padding-left: 35%;
  padding-right: 35%;
}

.tooltip .tooltiptext2 {
  top: -5px;
  left: 133%;
  padding-left: 35%;
  padding-right: 35%;
}

div#navBar {
  left: 4px;
  position:sticky;
  color:#FFFFFF;
  background-color:#0011BB;
  padding-top:12px;
  padding-bottom:12px;
  outline:2px solid #BBBBBB;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  z-index:1000;
}

/* Dropdown Button */
.dropbtn {
  color: white;
  padding: 7px;
  border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top:8px;
}

/* Links inside the dropdown */
.dropdown-content a {
  font-size:14px;
  color: black;
  padding: 8px 12px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #0077DD;}

.leaflet-control-attribution
{
  display:none;
}

button {
  background-color:#777777;
  outline-style: solid;
  outline-color: #999999;
  outline-width: 1px;
  border-radius: 25px;
}

button:hover {
  background-color:#A0A0A0;
}

div#rtName {
  position:absolute;
  z-index:1001;
  width:98vw;
  font-size:13px;
  color:white;
  //background-color:black;
  //outline: 2px solid white;
  text-align:center;
}

#borderBox {
  border: 1px solid white;
  background-color:#343A40;
}

#borderBoxRush {
  border: 1px solid white;
  background-color:lime;
  color:000000;
}

td#PO {
  font-weight:bold;
  text-align:center;
}

td#PI {
  font-weight:bold;
  text-align:center;
}

table.Route {
  float:left;
  outline: 2px solid white;
  background-color: #000000;
}

div#tripList {
  overflow-x: auto;
}

div#tripTables {
  display:block;
  overflow-x: auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  max-width:100%;
  overflow-y:auto;
  background-color:#000000;
  text-align: left;
  /* white-space: nowrap; */
}

#tripView {
  outline: solid 3px #FFFFFF;
}

#tripInfo {
  position:sticky;
  top:0px;
  background:#000000;
  z-index:1000;
  padding-left:4px;

  border-bottom: solid 3px #FFFFFF;
}

table.RunTrips {
  -webkit-overflow-scrolling: touch;
  text-align: left;
}

table.Route2 {
  float:left;
  margin-left:10px;
  position: relative;
  outline: 2px solid white;
  background-color: #000000;
}

RunInst {
  display:block;
  font-weight:bold;
  font-size:14px;
}

trpNotes {
  display:block;
  font-size: 14px;
}

div #mapctrl {
  display: none;
}

table#times {
  display:block;
  width:max-content;
  overflow-x:auto;
  white-space: nowrap;
  /* outline-style: solid; */
  outline-color: #000000;
  outline-width: 3px;
  font-size:16px;
}

td#StopTime {
  text-align: center;
}

a {
  /*color: #2060FF;*/
  /* color: #0077FF;*/
  color: #00AAFF;
  /*background-color: FFFFFF;*/
  text-decoration: none;
  text-transform: none;
}

a#rushLink {
  /*color: #2060FF;*/
  /* color: #0077FF;*/
  color: #003FFF;
  /*background-color: FFFFFF;*/
  text-decoration: none;
  text-transform: none;
}

a#darkLink {
  /*color: #0000DD;*/
  color: #FFAA00;
}

a:hover {
  /*background-color: #E2E2E2;*/
  color:#FFAA00;
  background-color: #4F4F4F;
}

a#darkLink:hover {
  background-color: #444444;
  color:#FFAA00;
}

a#rushLink:hover {
  background-color: #444444;
  color:#FFAA00;
}

#PageTitle {
  max-width:40%;
}

#fakeLink {
  color: #00AAFF;
  /*background-color: FFFFFF;*/
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

#fakeLink:hover {
  color:#FFAA00;
  background-color: #5F5F5F;
}

#fakeLinkDark {
  color: #FFAA00;
  /*background-color: FFFFFF;*/
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
}

#fakeLinkDark:hover {
  color:#FFAA00;
  background-color: #444444;
}

td#spacer {
  height:18px;
}

x1#noLink {
  color: #CCCCCC;
  /*background-color: FFFFFF;*/
  text-decoration: none;
  text-transform: none;
  cursor: not-allowed;
}

#route {
  padding-left: 6px;
  padding-right: 6px;
  margin-right: 2px;
  outline-style: solid;
  outline-color: #5F5F5F;
  outline-width: 2px;
  text-decoration: none;
  font-weight: bold;
}

.routeBadge {
  padding-left:6px;
  padding-right:6px;
  padding-top:2px;
  padding-bottom:2px;
  border-style: solid;
  border-width: 2px;
  text-decoration: none;
  font-weight: bold;
}

div#runtbl {
  z-index:-1;
  top: 90;
  font-family:"arial";
  font-size:18;
  margin:5px;
  width:100%;
  background-color:#000000;
}

div#dest {
  width: 100%;
  background-color:#000000;
}

div#routeDet {
  position:absolute;
  display:none;
  background-color:#000000;
  top:0px;
  left:0px;
  padding:0.4%;
}

table {
  font-size:18px;
}

tbody {
  font-family:"arial";
  margin:5px;
}

input#txtRtFilter {
  max-width: 50px;
}

a:target {
  color: white;
  background: #FF0000;
  padding-left:3px;
  padding-right:3px;
}

nextDeparts {
  position: inline-block;
  float: right;
  right: 1%;
  top: 1%;
}

mapcontainer {
  position: fixed;
  width:100%;
  height:100%;
  left: 0px;
  top: 0px;
  margin-right:0px;
  margin-left:0px;
  outline-style: solid;
  outline-color: #000000;
  outline-width: 2px;
}

mapcontainer2 {
  display:inline-block;
  position: relative;
  height:90%;
  margin-right:0px;
  margin-left:0px;
}

div#mapid {
  position: relative;
  width:100%;
  height:100%;
  font-family:"arial";
  font-size:13;
}

th#Sep {
  outline-style: solid;
  outline-color: #ffffff;
  outline-width: 2px;
  background-color: #ffffff;
  max-width:2px;
  margin:0px;
  padding:0px;
}

td#Sep {
  outline-style: solid;
  outline-color: #000000;
  outline-width: 2px;
  background-color: 000000;
  max-width:2px;
}

tr#departuresTitle {
  background-color:#C0C0C0;
  color:#000000;
}

tr#departureLine {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #5D5D5D;
}

tr#departureLineA {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #343A40;
}

tr#departureLineB {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #111111;
}

tr#departureLineMWFA {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #FF0000;
}

tr#departureLineTTA {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #0033FF;
}

tr#departureLineMWFB {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #BB0000;
}

tr#departureLineTTB {
  /* white-space: nowrap; */
  outline-style: solid;
  outline-color: #000000;
  outline-width: 0px;
  background-color: #0022BB;
}

td#TimingPoint {
  color:white;
  background-color:red;
}

th#RunID {
  padding-left:5px;
  padding-right:5px;
}

td#RunID {
  padding-left:5px;
  padding-right:5px;
  min-width:58px;
}

th#ExtraID {
  padding-left:6px;
  padding-right:5px;
  min-width:58px;
}

td#ExtraID {
  padding-left:6px;
  padding-right:5px;
}

td#RtIDP2 {
  min-width:max-content;
  text-align:right;
  white-space: nowrap;
}

td#RtIDOld {
  text-align:right;
}

th#RtDest {
  padding-left:4px;
  padding-right:4px;
}

td#RtDest {
  display: inline-block;
  white-space: nowrap;
  padding-left:4px;
  padding-right:4px;
}

td#RtDestMWF {
  display: inline-block;
  white-space: nowrap;
  padding-left:4px;
  padding-right:4px;
  background-color: #FF0000;
}

td#RtDestTT {
  display: inline-block;
  white-space: nowrap;
  padding-left:4px;
  padding-right:4px;
  background-color: #0033FF;
}

td#RtRoute {
  text-align:right;
}

th#RtTime {
  text-align:center;
  padding-right:3px;
}

td#RtTime {
  text-align:center;
  padding-right:3px;
}

table#departures {
  padding:0px;
  margin:0px;
}

#departuresD1 {
  padding:0px;
  margin:0px;
  position:absolute;
  /* top:320px; */
  display:none;
}

#departuresD2 {
  padding:0px;
  margin:0px;
  position:absolute;
  /* top:320px; */
  display:none;
}

#departuresD3 {
  padding:0px;
  margin:0px;
  position:absolute;
  /* top:320px; */
  display:none;
}

#departuresD4 {
  padding:0px;
  margin:0px;
  position:absolute;
  /* top:320px; */
  display:none;
}