﻿[data-shared-footer-root] {
  display: block;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

section.footer-cta,
section.zh-desktop-footer-cta {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section.footer-cta + .af-mobile-summary-slogan,
section.zh-desktop-footer-cta + .af-contact-mobile-lead,
main + .af-mobile-summary-slogan,
main + .af-contact-mobile-lead {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.af-shared-footer .bottom-navigation-top {
  line-height: 0;
  font-size: 0;
}

.af-shared-footer .registryFrame {
  display: block;
  border: 0;
  vertical-align: top;
}

.af-shared-footer .bottom-popularTopics {
  text-align: left !important;
}

.af-shared-footer .bottom-popularTopics .modelFlexBox {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start !important;
  text-align: left !important;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
}

.af-shared-footer .bottom-popularTopics .firm-info-item {
  text-align: left !important;
}

.af-shared-footer .bottom-popularTopics .firm-info-item:first-child {
  white-space: nowrap;
}

.af-shared-footer .bottom-popularTopics .firm-info-item:last-child {
  flex: 1 1 880px;
  min-width: 0;
}

@media (max-width: 760px) {
  .af-shared-footer .bottom-navigation-top,
  .af-shared-footer .firm-info-column-item,
  .af-shared-footer .firm-info,
  .af-shared-footer .bottom-popularTopics,
  .af-shared-footer .bottom-navigation-bottom-inner-bottom {
    display: none !important;
  }

  .af-shared-footer .bottom-navigation-bottom-inner {
    width: min(100%, calc(100% - 24px));
    padding: 18px 0 14px;
    gap: 10px;
  }

  .af-shared-footer .bottom-navigation-bottom-inner-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .af-shared-footer .firm-info-column-item-mobile {
    display: block;
    /*border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 0;*/
  }

  .af-shared-footer .firm-info-column-item-mobile .slideTop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .af-shared-footer .firm-info-column-item-mobile .slideTop p {
    margin: 0;
  }

  .af-shared-footer .firm-info-column-item-mobile .u-bpm-content {
    display: none;
    padding-top: 8px;
  }

  .af-shared-footer .firm-info-column-item-mobile.open .u-bpm-content {
    display: block;
  }


  .af-shared-footer .m-footer {
    display: block;
  }
}


