@charset "UTF-8";
/* CSS Document */

body {
  background-image: url("/images/fotografie/hrozny_1.jpg");
  background-size: contain;
}

header {
  padding-top: 1rem;
  padding-left: 1rem;
}
  header img[alt$='logo'] {
    padding-right: 1rem;
  }
  header .Phone {
    padding-top: 1.4rem;
  }

article {
  padding: .5rem 2rem .5rem 2.5rem;
  background-image: url("/images/kresby/ornament-roh_tl.png"),
  url("/images/kresby/ornament-roh_tr.png"),
  url("/images/kresby/ornament-roh_bl.png"),
  url("/images/kresby/ornament-roh_br.png");
  background-repeat: no-repeat;
  background-clip: border-box;
  background-position: top left, top right, bottom left, bottom right;
}
@media only screen and (max-width: 700px) {
  article {
    background-size: 128px auto, 128px auto, 128px auto, 128px auto;
    padding-left: 1.5rem;
    padding-right: 1.2rem;
  }
}  /* End of max-width: 700px */

article img:not([alt^='Logo'], [alt^='Ornament']) {
  padding: .3rem;
  background-color: #ddd;
  border: #aaa ridge 6px;
}

article img[alt^='Telefon'] {
  float: right;
  width: 20%;
  max-width: 303px;
  margin-right: .8%;
  margin-top: 1rem;
}

/* Responsible map */
@media only screen and (max-width: 580px) {
  iframe {
    width: 280px;
    height: 280px;
  }
} /* End of max-width: 580px */
@media only screen and (min-width: 580px) {
  iframe {
    width: 500px;
    height: 333px;
  }
} /* End of min-width: 580px */

h4#Formular {
  clear: both;
}

article img[alt*='Alena'] {
  float: left;
  width: 26%;
  max-width: 800px;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

article table caption h4 {
  font-size: .9rem;
}
article table td {
  padding: .5rem;
  font-weight: bolder;
}

/* Forms */
input, select, textarea {
  font-size: 1em;
  font-family: Archivo, sans-serif;
  font-weight: 500;
}

input[type="submit"] {
   background: #6FA4F8;
   color: #fffafa;
   padding: .4rem 1rem;
   margin: 0 .6rem;
   border: 0;
   border-radius: 10px;
 }

input[type="submit"]:hover {
  background: #2976f8;
  color: #EEEEEE;
  cursor: pointer;
}

input[type="text"], input[type="email"], input[type="password"] {
  width: 250px;
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  padding: 0.5rem;
  margin-bottom: .6rem;
}

input[name="year"] {
  width: 5rem;
}

textarea {
  border-radius: 5px;
  border: 1px solid #aaaaaa;
  width: 483px;
  height: 90px;
  padding: 0.5rem;
  margin-bottom: .6rem;
}
#form-email {
  line-height: 1;
}

/* 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%);
}

/* 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.Fotogalerie li {
  font-weight: bold;
  display: inline-block;
  margin: .3rem 0;
}
article nav.Fotogalerie a {
  padding: .2rem .3rem .3rem;
  background-color: #dddddd;
}
article nav.Fotogalerie a:hover {
  background-color: #6FA4F8;
  text-decoration: none;
}
article nav.Fotogalerie a:active {
  background-color: hsl(33.6,20%,98%);
  text-decoration: none;
}

nav.Fotogalerie {
  margin-bottom: 3.5rem;
}