body {                
  color: #000;
}

main {
  max-width: none;
  padding: 0;
  display: block;
  text-align: center;
}

a {
  text-decoration: underline;
  color: #000;
}

a:hover {
  color: #ccc !important;
}

header, footer {
  background-color: #fff;
  box-shadow: none;
  text-align: center;
  font-weight: 100;
  display: block;
  border-color: #ccc !important; 
  z-index: 100;
}

header {
  border-bottom: 1px solid #ccc;
  line-height: 7vh;
}

#header-obsah {
  max-width: 1200px;
  text-align: right;
  margin: 0 auto;
  display: block;
  padding: 0;
}

header a {
  text-decoration: none;
  border-right: 1px solid;
  padding: 0 3vh;
}

header a:last-of-type {
  border: none;
  padding-right: 0;
}

footer {
  border-top: 1px solid #ccc;
}

footer > div, menu > div {
  display: block;
  max-width: none;
  margin: 4vh 0;
  width: initial;
  text-align: center;
}

footer a {
  color: #ccc;
}

footer a:hover {
  color: #000 !important;
}

footer img, #chcete-me img, menu img {
  height: 7vh;
}

menu img {
  margin: 0 2%;
}

body {
  background: none;
  background-color: #fff;
}

body:before {
  content: none;
}

main {
  overflow-x: hidden;
}

menu, header img {
  display: none;
}

h1 {
  font-size: 4vh;
}

h2, body, input, div.vyber, select, textarea, #hlaska {
  font-size: 2.4vh;
  margin: 0 0 2vh 0;
}

h3, footer > div:last-of-type {
  font-size: 2vh;
}

h3 {
  text-transform: none;
}

#logo-velke {
  padding: 18vh 0;
  background-image: url(./img/uvodni.jpg);
  background-position: 50% -15vh;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  color: #fff;
}

#logo-velke img {
  height: 18vh;
}

#logo-velke h1 {
  font-family: dejaVu;
  border: none;
  font-size: 9vh;
  font-weight: 100;
  text-transform: uppercase;
  padding: 0;
  color: #d65840;
}

#logo-velke h1, #logo-male {
  letter-spacing: -0.12em;
}

#logo-velke h1 span, #logo-male span {
  font-family: dejaVuBold;
}

#logo-male {
  display: block;
  float: left;
}

.obsah {
  background-color: #fff;
}
 
.obsah:last-child {
  padding-bottom: 20vh;
}

.obsah h1 {
  text-transform: uppercase;
  border-bottom: 0.3vh solid;
  padding: 1vh 0;
  margin: 4vh 0;
  display: inline-block;
}

.sekce {
  padding: 4vh 2vh;
}

.sekce img {
  border: 1px solid #ccc;
  border-radius: 0;
}

.sekce-obsah {
  max-width: 1200px;
  margin: 0 auto;
  text-align: justify;
  display: block;
  padding-bottom: 4vh;
}

.nahled {
  width: 49%;
  margin: 0.5%;
  vertical-align: top;
  text-align: center;
  background-size: cover;
  background-position: 50% 50%;
  padding-bottom: 40%;
  position: relative;
}

.nahled:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: opacity 0.3s;
  opacity: 0;
  z-index: 2;
}

.nahled:hover:before {
  opacity: 1;
}

.nahled:nth-child(3n+1) {
  width: 99%;
}

.nahled h2 {
  margin: 0;
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100%;
  font-size: 3vh;
  text-shadow: 2px 2px 2px #333;
  z-index: 99;
}

.nahled h2 span {
  font-size: 1.5vh;
  display: block;
}

.nahled img {
  width: 100%;
}

.nahled img:nth-of-type(2) {
  border: none;
  max-height: 9vh;
  width: auto;
  max-width: 80%;
}

#main_vyber .obsah .sekce .nahled:nth-of-type(2) {
  color: #004f7c;
}

#prodano-obsah .sekce-obsah, #na-prodej-obsah .sekce-obsah {
  text-align: center;
}

#prodano-obsah, .detail, footer, #kontakt-obsah, .seda {
  background-color: rgba(0,0,0,0.08);
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

#nacistDalsi {
  margin: 4vh auto;
  width: 70%;
}

input, textarea {
  color: #000;
  font-size: 100%;
  margin-left: 15%;
  width: 70%;    
  border-radius: 0;
  display: block;
}

input[type="button"], input[type="submit"] {
  background-color: #000;
  color: #fff;
  -webkit-appearance: none;
  width: calc(70% + 4vh);
}

input[type="text"], textarea {
  text-align: left !important;
}  

.clanek p, .clanek img, #o-mne-obsah p, #kontakt-obsah p {
  line-height: 250%;
}

.clanek img {
  cursor: pointer;
  width: 80%;
}

.prvni, .druhy {
  width: 39.6% !important;
}

.clanek > p {
  margin: 0;
  padding: 4% 0;
}

.na-vysku, .dve-fotky {
  display: inline-block;
  width: 100%;
  padding: 4% 0;
  color: #004f7c;
  display: flex;
  align-items: center;
}

#chcete-me {
  position: fixed;
  left: 0;
  margin: 2vh 0 2vh -1px;
  z-index: 1000;
  padding: 2vh;
  width: fit-content;
  background-color: #004f7c;
}

#chcete-me h2, #chcete-me h3 {
  margin: 0;
  padding: 0;
  border: none;
  color: #fff;
}

#chcete-me img {
  padding: 2vh 1vh;
  cursor: pointer;
}

@media only screen and (max-width: 620px) {
  h1 {
    font-size: 4.5vh;
  }
  
  h2, body, input, div.vyber, select, textarea, #hlaska {
    font-size: 2.6vh;
  }
  
  h3, footer > div:last-of-type {
    font-size: 2.2vh;
  }
  
  #header-obsah {
    text-align: left;
  }
  
  header {
    line-height: initial;
  }
  
  header img {
    display: inline;
    height: 6vh;
    margin: 1vh;
  }
  
  header a, header div {
    display: none;
  }
  
  menu {
    margin: 0;
    border-radius: 0;
    border-bottom: 1px solid #ccc;
    width: 100%;
    top: initial;
    background-color: #fff;
    background-image: none;
    padding: 0;
  }
  
  #hledani {
    width: calc(100vw - 2vh);
  }
  
  menu a {
    font-size: 2.5vh;
    line-height: 6vh;
    margin: 1vh;
    padding: 2vh 1vh 1vh 5vh;
    color: #000;
  }
  
  menu a:not(:first-of-type) {
    border: none;
  }
  
  #hledani input {
    border: 1px solid #000 !important;
  }
  
  #logo-male {
    padding: 0;
    float: none;
    display: inline;
  }
  
  #logo-velke img {
    height: 10vh;
  }
  
  .sekce {
    padding: 4vh 0;
  }
  
  .obsah h1, .obsah p {
    margin-left: 2vh !important;
    margin-right: 2vh !important; 
  }
  
  .obsah img {
    border: none !important;
  }
  
  .nahled {
    width: 100% !important;
    padding-bottom: 70% !important;
    margin: 0 0 2% 0; 
  }
    
  .sekce-obsah img {
    margin: 0.5vh 0;
    width: 100% !important;
  }
  
  #chcete-me {
    bottom: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    width: 100%;
    padding: 2vh 0;
  }
  
  #chcete-me div {
    margin: 0 2vh;
    text-align: left;
  }
  
  #chcete-me div:first-of-type {
    float: left;
  }
  
  #chcete-me div:last-of-type {
    float: right;
  }
  
  #chcete-me img {
    padding: 0 1vh;
  }
  
  input, textarea {
    margin-left: 2vh;
    width: calc(100vw - 8vh);
  }
  
  input[type="button"], input[type="submit"] {
   width: calc(100vw - 4vh);
  }
}