/* bodystat.cz - overrides for the static rebuild (loaded last). */

/* Open Sans used to come from Google Fonts; no third-party fonts any more -> close system stack. */
body, nav {
  font-family: "Open Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* Mobile menu: the old nav-icon.png never existed on the server; draw a hamburger instead.
   site.js toggles .is-open instead of jQuery slideToggle. */
nav a#pull:after {
  background: none !important;
  content: "\2630";
  color: #fff;
  font-size: 22px;
  line-height: 30px;
  top: 0 !important;
  width: auto !important;
  height: auto !important;
}
@media only screen and (max-width: 1020px) {
  nav ul.is-open { display: block; }
}
@media only screen and (min-width: 1021px) {
  nav ul { display: block; }
}

/* Home page slider (replaces slippry.min.js). First slide stays in flow and gives the height. */
#demo1 {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
#demo1 > li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: 2;
  transition: opacity 3s ease;
}
#demo1 > li:first-child { position: relative; }
#demo1 > li.sy-active { opacity: 1; z-index: 3; }
#demo1 > li > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  #demo1 > li { transition: none; }
}

/* Replacement for the embedded Google map. */
.mapa-odkaz {
  margin: 10px 0 30px;
}
.mapa-odkaz a {
  color: #0b3b74;
  font-weight: 700;
}

/* 404 page */
.chyba404 {
  padding: 60px 20px 80px;
  text-align: center;
}
.chyba404 h1 { color: #0b3b74; font-size: 28px; }
.chyba404 a { color: #0b3b74; font-weight: 700; }
