@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'] {
  margin-right: 1rem;
  border-radius: .6rem;
}
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: 699px) {
  article {
    background-size: 128px auto, 128px auto, 128px auto, 128px auto;
    padding-left: 1.5rem;
    padding-right: 1.2rem;
  }
  article img[alt="Hvezdicky"] {
    display: none;
  }
}  /* End of max-width: 699px */

@media only screen and (min-width: 700px) {
  article img[alt="Hvezdicky"] {
    float:right;
    width: 265px;
  }
}  /* End of min-width: 700px */

article img:not([alt^='Logo'], [alt^='Ornament'], [alt^='Hvez']) {
  padding: .3rem;
  background-color: #ddd;
  border: #aaa ridge 6px;
}

article .Vpravo {
  text-align: right;
}

/* 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;
}

/* 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 */
input, textarea {font-size: 1rem;}
input[name="Kod"], input[name="Znamka"] {
  width: 4rem;
}
/* Formát tabulky s výpisem reference */
table.Polozka td:last-of-type {
  background-color: hsl(58,50%,80%);
  padding: 0 .3rem .3rem .3rem;
}

/* Buttons */
button {
  display: block;
  margin: .5rem auto;
  color: hsl(175, 50%, 45%);
  font-weight: bold;
  background-color: hsl(39.4, 80%, 80%);
  padding: .4rem .8rem;
  border: hsl(39.4, 80%, 55%) 4px solid;
  border-radius: .5rem;
  cursor: pointer;
}

button:hover, input[type='submit']:hover {
  border: 4px hsl(341.8, 70%, 60%) solid;
  color: white;
  background-color: #555;
}
button:active, input[type='submit']:active {
  border: 4px #777 solid;
  color: black;
  background-color: hsl(341.8, 70%, 60%);
}

button + p {
  margin-top: 0;
  padding-top: 0;
  font-size: .9rem;
}

/* 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: .7rem;
  color: white;
  float: right;
  margin-left: 5px;
}
.Active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.Content h3 {
  text-align: left;
}
button.Vlevo {
  margin-left: 0;
}

/* FLEXBOX-1 */
@media screen and (max-width: 999px) {

  .FlexBox-1 {
    display: block;

  }
  .FlexBox-1 section {
    padding-bottom: .5rem;
  }

}  /* 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 */






