*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
}
.pozadisluzby {box-shadow: 0 0px 14px 3px black;}
.ps1 {height:300px;}
.ps2, .ps3 {height:200px;} 
.pozadisluzby a {
  color: #93a748;
  text-decoration: none;
}

.cd-fixed-background {
    height: 100vh;
    padding: 0;
font-family: 'PT Sans', sans-serif;
  padding: 3em 5% 0;
  }
.pozadisluzby {font-family: 'PT Sans', sans-serif;}
  .cd-fixed-background h2 {
    font-size: 3.6rem;
    font-weight: 300;
  }
  .cd-fixed-background p {
    font-size: 2.2rem;
    line-height: 1.8;
  }
  .cd-fixed-background .cd-content {
    width: 50%;
    position: absolute;
    left: 5%;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
   .pozadisluzby .cd-content {
    position: absolute;
    left: 7%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }  
  .ps1 .cd-content  {top: 210px;} 
  .ps2 .cd-content , .ps3 .cd-content  {top: 100px;} 
 
.cd-fixed-background, .pozadisluzby {
    background-attachment: fixed;
  }
  .cd-fixed-background .cd-content::after, .pozadisluzby .cd-content::after {
    display: none !important;
  }
  .cd-fixed-background.img-1, .ps1.img-1 {
    background-image: url("../img/img-1.jpg");
  }
  .cd-fixed-background.img-2, .ps2.img-2 {
    background-image: url("../img/img-2.jpg");
  }
  .cd-fixed-background.img-3, .ps3.img-3 {
    background-image: url("../img/img-3.jpg");
  }
  .cd-fixed-background.img-4, .ps1.img-4 {
    background-image: url("../img/img-4.jpg");
  }
header {
    margin-bottom: 0px;
    }
.cd-header {
  position: relative;
  height: 100%;
  background-color: #93a748;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.cd-header h1 {
  width: 90%;
  color: #f2e6cd;
  text-align: center;
  font-size: 2.2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.cd-fixed-background, .pozadisluzby {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.cd-fixed-background h2, .cd-fixed-background p, .pozadisluzby h2  {
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-fixed-background h2 {
  font-size: 3.4rem;
  margin-bottom: 1em;
}
.pozadisluzby h2 {
  font-size: 3.4rem;
}
.cd-fixed-background p {
  line-height: 1.6;
}
.cd-fixed-background .cd-content::after, .pozadisluzby .cd-content::after {
  /* phone image on small devices */
  content: '';
  display: block;
  width: 100%;
  padding: 60% 0;
  margin: 2em auto 0;
}
.cd-fixed-background.img-1, .ps1.img-1 {
  background-color: #585550;
}
.cd-fixed-background.img-1 .cd-content::after, .ps1.img-1 .cd-content::after {
  background: url("../img/img-1.jpg") no-repeat;
  background-size: 100% auto;
}
.cd-fixed-background.img-2, .ps2.img-2  {
  background-color: #534c4c;
}
.cd-fixed-background.img-2 .cd-content::after, .ps2.img-2 .cd-content::after {
  background: url("../img/img-2.jpg") no-repeat;
  background-size: 100% auto;
}
.cd-fixed-background.img-3, .ps3.img-3 {
  background-color: #433e37;
}
.cd-fixed-background.img-3 .cd-content::after, .ps3.img-3 .cd-content::after {
  background: url("../img/img-3.jpg") no-repeat;
  background-size: 100% auto;
}
.ps1.img-4 .cd-content::after {
  background: url("../img/img-4.jpg") no-repeat;
  background-size: 100% auto;
}
.textvpravo .cd-content {text-align: right; left:50%;}

.cd-vertical-nav {
  position: fixed;
  z-index: 2;
  right: 3%;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  display: none;
}
.cd-vertical-nav a {
  display: block;
  height: 40px;
  width: 40px;
  /* image replace */
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: transparent url(../img/cd-icon-arrow.svg) no-repeat center center;
  -webkit-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  -moz-transition: opacity 0.2s 0s, visibility 0.2s 0s;
  transition: opacity 0.2s 0s, visibility 0.2s 0s;
}
.cd-vertical-nav a.cd-prev {
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
  margin-bottom: 10px;
}
.cd-vertical-nav a.inactive {
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  -moz-transition: opacity 0.2s 0s, visibility 0s 0.2s;
  transition: opacity 0.2s 0s, visibility 0s 0.2s;
}
@media only screen and (min-width: 1200px) {
  .cd-vertical-nav {
    display: block;
  }
}
@media only screen and (min-width: 1048px) {
  
  .cd-fixed-background .cd-content {
    width: 40%;
    left: 10%;
  }
.textvpravo .cd-content {text-align: right; left:50%;}
}
@media only screen and (min-width: 768px) {
  .cd-header h1 {
    font-size: 3.6rem;
    font-weight: 300;
  }
}
@media only screen and (min-width: 1048px) {
  body {
    /* hide horizontal scroll bar in IE */
    overflow-x: hidden;
  }
}
.no-js .cd-vertical-nav {
  display: none;
}
@media only screen and (max-width: 1000px) {
.cd-fixed-background .cd-content {
    width: 70%;
}
.textvpravo .cd-content {left:20%;}
.ps1 {
    height: 250px;
}
.ps2, .ps3 {
    height: 140px;
}
.ps1 .cd-content {
    top: 180px;
}
.ps2 .cd-content, .ps3 .cd-content {
    top: 70px;
}
.pozadisluzby h2 {
    font-size: 30px;
}
}
@media only screen and (max-width: 768px) {
.cd-fixed-background .cd-content {
    width: 90%;
}
.textvpravo .cd-content {left:5%;}
.cd-fixed-background h2 {
    font-size: 3rem;
}
.cd-fixed-background p {
  line-height: 1.4;
  font-size: 18px;
}
}
@media only screen and (max-width: 500px) {
.cd-fixed-background h2 {
    font-size: 2.5rem;
}
.pozadisluzby h2 {
    font-size: 24px;
}
}