/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

* {
  box-sizing: border-box;
}
html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif', serif;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 400;
}
p {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}
/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
a {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.header-ico  {
  padding-top: 92px;
  background-repeat: no-repeat;
  background-size: 76px;
  background-position: center top;
}
.header-ico-otviracka {
  background-image: url('/img/hodiny.svg');
}
.header-ico-jidlo {
  background-image: url('/img/jidlo.svg');
}
.header-ico-rezervace {
  background-image: url('/img/rezervace.svg');
}
.header-ico-kontakt {
  background-image: url('/img/kontakt.svg');
}
.btn {
  display: inline-block;
  padding: 8px 28px;
  font-size: 1.375rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
}
.btn-pilot,
.btn-pilot:focus {
  color: #FEF7B8;
  background-color: #001132;
  text-decoration: none;
}
.btn-pilot:hover {
  color: #001132;
  background: #9EE900;
  text-decoration: none;
}
.btn-light,
.btn-light:focus {
  color: #001132;
  background-color: #FEF7B8;
  text-decoration: none;
}
.btn-light:hover {
  color: #001132;
  background: #9EE900;
  text-decoration: none;
}
.main-content-dark {
  color: #fff;
  background-color: #001132;
}
.main-content-dark h2,
.main-content-dark h3 {
  color: #FEF7B8;
}
.menu--main {
  margin: 0 0 0 -8px;
  padding: 16px 0;
  list-style: none;
}
.menu--main a,
.menu--main a:focus {
  display: block;
  padding: 8px 12px;
  color: #FEF7B8;
  text-decoration: none;
}
.menu--main a:hover {
  color: #9EE900;
}
.menu--main li.menu-social {
  margin-top: 5px;
  display: inline-block;
  align-items: center;
}
.menu--main li.menu-social a {
  display: block;
  width: 54px;
  height: 100%;
  overflow: hidden;
  text-indent: -999px;
  position: relative;
}
.menu--main li.menu-social a:hover:after {
  opacity: 1;
}
.menu--main li.menu-social a:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.menu--main li.menu-social--fb a {
  background: url('/img/facebook.svg') center center no-repeat scroll;
  background-size: 30px auto;
}
.menu--main li.menu-social--fb a:after {
  background: url('/img/facebook-hover.svg') center center no-repeat scroll;
  background-size: 30xp auto;
}
.menu--main li.menu-social--ig a {
  background: url('/img/instagram.svg') center center no-repeat scroll;
  background-size: 30px auto;
}
.menu--main li.menu-social--ig a:after {
  background: url('/img/instagram-hover.svg') center center no-repeat scroll;
  background-size: 30xp auto;
}
.d-none {
  display: none;
}
.iframe--mapy-cz {
  max-height: 80vh;
}
.pop-up {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
}
body.popup-opened .pop-up {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pop-up-bg {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  opacity: 0.3;
}
.pop-up .inner {
  margin: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid #001132;
  position: relative;
  z-index: 201;
  min-height: 75vh;
  display: flex;
  flex-flow: column;
  width: 90%;
  max-width: 870px;
}
.pop-up .inner > div {
  flex-flow: column;
  flex-grow: 100;
}
.pop-up .inner iframe {
  flex-grow: 100;
}
.pop-up .menu,
.pop-up .menu2 {
  display: none;
}
.pop-up-close {
  flex-grow: 0 !important;
  display: inline-block;
  margin-left: auto;
  text-align: right;
  cursor: pointer;
  font-weight: 700;
}
.pop-up-close:hover {
  opacity: 0.6;
}
body.popup-opened-menu .pop-up .menu {
  display: flex;
}
body.popup-opened-menu2 .pop-up .menu2 {
  display: flex;
}
button {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  -webkit-appearance: button;
  cursor: pointer;
  color: inherit;
  font: inherit;
  margin: 0;
  overflow: visible;
  text-transform: none;
}
.navbar-toggle {
  position: relative;
  float: right;
  margin-top: 0;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  width: 24px;
  padding: 0;
  height: 30px;
}
.navbar-toggle .icon-bar {
  width: 24px;
  height: 2px;
  position: absolute;
  top: 8px;
  left: 0px;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: #f7eee2;
  display: block;
  border-radius: 1px;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 0px;
}
.navbar-toggle .icon-bar:nth-of-type(3) {
  top: 17px;
}
.navbar-toggle .icon-bar:nth-of-type(4) {
  top: 26px;
}

body.menu-opened .navbar-toggle .icon-bar:nth-of-type(2) {
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 17px;
}
body.menu-opened .navbar-toggle .icon-bar:nth-of-type(3) {
  left: 20px;
  opacity: 0;
}
body.menu-opened .navbar-toggle .icon-bar:nth-of-type(4) {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 17px;
}

@media (min-width: 1280px) {
  .d-lg-none {
    display: none;
  }
  .d-lg-block {
    display: block;
  }
  .menu--main {
    display: flex;
    margin: 0;
    padding: 0;
  }
  .pop-up .inner {
    padding: 20px;
  }
  .menu--main li.menu-social {
    display: flex;
    margin-top: 0;
  }
}