/**********************************************************************/
.footer-black {
  background-color: #181818;
}
.footer__content {
  display: flex;
  flex-direction: column;
  width: 1460px;
  padding: 130px 0 40px;
}
.footer-white .footer__content {
  border-top: 1px solid #c4c4c4;
}
.footer-black .footer__content {
  border-top: 1px solid #404040;
}

/**********************************************************************/
.footer .request-block {
  padding-top: 0;
}

/**********************************************************************/
.footer .mailform {
  width: 360px;
  max-width: 100%;
  margin: 0 auto 40px;
}
.footer .mailform__title {
  margin-bottom: 30px;
  font-size: 18px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
}
.footer-white .mailform__title {
  color: #1d1d1d;
}
.footer-black .mailform__title {
  color: #ffffff;
}
.footer .mailform__formarea {
  position: relative;
}
.footer .mailform .formarea__input input {
  padding: 12px 30px 12px 0;
  font-size: 14px;
  line-height: 22px;
}
.footer-white .mailform .formarea__input input {
  color: #1d1d1d;
}
.footer-black .mailform .formarea__input input {
  border-color: #ffffff;
  color: #ffffff;
}
.footer .mailform .formarea__submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 47px;
}
.footer .mailform .formarea__submit input {
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background-color: transparent;
  background-position: center;
  background-size: 22px;
  background-repeat: no-repeat;
  transition: opacity 0.3s;
}
.footer-white .mailform .formarea__submit input {
  background-image: url(../img/icons/mailform.png);
}
.footer-black .mailform .formarea__submit input {
  background-image: url(../img/icons/mailform-black.png);
}
.footer .mailform .formarea__submit input:hover {
  opacity: 0.6;
}

/**********************************************************************/
.footer .stars {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 0 auto 50px;
}
.footer .stars__items {
  display: flex;
  justify-content: center;
  max-width: 100%;
  margin: 0 auto 15px;
  direction: rtl;
}
.footer .stars__items.disabled {
  pointer-events: none;
}
.footer .stars__item {
  display: flex;
  flex-direction: column;
  margin: 0 4px;
  cursor: pointer;
}
.footer .stars__item svg {
  width: 16px;
  height: auto;
}
.footer .stars__item svg {
  width: 16px;
  height: auto;
}
.footer .stars__item svg path {
  fill: #cccccc;
  transition: fill 0.3s;
}
.footer .stars__item:hover svg path,
.footer .stars__item:hover ~ .stars__item svg path {
  fill: #189800;
}
.footer .stars__item.active svg path {
  fill: #f5b301 !important;
}
.footer .stars__vote {
  display: none;
  margin: 0 auto 15px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  text-align: center;
  text-decoration: underline;
  transition: opacity 0.3s;
  cursor: pointer;
}
.footer .stars__vote:hover {
  opacity: 0.6;
}
.footer .stars__vote.show {
  display: block;
}
.footer .stars__result {
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  text-align: center;
}
.footer .stars__result span {
  font-weight: 700;
}
.footer .stars__done,
.footer .stars__error {
  display: none;
  margin-top: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: #189800;
  text-align: center;
}
.footer .stars__error {
  color: #ea0000;
}
.footer .stars__done.show,
.footer .stars__error.show {
  display: block;
}
.footer-white .stars__vote,
.footer-white .stars__result {
  color: #000000;
}

/**********************************************************************/
.footer__socials {
  display: flex;
  justify-content: center;
  margin: 0 auto 50px;
}
.footer__socials a {
  margin: 0 23px;
  transition: opacity 0.3s;
}
.footer__socials a:hover {
  opacity: 0.6;
}
.footer__socials a img {
  display: none;
}
.footer__socials a span {
  font-size: 14px;
  font-weight: 700;
  line-height: 27px;
}
.footer-white .footer__socials a span {
  color: #1d1d1d;
}
.footer-black .footer__socials a span {
  color: #ffffff;
}

/**********************************************************************/
.footer__contacts {
  display: flex;
  flex-direction: column;
  margin: 0 auto 90px;
}
.footer__contacts a {
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  transition: opacity 0.3s;
  cursor: pointer;
}
.footer-white .footer__contacts a {
  color: #1d1d1d;
}
.footer-black .footer__contacts a {
  color: #ffffff;
}
.footer__contacts a:hover {
  opacity: 0.6;
}
.footer__contacts .footer__tel {
  margin-top: 10px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}

/**********************************************************************/
.footer__btmline p,
.footer__btmlinks a {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 24px;
}
.footer-white .footer__btmline p,
.footer-white .footer__btmlinks a {
  color: #494949;
}
.footer-black .footer__btmline p,
.footer-black .footer__btmlinks a {
  color: #ffffff;
}
.footer__btmlinks {
  display: flex;
  justify-content: center;
}
.footer__btmlink {
  position: relative;
  margin: 0 10px;
  transition: opacity 0.3s;
  cursor: pointer;
}
.footer__btmlink:hover {
  opacity: 0.6;
}
.footer__btmlink:after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  transform: translatey(-50%);
  display: block;
  width: 1px;
  height: 12px;
}
.footer-white .footer__btmlink:after {
  background-color: #494949;
}
.footer-black .footer__btmlink:after {
  background-color: #ffffff;
}
.footer__btmlink:first-child {
  margin-right: 11px;
}
.footer__btmlink:last-child:after {
  display: none;
}
.footer__scroll {
  margin: 0 0 0 auto;
  transition: opacity 0.3s;
  cursor: pointer;
}
.footer__scroll:hover {
  opacity: 0.6;
}

/**********************************************************************/
/*********************         RESPONSIVE         *********************/
/**********************************************************************/
@media screen and (max-width: 1024px) {
  /**********************************************************************/
  .footer__content {
    padding: 65px 0 20px;
  }

  /**********************************************************************/
  .footer .mailform {
    width: 330px;
    margin-bottom: 25px;
  }
  .footer .mailform__title {
    margin-bottom: 40px;
    font-size: 15px;
    line-height: 18px;
  }
  .footer .mailform .formarea__input input {
    padding: 7px 20px 7px 0;
    font-size: 14px;
    line-height: 22px;
  }
  .footer .mailform .formarea__submit {
    width: 20px;
    height: 37px;
  }
  .footer .mailform .formarea__submit input {
    background-size: 16px;
  }

  /**********************************************************************/
  .footer__socials {
    margin-bottom: 40px;
  }
  .footer__socials a {
    margin: 0 13px;
  }
  .footer__socials a span {
    font-size: 12px;
    line-height: 18px;
  }

  /**********************************************************************/
  .footer__contacts {
    margin-bottom: 50px;
  }
  .footer__contacts a {
    font-size: 15px;
    line-height: 15px;
  }

  /**********************************************************************/
  .footer__btmline .container__col {
    width: 33.33333% !important;
  }
  .footer__btmline p {
    margin-top: auto;
    margin-bottom: auto;
  }
  .footer__btmline p,
  .footer__btmlinks a {
    font-size: 11px;
    line-height: 15px;
  }
  .footer__btmlinks {
    flex-direction: column;
  }
  .footer__btmlink {
    margin: 1px auto !important;
  }
  .footer__btmlink:after {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  /**********************************************************************/
  .footer__content {
    padding-bottom: 15px;
  }

  /**********************************************************************/
  .footer__socials a {
    margin: 0 3px;
  }
  .footer__socials a span {
    display: none;
  }
  .footer__socials a img {
    display: block;
    width: 36px;
  }

  /**********************************************************************/
  .footer__contacts a {
    font-size: 14px;
    line-height: 19px;
  }

  /**********************************************************************/
  .footer__btmline .container__col {
    width: 100% !important;
  }
  .footer__btmline p,
  .footer__btmlinks a {
    margin: 0 auto 8px !important;
    text-align: center;
  }
}
