div.galeria {
}

div.img {
    margin: auto;
    margin-top: 5%;
    width: 75%;
    font-family: 'Roboto Condensed', sans-serif;
    color: #424242;
}

div.img img:hover {
    border: 4px solid #ffffff;
}

div.img img {
    width: 100%;
    height: auto;
    border: 4px solid #424242;
}

div.imgakt {
    margin: auto;
    margin-top: 0%;
    width: 75%;
    font-family: 'Roboto Condensed', sans-serif;
    color: #ffffff;
    padding: 5px;
    border: 4px solid #ffffff;
    font-size: 17px;
    line-height: 25px;
}

div.imgakt:hover {
    background: #F4F4F4;
    border: 4px solid #424242;
}

div.imgakt img {
    width: 100%;
    height: auto;
}

div.imgakt a {
  color: #424242;
}

div.imgakt a:hover {
  color: #424242;
}

div.linkakt {
  background-color: #F4F4F4;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 17px;
  font-weight: bold;
  text-align: center;
}

div.linkakt a {
  text-decoration: none;
  display: block;
  color: #424242;
  padding-top: 15px;
  padding-bottom: 15px;
}

div.linkakt a:hover {
  background-color: #424242;
  color: #ffffff;
}

div.desc {
    padding: 15px 5px 15px 5px;
    text-align: center;
}

div.historia h2{
    font-family: 'Roboto Condensed', sans-serif;
    color: #595959;
    font-weight: normal;
    margin: 0;
    padding-top: 2px;
}

body {
margin:0px;
padding:0px;
}

.container {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
}

.container div {
  box-sizing: border-box;
  min-width: 150px;
}

.header {
  width: 100%;
  min-height: 300px;
  background-image: url(header.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.content {
  width: 100%;
  float: left;
  text-align: justify;
  padding-right: 2%;
  padding-left: 2%;
}

.sidebar {
  width: 100%;
  float: right;
  padding: 2%;
  text-align: center;
}

.sidebar a {
  text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9em;
  display: block;
  padding: 1.2em;
  font-weight: bold;
}

.sidebar a:hover {
  background-color: #424242;
  color: #ffffff;
}

.tabelka {
    width: 100%;
    font-size: 17px;
    font-family: 'Roboto Condensed', sans-serif;
    text-align: center;
    vertical-align: center;
    border: 4px solid #ffffff;
}
.tabelka td {
    width: 25%;
    padding-top: 4px;
    padding-bottom: 4px;
}
.tabelka thead th {
    font-weight: bold;
    color: #424242;
    font-size: 18px;
    padding: 5px;
}
.tabelka tbody tr:hover {
    background: #F4F4F4;
    border: 4px solid #424242 !important;
}
#footer{
   background-image: url(logo2800.png);
   background-size: auto 20%;
   background-repeat: no-repeat;
   background-position: right center;
   font-size: 18px;
}

@media (max-width: 600px) {
.header {
  width: 100%;
  min-height: 300px;
  background-image: url(header600.png);
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
}

  div.img {
  font-size: 16px;
  }

  p {
  font-size: 16px;
  line-height: 20px;
  }

  .menu a {
  font-size: 16px;
  }

  .menu h1{
  font-size: 18px;
  }

  .navigation {
  font-size: 16px;
  }
  .navigation a {
  padding: 0px;
  } 
}

@media (min-width: 600px) and (max-width: 800px) {
.header {
  width: 100%;
  min-height: 300px;
  background-image: url(header800.png);
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

  div.img {
  font-size: 16px;
  }

  p {
  font-size: 16px;
  line-height: 26px;
  }

  .menu a {
  font-size: 16px;
  }

  .menu h1{
  font-size: 18px;
  }

  .navigation {
  font-size: 14px;
  }
  .navigation a {
  padding: 0px;
  } 
}

@media (min-width: 800px) and (max-width: 1000px) {
.header {
  width: 100%;
  min-height: 400px;
  background-image: url(header1000.png);
  background-size: 100%;
  background-position: top center;
  background-repeat: no-repeat;
}

  div.img {
  font-size: 24px;
  }

  .content h1{
  font-size: 34px;
  }

  .content h2{
  font-size: 28px;
  }

  p {
  font-size: 16px;
  line-height: 42px;
  }

  p.kontakt {
  font-size: 28px;
  line-height: 42px;
  }

  p.gallery {
  font-size: 16px;
  line-height: 30px;
  }

  .menu a {
  font-size: 24px;
  }

  .menu h1{
  font-size: 34px;
  }

  .navigation {
  font-size: 34px;
  }
  .navigation a {
  padding: 34px;
  }

#footer{
   background-image: url(logo2.png);
   background-size: auto 35%;
   background-repeat: no-repeat;
   background-position: right center;
   font-size: 32px;
  }
}

@media (min-width: 1000px) {
div.galeria {
display: flex;
justify-content: center;
}
div.img {
    font-size: 0.9em;
    margin: 2%;
    width: 21%;
}

  .content h1{
  font-size: 22px;
  }

  .content h2{
  font-size: 18px;
  }

  p {
  font-size: 18px;
  line-height: 32px;
  }

  p.gallery {
  font-size: 16px;
  line-height: 24px;
  }

  .menu a {
  font-size: 18px;
  }

  .menu h1{
  font-size: 22px;
  }

  .menu h2{
  font-size: 22px;
  }

.navigation {
  font-size: 17px;
  background-image: url(logo.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
}

  .navigation a {
    padding: 10px;
}

  .header {
    width: 100%;
    background-image: url(header.png);
    background-repeat: no-repeat;
    -webkit-order: 21;
    order: 1;
  }

  .content {
    padding-left: 5%; 
    width: 75%;
    min-height: 100%;
    padding-right: 4%;
    -webkit-order: 2;
    order: 2;
  }

  .sidebar {
    width: 25%;
    float: right;
    min-height: 150px;
    -webkit-order: 3;
    order: 3;
    border-left-width: 2px;
    border-style: solid;
    border-color: #595959;
    text-align: center;
}

#footer{
   background-image: url(logo2.png);
   background-size: auto 35%;
   background-repeat: no-repeat;
   background-position: right center;
  }

}

.content h1{
    font-family: 'Roboto Condensed', sans-serif;
    color: #595959;
    padding-top: 5%;
    padding-bottom: 1%;
    margin: 0;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.menu h1{
    font-family: 'Roboto Condensed', sans-serif;
    color: #595959;
    font-weight: bold;
    margin: 0;
    padding-bottom: 1%;
}

.content h2{
    font-family: 'Roboto Condensed', sans-serif;
    color:#424242;
    padding-top: 2%;
    margin: 0;
    font-weight: bold;
}

p{
    font-family: 'Roboto Condensed', sans-serif;
    color: #424242;
    padding-bottom: 2%;
    padding-top: 2%;
}

p.gallery{
    font-family: 'Roboto Condensed', sans-serif;
    color: #424242;
    padding-bottom: 0%;
    padding-top: 1%;
}

.navigation {
  list-style: none;
  padding-right: 2%;
  margin: 0;
  background-color: #ffffff;
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: flex-end;
}

.navigation a {
  text-decoration: none;
  font-family: 'Roboto Condensed', sans-serif;
  display: block;
  padding: 1.2em;
  color: #424242;
}

.navigation a:hover {
  background-color: #424242;
  color: #ffffff;
}

.click {
  background-color: #424242;
  color: #ffffff;
}

.click a {
  color: #ffffff;
}

.preclick {
  background-color: #ffffff;
  color: #424242;
}

.preclick a {
  color: #ffffff;
}


#footer{
   padding-left: 5%;
   padding-top: 2%;
   color: #FFFFFF;
   text-decoration: none;
   border-top-width: 2px;
   border-style: solid;
   border-color: #424242;
   background-color: #424242;
   font-family: 'Roboto Condensed', sans-serif;
   line-height: 1.6em;
   padding-bottom: 2%;
}

#fotter a:visited {
    color: #424242 !important;
}

.menu{
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.6em;
    padding-top: 15%;
}


@media (max-width: 1000px) {
    
    .content h1{
    font-family: 'Roboto Condensed', sans-serif;
    color: #595959;
    padding: 3%;
    margin: 0;
}

    .content h2{
    font-family: 'Roboto Condensed', sans-serif;
    color:#424242;
    padding: 2% 0 1% 3%;
    margin: 0;
    font-weight: bold;
}

    .menu h1{
    font-family: 'Roboto Condensed', sans-serif;
    color: #595959;
    font-weight: bold;
    margin: 0;
    padding-bottom: 2%;
}

    p {
    font-family: 'Roboto Condensed', sans-serif;
    color: #424242;
    padding-left: 3%;
    margin: none;
}

    p.gallery {
    font-family: 'Roboto Condensed', sans-serif;
    color: #424242;
    padding-bottom: 0%;
    padding-top: 0%;
}

  .navigation {
   justify-content: space-around;
  }

  .navigation {
    -webkit-flex-flow: column wrap;
    flex-flow: column wrap;
    padding: 0;
  }

  .navigation a {
    text-align: center;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  }

  .navigation li:last-of-type a {
    border-bottom: none;
  }
  .menu{
    text-decoration: none;
    font-family: 'Roboto Condensed', sans-serif;
    padding-top: 5%;
    border-top-width: 2px;
    border-style: solid;
    border-color: #424242;
  }

}