/* Body */

body {
	margin: 0;
	padding: 0;
	font-family: Arial;
	font-size: 8pt;
	font-weight: normal;
	color: #000;
	background: #FFF;
}

a	{
	color: #000;
	text-decoration:none;
}



#wrapper {
	display: inline-block;
}

.clear {
/*clear: both;*/
display:  none;
}
#wrapper .h, #wrapper .m {
	align-items: center;
display: inline-flex;
/*height: 12px;*/
margin: 0;
/*padding-top: 3px;*/
/*border-right: 1px dashed #333;*/
border-top: 1px dashed #aaa;

}
 #wrapper .m {
justify-content: left;
padding: .3rem .1rem .3rem .1rem;
width: 1.3rem;
	 
 }
#wrapper .h {
	justify-content: flex-end;
border-right: 1px dashed #333;
border-left: 2px solid #000;
padding: .3rem .4rem .3rem 0;
margin-right: .3rem;
font-weight: bold;	
width: 1rem;

}
/*
.mid .nad {
	background-image: linear-gradient(#fff,#fff,#fff,#fff,#fff,#fff, #ccc);
	border-radius: 5px 5px 0 0;
  padding: 3px 10px 3px 10px;
	margin-bottom: 0;
	display: inline-block;
}
.mid .pod {
	background-image: linear-gradient(#ccc, #fff, #fff, #fff, #fff,#fff,#fff);
	border-radius: 0 0 5px 5px;
  padding: 3px 10px 3px 10px;
	margin-top: 0;
	display: inline-block;
	
}
*/
.mid {
	border-left: 2px solid #777;
	padding-left: .2rem;
	color: #777;
}
/*
.h {
	float: left;
	width: 34px;
	height: 15px;
	padding: 1px;
	font-weight: bold;
	text-align: center;
  border-top: 1px solid #FFF;
	border-bottom: 1px dashed #333;
	clear: both;
}

.m {
	float: left;
	width: 34px;
	height: 15px;
	padding: 1px;
	text-align: center;
	border-top: 1px solid #FFF;
	border-bottom: 1px dashed #CCC;
}
*/
.lf {
  text-decoration: underline;
}

.bf {
  background: #ccc;
}

/*
#departures {
  overflow: auto;
}

#departures-header, #departures-footer {
  width: 500px;
  overflow: auto;
}

#departures-header .route-number {
  float: left;
  width: 100px;
  padding: 5px 0px 5px 0px;
  font-size: 18pt;
  font-weight: bold;
  text-align: center;
  letter-spacing: -1px;
  border: 1px dashed #333;
}

#departures-header .current-stop, .destination-stop {
  min-width: 355px;
  float: left;
  padding: 5px 0px 0px 10px;
}

#departures-header .field {
  float: left;
  width: 65px;
}

#departures-header .current-stop a {
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px dashed #333;
}
aaa
*/
.departures {
	margin-left: .5rem;
	border-top: 1px dashed #000;
	page-break-before: always;
}
@media print {
	.departures {
		page-break-before: always;
	}
}
.departures-header {
	display: grid;
	page-break-inside: avoid;
/*	grid-template-columns: 100px auto;
	*/
}

.route-number {
	grid-row-start: 1;
	grid-row-end: 1;
	grid-column-start: 1;
	grid-column-end: 1;
}
.current-stop {
	grid-row-start: 2;
	grid-row-end: 2;
	grid-column-start: 1;
	grid-column-end: 1;
}
.current-street {
	grid-row-start: 3;
	grid-row-end: 3;
	grid-column-start: 1;
	grid-column-end: 1;
}
.destination-stop {
	grid-row-start: 4;
	grid-row-end: 4;
	grid-column-start: 1;
	grid-column-end: 1;
}
.stop-map-link {
	display:none;
}
.field {
	display: inline-block;
}
.departures-sets {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
}
.departures-set {
  border-right: 1px dashed #333;
  padding: 2px 0 10px 10px;
  margin-top: 4px;
}

.day_type {
  padding: 2px 2px 2px 2px;
  font-weight: bold;
  text-align: left;
  clear: both;
  border-bottom: 1px dashed #333;
}
.descriptions p {
	margin: 0;
	padding 0;
	
}
.descriptions ul {
/*  width: 500px;*/
	display: inline-block;
	list-style-type: none;
  margin: 0 0 .5rem .5rem;
	padding: 0;
}
.codes {
	font-size: 7pt;
	color: #000;
	display: inline-block;
}
.komopprz p {
	margin: 0;
}


.departures-footer div.remarks, div.lowfloor {
  margin: 0;
  padding: 0px;
  padding-left: 0;
  padding-top: 0;
	page-break-inside: avoid;
}

.departures-footer div.carrier {
/*  float: left;*/
  margin: 0;
  padding: 0px;
  padding-left:0;
  padding-top:0;
}

.departures-footer div.validity {
/*  float: left;*/
  margin: 0;
  text-align: left;
}

#footer {
	margin-left: .5rem;
}

#footer p {
	margin: 0;
	padding: 0;
}

#confDec {
	display: none;
}

span.zone {
  background: url("../images/g.gif") no-repeat;
  background-position: -12px -146px;
  padding: 5px;
}

/* Sieciowy */

table.sieciowy {
  padding: 0px;
  border: none;
}

table.sieciowy td {
  padding: 1px;
  border: none;
}

table.sieciowy-outer td.outer {
  padding: 1px;
  border: 1px solid #CCC;
  border-collapse: collapse;
}

.bf{background: #ccc;}
.at{background: #790000; color: #fff;}
.at span {background: #790000; color: #fff;}