@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, p {
  text-align: center;
}

/* font-size:p, ul, ol, table */
@media screen and (max-width: 499px) {

  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) {

  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) {

  p { margin-top: .2rem; }
  p + p {margin-top: .5rem; }
  p, ul, ol, table, input, select, textarea, label {
    font-size: 1.1rem;
  }
}

address {
  font-style: normal;
}

@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%;
  }
}

/* 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 2rem .9rem;
  }
}

/* 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;
}

main.Main {
}

article {
  background-color: hsl(160,20%,40%);
  color: #eee;
  padding: .4rem;
  margin-top: 5rem;
}

footer.Footer {
  background-color: hsl(25,36%,30%);
  color: #eee;
  padding: .4rem;
  margin-top: 5rem;
}
footer.Footer p[lang='en'] {
  text-align: right;
  margin-bottom: 0;
}

/* NAV MOBILE */
@media only screen and (max-width: 999px) {

  /* Style the navigation menu */
  nav.Mobile {
    position: fixed;
    top: 0;
    right: 0;
    width: 60%;
    z-index: 3;
    padding-left: 1rem;
    background-color: transparent;
    text-transform: uppercase;
  }

  /* 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[href^="#"] {
    color: #eee;
    background-color: #333;
  }
  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: 999px */

/* 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 */

/* 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"], input[type="number"], input[type="date"], 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;
}

input[type="date"] {
  width: 9rem;
}

textarea {
  width: 22rem;
  max-width: 86%;
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  padding: 0.5rem;
  margin-bottom: .6rem;
  background-color: #eee;
}

form {
  margin-bottom: 1rem;
}

/* ShareButton to Fb */
article#Dostupnost {
  position: relative;
}

img.Share {
  position: absolute;
  top: 0;
  left: .4rem;
  display: block;
  margin: 9px 9px 0 auto;
  width: 70px;
  border-radius: 14px;
  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;
}

/* 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);
}

/* Kalendář */
div.Kalendar {
  display: block;
  text-align: center;
}
div.Tyden {
  display: inline-block;
  margin-left: 1rem;
  margin-bottom: 1rem;
}
table.Week {
  border-collapse: collapse;
}
table.Week td {
  border: 2px solid #eee;
  text-align: right;
  padding: .2rem .3rem .3rem .3rem;
}

td.Free {
  background-color: #555;
}
td.Occupied {
  background-color: hsl(326,50%,30%);
}