.local-container {
  min-height: calc(100vh - 80px);
  width: calc(100vw - 40px);
  max-height: 100%;
  margin: 60px 20px 20px 20px;
}

@media screen and (min-width: 768px) {
  .local-container {
    min-height: calc(100vh - 120px);
    width: calc(100vw - 80px);
    max-height: calc(100vh - 120px);
    margin: 80px 40px 40px 40px;
  }
}

.home-container {
  display: table;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background: #ffffff;
}

.home-show {
  display: table-cell;
  vertical-align: middle;
  padding: 40px 20px 25px 20px;
}

.home-show h1 {
  font-size: 2.9rem;
  line-height: 3.3rem;
  margin: 0 0 15px 0;
  font-weight: 700;
}

.home-show p {
  font-size: 1.6rem;
  line-height: 2.3rem;
  margin: 0 0 30px 0;
}

.home-show h1,
.home-show p {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .dog {
    background: url(../../morda/img/bg_medium.jpg), #ffffff;
    background-position: 150% bottom;
    background-repeat: no-repeat;
  }

  .home-show {
    padding: 0;
  }

  .home-show h1 {
    font-size: 4.0rem;
    line-height: 4.6rem;
  }

  .home-show p {
    font-size: 1.8rem;
    line-height: 2.7rem;
  }

  .home-show h1,
  .home-show p {
    text-align: left;
  }
}

@media screen and (min-width: 1024px) {
  .dog {
    background: url(../../morda/img/bg_medium.jpg), #ffffff;
    background-position: 150% bottom;
    background-repeat: no-repeat;
  }
}

@media screen and (min-width: 1280px) {
  .dog {
    background: url(../../morda/img/bg_large.jpg), #ffffff;
    background-position: right bottom;
    background-repeat: no-repeat;
  }

  .home-show h1 {
    font-size: 5.0rem;
    line-height: 5.6rem;
  }
}





/*@media screen and (max-width: 480px) {
  .home-show {
    padding: 40px 0 30px 0;
  }

  .home-show h1 {
    font-size: 2.9rem;
    line-height: 3.3rem;
    margin: 0 0 15px 0;
    padding: 0 20px;
  }

  .home-show p {
    font-size: 1.6rem;
    line-height: 2.3rem;
    padding: 0 20px;
  }

}

@media screen and (max-width: 320px) { 
  .home-show {
    padding: 40px 0 30px 0;
  }

  .home-show h1 {
    text-align: center;
  }

  .home-show h1 span {
    display: none;
  }

  .home-show p {
    text-align: center;
  }

}*/