body {
  margin: 0px;
  font-size: medium;
}
.top-bar {
  /* Freezes the div at the top */
  position: fixed;
  top: 0;
  left: 0;
  
  /* Forces the bar to span the full width of the screen */
  width: 100%; 
  height: 32px; /* Adjust height as needed */
  
  /* Splits the items into left and right */
  display: flex;
  justify-content: space-between;
  align-items: center; /* Vertically centers the text/items */
  
  /* Styling (Optional) */
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  box-sizing: border-box; /* Ensures padding doesn't break full-width */
  z-index: 1000; /* Keeps the bar on top of other content */
}
.page-content {
  height: calc(100% - 32px); /* 100% minus top bar height */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* Ensures smooth inertia scrolling */
}
a, span {
	width: 100%;
	display: block;
	background: #333;
	margin: 0px;
	text-decoration: none;
	line-height: 2em;
	color: white;
	font-family: arial;
}
table, th, td {
   border: 0px;
   background: #333;
   color: white;
   text-align:center;
}
tr td a {
	background:none;
	text-align:center;
	font-weight:bold;
	margin-top:20px;
}
a.flowchartodd {
	color: #020201;
}
a.flowcharteven {
	color: #d92628;
}
tr:nth-child(even) td {
	background: white;
}
tr:nth-child(odd) td {
	background: white;
}
tr td:nth-child(2) {
	background:#6f7076;
	text-align:center;
	font-weight:bold;
	color:#FFF;
}
a.header {
	position: fixed;
	top: 0px;
	display:block;
	width:50%;
}
table tr td {
	min-width:90px;
}
a.drawrace {
	display:block;
	height:22px;
	line-height:22px;
	width:32px;
}
a.drawrace3 {
	height:63px;
	line-height:63px;
}
tr td.schedule1 {
	background-color: #112e3d;
	background-image: url(https://sdbahk.com/mobile/main/schedule1.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	color:ffffff;
}
tr td.schedule2 {
	background-color: #e6e7e8;
	background-image: url(https://sdbahk.com/mobile/main/schedule2.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	color:ffffff;
}