/*
Theme name: MDM
Author: Aneta Camo
Author URI: anetacamo.github.io
Description: This Template has been created solely for a project of MDM on October 2019
License: All Rights Reserved
*/







section {
  position: relative;
  overflow: auto;
}
.container {
  max-width: 1400px;
  margin: 80px auto;
  overflow: auto;
}
@media (max-width: 800px) {
  .container {
    margin: 40px 0;
    padding: 0 24px;
  }
}
@media (max-width: 460px) {
  .container {
    margin: 24px 0;
    padding: 0 16px;
  }
}


.mw-600 {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.mw-750 {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 800px) {
  .mw-750{
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 700px) {
  .mw-750{
    margin-left: auto;
    margin-right: auto;
  }
}

.w50 {
  width: 50%;
}
.w33 {
  width: 33.33%;
}
.w25 {
  width: 25%;
}
@media (max-width: 1000px) {
  .w25 {
    width: 33.33%;
  }
}
@media (max-width: 900px) {
  .w33, .w25 {
    width: 50%;
  }
}
@media (max-width: 700px) {
  .w50, .w33, .w25 {
    width: 100%;
  }
}



/* item aligning */
.center {
  text-align: center;
}
.left {
  float: left;
}
.align-left {
  text-align: left;
}
.flex-display {
  overflow: auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.vertical {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cover, .contain {
  height: 100%;
  width: 100%;
}
.cover {
  object-fit: cover;
}
.contain {
  object-fit: contain;
}





/* icon styles */
.with-icon, .with-medium-icon {
  position: relative;
}
.with-icon p, .with-icon h4, .with-icon li {
  padding-left: 64px;
}
.with-icon h4 {
  margin-bottom: -20px;
}
.with-medium-icon p, .with-medium-icon h4, .with-medium-icon li {
    padding-left: 112px;
}
.circle {
  border-radius: 50%;
  height: 120px;
  width: 140px;
  margin: 12px auto;
  margin-bottom: 32px;
}
@media (max-width: 1200px) {
  .circle {
    height: 100px;
    width: 115px;
  }
}
@media (max-width: 440px) {
  .circle {
    height: 90px;
    width: 100px;
  }
}
.circle-medium {
  height: 90px;
  width: 100px;
  margin: 0;
}
.circle-mini {
  height: 50px;
  width: 55px;
  margin: 0;
}
@media (max-width: 800px) {
  .circle-mini {
    height: 45px;
    width: 49px;
  }
}




.box {
  padding: 24px 36px;
  margin: 12px;
  border-radius: 4px;
  line-height: 1.4;
}
@media (max-width: 1200px) {
  .box {
    padding: 20px 32px;
  }
}
@media (max-width: 700px) {
  .box {
    margin: 12px 0;
    padding: 16px;
  }
}
@media (max-width: 480px) {
  .box {
    margin: 8px 0;
    padding: 12px;
  }
}



.hide {
  display:none;
}
.space {
  width: 100%;
  height: 24px;
}
.divider {
  width: 80px;
  height: 6px;
  margin: 32px auto;
}



/* large image backgrounds */
.houses-bg {
  height: 250px;
  background-image: url(images/houses4.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 99%;
}
.houses-bg2 {
  height: 100vh;
  background-image: url(images/houses3.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center 100%;
}
.penize-bg {
  width: 100%;
  background-image: url(images/bg.png);
  position: absolute;
  left: 0;
  bottom: -22px;
  height: 350px;
}
.icon-bg {
  background-image: url(images/icons_yellow1.png);
  background-size: contain;
}


@media (min-width: 1100px) {
  .houses-bg {
    background-size: contain;
  }
}
@media (max-width: 440px) {
  .houses-bg2 {
    background-position: 100% 100%;
    background-size: 180%;
  }
}










/* pribehy update */
@media (max-width: 700px) {
  #pribehy .vertical {
    position: static;
    margin: auto !important;
    transform: none;
    margin-bottom: 12px;
  }
}

.stories-right {
  text-align: right;
  margin: 40px 0;
  margin-left: 40%;
}
@media (max-width: 700px) {
  .stories-right {
    margin: auto;
  }
}
.stories-right .with-medium-icon p, .stories-right .with-medium-icon h4, .stories-right .with-medium-icon li {
    padding: 0;
    padding-right: 112px;
}
.stories-right .vertical {
    right: 0;
}
@media (max-width: 700px) {
  .stories-right .with-medium-icon p, .stories-right .with-medium-icon h4, .stories-right .with-medium-icon li, .with-medium-icon p, .with-medium-icon h4, .with-medium-icon li {
    padding: 0;
  }
}

.bulleted li {
  font-size: 14px;
  list-style: circle;
}

#co-to-je {
  background-color: var(--gray);
}

#top {
  height: 100vh;
}

#kdo li:before {
  content: "+";
  font-weight: 300;
  font-size: 22px;
  color: var(--yellow);
  margin-right: 8px;
}

#jednotlivci li {
  margin: 18px 0;
}

@media (min-width: 700px) {
  #vypocet .box {
    position: relative;
  }
  #vypocet .count {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
    text-align: center;
  }
}

#pribehy .white-bg {
  cursor: pointer;
}
#pribehy .white-bg h4 {
  font-size: 18px;
}

@media (max-width: 1400px) {
  #pribehy .white-bg {
    height: 150px;
  }
}
@media (max-width: 1250px) {
  #pribehy .white-bg {
    height: 164px;
  }
  #pribehy .white-bg h4 {
    font-size: 16px;
    margin-top: 6px;
  }
}
@media (max-width: 1100px) {
  #pribehy .white-bg {
    height: 180px;
  }
}
@media (max-width: 900px) {
  #pribehy .white-bg {
    height: 200px;
  }
  #pribehy .white-bg h4 {
    font-size: 14px;
    margin-top: 12px;
  }
}
@media (max-width: 700px) {
  #pribehy .white-bg {
    height: auto;
  }
}
#pribehy .opened {
  height: auto;
}

#napsali-o-nas p:before, #napsali-o-nas p:after {
  content: "";
  background-image: url(images/uvozovky.png);
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  height: 36px;
  width: 30px;
}
#napsali-o-nas p:after {
  background-image: url(images/uvozovky1.png);
  margin-top: 36px;
  float: right;
}
