﻿/* ==========================================================================
   1. NORMALIZE (normalize.css v2.1.1 | MIT License | git.io/normalize)
   ========================================================================== */

article, aside, details, figcaption, figure,
footer, header, hgroup, main, nav, section, summary {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden] {
  display: none;
}

html {
  background: #fff;
  color: #000;
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

a:focus {
  outline: thin dotted;
}

a:active,
a:hover {
  outline: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

dfn {
  font-style: italic;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

mark {
  background: #ff0;
  color: #000;
}

code, kbd, pre, samp {
  font-family: monospace, serif;
  font-size: 1em;
}

pre {
  white-space: pre-wrap;
}

q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 0;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
  margin: 0;
}

button, input {
  line-height: normal;
}

button, select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* ==========================================================================
   2. ZÁKLADNÍ NASTAVENÍ (box-sizing, html/body, seznamy, odkazy)
   ========================================================================== */

*,
*:after,
*:before {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

a {
  color: inherit;
  cursor: pointer;
}


/* ==========================================================================
   3. LAYOUT — CONTAINER
   ========================================================================== */

.container {
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: 3.6rem 0;
  margin: auto;
}

@media (min-width: 500px) {
  .container {
    width: 80%;
  }
}

.container > *:first-child {
  margin-top: 0;
}

.footer .container {
  padding: 1.15rem 0;   /* místo 3.6rem */
}

/* ==========================================================================
   4. TYPOGRAFIE
   ========================================================================== */

html {
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 500px) {
  html {
    line-height: 1.8;
  }
}

body {
  font-family: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0em;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin: 0;
  margin-top: 1.8rem;
}

h1, h2, h3 {
  font-family: "Roboto Slab", Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  text-align: center;
}

h1 {
  font-size: 3.2em;
  letter-spacing: 0.2em;
}

h2 {
  position: relative;
  z-index: 1;
  font-size: 1.7em;
}

@media (min-width: 500px) {
  h2 {
    font-size: 1.9em;
  }

  h2:after {
    content: "";
    position: absolute;
    top: 50%;
    z-index: -1;
    display: block;
    width: 100%;
    height: 1px;
  }

  h2 span {
    padding: 0 0.5em;
  }
}

h3 {
  font-size: 1em;
}

p {
  margin: 0;
  margin-top: 1.8rem;
  /*margin-bottom: 1.5em;*/
  text-align: justify;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

::selection {
  background-color: #f2811d;
  color: #fff;
}


/* ==========================================================================
   5. IKONY
   ========================================================================== */

.icon {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  pointer-events: none;
  fill: currentColor;
}

.icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.icon img {
  display: none;
}

.no-svg .icon svg {
  display: none;
}

.no-svg .icon img {
  display: block;
  width: 100%;
}


/* ==========================================================================
   6. HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  z-index: 2;
  width: 100%;
  background-color: #f2f2f2;
  color: #444;
  -moz-box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.header .container {
  padding: 0;
}

.header a {
  text-decoration: none;
}

.header + * {
  margin-top: 49px;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

@media (min-width: 500px) {
  .header + * {
    margin-top: 79px;
  }
}

.header h1 {
  position: absolute;
  top: -9999px;
}

.header img {
  width: 120px;
  margin-left: 0em;
  vertical-align: middle;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

@media (min-width: 500px) {
  .header img {
    width: 200px;
  }
}

@media (min-width: 900px) {
  .header img {
    width: 280px;
    margin-left: -3em;
  }
}

.header-small img {
  width: 50px;
  margin-left: 0;
}

@media (min-width: 500px) {
  .header-small img {
    width: 80px;
  }
}

.header--bar {
  height: 50px;
  line-height: 50px;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

@media (min-width: 500px) {
  .header--bar {
    height: 80px;
    line-height: 80px;
  }
}

@media (min-width: 900px) {
  .header--bar {
    float: left;
  }
}

.header--logo {
  display: inline-block;
  height: 100%;
}

.header--navBtn {
  position: absolute;
  top: 0;
  right: -1em;
  padding: 0 1em;
  font-size: 2.5em;
  text-align: center;
}

@media (min-width: 900px) {
  .header--navBtn {
    display: none;
  }
}

.header--navBtn:before {
  content: "≡";
}

.header--nav {
  max-height: 0;
  margin: auto -13%;
  overflow: hidden;
  text-align: right;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

@media (min-width: 900px) {
  .header--nav {
    float: right;
    max-height: none;
    margin: auto;
    line-height: 80px;
  }
}

.header--nav ul {
  padding: 1em 0;
}

@media (min-width: 900px) {
  .header--nav ul {
    padding: 0;
  }

  .header--nav li {
    display: inline-block;
    float: left;/*chyba, ale neměnit, protože jinak správně nefunguje hlavička*/
  }
}

.header--nav a {
  display: block;
  padding: 0.4em 10%;
}

@media (min-width: 900px) {
  .header--nav a {
    padding: 0 1em;
  }
}

.header--nav a:hover span {
  border-color: #f2811d;
}

@media (min-width: 900px) {
  .header--nav a:hover span {
    padding-bottom: 0.3em;
  }
}

.header--nav span {
  display: inline-block;
  padding: 0.3em 0.5em;
  line-height: 1;
  border-right: 2px solid transparent;
  -moz-transition: all .3s;
  -o-transition: all .3s;
  -webkit-transition: all .3s;
  transition: all .3s;
}

@media (min-width: 900px) {
  .header--nav span {
    padding: 0em 0.1em;
    padding-bottom: 0.8em;
    border-right: 0;
    border-bottom: 2px solid transparent;
  }
}

.header--navItem-isCurrent span {
  border-color: #f2811d;
}

@media (min-width: 900px) {
  .header--navItem-isCurrent span {
    padding-bottom: 0.2em;
  }
}

.header--navIsOpen .header--nav {
  max-height: 250px;
}

.header--navIsOpen .header--navBtn {
  font-size: 2em;
}

.header--navIsOpen .header--navBtn:before {
  content: "✕";
}

.header--langs .icon {
  width: 20px;
  height: 20px;
  margin-right: 0.55em;
}

@media (min-width: 900px) {
  .header--langs .icon {
    margin-right: 0;
  }
}


/* ==========================================================================
   7. HERO OBRÁZEK
   ========================================================================== */

.heroImg {
  width: 100%;
  height: 300px;
  background: url(/img/hero/hero.jpg) no-repeat center;
  background-size: cover;
}

.heroImg .container {
  height: 100%;
  padding: 0;
  overflow: hidden;
}

.heroImg--msg {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0.6em 0.8em;
  line-height: 1.5;
  background-color: rgba(255, 255, 255, 0.5);
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
  color: #000;
  font-size: 1.3em;
  text-shadow: 0 0 3px #fff;
}

.heroImg--msg span {
  display: block;
}

.heroImg--msg span:before {
  content: "|";
  position: relative;
  bottom: 0.05em;
  margin-right: 0.3em;
  color: #e8740d;
}


/* ==========================================================================
   8. SEKCE STRÁNKY
   ========================================================================== */

/* -- O chatě ------------------------------------------------------------ */

.oChate {
  background-color: #fff;
  color: #444;
}

.oChate h2:after {
  background-color: #eee;
}

.oChate h2 span {
  background-color: #fff;
}

.oChate a {
  color: #f2811d;
}

.oChate a:hover {
  color: #e8740d;
}

/* -- Ceník ---------------------------------------------------------------- */

.cenik {
  background-color: #f2f2f2;
  color: #444;
}

.cenik h2:after {
  background-color: #ddd;
}

.cenik h2 span {
  background-color: #f2f2f2;
}

.cenik h3 {
  margin: 0;
}

.cenik table {
  margin: 1.8rem auto 0;
  line-height: 1.2;
}

.cenik thead {
  color: #f2811d;
}

.cenik thead tr {
  border-color: #e8740d;
}

.cenik tbody {
  white-space: nowrap;
  text-align: center;
}

.cenik tfoot {
  font-size: 0.9em;
  line-height: normal;
}

.cenik tfoot tr {
  border: none;
}

.cenik th {
  font-weight: normal;
}

.cenik th:first-child {
  border-top-left-radius: 4px;
}

.cenik th:last-child {
  border-top-right-radius: 4px;
}

.cenik th span:first-child:after {
  content: "—";
  display: block;
  line-height: 1;
}

.cenik tr {
  border-bottom: 1px solid #d9d9d9;
}

.cenik td,
.cenik th {
  padding: 0.7em 1em;
}

/* -- Fotografie ------------------------------------------------------------ */

.fotografie {
  background-color: #fff;
  color: #444;
}

.fotografie h2:after {
  background-color: #eee;
}

.fotografie h2 span {
  background-color: #fff;
}

.fotografie ul {
  margin: 1.8rem 0 0 -.9rem;
  overflow: hidden;
}

.fotografie li {
  padding: .9rem 0 0 .9rem;
}

@media (min-width: 839px) {
  .fotografie li {
    display: block;
    float: left;
    width: /*33.333%*/ 50%;
  }
}

/* Mobil/tablet: vodorovné scrollování fotografií */
@media (max-width: 839px) {
  .fotografie ul {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.8rem 0 0 0;
    padding-bottom: 0.5rem;
    scrollbar-width: /*thin*/ auto;
    /*max-height: 400px*/;
  }

  .fotografie li {
    flex: 0 0 95%;
    padding: 0 0.9rem 0 0;
  }

  
}

.fotografie img {
  display: block;
  max-width: 100%;
  padding: 4px;
  margin: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* -- Kalendář -------------------------------------------------------------- */

.kalendar {
  background-color: #fff;
  color: #444;
}

.kalendar h2:after {
  background-color: #eee;
}

.kalendar h2 span {
  background-color: #fff;
}

.kalendar a {
  color: #f2811d;
}

.kalendar a:hover {
  color: #e8740d;
}

/* Mobil: nižší kalendář, uvnitř vlastní scrollování */
@media (max-width: 780px) {
  #echalupy-kalendar {
    height: 480px !important;
  }
}
#echalupy-kalendar {
  border: 0px solid #ddd;
  border-radius: 5px;
}


/* -- Kontakt ----------------------------------------------------------- */

.kontakt {
  background-color: #f2f2f2;
  color: #444;
}

.kontakt h2:after {
  background-color: #ddd;
}

.kontakt h2 span {
  background-color: #f2f2f2;
}

.kontakt a {
  color: #f2811d;
}

.kontakt--cr {
  padding: 1.8rem;
}

.kontakt--cr img {
  width: 100%;
}

.mapa {
  width: 100%;
  height: 350px;
  max-height: 50%;
  background-color: #fff;
}


/* ==========================================================================
   9. PATIČKA
   ========================================================================== */

.footer {
  background-color: #444;
  color: #f2f2f2;
}

.footer li {
  display: inline-block;
  margin-right: 2em;
}

.designedBy {
  background-color: #383838;
  color: #d9d9d9;
  font-size: .7rem;
  text-align: right;
}

.designedBy .container {
  padding: .5rem .9rem;
}

.designedBy a {
  color: #f2811d;
}


/* ==========================================================================
   10. GRID SYSTÉM
   ========================================================================== */

.grid:after {
  content: "";
  display: table;
  clear: both;
}

.grid-1-2 { width: 50%;    float: left; }
.grid-1-3 { width: 33.33%; float: left; }
.grid-2-3 { width: 66.66%; float: left; }
.grid-1-4 { width: 25%;    float: left; }
.grid-2-4 { width: 50%;    float: left; }
.grid-3-4 { width: 75%;    float: left; }
.grid-1-5 { width: 20%;    float: left; }
.grid-2-5 { width: 40%;    float: left; }
.grid-3-5 { width: 60%;    float: left; }
.grid-4-5 { width: 80%;    float: left; }
