.nd-social-circle.nd-separate-section {
  position: relative;
  overflow: hidden;
}
h1.circle_title {
  color: var(--Black, #444);
  font-feature-settings: 'liga' off, 'clig' off;
  /* H2 */
  font-family: "Source Serif Pro";
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 38px;
  /* 118.75% */
}
.empty-page__text {
  text-align: center;
}
.empty-page__text h4 {
  color: var(--Black, #444);
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  /* H3 */
  font-family: "Source Serif Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.empty-page__text p {
  color: #444;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  /* longread */
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 125% */
  max-width: 325px;
  margin: auto;
}
.ndsc-save-tooltip {
  display: inline-block;
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  padding: 6px 10px;
  border-radius: 8px;
  border: solid 1px #326e5b;
  background: #ffffff;
  color: #326e5b;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  z-index: 10000;
  pointer-events: none;
}
.link-edit-person-information {
  position: relative;
}
.link-edit-person-information.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}
.nd-social-circle__person-card {
  z-index: 1010;
}
.nd-social-circle__person-card .person-card__header img {
  object-fit: cover;
  object-position: center;
}
.nd-social-circle__person-card[data-malefemale="F"] .person-card__header {
  background-color: #643A73;
}
.nd-social-circle__person-card[data-malefemale="F"] .person-card__body_tabs ul li {
  color: #643A73;
}
.nd-social-circle__person-card[data-malefemale="F"] .person-card__body_tabs ul li::after {
  background-color: #643A73;
}
.nd-social-circle__person-card[data-malefemale="F"] .person-card__body_content .person-card__body_info a {
  color: #643A73;
}
.nd-social-circle__person-card[data-malefemale="F"] .person-card__body_content .person-card__body_info .flex.y-center.between.full_width span {
  color: #643A73;
}
.nd-social-circle__person-card[data-malefemale="F"] .person-card__body_content .person-card__body_periods a {
  color: #643A73;
}
.nd-social-circle__circle .nd-social-circle__avatar[data-malefemale="F"].nd-social-circle__avatar_active {
  border-color: #643A73;
}
.ndsc-hidden-persons-counter {
  cursor: pointer;
  pointer-events: auto;
}
#popup__list-persons .list-persons_hidden li a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 40px;
  padding: 2px 14px 2px 2px;
  border: 1px solid #B7BDCE;
  border-radius: 100px;
  color: #444;
  font-size: 16px;
  line-height: 20px;
  box-sizing: border-box;
}
#popup__list-persons .list-persons_hidden li img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}
#popup__list-persons .list-persons_hidden li {
  margin-bottom: 10px;
}
#popup__add-person.popup__add-person_step3 .modal_header h3 {
  display: ruby;
}
.nd-select-dropdown.add-person-group-select {
  z-index: 805 !important;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nd-input-wrap textarea.nd-input:valid ~ .nd-input-label {
  width: 95%;
}
.popup__add-person_step2 .modal_wrapper {
  /* width: 938px; */
  left: 0;
  top: 0;
  right: 0;
  margin: auto;
  padding: 0;
  height: fit-content;
}
.wrap__add-person.wrap__add-person_step2 {
  max-height: 70dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.page-template-social-circle .nd-content {
  padding: 0;
  margin: 0 14px 0 20px;
  flex-grow: 1;
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  position: relative;
}
#popup__add-period.modal_base.center {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nd-social-circle.nd-separate-section #popup__add-period.modal_base.center.first {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}
.existing-person.popup-body__container .exist_pers__main {
  border-radius: 15px;
  border: 1px solid #F0F4F7;
  background: var(--white, #FFF);
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
  padding: 24px !important;
  margin-bottom: 24px;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__top-block {
  display: flex;
  gap: 16px;
  align-items: center;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person_photo__wrap {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  min-width: 100px;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person_photo__wrap img {
  object-fit: cover;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person__fullname h3 {
  color: var(--Black, #444);
  font-feature-settings: 'liga' off, 'clig' off;
  /* H3 */
  font-family: "Source Serif Pro";
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 8px;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person__fullname p {
  color: var(--Black, #444);
  font-family: "Proxima Nova";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__param {
  margin-top: 16px;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__param h4 {
  color: var(--Black, #444);
  font-feature-settings: 'liga' off, 'clig' off;
  /* H4 reg */
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  /* 125% */
  margin-bottom: 8px;
}
.existing-person.popup-body__container .exist_pers__main .existing-person__param p {
  color: var(--Black, #444);
  font-feature-settings: 'liga' off, 'clig' off;
  /* Comments Text */
  font-family: "Proxima Nova";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* 128.571% */
}
.existing-person.popup-body__container .add_nickname__row {
  margin-top: 24px;
  display: block;
}
.existing-person.popup-body__container .add_nickname__row .add_nickname__title {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.existing-person.popup-body__container .add_nickname__row .add_nickname__title h4 {
  color: var(--Black, #444);
  font-feature-settings: 'liga' off, 'clig' off;
  /* H4 reg */
  font-family: "Source Serif Pro";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  /* 125% */
}
.existing-person.popup-body__container .add_nickname__row .add_nickname__title .nickname__info {
  cursor: pointer;
}
.existing-person.popup-body__container .add_nickname__row .add_nickname__title .nickname__info svg {
  max-width: 16px;
  max-height: 16px;
}
.existing-person.popup-body__container .add_nickname__row .nd-input-wrap__without-label {
  margin-bottom: 72px;
  max-width: 360px;
}
.add_nickname__title {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.nickname__info {
  position: relative;
  cursor: pointer;
}
.nickname__info::before {
  content: 'Как звался человек в разные периоды жизни (Юрик, Юра, Юрий Иванович).';
  fill: #D9D9D9;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.12));
  -webkit-backdrop-filter: blur(7.5px);
  backdrop-filter: blur(7.5px);
  padding: 12px 16px;
  position: absolute;
  top: -70px;
  left: 75%;
  transform: translateX(-50%);
  font-size: 12px;
  width: 320px;
  background-color: white;
  border-radius: 4px;
  display: none;
}
.nickname__info::after {
  content: '';
  border-bottom: 5px solid white;
  border-left: 5px solid white;
  position: absolute;
  top: -20px;
  left: 18%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  bottom: 0px;
  z-index: 5;
  display: none;
  transform: rotate(-45deg);
}
.nickname__info:hover::before {
  display: block;
}
.nickname__info:hover::after {
  display: block;
}
@media screen and (max-width: 767px) {
  h1.circle_title {
    color: var(--Black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    /* H2 mobile */
    font-family: "Source Serif Pro";
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 32px;
    /* 123.077% */
  }
  .page-template-social-circle .nd-content {
    padding: 0;
    margin: 0 8px 0 8px;
    flex-grow: 1;
  }
  .page-template-social-circle #popup__add-person.modal_base.center {
    z-index: 1010;
  }
  #popup__add-person .modal_wrapper {
    min-height: 100dvh;
  }
  .wrap__add-person.wrap__add-person_step2 {
    max-height: 90dvh;
  }
  #popup__add-person.popup__add-person_step1 .modal_wrapper .modal_content .add-person__buttons .nd-button {
    line-height: 1.1;
  }
  .existing-person.popup-body__container .exist_pers__main {
    border-radius: 15px;
    border: 1px solid #F0F4F7;
    background: var(--white, #FFF);
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 24px !important;
    margin-bottom: 24px;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__top-block {
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person_photo__wrap {
    width: 100px;
    height: 100px;
    border-radius: 100px;
    min-width: 100px;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person_photo__wrap img {
    object-fit: cover;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person__fullname h3 {
    color: var(--Black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    /* H3 */
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin-bottom: 8px;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__top-block .existing-person__fullname p {
    color: var(--Black, #444);
    font-family: "Proxima Nova";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__param {
    margin-top: 16px;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__param h4 {
    color: var(--Black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    /* H4 reg */
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    /* 125% */
    margin-bottom: 8px;
  }
  .existing-person.popup-body__container .exist_pers__main .existing-person__param p {
    color: var(--Black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    /* Comments Text */
    font-family: "Proxima Nova";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    /* 128.571% */
  }
  .existing-person.popup-body__container .add_nickname__row {
    margin-top: 24px;
    display: block;
  }
  .existing-person.popup-body__container .add_nickname__row .add_nickname__title {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
  }
  .existing-person.popup-body__container .add_nickname__row .add_nickname__title h4 {
    color: var(--Black, #444);
    font-feature-settings: 'liga' off, 'clig' off;
    /* H4 reg */
    font-family: "Source Serif Pro";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    /* 125% */
  }
  .existing-person.popup-body__container .add_nickname__row .add_nickname__title .nickname__info {
    cursor: pointer;
  }
  .existing-person.popup-body__container .add_nickname__row .add_nickname__title .nickname__info svg {
    max-width: 16px;
    max-height: 16px;
  }
  .existing-person.popup-body__container .add_nickname__row .nd-input-wrap__without-label {
    margin-bottom: 12px;
    max-width: 360px;
  }
  .existing-person.popup-body__container .existing-person__box-button {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    gap: 12px;
    align-items: center;
  }
  .existing-person.popup-body__container .existing-person__box-button .nd-button.nd-button-icon.go-to-card {
    margin: 0 auto;
    text-align: center;
    display: flex;
    width: fit-content;
  }
  .nickname__info::after {
    top: -12px;
    left: 18%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    bottom: 0px;
    z-index: 5;
    display: none;
    transform: rotate(-45deg);
  }
  .nickname__info::before {
    top: -60px;
    left: -60px;
    transform: translateX(-50%);
    font-size: 12px;
    width: 320px;
    background-color: white;
    border-radius: 4px;
    display: none;
  }
}
.page-template-social-circle .popup__add-person_step2 .add-person__left h4 {
  margin: 0 !important;
}
#popup__add-person.modal_base.center,
#popup__edit-person-period.modal_base.center {
  position: fixed;
  justify-content: flex-end;
  z-index: 800;
}
@media screen and (min-width: 768px) {
  .nd-social-circle.nd-separate-section {
    height: 80dvh;
  }
  .nd-social-circle.nd-separate-section .nd-social-circle__wrap-circle {
    display: flex;
    flex-flow: column nowrap;
    justify-content: space-between;
    height: 100%;
  }
  .nd-social-circle.nd-separate-section .nd-social-circle__wrap-circle .nd-social-circle__circle-period_wrap,
  .nd-social-circle.nd-separate-section .nd-social-circle__wrap-circle .nd-social-circle__period {
    margin-bottom: auto;
  }
}
