body {
  margin: auto;
  background-color: #FFF4CA;
  color: #000000;
  font-family:"Arial CE", "Helvetica CE", Arial, sans-serif;
  max-width: 1024px;
  height: 100%;
  }

/* The side navigation menu */
.sidebar {
  margin: 0;
  padding: 0;
  width: 160px;
  position: fixed;
  height: auto;
  overflow: auto;
}

/* Sidebar links */
.sidebar a {
  display: block;
  color: navy;
  font-weight: bold;
  padding: 10px;
  margin: 5px;
  text-decoration: none;
  font-size: 14px;
}

/* Links on mouse-over */
.sidebar a:hover {
  background-color: navy;
  color: white;
}

/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
  margin-left: 200px;
  padding: 10px 10px;
   }

/* neviditelná nabídka MENU */
.menu {
  display: none;
  position: relative;
  text-align: center; /* prvky doprostřed */
  width: 40%;
  margin: auto;
  min-width: 110px;
  }

/* neviditelná nabídka položek MENU */
.polozky-menu {
  display: none;
  z-index: 1;
  background-color: #FFF4CA;
  color: white;
  padding: 0px;
  text-decoration: none;
  position: absolute;
  width: 100%;
  }


/* položky MENU formát */
.polozky-menu a {
  display: block;
  color: navy;
  font-weight: bold;
  padding: 10px 0px;
  text-decoration: none;
  font-size: 14px;
  }
 
/* MENU formát */
.menu-button {
  color: navy;
  font-weight: bold;
  background-color: #FFF4CA;
  padding: 10px;
  border-style: none;
  }

 /* myš nad tlačítkem MENU */
.menu-button:hover {
  background-color: navy;
  color: white;
  }

/* Links on mouse-over */
.polozky-menu a:hover { 
  background-color: navy;
  color: white;
  }

/* vycentrování */
.stred{text-align: center}

/* formát fotky na uvodni strane */
.foto-uvod{
border: 0px;
width: 90%;
}

/* formát fotky prkýnka */
.foto-prkynko{
margin: 20px 5px;
}

/* formát fotky prkýnka */
.foto-napsali{
width: 90%;
}

/* formát fotky historie domu */
.foto-historie{
width: 45%;
padding: 10px;
}

/* formát fotky jak zijeme */
.foto-zijeme{
width: 65%;
padding: 10px;
}

/* formát fotky zvirata */
.foto-zvirata{
width: 65%;
padding: 10px;
}

/* formát fotky vechtrovna */
.foto-vechtrovna{
width: 65%;
padding: 10px;
}

/* formát fotky péefko */
.foto-pf{
width: 90%;
padding: 10px;
}

/* formát fotky nabídka */
.foto-nabidka{
width: 100px;
padding: 10px;
}

/* formát fotky historie domu */
.kontakt{
margin: 50px auto;
width: 300px;
 }
 
/* formát znak (poutnika) */
.foto-znak{
width: 10%;
} 

/* jazyk - nabídka English v textu, nikoliv v menu */
.jazyk{
text-align: center;
display: none;
}

.bezodrazek{list-style-type: none}
h1{text-align:center; color:#000000; font-size:30px; margin-top:10; font-family: sans-serif;}
h2{text-align:center; color:#000000; font-size:20px; margin-top:30; font-family: sans-serif;}
h3{text-align:center; color:#000000; font-size:15px; margin-top:30; font-family: sans-serif;}
.clear-right{clear: right}

p{text-align:justify; font-size:14px; margin:5; word-spacing:3; line-height:160%}

a {color: navy  ; text-decoration: none; font-weight: bold}
a:hover {color: white; background: navy}

/* On screens that are less than 1024px wide, make the sidebar into a topbar */
@media screen and (max-width: 1024px) {
  .sidebar {
    width: 100%;/* roztáhnout na celou šířku */
    height: auto;
    position: relative;
    text-align: center;/* prvky doprostřed */
    }
  
  .sidebar a {
    display: inline-block;/* make the sidebar into a topbar, místo "block" zobraz "inline-block" */
    padding: 15px 5px;  /* položky menu blíže sebe, aby se vešly do jedné řádky */
    }
   div.content {margin-left: 0;}/* make content na celou šířku */
   
/* fotka prkýnka zmizí */
.foto-prkynko{
display: none;
}

.jazyk{
display: block;
}

}

/* On screens that are less than 768px*/
@media screen and (max-width: 768px) {
.sidebar {
    display: none;/* schovat sidebar */
  }

.menu {
  display: block; /* zobraz MENU */
   }
 
 /* formát fotky historie domu */
.foto-historie{
width: 90%;
}  
 
/* formát fotky jak zijeme */
.foto-zijeme{
width: 90%;
}

/* formát fotky vechtrovna */
.foto-vechtrovna{
width: 90%;
} 

/* formát fotky zvirata */
.foto-zvirata{
width: 10%;
}

/* formát znak (poutnika) */
.foto-znak{
width: 25%;
} 
  
}
