.footer  {
  max-width: 1240px;
  width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  margin: 28px auto 0;
}
.footer__in {
  display: flex;
  justify-content: space-between;
  padding: 0 0 2px;
  margin: 0 20px;
  border-top: solid 2px #a88a8a;
}
.footer__phone-block {
  margin-top: 7px;
}
.footer__phone {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.29;
  text-align: left;
  color: #000000;
}
.footer__ur-block {
  margin-top: 7px;
}
.footer__ur {
  font-family: 'Garamond', Arial, serif;
  font-size: 14px;
  line-height: 1.29;
  text-align: left;
  color: #707070;
}
.footer__soc-block {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  margin-top: 10px;
}
.footer__soc-block-top {
  display: flex;
  justify-content: flex-end;
}
.footer__soc {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  margin-left: 4px;
  background-size: 100%;
  background-repeat: no-repeat;
  background-color: #fff;
}
.footer__soc-fb {
  background-image: url(Facebook.svg);
}
.footer__soc-tw {
  background-image: url(Twiter.svg);
}
.footer__soc-in {
  background-image: url(LinkedIn.svg);
}
.footer__soc-wu {
  background-image: url(whatsap2.svg);
}
.footer__soc-g {
  background-image: url(Google.svg);
}
.footer__soc-insta {
  background-image: url(Instagram.svg);
}
.footer__soc-vk {
  background-image:url(vk.svg)
}
.footer__soc-viber {
  background-image:url(viber2.svg)
}
.footer__soc-block-bot {
  display: flex;
  justify-content: flex-end;
  margin-top: 45px;
}
.footer__doc-link  {
  display: inline-block;
  margin: 0 0 0;
  font-size: 19px;
  font-family: 'Garamond', Arial, serif;
  color: #000000;
}
.footer__doc-link:last-child {
  margin: 0 0 0 15px;
}
.footer__doc-link:hover {
  color: #a88a8a; 
}
@media screen and (max-width: 768px) {
  .footer__doc-link {
    font-size: 18px;
  }
}
@media screen and (max-width: 639px) {
  .footer {
    padding: 0;
  }
  .footer__in {
    display: block;
    padding: 5px 15px 15px;
    margin: 0;
  }
  .footer__soc-block {
    margin-top: 15px;
  }
  .footer__soc-block-top {
    justify-content: center;
  }
  .footer__soc-block-bot {
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
  }
  .footer__doc-link {
    font-size: 16px;
    margin-top: 10px;
  }
  .footer__doc-link:last-child {
    margin-top: 10px;
  }
}



