@charset "UTF-8";
body {
  background-image: url("/images/fotografie/vino-grufik.jpg");
  background-size: contain;
}

header {
  padding-top: 1rem;
  padding-left: 1rem;
}
header img[alt$='logo'] {
  margin-right: 1rem;
  border-radius: .6rem;
}
header .Phone {
  padding-top: 1.4rem;
}

article {
  padding: .5rem 2rem .5rem 2.5rem;
}

article:last-of-type {
  background-image:
  url("/images/kresby/ornament-roh_bl.png"),
  url("/images/kresby/ornament-roh_br.png");
  background-repeat: no-repeat;
  background-clip: border-box;
  background-position: bottom left, bottom right;
}
@media only screen and (max-width: 700px) {
  article:last-of-type {
    background-size: 128px auto, 128px auto;
    padding-left: 1.5rem;
    padding-right: 1.2rem;
  }
}  /* End of max-width: 700px */

article img:not([alt^='Logo'], [alt^='Ornament'], [class='Share']) {
  padding: .3rem;
  background-color: #ddd;
  border: #aaa ridge 6px;
}

/* Buttons */
button {
  display: block;
  margin: 0 auto .4rem;
  color: black;
  font-weight: bold;
  background-color: hsl(341.8, 99%, 96%);
  padding: .4rem .8rem;
  border: hsl(341.8, 99%, 86%) 2px solid;
  border-radius: .5rem;
  cursor: pointer;
}
button:hover {
  border: 2px hsl(341.8, 70%, 60%) solid;
  color: white;
  background-color: #555;

}
button:active {
  border: 2px black solid;
  color: black;
  background-color: hsl(341.8, 70%, 60%);
}

/* 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;
}

label {
  margin-right: .7rem;
}

input {
  margin-top: .3rem;
  font-size: 1rem;
  font-family: PlayfairDisplay, serif;
}

input[type="submit"] {
  background: #6FA4F8;
  color: #fffafa;
  padding: .4rem 1rem;
  margin: 0 .6rem;
  border: 2px;
  border-radius: 10px;
  border: 2px #333 solid;
}

input[type="submit"]:hover {
  background: #2976f8;
  color: #eee;
  cursor: pointer;
  border: 2px #000 solid;
}

input[type="date"], input[type="number"] {
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  padding: 0.5rem;
  margin-bottom: .6rem;
  border: hsl(341.8, 99%, 92%) 2px solid;
}

input[type="number"] {
  width: 3rem;
}

/* ShareButton to Fb */
article#Dostupnost {
  position: relative;
  padding: .6rem;
}

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: 479px) {
  .Tribuses {
    display: block;
    margin: 1rem auto 0;
  }
  .Tribuses a img {
    padding-bottom: 2rem;
  }
  div.Onebus {
    padding-bottom: 1.6rem;
  }
}

@media screen and (min-width: 480px) {
  .Tribuses {
    display: flex;
    max-width: 650px;
    margin: 2rem auto 1rem;
  }
  div.Onebus {
    flex: 1;
  }
  div.Twobus {
    flex: 1;
  }
  div.Threebus {
    flex: 1;
  }
}

article.Pomoci {
  text-align: center;
}

/* PhotoSwipe begin */
.my-gallery {
  width: 100%;
  float: left;
  margin-bottom: 2rem;
  margin-left: .8rem;
}
.my-gallery img {
  width: 100%;
  height: auto;
}
.my-gallery figure {
  display: block;
  float: left;
  margin: 0 26px 20px 0;
  width: 240px;
}
.my-gallery figcaption {
  display: inherit;
  /* font-size: .8rem; */
}
.my-gallery figure.NaVysku {
  width: 180px;
}
/* PhotoSwipe end */

/* PodMenu */
article nav ul {
  padding-left: 0;
}
article nav li {
  display: inline-block;
  margin: .3rem .9rem;
}
article nav a {
  padding: .2rem .3rem .3rem;
  background-color: #dddddd;
}
article nav a:hover {
  background-color: #6FA4F8;
  text-decoration: none;
}
article nav a:active {
  background-color: hsl(33.6,20%,98%);
  text-decoration: none;
}

nav.Fotogalerie {
  margin-bottom: 3.5rem;
}

/* 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 #000;
  text-align: right;
  padding: .1rem .3rem .3rem .3rem;
  color: #000;
}

td.Free {
  background-color: #ccc;
}
td.Occupied {
  background-color: hsl(350,40%,60%);
}