@charset "utf-8";
.timetables_header {
	display: flex;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: white;
	border-bottom: 1px solid;
	z-index: 9999;
	padding: 16px;
	align-items: center;
}
.Timetable__qr {
	font-size: 10px;
	display: grid;
	font-family: 'FS Millibank Negative';
	grid-template-columns: 45px auto;
	column-gap: 12px;
	line-height:1.4;
}
.Timetable__qr img {
	width: 100%;
}
.Timetable__headertitle {
	display: flex;
	align-items: center;
	padding: 0 var(--print-padding-y);
}

.Timetable__headertitle > div {
	margin-right:7.5mm;
}
.Timetable__header > div {
	
	display: grid;
	/* grid-template-columns: max-content auto max-content; */
	grid-template-columns: 240mm auto;
	align-items: center;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	height: 18.5mm;
}

.Timetables__loading {
	position: fixed;
	top: 0;
	height: 100%;
	left: 0;
	width: 100%;
	z-index: 10000;
	background: #ffffff73;
	text-align: center;
	display: flex;
	align-items: center;
}

.Timetables__loading > span {
	display: block;
	text-align: center;
	width: 100%;
	font-size: 24px;
}

.timetables_header button {
	color: white;
	padding: 8px 16px;
	margin-left: 16px;
	border-radius: 99px;
	font-weight: 600;
	background-color: black;
	margin-top: 22px;
}

.timetables_header button:disabled {
	background: white;
	pointer-events: none;
	color: black;
}
.timetables_header_option {
	margin-right: 20px;
	min-width: 200px;
}
.timetables_header_option label {
	display: block;
}
.timetables_header_option select {
	border: 1px solid gray;
	height: 40px;
	width: 200px;
}
.Timetables {
	--color-gray: #eeeef0;
	--color-border: #a5a4ad;
	--print-padding-y: 15.5mm;
	padding: 0;
	margin: 0;
	width: 100vw;
	min-height: 100vh;
	background: var(--color-gray); /* Hack to cover footer */
}

.Timetables__preview {
	background: white;
	padding: 32px;
	padding-top: 140px;
}
.Timetables__preview > div {
	margin: 0 auto;
}

.Timetables__preview .Timetable__container {
	box-shadow: 0px 5px 18px rgb(0 0 0 / 8%);
	margin-bottom: 32px;
}
.Timetable__container {
	width: 320mm;
	height: 225mm;
	position: relative;
	overflow: hidden;
	page-break-inside: avoid;
	/* page-break-after: always; */
}
.Timetable {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: white;
	margin: 0 auto;
	display: grid;
	grid-template-rows: 39.5mm auto 30mm;
	overflow: hidden;
}
.Timetable__bleedmarks {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	pointer-events: none;
	z-index: 9999;
}

.Timetable__bleedmarks > span {
	display: block;
	position: absolute;
	background: black;
	box-shadow: 0px 0px 0px 1px white;
}
.Timetable__bleedmarks > span:nth-child(1) {
	width: 1.5mm;
	top: 2.5mm;
	height: 1px;
}

.Timetable__bleedmarks > span:nth-child(2) {
	height: 1.5mm;
	width: 1px;
	left: 2.5mm;
	top: 0;
}
.Timetable__bleedmarks > span:nth-child(3) {
	width: 1.5mm;
	top: 2.5mm;
	height: 1px;
	right: 0;
}

.Timetable__bleedmarks > span:nth-child(4) {
	height: 1.5mm;
	width: 1px;
	right: 2.5mm;
	top: 0;
}
.Timetable__bleedmarks > span:nth-child(5) {
	width: 1.5mm;
	bottom: 2.5mm;
	height: 1px;
	right: 0;
}

.Timetable__bleedmarks > span:nth-child(6) {
	height: 1.5mm;
	width: 1px;
	right: 2.5mm;
	bottom: 0;
}
.Timetable__bleedmarks > span:nth-child(7) {
	width: 1.5mm;
	bottom: 2.5mm;
	height: 1px;
	left: 0;
}

.Timetable__bleedmarks > span:nth-child(8) {
	height: 1.5mm;
	width: 1px;
	left: 2.5mm;
	bottom: 0;
}

.Timetable__header {
	background: #0d2144;
	color: white;
	/* height: 150px; */
	/* font-family: 'FS Millibank Negative'; */
	position: relative;
}



.Timetable__header .BusNumber__largeNum {
	width: 22.5mm;
	height: 11.25mm;
	font-size: 24pt;
	line-height: 11.95mm;
}

.Timetable__header h1 {
	font-size: 30pt;
	font-weight: 400;
}

.Timetable__logo {
	width: 11.1mm;
}

.Timetable footer {
	background: var(--color-gray);
	display: grid;
	/* grid-template-columns: 45mm 84mm 105mm auto; */
	grid-template-columns: 240mm auto;
	font-size: 7.5pt;
	line-height: 10pt;
	font-weight: 100;
}
.Timetable footer > div:first-child {
	padding: 4.5mm 5mm 4.5mm var(--print-padding-y);
	display: grid;
	grid-template-columns: 13mm 50mm 50mm auto;
	column-gap: 15mm;
}

.Timetable footer > div:last-child {
	padding-top: 4.5mm;
	display: flex;
}
.Timetable footer > div:last-child > p {
	margin-right: 2mm;
}

.Timetable__footer_app {
	display: grid;
	grid-template-columns: 11mm auto;
}

.Timetable__footer_app > p {
	margin-right: 6mm;
}
.Timetable__footer_logo > svg {
	transform: translateY(-4px);
}
.Timetable__footer_app > svg {
	width: 30px;
	height: 40px;
}

.Timetable__footer_legend {
	display: flex;
}
.Timetable__footer_legend > div {
	margin-right: 4mm;
	display: grid;
	grid-template-columns: 3.75mm 16mm 4mm auto;
	column-gap: 1.6mm;
}
.Timetable__footer_legend_location {
	width: 3.75mm;
	height: 3.75mm;
	transform: translateY(-1.5px);
}

.Timetable main {
	display: grid;
	grid-template-columns: 240mm auto;
	grid-template-rows: max-content;
	background: white;
	grid-template-rows: auto;
}

.Timetable__tables {
	display: flex;
	column-gap: 7.5mm;
	padding: 0 var(--print-padding-y);
	font-size: 11pt;
}

.Timetable__noTripText {
	font-weight: 100;
	width: 205px !important;
	height: auto !important;
	background: white !important;
	padding-left: 10px;
	margin-top: 8px;
	background: white !important;

	display: block;
}

.Timetable__tables > section {
	min-width: 50mm;
	display: grid;
	grid-template-rows: 17mm auto;
}

.Timetable__tables > section > header {
	align-self: flex-end;
	padding-bottom: 2mm;
	font-size: 11pt;
}

.Timetable__tables table tr:nth-child(odd) td {
	background: var(--color-gray);
}

.Timetable__tables table tr td:first-child {
	border-left: 2px solid var(--color-border);
}

.Timetable__tables table tr td {
	height: 7.1mm;
	padding: 0 1.5mm;
	font-weight: 300;
}
.Timetable__tables table tr td b {
	font-weight: 600;
}

.Timetable__tables table td {
	width: 16mm;
}

.Timetable__tables table td > div {
	display: grid;
	grid-template-columns: 7mm auto;
	align-items: center;
}
.Timetable__tables_footnote {
	width: 13px;
	transform: translateY(-1px);
}

.Timetable__comments {
	font-size: 7.5pt;
	font-weight: 100;
	line-height: 1.6;
	margin-top: 10px;
	padding-right: var(--print-padding-y);
}

.Timetable__comments > div {
	display: grid;
	grid-template-columns: 13px auto;
	column-gap: 8px;
	margin-bottom: 8px;
}

.Timetable__route {
	display: grid;
	grid-template-rows: max-content auto max-content;
}

.Timetable__route23Img {
	width: 456px;
	height: 333px;
	margin-left: -211px;
	margin-top: -11px;
}

.Timetable__route23Comment {
	color: #2a245c;
	font-size: 7.5pt;
	line-height: 1.6;
	font-weight: 100;
	width: 370px;
	margin-left: -146px;
	padding-left: 39px;
	margin-top: 15px;
	position: relative;
}

.Timetable__route23Comment > span {
	width: 14px;
	display: block;
	position: absolute;
	top: -2px;
	left: 17px;
}

.Timetable__info {
	display: grid;
	grid-template-columns: 87px 200px;
	font-size: 7.5pt;
	color: var(--color-border);
	padding-bottom: 10px;
	padding-left: 21px;
}

.BusLaneMini {
	display: grid;
	grid-template-rows: 16mm auto;
	font-size: 11pt;
}

.BusLaneMini ul > li {
	display: grid;
	grid-template-columns: 7.5mm auto;
	column-gap: 4mm;
	align-items: center;
	height: 7.5mm;
}

.BusLaneMini ul > li > div:first-child {
	position: relative;
}

/* .BusLaneMini ul > li > div:not(.type-last):first-child:before {
	background: currentColor;
	content: '';
	position: absolute;
	height: 50%;
	bottom: 0;
	z-index: 1;
	width: 3.75mm;
	left: calc(50% - 1.875mm);
}

.BusLaneMini ul > li.passed > div:first-child:before {
	left: calc(50% - 0.9375mm);
	width: 1.875mm;
} */

.BusLaneMini ul li svg {
	position: relative;
	z-index: 10;
}

.BusLaneMini header {
	display: grid;
	grid-template-columns: 9mm 7mm auto;
	align-items: center;
}

.BusLaneMini header > span > div {
	width: 9mm;
	height: 4.5mm;
	line-height: 4.5mm;
}
.BusLaneMini header > span:nth-child(2) {
	text-align: center;
}
.BusLaneMini header > p {
	transform: translateY(1px);
}

.BusLaneMini .lane > svg {
	width: 7.5mm !important;
	height: auto !important;
	position: absolute;
	top: -78px;
	left: 0;
}
.BusLaneMini .lane > svg {
	width: 7.5mm !important;
	height: auto !important;
	position: absolute;
	top: -78px;
	left: 0;
}

.BusLaneMini .lane {
	text-align: center;
	height: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.BusLaneMini .Lane__start_svg {
	width: 4.688mm;
	height: 5.249mm;
	margin: 0 auto;
}
.BusLaneMini .Lane__terminal_svg {
	width: 7.5mm;
	height: 7.547mm;
	margin: 0 auto;
}
.BusLaneMini .Lane__textCurrent {
	font-weight: 600;
	font-size: 13pt;
}
.BusLaneMini .Lane__textFirst {
	font-weight: 600;
}

.BusLaneMini .Lane__stopTime {
	font-weight: 600;
	color: var(--color-border);
	display: inline-block;
	margin-left: 1mm;
}
.BusLaneMini .Lane__textCombined {
	color: var(--color-border);
	font-weight: 100;
}
.BusLaneMini .Lane__textPassed {
	color: var(--color-border);
}
