@charset "UTF-8";
/* FontFace */
@font-face {
  font-family: Oxygen;
  src: url(../font/Oxygen-Regular.ttf) format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: Oxygen;
  src: url(../font/Oxygen-Bold.ttf) format("truetype");
  font-weight: bold;
}

body {
  --nav-height: 40px;
  padding-top: var(--nav-height);
  font-family: Oxygen, sans-serif;
  font-size: 16px;
  margin: 0;
  border-left: 8px transparent solid;
  border-right: 8px transparent solid;
  border-bottom: 8px transparent solid;
  background-image: url("/obrazky/old-wood-background_1920.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: hsl(25,36%,30%);
}
p, ul, ol, table, input, select, textarea, label, .UnderHeadline {
  font-family: Oxygen, sans-serif;
}

/* ScrollBars */
body::-webkit-scrollbar {
  width: 15px;
}
body::-webkit-scrollbar-track {
  background-color: hsl(25,36%,30%);
}
body::-webkit-scrollbar-thumb {
  background-color: hsl(27.6,87.1%,66.7%);
  border-radius: 15px;
}

/* Basic Selectors */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.Centruj {
  text-align: center;
}

/* links */
a, a:visited {
  color: hsl(27.6,87.1%,66.7%);
  text-decoration: none;
}
a:hover {
  color: #fff;
}
a:active {
  color: #000;
}

/* Headlines */
h1, h2, h3, h4 {
  font-family: Oxygen, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  margin: .6rem .2rem .3rem;
}

@media only screen and (max-width: 299px) {
  h1 { font-size: 1.2rem; top: 0; margin-top: .1rem; }
  .UnderHeadline { font-size: .9rem; top: 4rem;  }
  h2 { font-size: 1.1rem; }
  h3 { font-size: 1rem; }
  h4 { font-size: .9rem; }
  button { font-size: .6rem; }
}
@media only screen and (min-width: 300px) and (max-width: 399px) {
  h1 { font-size: 1.3rem; top: .2rem; margin-top: .2rem; }
  .UnderHeadline { font-size: 1.2rem; top: 5rem; }
  h2 { font-size: 1.2rem; }
  h3 { font-size: 1.1rem; }
  h4 { font-size: 1rem; }
  button { font-size: .7rem; }
}
@media only screen and (min-width: 400px) and (max-width: 599px) {
  h1 { font-size: 1.6rem; top: .3rem; margin-top: .3rem; }
  .UnderHeadline { font-size: 1.4rem; top: 6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1rem; }
  button { font-size: .8rem; }
}
@media only screen and (min-width: 600px) and (max-width: 999px) {
  h1 { font-size: 1.9rem; top: .6rem; margin-top: .6rem; }
  .UnderHeadline { font-size: 1.6rem; top: 7rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.4rem; }
  h4 { font-size: 1.1rem; }
  button { font-size: .9rem; }
}
@media only screen and (min-width: 1000px) and (max-width: 1300px) {
  h1 { font-size: 1.9rem; top: .8rem; margin-top: .8rem; letter-spacing: .1rem }
  .UnderHeadline { font-size: 1.8rem; top: 8rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.3rem; }
  button { font-size: 1rem; }
}
@media only screen and (min-width: 1300px) {
  h1 { font-size: 2rem; top: 1rem; margin-top: 1rem; letter-spacing: .2rem }
  .UnderHeadline { font-size: 1.8rem; top: 9rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.6rem; }
  h4 { font-size: 1.4rem; }
  button { font-size: 1rem; }
}

h1, h2, h3, h4, p {
  text-align: center;
}

address {
  font-style: normal;
}

button.Doprava {
  margin-right: .8rem;
}

p.DoleNic {
  margin-bottom: 0;
}
ol {
  margin-top: 0;
}
@media screen and (max-width: 699px) {
  ol {
    width: 84%;
    margin-left: 10%;
  }
}
@media screen and (min-width: 699px) and (max-width: 999px) {
  ol {
    width: 74%;
    margin-left: 15%;
  }
}
@media screen and (min-width: 1000px) {
  ol {
    width: 60%;
    margin-left: 30%;
  }
}

/* Slepá Mapa; font-size:p, ul, ol, table */
article#Hlavni {
  position: relative;
}
article#Hlavni p:first-of-type {
  margin-top: 0;
}

@media screen and (max-width: 499px) {
  article#Hlavni p:first-of-type {
    text-align: left;
    font-size: .8rem;
  }
  article#Hlavni p:not(:first-of-type) {
    font-size: 1rem;
  }
  p { margin-top: 0; }
  p + p {margin-top: .3rem; }
  p, ul, ol, table, input, select, textarea, label {
    font-size: .9rem;
  }
}
@media screen and (min-width: 500px) and (max-width: 899px) {
  article#Hlavni p:first-of-type {
    text-align: left;
  }
  p { margin-top: .1rem; }
  p + p {margin-top: .4rem; }
  p, ul, ol, table, input, select, textarea, label {
    font-size: 1rem;
  }
}
@media screen and (min-width: 900px) {
  article#Hlavni p:first-of-type {
    text-align: center;
  }

  p { margin-top: .2rem; }
  p + p {margin-top: .5rem; }
  p, ul, ol, table, input, select, textarea, label {
    font-size: 1.1rem;
  }
}

/* Buttons */
button {
  display: block;
  margin: .5rem auto .9rem;
  color: hsl(27.6,87.1%,66.7%);
  font-weight: bold;
  text-transform: uppercase;
  background-color: hsl(160,20%,40%);
  padding: .4rem .5rem .3rem;
  border: 2px hsl(27.6,87.1%,66.7%) solid;
  border-radius: .5rem;
  cursor: pointer;
}
  button:hover {
    color: #ddd;
    background-color: #222;
    border: 2px #ddd solid;

  }
  button:active {
    color: #222;
    background-color: #ddd;
    border: 2px #222 solid;
  }

@media screen and (min-width: 699px) {
  .Buttons {
    display: flex;
    justify-content: center;
  }
  .Buttons button {
    margin: .5rem 8rem 1rem;
  }
}

/* PAGE LAYOUT */
header.Header {
  background-color: hsl(25,36%,30%);
  color: #eee;
  padding: .3rem;
}
header.Header h1 {
  text-align: center;
  margin-top: 1.5rem;
}
header.Header .UnderHeadline {
  text-transform: uppercase;
  text-align: center;
  margin-top: 0;
}

header.Header img {
  float: left;
}
header.Header .Ctverec {
  float: right;
}
@media only screen and (max-width: 399px) {
  header.Header img {
    height: 6rem;
  }
  .Ctverec {
    display: none;
  }
}
@media only screen and (min-width: 400px) and (max-width: 599px) {
  header.Header img {
    height: 6.4rem;
  }
  .Ctverec {
    display: none;
  }
}
@media only screen and (min-width: 600px) and (max-width: 999px) {
  header.Header img, .Ctverec {
    height: 7.4rem;
  }
  .Ctverec {
    display: block;
    width: 7rem;
  }
}
@media only screen and (min-width: 1000px) and (max-width: 1299px) {
  header.Header img, .Ctverec {
    height: 8rem;
  }
  .Ctverec {
    display: block;
    width: 7.6rem;
  }
}
@media only screen and (min-width: 1300px) {
  header.Header img, .Ctverec {
    height: 8.3rem;
  }
  .Ctverec {
    display: block;
    width: 8rem;
  }
}

main.Main {
}

article {
  background-color: hsl(27.6,30%,40%);
  color: #eee;
  padding: .4rem;
  margin-top: 4rem;
}

footer.Footer {
  background-color: hsl(25,36%,30%);
  color: #eee;
  padding: .4rem;
  margin-top: 4rem;
}
footer.Footer p[lang='en'] {
 text-align: right;
  margin-bottom: 0;
}

article#Fotogalerie a img {
  transition: all .2s ease-out;
}
article#Fotogalerie a img:hover {
  transform: scale(1.1);
}
/* article#Omne */
article#Omne {
  padding-left: 1rem;
  padding-right: 1rem;
}
article#Omne div p {
  text-align: justify;
}
@media only screen and (max-width: 799px) {
  article#Omne {
    padding-bottom: 1rem;
  }
}
@media only screen and (min-width: 800px) {
  article#Omne div {
    column-count: 3;
  }
  article#Omne {
    padding-bottom: 2rem;
  }
}

/* NAV MOBILE */
@media only screen and (max-width: 949px) {

  /* Style the navigation menu */
  nav.Mobile {
    position: fixed;
    top: 0;
    right: 0;
    text-transform: uppercase;
    width: 60%;
    z-index: 3;
    padding-left: 1rem;
    background-color: transparent;
  }

  /* Hide the links inside the navigation menu (except for logo/home) */
  nav.Mobile #myLinks {
    display: none;
    background-color: #333;
    overflow: hidden;
    width: 100%;
  }

  /* Style navigation menu links */
  nav.Mobile a {
    color: hsl(27.6,87.1%,66.7%);
    padding: .4rem;
    text-decoration: none;
    font-size: 1.4rem;
    display: block;
  }
  nav.Mobile a.Logo {
    background-color: transparent;
  }

  /* Style the hamburger menu */
  nav.Mobile a.icon {
    background: black;
    display: block;
    position: absolute;
    right: 0;
    top: 0;
  }

  /* Add a grey background color on mouse-over */
  nav.Mobile a:hover {
    background-color: #ddd;
    color: black;
  }

  /* Style the active link (or home/logo) */
  .active {
    background-color: #555;
    color: white;
  }

  /* nav Computer */
  nav.Nav {
    display: none;
  }

}  /* End of max-width: 949px */

/* HORIZONTAL NAV */
@media only screen and (min-width: 950px) {

  nav.Nav {
    width: 100%;
    height: var(--nav-height);
    position: fixed;
    top: 0;
    left: 0;
    text-transform: uppercase;
    background-color: hsla(25,36%,30%, 0.0);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    transition: .3s;
    z-index: 3;
  }
  .NavLink, .NavLink:visited {
    color: hsl(27.6,87.1%,66.7%);
    text-decoration: none;
    margin: 0 .6rem;
    background-color: hsl(25,36%,30%);;
    padding: .2rem .5rem .3rem;
    border-radius: .5rem;
    border: 2px hsl(27.6,87.1%,66.7%) solid;
    font-weight: bold;
  }
    a.NavLink:hover {
      border: 2px #ddd solid;
      color: #ddd;
      background-color: #222;

    }
    a.NavLink:active {
      border: 2px #222 solid;
      color: #222;
      background-color: #ddd;
    }

  .NavHidden {
    transform: translateY(calc(-1 * var(--nav-height)));
    box-shadow: none;
  }

  nav.Mobile {
    display: none;
  }

}  /* End of min-width: 950px */

/* FLEXBOX-1 */
@media screen and (max-width: 999px) {

  .FlexBox-1 {
    display: block;
  }

}  /* max-width: 999px */

@media screen and (min-width: 1000px) {

  .FlexBox-1 {
    display: flex;
  }
  .FlexBox-1 section.Dvouluzak {
    flex: 1;
  }
  .FlexBox-1 section.Ctyrluzak {
    flex: 1;
  }

}  /* min-width: 1000px */

/* FLEXBOX-2 */
@media screen and (max-width: 1399px) {

  .FlexBox-2 {
    display: block;
  }

}  /* max-width: 1399px */

@media screen and (min-width: 1400px) {

  .FlexBox-2 {
    display: flex;
  }
  .FlexBox-2 section.Dvouluzak {
    flex: 1;
  }
  .FlexBox-2 section.Ctyrluzak {
    flex: 1;
  }

}  /* min-width: 1400px */

/* COLLABSIBLE */
/* Style the button that is used to open and close the collapsible content */
.Collapsible {
  cursor: pointer;
  padding-top: .4rem;
}
/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.Collapsible:hover {
}
.Active {
  color: #A06586;
  background-color: #C79F7D;
}
/* Style the collapsible content. Note: hidden by default */
.Content {
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  margin-bottom: 2rem;
}
/* Ikonky + a - */
.Collapsible:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: .8rem;
  color: white;
  float: right;
  margin-left: 5px;
}
.Active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

/* Table */
table {
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}
  td {
    padding: .2rem;
  }

.Content input {
  padding: .4rem .8rem;
  border: hsl(341.8, 99%, 92%) 2px solid;
  border-radius: .5rem;
  margin-left: .5rem;
}

/* NOTIFICATIONS */
.Message {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.Message p {
  padding: .3rem .5rem;
  margin: 0;
  border: 3px solid #f9f9f9;
  font-weight: bold;
  text-align: center;
}
.MsInfo {
  background-color: hsl(43.4,60%,70%);
}
.MsSuccess {
  background-color: hsl(120,40%,70%);
}
.MsError {
  background-color: hsl(8.6,80%,70%);
}

/* FORMS */
form {
  text-align: center;
  line-height: 2.5;
}

input, select, textarea, label {
  margin-top: .3rem;
}

input[type="submit"] {
  color: hsl(27.6,87.1%,66.7%);
  background-color: hsl(25,36%,30%);
  padding: .3rem .8rem .4rem;
  margin: 0 .6rem;
  border: 2px hsl(27.6,87.1%,66.7%) solid;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: #222;
  color: #ddd;
  border: 2px #ddd solid;
}
input[type="submit"]:active {
  background-color: #ddd;
  color: #222;
  border: 2px #222 solid;
}

input[type="text"], input[type="email"], input[type="password"], select {
  width: 22rem;
  max-width: 86%;
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  padding: 0.5rem;
  margin-bottom: .6rem;
  background-color: #eee;
}

input[type="number"] {
  width: 4rem;
  margin-right: 1.6rem;
  background-color: #eee;
}

#form-email {
  line-height: 1.2;
}
input[name="year"] {
  width: 4.6rem;
}

/* TextArea */
textarea {
  max-width: 89%;
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  padding: 0.5rem;
  margin-bottom: .6rem;
  background-color: #eee;
}

@media only screen and (max-width: 269px) {
  textarea {
    width: 240px;
    height: 60px;
  }
}

@media only screen and (min-width: 270px) and (max-width: 305px) {
  textarea {
    width: 240px;
    height: 60px;
  }
}

@media only screen and (min-width: 306px) and (max-width: 415px) {
  textarea {
    width: 280px;
    height: 70px;
  }
}

@media only screen and (min-width: 416px) and (max-width: 464px) {
  textarea {
    width: 390px;
    height: 80px;
  }
}

@media only screen and (min-width: 465px) and (max-width: 535px) {
  textarea {
    width: 400px;
    height: 90px;
  }
}

@media only screen and (min-width: 536px) and (max-width: 645px) {
  textarea {
    width: 420px;
    height: 90px;
  }
}

@media only screen and (min-width: 646px) and (max-width: 749px) {
  textarea {
    width: 440px;
    height: 100px;
  }
}

@media only screen and (min-width: 750px)  {
  textarea {
    width: 483px;
    height: 110px;
  }
}

/* ShareButton to Fb */
article#Fotogalerie, footer#Kontakty {
  position: relative;
}

img.Share {
  position: absolute;
  top: 0;
  left: .4rem;
  display: block;
  margin: 9px 9px 0 auto;
  width: 70px;
  border-radius: 9px;
  border: transparent solid 6px;
}
img.Share:hover {
  border: hsl(203,99%,70%) solid 6px;
}
img.Share:active {
  border: hsl(29.6,40%,65%) solid 6px;
}

/* Zmenšení prázdného místa pod galeriemi */
article#Fotogalerie h2 {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

article#Vybaveni button.Collapsible {
  margin-top: 0;
  margin-bottom: 0;
}

/* Akce */
article#Akce .Content img, article#Akce section > img, article#Akce section a img {
  display: block;
  margin: .7rem auto;
  border-radius: 4px;
}
@media screen and  (max-width: 399px) {
  article#Akce .Content img {
    width: 95%;
  }
  article#Akce section > img {
    width: 66%;
    padding-bottom: .5rem;
  }
}
@media screen and (min-width: 400px) and (max-width: 899px) {
  article#Akce .Content img {
    width: 84%;
  }
  article#Akce section > img {
    width: 57%;
    padding-bottom: .6rem;
  }
}
@media screen and (min-width: 900px) and (max-width: 1199px) {
  article#Akce .Content img {
    width: 73%;
  }
  article#Akce section > img {
    width: 48%;
    padding-bottom: .7rem;
  }
}
@media screen and  (min-width: 1200px) {
  article#Akce .Content img {
    width: 62%;
  }
  article#Akce section > img {
    width: 39%;
    padding-bottom: .8rem;
  }
}

/* Tři sloupce */
@media screen and (max-width: 509px) {
  .Tribuses {
    display: block;
    margin: 1rem auto 0;
  }
  .Tribuses a img {
    padding-bottom: 2rem;
  }
  div.Onebus {
    padding-bottom: 1.6rem;
  }
}

@media screen and (min-width: 510px) {
  .Tribuses {
    display: flex;
    max-width: 800px;
    margin: 2rem auto 1rem;
  }
  div.Onebus {
    flex: 1;
  }
  div.Twobus {
    flex: 1;
  }
  div.Threebus {
    flex: 1;
  }
}

/* Ikonka Facebook */
.Tribuses a img {
  width: 26px;
  display: block;
  margin: 0 auto;
}
.Tribuses a img:hover {
  background-color: hsl(225,60%,70%);
  color: hsl(209.6,95%,98%);
  border-radius: .3rem;
}
.Tribuses a img:active {
  background-color: #C79F7D;
  border-radius: .3rem;
}
.Tribuses a:hover {
  background-color: hsl(225,60%,70%);
  border-radius: .3rem;
}

.Tribuses a img {
  transition: all .2s ease-out;
}
.Tribuses a img:hover {
  transform: scale(1.1);
}
