.doc {
  margin: 2rem 2rem 2rem 2rem !important;
}

.toc.sidebar .toc-menu {
  margin-bottom: 5rem;
}

.footer-custom {
  border-top: 1px solid #E8E9EB;
  background: #FFF;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  width: 100%;
  min-height: 5rem;
}

.footer-container {
  width: 70%;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-left-block {
  display: flex;
  flex-wrap: wrap;
  width: 440px;
  align-items: center;
}

.footer-content {
  margin: 1rem 2rem 1rem 0;
  max-width: 245px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links {
  margin: 1rem 1rem 1rem 0;
  max-width: 205px;
  font-size: 12px;
}

.footer-tel {
  color: #70747E;
  text-decoration: none;
  margin: 1rem 1.5px 0 0;
}

.footer-mail {
  color: #70747E;
  text-decoration: none;
  margin: 1rem 1.5rem 0.5rem 0;
}

.socials {
  margin-right: 45px;
  display: flex;
  align-items: center;
}

.socials img {
  margin-right: 14px;
}

.footer-logo {
  margin-top: 2rem;
  margin-right: 85px;
}

.footer-link {

  font-weight: 400;
  line-height: 18px;
  color: #101828;
  text-decoration: none;
}

.mr-25 {
  margin-right: 25px;
}

/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {
  .footer-tel {
    margin: 0 25px 7px 0;
  }

  .footer-mail {
    margin: 0 25px 0 0;
  }

  .footer-content {
    margin: 1.5rem 0;
  }

  .footer-container {
    width: 100%;
  }
}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

  .footer-custom {
    position: fixed;
    bottom: 0;
    z-index: 2;
  }

  .footer-logo {
    margin-top: -6px;
    margin-right: 30px;
  }

  .doc {
    margin: 2rem 2rem 12rem 2rem !important;
  }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {

  .footer-custom {
    height: 5rem;
  }

  .doc {
    margin: 2rem 2rem 4rem 2rem !important;
  }
}

/*X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

  .footer-content {
    margin: 1.5rem 0;
  }
}

/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {

  .footer-links {
    max-width: none;
    margin: 1.5rem 0;
    font-size: 14px;
  }
}
