/*======================================================================*\
|| #################################################################### ||
|| # Copyright 2018 melissa.team All Rights Reserved.                 # ||
|| # Файл стиля FOOTER.                                               # ||
|| #################################################################### ||
\*======================================================================*/
.footer {
  padding: 6.25rem 0;
  color: #1d1d1b;
  line-height: 1.5;
}
@media (max-width: 991.98px) {
  .footer {
    padding: 2rem 0;
  }
}
.footer__wrapp {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 3fr 1fr;
  padding-top: 2.5rem;
  border-top: 1px solid #E6E6E6;
}
@media (max-width: 1199.98px) {
  .footer__wrapp {
    grid-gap: 1rem;
    grid-template-columns: 1fr 2.5fr 1fr;
  }
}
@media (max-width: 991.98px) {
  .footer__wrapp {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    gap: 2rem;
  }
}
.footer__wrapp h4 {
  margin-top: 0;
}
.footer__wrapp .moduletable_footer-menu ul {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  padding: 18px 0;
}
@media (max-width: 1448px) {
  .footer__wrapp .moduletable_footer-menu ul {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    row-gap: 1.5rem;
  }
}
@media (max-width: 991.98px) {
  .footer__wrapp .moduletable_footer-menu ul {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
  }
}
.footer__wrapp .moduletable_footer-menu ul li {
  margin-right: 1.5rem;
}
@media (max-width: 991.98px) {
  .footer__wrapp .moduletable_footer-menu ul li {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}
.footer__wrapp .moduletable_footer-menu ul li:last-child {
  margin-right: 0;
}
@media (max-width: 991.98px) {
  .footer__wrapp .moduletable_footer-menu ul li:last-child {
    margin-bottom: 0;
  }
}
.footer__wrapp .moduletable_footer-menu ul li.active a {
  background: none;
}
.footer__wrapp .moduletable_footer-menu ul li > a {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 600;
  color: #1d1d1b;
  display: block;
}
@media (max-width: 1600px) {
  .footer__wrapp .moduletable_footer-menu ul li > a {
    font-size: 1rem;
  }
}
@media (max-width: 1199.98px) {
  .footer__wrapp .moduletable_footer-menu ul li > a {
    font-size: 0.875rem;
  }
}
.footer__wrapp .moduletable_footer-menu ul li > a:hover,
.footer__wrapp .moduletable_footer-menu ul li > a:active,
.footer__wrapp .moduletable_footer-menu ul li > a:focus {
  color: #fd1604;
  background-color: transparent;
}
.footer__payment {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}
.footer__payment img {
  max-width: 182px;
}
@media (max-width: 1199.98px) {
  .footer__payment img {
    max-width: 130px;
  }
}
@media (max-width: 991.98px) {
  .footer__payment img {
    max-width: 182px;
  }
}
.footer .moduletable_rules {
  margin-top: 5rem;
}
@media (max-width: 1448px) {
  .footer .moduletable_rules {
    font-size: 0.875rem;
  }
}
@media (max-width: 991.98px) {
  .footer .moduletable_rules {
    margin-top: 2rem;
  }
}
.footer .moduletable_rules a {
  display: block;
  color: #1d1d1b;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
@media (max-width: 1199.98px) {
  .footer .moduletable_rules a {
    font-size: 0.875rem;
  }
}
@media (max-width: 991.98px) {
  .footer .moduletable_rules a {
    font-size: 1rem;
  }
}
.footer .moduletable_rules a:hover {
  color: #fd1604;
}
.footer .moduletable_rules a:last-child {
  margin-bottom: 0;
}
.footer .moduletable_rules a span {
  color: #fd1604;
}
.footer__address {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  color: #6e6e6e;
}
@media (max-width: 1199.98px) {
  .footer__address {
    font-size: 0.875rem;
  }
}
@media (max-width: 991.98px) {
  .footer__address {
    font-size: 1rem;
  }
}
.footer .moduletable_copyright {
  text-align: center;
  margin-top: auto;
}
@media (max-width: 991.98px) {
  .footer .moduletable_copyright {
    margin-top: 2rem;
    text-align: left;
  }
}
.footer .moduletable_copyright p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6e6e6e;
}
@media (max-width: 1488px) {
  .footer .moduletable_copyright p {
    font-size: 0.75rem;
  }
}
@media (max-width: 991.98px) {
  .footer .moduletable_copyright p {
    font-size: 0.875rem;
  }
}
.footer .moduletable_copyright p:last-child {
  margin-bottom: 0;
}
.footer__menu {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.footer__contacts {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
.footer__contacts .melissa_logo {
  margin-top: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  -webkit-align-items: center;
  -ms-align-items: center;
  align-items: center;
}
.footer__contacts .melissa_logo span {
  padding-top: 0.4rem;
  color: #6e6e6e;
}
@media (max-width: 1488px) {
  .footer__contacts .melissa_logo span {
    font-size: 0.875rem;
  }
}
@media (max-width: 991.98px) {
  .footer__contacts .melissa_logo span {
    font-size: 1rem;
  }
}
@media (max-width: 1488px) {
  .footer__contacts .melissa_logo svg {
    width: 100px;
  }
}
@media (max-width: 991.98px) {
  .footer__contacts .melissa_logo svg {
    width: auto;
  }
}
.footer__contacts .moduletable_footer-contacts .phone {
  font-size: 1.75rem;
  display: block;
  color: #fd1604;
  font-weight: 700;
  line-height: 1;
}
@media (max-width: 1448px) {
  .footer__contacts .moduletable_footer-contacts .phone {
    font-size: 1.5rem;
  }
}
@media (max-width: 1199.98px) {
  .footer__contacts .moduletable_footer-contacts .phone {
    font-size: 1.125rem;
  }
}
.footer__contacts .moduletable_footer-contacts .working-hours {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: -ms-flex;
  display: flex;
  font-size: 1rem;
  color: #6e6e6e;
}
@media (max-width: 1199.98px) {
  .footer__contacts .moduletable_footer-contacts .working-hours {
    font-size: 0.875rem;
  }
}
@media (max-width: 991.98px) {
  .footer__contacts .moduletable_footer-contacts .working-hours {
    -webkit-justify-content: start;
    -ms-justify-content: start;
    justify-content: start;
    margin-top: 1rem;
    font-size: 1rem;
  }
}
.footer__contacts .moduletable_footer-contacts .working-hours p {
  margin-right: 12px;
  margin-bottom: 0;
}
.footer__contacts .moduletable_footer-contacts .working-hours p:last-child {
  margin-right: 0;
}
.footer__contacts .moduletable_footer-contacts .working-hours span {
  color: #1d1d1b;
}
.footer__contacts .moduletable_footer-contacts p {
  margin-bottom: 0;
  color: #505050;
}
.footer__contacts .moduletable_copyright {
  color: #505050;
}
/*
.footer {
  .fz(14);
  padding: 4rem 0 5rem;
  background: @brand-gray-light;
  border-top: 2px solid @brand-gray;
  color: @primary-text;
  line-height: 1.5;

  &__wrapp {
    display: grid;
    gap: @gap;

    @media (min-width : @screen-sm-min) {
      grid-template-columns: repeat(2,1fr);
    }

    @media (min-width : @screen-md-min) {
      grid-template-columns: repeat(4,1fr);
    }

    h4 {
      margin-top: 0;
    }

    //== FOOTER MENU ==//
    .moduletable_footer-menu {
      ul {
        li {

          &.active {
            a {
              background: none;
            }
          }

          > a {
            .fz(14);
            color   : @secondary-text;
            padding : 0.5rem 0;
            line-height: 1.25;
            display: block;

            &:hover, &:active, &:focus {
              color   :@primary-text;
              background-color: transparent;
            }
          }
        }
      }
    }
  }
  
  .moduletable_copyright {
    margin-top: 1.5rem;
    p {
	    color: @secondary-text;
    }
  }

  &__contacts {
    .moduletable_footer-contacts {
      .phone {
        .fz(24);
        display: block;
        color: @brand-primary;
        font-weight: 600;
        margin-bottom: 1rem;
        line-height: 1.25;
      }

      p {
        margin-bottom: 0;
        color: @secondary-text;
      }
    }

    .moduletable_copyright {
      color: @secondary-text;
    }
  }
}
*/
