#rec1192350506 {
  position: relative;
}

#rec1192350506 .tn-elem[data-elem-id="1753868008774"],
#rec1192350506 .tn-elem[data-elem-id="1753868720648"],
#rec1192350506 .tn-elem[data-elem-id="1753886200412"],
#rec1192350506 .tn-elem[data-elem-id="1753886249841"],
#rec1192350506 .tn-elem[data-elem-id="1753887292901"],
.family-page-nav,
#rec1245737441 {
  display: none !important;
}

.family-site-header,
.family-site-header * {
  box-sizing: border-box;
}

.family-site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  min-height: 150px;
  color: #f7f1e7;
  font-family: "Montserrat", Arial, sans-serif;
}

.family-site-header__inner {
  width: min(calc(100% - 40px), 1200px);
  min-height: 150px;
  margin: 0 auto;
  padding-top: 25px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.family-site-header__logo {
  display: block;
  width: 402px;
  flex: 0 0 402px;
}

.family-site-header__logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.family-site-header__panel {
  display: grid;
  justify-items: end;
  gap: 20px;
  padding-top: 22px;
}

.family-site-header__nav,
.family-site-header__actions {
  display: flex;
  align-items: center;
}

.family-site-header__nav {
  gap: 42px;
}

.family-site-header__nav a {
  color: #f7f1e7 !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.family-site-header__nav a:hover,
.family-site-header__nav a:focus-visible {
  color: #f28a1b !important;
}

.family-site-header__actions {
  gap: 17px;
}

.family-site-header__phone {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #f7f1e7;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
}

.family-site-header__phone img,
.family-site-header__social img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.family-site-header__social {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transition: transform 0.2s ease;
}

.family-site-header__social:hover,
.family-site-header__social:focus-visible {
  transform: translateY(-2px);
}

.family-site-header__portal {
  min-height: 36px;
  padding: 7px 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 10px;
  color: #f7f1e7 !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.family-site-header__portal:hover,
.family-site-header__portal:focus-visible {
  border-color: #f28a1b;
  color: #f28a1b !important;
}

.family-site-header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 23px;
  line-height: 1;
}

@media (max-width: 1080px) {
  .family-site-header__logo {
    width: 330px;
    flex-basis: 330px;
  }

  .family-site-header__nav {
    gap: 24px;
  }

  .family-site-header__panel {
    padding-top: 15px;
  }

  .family-site-header__phone {
    font-size: 15px;
  }
}

@media (max-width: 820px) {
  .family-site-header,
  .family-site-header__inner {
    min-height: 92px;
  }

  .family-site-header__inner {
    width: min(calc(100% - 32px), 1200px);
    padding-top: 0;
    align-items: center;
  }

  .family-site-header__logo {
    width: 250px;
    flex-basis: 250px;
  }

  .family-site-header__menu-btn {
    display: grid;
    place-items: center;
  }

  .family-site-header__panel {
    position: absolute;
    top: 92px;
    right: 0;
    left: 0;
    display: none;
    justify-items: stretch;
    gap: 22px;
    padding: 20px 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #21384d;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  }

  .family-site-header__panel--open {
    display: grid;
  }

  .family-site-header__nav {
    display: grid;
    gap: 0;
  }

  .family-site-header__nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 16px;
  }

  .family-site-header__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .family-site-header,
  .family-site-header__inner {
    min-height: 78px;
  }

  .family-site-header__inner {
    width: min(calc(100% - 28px), 1200px);
  }

  .family-site-header__logo {
    width: 205px;
    flex-basis: 205px;
  }

  .family-site-header__panel {
    top: 78px;
  }

  .family-site-header__phone {
    font-size: 13.5px;
  }

  .family-site-header__actions {
    flex-wrap: wrap;
    gap: 10px;
  }
}
.family-shared-lead-form {
  width: 100%;
  min-height: 760px;
  display: block;
  border: 0;
  background: #24384a;
}

.family-mobile-menu__messengers img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

@media (max-width: 820px) {
  .family-shared-lead-form {
    min-height: 1120px;
  }
}
