@import url('https://fonts.googleapis.com/css?family=Alegreya+Sans:400,700|Fira+Sans&display=swap&subset=latin-ext');
@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Stencil+Text:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900&display=swap');

body {
background-color: #645445;
font-family: 'Noto Sans', sans-serif;
font-size: 10pt;
color: #000;
margin: 0;
padding: 0;
}
a {
color: #7d0d0d;
font-weight: bold;
text-decoration: none;
}
a:hover {
  color: #d24f00;
}
@media (hover: none) {
  article a {background-color: #e7e8e380; border-radius: 5px;/*! background-color: red; */border: 1px solid #55555530;}
/*  abbr:after {content: " ["attr(title)"]"; }*/
}
b {
color: #7d0d0d;
}
img {
border: 0;
margin: 0;
padding: 0;
}
h1,h2,h3,h4,h5,h6 {
font-family: 'Alegreya Sans', sans-serif;
font-weight: bold;
}
h1 {
text-align: center;
font-size: 16pt;
padding: 0;
margin: 0.5em 0;
}
h2 {
font-size: 14px;
}
h3 {
font-size: 15pt;
color: #7d0d0d;
margin: 0 0 0.2em;
}
.dummy-heading { display: none; }
ul {
margin: 0;
padding: 0;
}
li {
margin-left: 1.5em;
padding: 0;
}
hr {
border: none;
border-bottom: 1px dashed #666;
width: 40%;
}
code, .code {
font-family: Lucida Console, Courier New, monospace;
text-align: left !important;
}
#main {
margin: 0 auto 0 auto;
}
#head {
padding: 0 0.5em;
height: 2em;
background: repeating-linear-gradient( -45deg, #3e352d, #3e352d 3px, #645445 5px, #645445 5px );
z-index: 5;
position: relative;
}

#head h1 {
visibility: hidden;
}
#banner h1 .first-word {
	color: #000 !important;
}
#banner {
display: inline-block;
background: rgba(255,255,255,0.65);
padding: 1em;
rotate: -4deg;
left: 50px;
position: relative;
top: 50px;
background: linear-gradient(to left bottom, transparent 50%, rgba(0,0,0,.4) 0) no-repeat 100% 0 / 2em 2em, linear-gradient(-135deg, transparent 1.41em, rgba(255,255,255,0.85) 0);
}

#banner h1 {
font-family: 'Big Shoulders Stencil Text';
font-size: 36pt;
text-align: left;
margin: 0.25em;
display: inline;
}

#banner img {
	height: 36pt;
}

#swipe-up-banner {
	display: none;	
}

#main-pic {
	min-height: calc(100vh - 3em - 112px);
	background: url('images/main_colour.jpg') 40% 75% fixed;
	background-size: cover;
	border-top: 1px solid #999;
	border-bottom: 1px solid #9b7f70;
}
#main-pic.non-main {
	background: url('images/main_sepia.jpg') 40% 75% fixed;
	background-size: cover;
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	z-index: 0;
}

@media (max-width: 1000px) {
  #banner {
    left: 15px;
    top: 15px;
  }
   #banner h1 {
     font-size: 20pt;
  }
  #banner img {
	height: 22pt;
}

  #main-pic {
    background-attachment: fixed;
    background-position: 37.5% 90%;
	min-height: calc(100vh - 2em);
	background: url('images/background_aux_colour.jpg') 40% 90% fixed;
	background-size: cover; }
  #main-pic.non-main {
  background: url('images/background_aux_sepia.jpg') 40% 90% fixed;
    background-size: cover;
  }
  
  #main-content {
	background-image: url('images/background_aux_sepia.jpg') !important;
	background-position:  40% 90% !important;
	background-attachment: fixed;
	background-size: cover;
	}
  #swipe-up-banner {
	width: 100%;
	display: block;
	position: absolute;
	bottom: 15px;
	text-align: center;
	font-size: 46pt;
    animation: MoveUpDown 3s linear infinite;
  }
  #swipe-up-banner img {
    height: 1em;
    filter: drop-shadow(0 10px 10px #000);
  }
  #swipe-up-banner.non-main { display: none;}
}

#inside {
width: 900px;
margin: 0 auto 0 auto;
min-height: 310px;
}
#menu {
float: left;
background: url('images/menubck.jpg') no-repeat top center;
min-height: 306px;
width: 145px;
padding: 60px 75px 45px 45px;
}
#menu ul.menulinki {
list-style-type: none;
}
#menu ul.menulinki li {
font-family: 'Alegreya Sans', sans-serif;
font-variant: small-caps;
font-size: 12pt;
text-align: right;
}
#menu ul.menulinki li a {
 display: inline-block;
  width: 100%;
padding: 0.2em 0.2em 0.2em 0;
  border-radius: 2.5px;
}
#menu ul.menulinki li a:hover {
  background-color: rgba(205,190,190,0.35);
}

#menu ul.menuloga {
list-style-type: none;
text-align: center;
}
#menu ul.menuloga li {
margin: 0.5em 0 0 0;
}

#language {
z-index: 10;
position: relative;
top: 0px;
margin: 0 35px 0 0;
text-align: right;
padding-top: 3px;
}
#language a {
	margin-right: 0.5em;
	color: #D7BFAA;
}
#language a:hover {
  background-color: #C77966;
}
#language a img {
	height: 1.5em;
	vertical-align: middle;
	border-radius: 5px;
}
/*.jasne {
color: #D7BFAA;
}*/
.wstep {
font-size: 16px;
font-weight: bold;
text-align: center;
margin: 1em 0.1em 0.1em 0.1em;
}
table.trasa {
font-family: 'Alegreya Sans';
font-size: 14pt;
font-weight: bold;
text-align: justify;
margin-top: 1em;
background-color: rgba(255,255,255,0.6);
rotate: -2deg;
margin: 0.75em auto 1.5em auto;
padding: 0.25em;
max-width: 900px;
}
.trasa td.numer {
width: 10%;
text-align: center;
font-family: 'Big Shoulders Stencil Text';
font-size: 40pt;
color: #990000;
}
.koncowka {
font-family: 'Big Shoulders Stencil Text';
text-transform: uppercase;
color: #7d0d0d;
}
.wagon {
clear: both;
margin-bottom: 2em;
}
.wagon img {
float: left;
margin: 0 0.5em 2em 0;
}
ul.archiwum li {
}
.gallery {
margin: 0 auto;
text-align: center;
}
.gallery img {
border: 1px solid #555;
margin: 2px;
}
#gallery-shown {
max-width: calc(95% - 0.4em - 2px);
max-height: 95vh;
}

#news {
/*padding: 0.75em;
border-radius: 5px;
background: linear-gradient(to bottom right,rgba(255,255,255,0.3),rgba(70,50,50,0.1));*/
}
#news h1 {
text-align: left;
/*margin: 0;
padding: 0;*/
}
#news p {
text-align: justify;
text-indent: 10pt;
padding-left: 20px;
border-left: 1px dashed;
font-size: 13pt;
}
@media (max-width: 1000px) {
	#news p {
		font-size: 12pt;
		line-height: 14pt;
	}
}

p {
text-indent: 10pt;
}
#rotator {
margin: 1em auto;
width: 405px;
height: 270px;
box-shadow: 0 0 5px rgba(0,0,0,0.75);
border-radius: 10px;
}

#rotator-inside {
border-radius: 10px;
}
#home-menu {
  position: sticky;
  z-index: 10;
  top: 0;
  background-color: #703030;
  text-align: center;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #9b7f70;
  flex-direction: row;
}
#home-menu a {
  height: 72px;
  padding: 1em;
  vertical-align: middle;
  background-color: #703030;
  margin: 0;
  font-variant: small-caps;
  font-size: 16pt;
  min-width: 100px;
  border-right: 1px solid #925b5d;
  border-bottom: 8px solid #703030;
  color: #d7c4b9;
  transition: all 0.5s;
  display: block;
}
  #home-menu a:first-child {
	  display: none; 
  }

@media (max-width: 1000px) {
  #home-menu {
    flex-direction: column;
    position: inherit;
  }
  #home-menu a {
    padding: 0.1em;
	display: none;
  }
  #home-menu a:first-child {
	  display: block; 
  }
}
@media (max-width: 1500px) {
  #home-menu a {
    padding: 1em 0.2em;
      
  }
}
#home-menu a:last-child {
  border-right: 0;
}
#home-menu a:hover {
  background-color: #C77966;
  border-bottom: 8px solid #E3CDA4;
}
#home-menu.non-main {
  position: relative;
  top: 220px;
}
/*#home-menu.non-main a {
  border-right: 8px solid #703030;
  border-bottom: 1px solid #925b5d;
  min-height: 2em;
  padding: 0.5em;
}
#home-menu.non-main a:hover {
  border-right: 8px solid #E3CDA4;
}*/
#footer-info {
  float: left;
  position: relative;
  bottom: 0px;
  height: 100%;
  font-size: 9pt;
  color: #E3CDA4;
  max-width: 40%;
  text-align: justify;
}
#footer-partnerz {
  float: right;
}

  #footer-partnerz a {
    display: inline-block;
    vertical-align: middle;
    padding: 0.15em;
  }
#footer-within {
  max-width: 1000px;
  margin: 0 auto;
  overflow: auto;
}
#foot {
clear: both;
padding: 1em;
min-height: 80px;
text-align: right;
background: #2F343B;
border-top: 1px solid #9b7f70;
position: relative;
}
#foot.non-main {
  top: 220px;
}
@media (max-width: 1000px) {
  #footer-info, #footer-partnerz {
    float: none;
    width: calc(100% - 0.5em);
    max-width: 100%;
    clear: both;}
  #footer-info {
    text-align: justify;
    padding: 0.25em
  }
  #footer-partnerz {
    text-align: center;
  }
  #foot {
    padding: 0;
    margin: 0;
  }
}
#main-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: stretch;
  background-image: url('images/main_sepia.jpg'); 
  background-position: 50% 75%;
  background-attachment: fixed;
  background-size: cover;
}
@media (max-width: 800px) {
  #main-content {
    flex-direction: column;
  }
}
#main-content.non-main {
  position: relative;  
  top: 220px;
  min-height: calc(100vh - 5.75em - 440px);
}
#main-content article {
	flex: 1;
	min-width: calc(25vw);
	max-width: 800px;
	min-height: 15em;
	margin: 0.5em;
	padding: 8px;
	background-color: #FDECD2;
	background: linear-gradient(to bottom right, #FDECD2DB,#ddc29ddb);
	border: 1px solid #E3CDA4;
	border-radius: 4px;
	font-size: 12pt;
	width: calc(100% - 2em);
}
#main-content.non-main article {
  flex: 1;
  min-width: calc(25vw);
  max-width: 800px;
  min-height: 15em;
  margin: 0.5em;
  padding: 0.5em;
  background: linear-gradient(to bottom right, #FDECD2C7,#ddc29de5);
  border: 1px solid #E3CDA4;
  border-radius: 4px;
  font-size: 12pt;
}
@media (min-width: 800px) {
  #main-content.non-main article:only-child {
    max-width: min(1300px, 100%);
  }
}
#main-content article h1,h2 {
	text-align: left;
  /*! margin: -6px 0 0.5em 0.2em; */
  /*! padding: calc(0.2em + 8px) 0 0 0; */
  border-image: linear-gradient(to right, #7E827A, #7E827A00 85%) 100% 1;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  color: #7d0d0d; 
  font-size: 24pt;
  font-family: 'Big Shoulders Stencil Text';
}
article p {
	font-size: 14pt;
	line-height: 16pt;
	text-align: justify;
}
@media (max-width: 1000px) {
	article p {
		font-size: 12pt;
		line-height: 14pt;
	}
}

table.timetable, table.stylishtable {
  margin: 0 auto 10pt auto;
/*  white-space: nowrap;*/
  border-collapse: collapse;
}
table.timetable {  }

table.timetable td, table.timetable tr {
  border: 1px solid #9b7f70;
  text-align: center;
  padding: 0.3em ;
}

table.timetable th {
  font-size: 16pt;
  font-family: 'Big Shoulders Stencil Text', 'Alegreya Sans';
  color: #7d0d0d;
  padding: 0.25em 0;
}
table.timetable tr.brygada td:not(:first-child)
{
  font-size: 10pt;
  writing-mode: sideways-lr;
  text-align: left;
}

table.timetable td:first-child {
  text-align: left;
} 
table.timetable tr:nth-child(2n) {
  background-color: #e3cda470;
}
table.timetable tr:nth-child(2n-1) {
  background-color: #999c9670;
}

@media (max-width: 1000px) {
	table.timetable td, table.timetable tr {
		padding: 0.15em;
	}
}

table.stylishtable {
	background: repeating-linear-gradient( -45deg, #c6875078, #8a613d47 3px, #db914bcf 5px, #99847087 5px );
	border: 1px solid #999;
	border-radius: 10px;
	border-collapse: separate;
}
table.stylishtable td {
	padding: 0.5em;
}
table.stylishtable tr:first-child {
 font-size: 16pt;
  font-weight: bold;
}
table.stylishtable tr:nth-child(2n-1) {
	background: #935c5c2e;
}
table.stylishtable col:nth-child(2n) {
  /*! background: repeating-linear-gradient( -45deg, #c6875078, #8a613d47 3px, #db914bcf 5px, #99847087 5px ); */
  background-color: #6868682e;
}
table.calendar {
  text-align: center;
}
table.calendar img {
  width: 3em;
  vertical-align: middle;
  margin: 0.2em;
}
@media (max-width: 1000px) {
  table.stylishtable td { 	padding: 0.15em; }
  table.calendar img { width: 2.5em; margin: 0.15em;}
}
.lang-emoji {
  font-size: 16pt;
  vertical-align: middle;
}

@keyframes MoveUpDown {
  0%, 100% {
    bottom: 0;
  }
  50% {
    bottom: 30px;
  }
}

table.timetable tr.tt-terminus {
  font-weight: bold;
}
table.timetable tr:not(.tt-terminus) td:first-child {
  padding-left: 1em;
}
tr.tt-consist {
  writing-mode: sideways-lr;
}
tr.tt-consist td:first-child {
  writing-mode: initial !important;
}
.detour { background-color: #FFCC00; }
.line-inline {
	background-color: #ecececcf;
	border: 1px solid #aaa;
	border-radius: 5px;
	padding: 0 0.2em;
	font-weight: bold;
	background-color: #e7e8e380;
}
h1.home-about {
/*	background-image: url('images/trambus_icons.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: right;
	margin: -6px 0 0.5em 0.2em;
	padding: calc(0.2em + 8px) 0 0 0;*/
}

.info-notice, .important-notice {
	text-indent: 0;
	font-size: 12pt;
	padding: 0.25em 0.25em 0.25em 55px !important;
  background: #ffd5d594 url('images/icon-notice.svg') 10px 50% no-repeat;
  background-size: 1.75em;
	min-height: 3em;
	border: 1px dashed #999;
	border-radius: 10px;
	margin: 0 1em 0.75em 1em;
}
.important-notice {
  color: #800000;
  background-color: #ffd5d594;
  background-image: url('images/icon-notice.svg');
}
.info-notice {
  color: #0f295e;
  background-color: #789de685;
  background-image: url('images/icon-infonotice.svg');
}