footer.rapidmd_update_footer#footer-main {
  background-color: #282828;
  padding: 0;
}

footer.rapidmd_update_footer#footer-main .wrapper {
  width: 1310px;
  max-width: 100%;
  border-bottom: 1px solid #4F4F4F;
}

footer.rapidmd_update_footer#footer-main ul.menu {
  display: flex;
  justify-content: space-between;
  padding: 55px 0 50px 0;
}

footer.rapidmd_update_footer#footer-main ul.menu::before {
  display: none;
}

footer.rapidmd_update_footer#footer-main ul.menu > li {
  margin-left: 10px;
  margin-right: 10px;
  width: auto;
  max-width: 25%;
  float: none;
  height: auto;
}

footer.rapidmd_update_footer#footer-main ul.menu > li.contacts > ul {
  height: 100%;
}

footer.rapidmd_update_footer#footer-main ul.menu > li:not(.contacts) > ul a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  transition: background-size .3s;
}

footer.rapidmd_update_footer#footer-main ul.menu > li:not(.contacts) > ul a:hover {
  background-size: 100% 1px;
}

footer.rapidmd_update_footer#footer-main .footer_sub_title {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-align: left;
  margin-bottom: 25px;
  text-transform: uppercase;
  padding: 0;
  color: #ffffff;
}

footer.rapidmd_update_footer#footer-main .footer_general_sub_menu {
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
  text-transform: none;
}

footer.rapidmd_update_footer#footer-main .menu a {
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
}

footer.rapidmd_update_footer#footer-main .menu ul {
  padding: 0;
  margin: 0;
}

footer.rapidmd_update_footer#footer-main .menu ul li {
  margin-top: 0;
}

footer.rapidmd_update_footer#footer-main .submenu:not(:last-child) {
  margin-bottom: 40px;
}

footer.rapidmd_update_footer#footer-main .menu ul li {
  margin-bottom: 15px;
}

footer.rapidmd_update_footer#footer-main .menu ul li.logo {
  width: auto;
  height: auto;
  float: none;
  margin-top: 0;
  margin-bottom: 45px;
}

footer.rapidmd_update_footer#footer-main .menu ul li.logo svg {
  width: 210px;
  max-width: 100%;
  margin-top: 0;
  margin-right: 0;
}

footer.rapidmd_update_footer#footer-main .menu ul li.logo svg path {
  fill: #fff;
}

footer.rapidmd_update_footer#footer-main .menu ul li.logo span {
  color: #fff;
  text-transform: none;
}

footer.rapidmd_update_footer#footer-main .contacts .submenu {
  display: flex;
  flex-direction: column;
}

footer.rapidmd_update_footer#footer-main .menu .contacts li.contact {
  position: relative;
  padding-left: 48px;
  margin-bottom: 25px;
}

footer.rapidmd_update_footer#footer-main .menu .contacts li.contact > svg {
  position: absolute;
  top: 0;
  left: 0;
  color: #fff;
  transition: color 0.2s ease-in-out;
}

footer.rapidmd_update_footer#footer-main
  .menu
  .contacts
  li.contact:hover
  > svg {
  color: #29cf51;
}

footer.rapidmd_update_footer#footer-main .menu .contacts li.contact > span {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  font-size: 12px;
  line-height: 14.5px;
}

footer.rapidmd_update_footer#footer-main .menu .contacts li.contact a {
  color: #ffffff;
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
}

footer.rapidmd_update_footer#footer-main .menu ul li.social {
  margin-top: 15px;
  margin-bottom: 20px;
}

footer.rapidmd_update_footer#footer-main .menu ul li.social a {
  color: #fff;
  margin-right: 10px;
  transition: color 0.2s ease-in-out;
}

footer.rapidmd_update_footer#footer-main .menu ul li.social a:hover {
  color: #29cf51;
}

footer.rapidmd_update_footer#footer-main .menu ul li.social h4 {
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  padding: 0;
}

footer.rapidmd_update_footer#footer-main .menu ul li.payment_method {
  margin-top: auto;
}

footer.rapidmd_update_footer .footer-app-links {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

footer.rapidmd_update_footer .footer-app-links a {
  width: 140px;
  display: flex;
  background-color: #fff;
  padding: 6.5px 10px;
  border: 1px solid #C3C3C3;
  border-radius: 5px;
}

footer.rapidmd_update_footer .footer-app-links a:not(:last-child) {
  margin-bottom: 8px;
}

footer.rapidmd_update_footer .footer-app-links a img {
  width: 24px;
  margin-right: 10px;
}

footer.rapidmd_update_footer .footer-app-links a span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  letter-spacing: -0.05px;
  color: #878787;
}

footer.rapidmd_update_footer .footer-app-links a span b {
  margin-top: 2px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -1px;
  color: #242424;
}

footer.rapidmd_update_footer .footer-app-links a:last-child img {
  filter: brightness(0);
}

footer.rapidmd_update_footer .footer-app-links--responsive {
  flex-direction: row;
  justify-content: center;
  padding-top: 25px;
  padding-bottom: 0;
  display: none;
}

footer.rapidmd_update_footer .footer-app-links--responsive a:not(:last-child) {
  margin-bottom: 0;
  margin-right: 8px;
}

footer.rapidmd_update_footer .footer-mobile-bottom-block {
  display: none;
}

footer.rapidmd_update_footer .footer-mobile-bottom-social {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

footer.rapidmd_update_footer .footer-mobile-bottom-social a {
  color: #fff;
  transition: color 0.2s ease-in-out;
}

footer.rapidmd_update_footer .footer-mobile-bottom-social a:hover {
  color: #29cf51;
}

footer.rapidmd_update_footer .footer-mobile-bottom-payment img {
  display: block;
}

footer.rapidmd_update_footer#footer-main #companii {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

footer.rapidmd_update_footer#footer-main #companii li {
  margin: 0;
}

footer.rapidmd_update_footer#footer-main #companii li a {
  transition: opacity 0.2s ease-in-out;
}

footer.rapidmd_update_footer#footer-main #companii li a:hover {
  opacity: 0.7;
  background-position-y: -9px;
}

footer.rapidmd_update_footer#footer-main #companii li a.acord:hover {
  background-position-x: 2.5px;
}

footer.rapidmd_update_footer#footer-main #companii li a.general:hover {
  background-position-y: -8px;
}
footer.rapidmd_update_footer#footer-main .copyright {
  max-width: 80%;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  margin: 0 auto;
  color: #b6b6b6;
  padding: 30px 0;
}

footer.rapidmd_update_footer#footer-main .menu .general_info ul li {
  margin-bottom: 0;
}

footer.rapidmd_update_footer#footer-main .general_info .submenu:not(:last-child) {
  margin-bottom: 20px;
}

footer.rapidmd_update_footer#footer-main .menu .general_info ul li a {
  line-height: 26px;
}

@media only screen and (max-width: 768px) {
  footer.rapidmd_update_footer#footer-main .wrapper.hide-768 {
    display: block !important;
    width: 100%;
    max-width: 100%;
    border-bottom: 0;
    padding: 26px 16px 0;
    box-sizing: border-box;
  }

  footer.rapidmd_update_footer#footer-main ul.menu.hide-768 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
    padding: 0;
  }

  footer.rapidmd_update_footer#footer-main ul.menu li.contacts {
    margin-bottom: 30px;
  }

  footer.rapidmd_update_footer#footer-main ul.menu > li {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  footer.rapidmd_update_footer#footer-main ul.menu.hide-768 > li.general_info {
    display: none;
  }

  footer.rapidmd_update_footer#footer-main ul.menu > li.contacts,
  footer.rapidmd_update_footer#footer-main ul.menu > li.general_info {
    grid-column: 1 / -1;
  }

  footer.rapidmd_update_footer#footer-main ul.menu > li.calcs > .footer_sub_title,
  footer.rapidmd_update_footer#footer-main ul.menu > li.help_docs > .footer_sub_title {
    margin-bottom: 18px;
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn {
    pointer-events: none;
  }

  footer.rapidmd_update_footer#footer-main .menu .contacts li.social,
  footer.rapidmd_update_footer#footer-main .menu .contacts li.payment_method {
    display: none;
  }

  footer.rapidmd_update_footer#footer-main ul.menu ul li.logo {
    display: block !important;
    margin-bottom: 30px;
  }

  footer.rapidmd_update_footer#footer-main ul.menu ul li.logo svg {
    width: 176px;
  }

  footer.rapidmd_update_footer#footer-main .menu .contacts li.contact {
    padding-left: 38px;
    margin-bottom: 16px;
  }

  footer.rapidmd_update_footer#footer-main .menu ul li.payment_method {
    margin-top: 18px;
  }

  footer.rapidmd_update_footer#footer-main .submenu:not(:last-child) {
    margin-bottom: 20px;
  }

  footer.rapidmd_update_footer#footer-main .menu ul li:not(:last-child) {
    margin-bottom: 10px;
  }

  footer.rapidmd_update_footer#footer-main .menu a {
    line-height: 1.35;
  }

  footer.rapidmd_update_footer .footer-app-links--responsive {
    display: none;
  }

  footer.rapidmd_update_footer .footer-mobile-bottom-block {
    display: block;
    padding: 12px 16px 0;
  }

  footer.rapidmd_update_footer .footer-mobile-bottom-block .footer_sub_title {
    margin-bottom: 14px;
  }

  footer.rapidmd_update_footer .footer-app-links--mobile-bottom {
    padding-bottom: 10px;
  }

  footer.rapidmd_update_footer#footer-main .copyright {
    max-width: calc(100% - 32px);
    font-size: 12px;
    line-height: 18px;
    padding: 20px 0 24px;
  }
}

@media only screen and (max-width: 560px) {
  footer.rapidmd_update_footer#footer-main ul.menu.hide-768 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn {
    position: relative;
    display: block;
    padding-right: 22px;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    background-color: transparent;
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn:hover {
    background-color: transparent;
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    transform: translateY(-60%) rotate(45deg);
    transition: transform 0.2s ease-in-out;
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn.down::after {
    transform: translateY(-30%) rotate(-135deg);
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn + .mb-collapse {
    display: none;
  }

  footer.rapidmd_update_footer#footer-main .footer_sub_title.mob-btn.down + .mb-collapse {
    display: block;
  }

  footer.rapidmd_update_footer .footer-app-links--mobile-bottom {
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
  }

  footer.rapidmd_update_footer .footer-app-links--mobile-bottom a {
    width: calc(50% - 4px);
  }

  footer.rapidmd_update_footer .footer-app-links--mobile-bottom a:not(:last-child) {
    margin-bottom: 0;
  }
}