body {
  font-family: helvetica;
  line-height: 1.5;
  padding:0;
  margin:0;
}
header {
  background: url(header.jpg);
/*  background-size: cover;*/
  background-repeat: no-repeat;
  background-position-x: center;
  background-color: #222;;
  color: white;
  min-height: 180px;
  padding: 0 10px;
}
header nav {
  text-align: right;
  font-size: 14px;
  line-height: 1.8;
  padding-right: 5px;
  max-width: 800px;
  margin: 0 auto;
}
a {
  color: rgb(83, 133, 162);
  text-decoration: none;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
header nav a {
  font-size: 1.1em;
  margin-left: 10px;
  padding-left: 10px;
/*  border-left: 6px dotted rgb(83, 133, 162);*/
}
ul {
  text-align: left;
}
a:hover {
  color: #1B94F4;
  -webkit-transition: 0.5s all;
  -o-transition: 0.5s all;
  -moz-transition: 0.5s all;
  -ms-transition: 0.5s all;
}
header h1 {
  margin: 0;
  background: url(wifi.png) 0 50% no-repeat;
  background-size: 40px;
  float: right;
  padding-left: 45px;
  margin-top: 60px;
}
#name {
  max-width: 800px;
  margin: 0 auto;
}
#logo {
  width: 220px;
  height: 75px;
  display: block;
  position: relative;
  float: left;
  top: 40px;
}

.blue {
  background: #eee;
  background-color: #1B94F4;
  color: white;
  padding-right: 20px;
  padding-bottom: 15px;
  padding-top: 15px;
}
.blue * {
  margin-top: 0;
  max-width: 800px;
  margin: 0 auto;
}
section {
  clear: both;
}
section>h1 {
  padding: 0 10px;
  padding-top: 15px;
}
#advert h2 {
  font-size: 17px;
}

.con, .non-con {
  padding: 15px;
  margin-top: 30px;
}

.non-con {
/*  display: none;*/
}

.info {
  list-style: none;
  background: url(info.png) no-repeat 5px 50%;
  background-size: 25px;
  margin-bottom: 15px;
}
/*
.info li::before {
  content: "ⓘ";
  margin-left: -20px;
  margin-right: 5px;
}
*/
.warn {
  list-style: none;
  background: url(warn.png) no-repeat 5px 50%;
  background-size: 25px;
}
/*
.warn li::before {
  content: "⚠";
  margin-left: -20px;
  margin-right: 5px;
}
*/
footer {
  background: #333;
  color: white;
  padding: 8px 0;
  font-size: 0.9em;
}

footer * {
  max-width: 800px;
  margin: 0 auto;
  text-align: right;
}

footer i, footer a {
  padding-left: 20px;
  padding-right: 10px;
  font-style: normal;
}

.center {
  max-width: 800px;
  margin: 0 auto;
  color: #29333E;
  text-align:center;
}
#advert>div {
  float: left;
  width: 360px;
/*  border: 1px solid gray;
  border-radius: 8px;
*/  padding: 5px;
  margin: 5px 10px;
}
.center>h1 {
  text-align: center;
  padding-bottom: 10px;
  font-size: 24px;
  background-image: url("nadpis.png");
  background-position: center 45px;
  background-repeat: no-repeat;
}
#openweathermap-widget-22 {
  margin: 0 auto;
  width: 240px;
}
#blocks {
/*  margin: 0 -5px;*/
}
.shadow {
  box-shadow: 10px -2px 20px 2px rgba(0,0,0,.3);
  border-radius: 5px;
  font-size: 0.8em;
  text-align: left;
}
.shadow h3 {
  text-align: center;
}
.smaller {
  width: 365px;
  margin: 30px 5px;
  padding-top: 10px;
  display: inline-table;
}
.bigger {
  padding: 5px 10px;
  margin: 30px 5px;
}

.lowFloor {
background: url(lowFloor.png);
width: 14px;
height: 20px;
display: inline-block;
float: right;
}
.xx {
display: inline;
}
.datetime, .cupo {
text-align: center;
}
.linkMap {
display: none;
}
.hd {
/*border-bottom: 2px solid black;*/
}
.hd td {
font-weight: bold;
padding: 4px 10px;
border-bottom: 2px solid black;
}
.platform {
display:none;
}
.resultStopName {
 display:none;
 border-top: 2px solid black;
 font-weight: bold;
 padding-top: 8px;
}
.resultStopNum, .resultStopId, .resultTime, .resultInfoText {
display:none;
}

#pid-tablo {
  font-size: 0.75em;
}

.hd .delay {
}

#pocasi hr {
 clear: both;
 border: 1px solid black;
}

.weather {
display: inline-block;
padding: 10px 28px;
width: 118px;
text-align: center;
}

.temperature {
font-size: 2.5em;
}

form {
  border-top: 1px solid black;
  text-align: center;
  padding-top: 10px;
}

#connect-reg input, #pay input, #pay select, #voucher-reg input, #voucher-adm input {
  margin-bottom: 15px;
}

.cudlik {
  background: #1B94F4;
  font-size: 1.7em;
  line-height: 1;
  font-weight: bold;
  border-radius: 5px;
  padding: 15px;
  cursor: pointer;
  color: white;
}

#registrace:hover {
  background: #0B84E4;
}

#reg-status, #pay-status, #vou-status, #vou-adm-status {
 font-size: 1.3em;
 margin-top: 10px;
 line-height: 1.2;
 padding: 10px;
 text-align: center;
}

.reg-error {
  background: orange;
  border-radius: 5px;
}

.reg-info {
  background: lightblue;
  border-radius: 5px;
}



@media (max-width: 800px) {
  #advert {
    margin: 0 auto;
    width: 360px;
  }
  #advert>div {
    float: none;
    margin: 10px 0;
    padding: 10px 0;
  }
}

@media (max-width: 640px) {
  #logo img {
    width: 100px;
  }
  #logo {
    width: 100px;
    height: 32px;
    display: block;
    position: relative;
    float: left;
    top: 60px;
  }
  header h1 {
    font-size: 1.3em;
    background-size: 20px;
  }
}