.aside-well {
  border-radius: 45px;
  padding: 28px;
  background: #f5f3fa;
}
.aside-well .accordion-plain .accordion-button {
  font-size: 18px !important;
}

.form-label .req {
  color: #f83a3a;
  font-size: 26px;
  line-height: 12px;
  vertical-align: bottom;
}

.nav-tabs.login-register-form {
  border-bottom: 0px;
}
.nav-tabs.login-register-form .nav-item {
  width: 50%;
}
.nav-tabs.login-register-form .nav-link {
  color: #273457;
  font-weight: 600;
  font-size: 20px;
  border: 0px;
  border-bottom: 4px solid transparent;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity ease 0.3s;
}
.nav-tabs.login-register-form .nav-link:hover, .nav-tabs.login-register-form .nav-link:focus {
  opacity: 1;
}
.nav-tabs.login-register-form .nav-link::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  background: url(../img/icon_email.svg) center no-repeat;
  background-size: contain;
}
.nav-tabs.login-register-form .nav-link.tab-phone::before {
  background-image: url(../img/icon_sms.svg);
}
.nav-tabs.login-register-form .nav-link.active,
.nav-tabs.login-register-form .nav-item.show .nav-link {
  border-color: #d0c1fb;
  opacity: 1;
}

.userNotFound {
  font-weight: 600;
  font-size: 20px;
  font-style: italic;
  line-height: 160%;
  margin-bottom: 1rem;
}
.userNotFound div {
  color: #f83a3a;
}

.code-error {
  color: #f83a3a;
  font-style: italic;
  font-weight: 600;
}

.tree-page-top {
  margin-bottom: 30px;
}

.swiper-button-lock {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

.modal-header .btn-close {
  z-index: 1;
}

.modal-title {
  line-height: 1;
}

.border-main-color {
  --bs-border-color: var(--color-main);
}

.main-color {
  color: var(--color-main);
}

.main-color-on-hover {
  --lnk-color-on-hover: var(--color-main);
}

@media (hover: hover) and (pointer: fine) {
  .lnk:hover {
    color: var(--lnk-color-on-hover, inherit);
  }
}

.subtitle {
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 5%;
}

.pre-line {
  white-space: pre-line;
}

.root {
  position: relative;
  transform: translateZ(0);
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.point {
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(0, 0) scale(1);
  transform-origin: center;
  will-change: transform;
}

.canvas {
  position: absolute;
  transform: translate(-50%, -50%);
}

.wrapper {
  position: relative;
  flex: 1 1;
  cursor: hand;
  gap: 0px;
  border-radius: 45px;
  width: 100%;
  height: calc(100vh - 250px);
}
@media (max-width: 767px) {
  .wrapper {
    border-radius: 0;
    width: auto;
    margin: 0 -10px;
    height: calc(100vh - 220px);
  }
}
.wrapper .fullscreen {
  background: #f5f3fa;
  width: 100%;
  height: 100%;
}

.emoji {
  margin-right: 5px;
}

.tree {
  border-radius: 4px;
}
.tree.tree-loading {
  position: relative;
}
.tree.tree-loading:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.5);
}

.reset {
  cursor: pointer;
}

.loading {
  text-align: center;
  padding: 20px;
  font-size: 20px;
}

.error {
  color: red;
  text-align: center;
  padding: 20px;
  font-size: 20px;
}

.react-transform-wrapper {
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  overflow: hidden;
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Firefox */
  /* Internet Explorer/Edge */
  user-select: none;
  margin: 0;
  padding: 0;
  width: 100% !important;
  height: 100% !important;
  display: flex;
}

.react-transform-component {
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin: 0;
  padding: 0;
  transform-origin: 0% 0%;
}
.react-transform-component svg {
  min-width: 100%;
  min-height: 100%;
  overflow: visible;
}

.tools {
  position: absolute;
  top: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}
@media (max-width: 767px) {
  .tools {
    top: 15px;
    right: 15px;
  }
}
.tools-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  gap: 10px;
}
.tools button {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white !important;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  font-size: 20px;
}
@media (max-width: 767px) {
  .tools button {
    width: 30px;
    height: 30px;
    border: 1px solid #d0c1fb;
    font-size: 13px;
  }
}
.tools button:hover {
  background-color: #d0c1fb !important;
}
.tools button.tools-plus {
  background: url(../img/icon_zoom_in.svg) center no-repeat;
  background-size: 1em;
}
.tools button.tools-minus {
  background: url(../img/icon_zoom_out.svg) center no-repeat;
  background-size: 1em;
}
.tools button.tools-expand {
  background: url(../img/icon_fullscreen_expand.svg) center no-repeat;
  background-size: 1em;
}
.tools button.tools-collapse {
  background: url(../img/icon_fullscreen_collapse.svg) center no-repeat;
  background-size: 1em;
}

.tree-menu {
  background: white;
  border-radius: 30px;
  box-shadow: 0px 8px 20px 0px rgba(39, 52, 87, 0.4);
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 100;
  min-width: 330px;
}
@media (max-width: 640px) {
  .tree-menu {
    position: fixed;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
.tree-menu-item {
  height: 55px;
  align-items: center;
  justify-content: start;
  padding: 10px 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24.38px;
  text-align: left;
  color: #273457;
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.tree-menu-item:hover {
  color: #6e7997;
}
.tree-menu-item:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}
.tree-menu-item-disabled {
  opacity: 0.5;
  cursor: default;
}
.tree-menu-item-disabled:hover {
  color: #273457;
}

.tree-share-buttons {
  display: flex;
  flex-wrap: wrap;
  border-radius: 10px;
  border: 1px solid #d0c1fb;
  overflow: hidden;
}
.tree-share-button {
  width: calc(33.3333333333% + 2px);
  border: 1px solid #d0c1fb;
  height: 82px;
  display: flex;
  gap: 1em;
  align-items: center;
  justify-content: start;
  padding: 0 1em;
  background: white;
  color: #273457;
  margin: -1px;
  font-weight: 600;
  font-size: 14px;
  line-height: 160%;
  letter-spacing: 0%;
  text-decoration: none;
  text-align: start;
}
@media (max-width: 1000px) {
  .tree-share-button {
    width: calc(100% + 2px);
  }
}
.tree-share-button:hover, .tree-share-button.active {
  background: #d0c1fb;
}
.tree-share-button-copy:before, .tree-share-button-wa:before, .tree-share-button-vk:before, .tree-share-button-tg:before, .tree-share-button-ok:before, .tree-share-button-email:before {
  display: block;
  content: "";
  width: 36px;
  aspect-ratio: 1;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}
.tree-share-button-copy:before {
  background-image: url(../img/icon-copy.svg);
}
.tree-share-button-wa:before {
  background-image: url(../img/icon-wa.svg);
}
.tree-share-button-vk:before {
  background-image: url(../img/icon-vk.svg);
}
.tree-share-button-tg:before {
  background-image: url(../img/icon-tg.svg);
}
.tree-share-button-ok:before {
  background-image: url(../img/icon-ok.svg);
}
.tree-share-button-email:before {
  background-image: url(../img/icon-email.svg);
}

.user-widget__control-btn {
  width: 48px;
  max-width: 48px;
  height: 48px;
  background: #f5f3fa;
  color: #273457;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 1em;
  border: none;
  font-size: 22px;
  flex-shrink: 0;
  flex-grow: 0;
}
@media (max-width: 767px) {
  .user-widget__control-btn {
    font-size: 22px;
    height: 32px;
    width: 32px;
    max-width: 32px;
  }
}
.user-widget__control-btn:hover {
  background-color: #d0c1fb;
}
.user-widget__control-btn-message {
  background-image: url("../img/icon_message.svg");
}
.user-widget__control-btn-bell {
  font-size: 1em;
  background-image: url("../img/icon_bell.svg");
}
.user-widget__control-btn-cabinet {
  background-image: url("../img/icon_user.svg");
  font-size: 1.2em;
}
.user-widget__btn-personal {
  border-radius: 100px;
  background-color: transparent;
  border: 2px solid #d0c1fb;
  display: flex;
  height: 50px;
  color: #273457;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 14px 30px 15px;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.user-widget__btn-personal:hover {
  background: #d0c1fb;
}
@media (max-width: 767px) {
  .user-widget__btn-personal {
    font-size: 12px;
    padding: 7px 15px 8px;
    height: 32px;
  }
}
.user-widget__btn-personal .icon-personal {
  display: block;
  width: 1em;
  height: 1em;
  background: url(../img/icon_user.svg) center no-repeat;
  background-size: contain;
}
.user-menu {
  background: white;
  border-radius: 30px;
  box-shadow: 0px 8px 20px 0px rgba(39, 52, 87, 0.4);
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 100;
  min-width: 330px;
}
@media (max-width: 640px) {
  .user-menu {
    position: fixed;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
}
.user-menu-item {
  height: 55px;
  align-items: center;
  justify-content: start;
  padding: 10px 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24.38px;
  text-align: left;
  color: #273457;
  display: flex;
  gap: 0.5em;
  align-items: center;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  background: transparent;
  border: none;
  outline: none;
}
.user-menu-item:hover {
  color: #6e7997;
}
.user-menu-item:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}
.user-menu-item-disabled {
  opacity: 0.5;
  cursor: default;
}
.user-menu-item-disabled:hover {
  color: #273457;
}

.file-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border: 3px solid transparent;
  border-radius: 1.5em;
  margin: 0 -0.5em 2em;
  padding: 0.5em 0.5em 2em !important;
}
.file-control-over {
  border: 3px dashed #273457 !important;
}
.file-control__item {
  display: flex;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background-size: cover;
  border: 3px solid transparent;
  background-color: #f5f3fa;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 576px) {
  .file-control__item {
    width: calc(50% - 15px) !important;
    /* should be -10px, but client has a weird bug on Samsung Fold when it stacks */
    height: auto !important;
    aspect-ratio: 1/1;
  }
}
.file-control__item:first-child {
  border: 3px solid #273457;
}
.file-control__item:hover {
  border: 3px solid #80f6d3;
  z-index: 10;
}
.file-control__item-add {
  cursor: pointer;
}
.file-control__item-add input {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  cursor: pointer;
}
.file-control__item-add-plus {
  display: block;
  width: 20px;
  height: 20px;
  background: url(../img/icon_zoom_in.svg) center no-repeat;
  background-size: contain;
}
.file-control__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0px;
  min-width: 270px;
  background: white;
  border-radius: 30px;
  box-shadow: 0px 8px 20px 0px rgba(39, 52, 87, 0.4);
  display: flex;
  flex-direction: column;
  z-index: 100;
}
.file-control__menu-btn {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: url("../img/three-point-menu.svg") center no-repeat;
  background-color: white;
  border: 1px solid #f5f3fa;
}
*:first-child > .file-control__menu-btn {
  border: 2px solid #273457;
}
*:hover > .file-control__menu-btn {
  border: 2px solid #80f6d3;
}
.file-control__menu-item {
  height: 55px;
  align-items: center;
  justify-content: start;
  padding: 10px 30px;
  font-size: 20px;
  font-weight: 500;
  line-height: 24.38px;
  text-align: left;
  color: #273457;
  display: flex;
  align-items: center;
  border: 3px solid transparent;
  cursor: pointer;
}
.file-control__menu-item:hover {
  color: #6e7997;
}
.file-control__menu-item:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}
.file-control-circle .file-control__item {
  margin-bottom: 0px;
}
.file-control-square .file-control__item {
  border-radius: 10px;
  margin-left: 0px;
  margin-bottom: 0px;
}

.comments-item {
  display: flex;
  align-items: start;
  padding: 1.5em 0;
}
.comments-item:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}
.comments-item:not(:hover) .comments-item-controls {
  visibility: hidden;
}
.comments-item-pic {
  display: block;
  aspect-ratio: 1;
  width: 80px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f5f3fa;
  border-radius: 50%;
}
.comments-item-pic.no-pic {
  background-image: url(../img/person_question.svg);
  background-size: 50%;
}
.comments-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex-grow: 1;
}
.comments-item-head {
  display: flex;
  gap: 0.5em;
}
.comments-item-head-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  flex-grow: 1;
}
.comments-item-date {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
}
.comments-item-author {
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
  text-decoration: underline;
  color: #273457;
}
.comments-item-message {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
}
.comments-form .form-control {
  background: #f5f3fa;
  border: none;
}
.comments-form .form-select {
  background-color: #f5f3fa;
  border: none;
}
.comments-form textarea {
  border-radius: 20px;
}

.accordion-item {
  margin-bottom: var(--bs-accordion-item-margin-bottom, 0);
}
.accordion-item:last-child {
  margin-bottom: 0;
}
.accordion-button {
  font-size: var(--bs-accordion-btn-font-size, 1rem);
  font-weight: var(--bs-accordion-btn-font-weight, 400);
  min-height: var(--bs-accordion-btn-min-height, auto);
}
.accordion-button:after {
  background-color: var(--bs-accordion-btn-icon-bg, transparent);
  background-position: center;
}
.accordion-button:not(.collapsed):after {
  background-color: var(--bs-accordion-btn-active-icon-bg, transparent);
}
.accordion-button-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  word-break: break-word;
}
.accordion.no-animation .accordion-collapse {
  transition: none !important;
}

.accordion-view-info .accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-color: #273457;
  --bs-accordion-active-bg: transparent;
  --bs-accordion-border-width: 1px;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-body-padding-x: 0;
  --bs-accordion-item-margin-bottom: 5px;
  --bs-accordion-btn-min-height: 78px;
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-color: #273457;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-active-color: #273457;
  --bs-accordion-btn-font-size: 20px;
  --bs-accordion-btn-font-weight: 600;
  --bs-accordion-btn-padding-x: 0;
  --bs-accordion-btn-icon-width: 14px;
  --bs-accordion-btn-icon-bg: #f5f3fa;
  --bs-accordion-btn-active-icon-bg: #d0c1fb;
}
@media (min-width: 576px) {
  .accordion-view-info .accordion {
    --bs-accordion-btn-min-height: 120px;
    --bs-accordion-btn-font-size: 24px;
  }
}
@media (min-width: 768) {
  .accordion-view-info .accordion {
    --bs-accordion-btn-font-size: 30px;
  }
}
.accordion-view-info .accordion-item {
  border-right-width: 0;
  border-left-width: 0;
}
.accordion-view-info .accordion-button:not(.collapsed) {
  box-shadow: none;
}
.accordion-view-info .accordion-button:after {
  order: -1;
  margin: 0 10px 0 0;
  border-radius: 30px;
  width: 28px;
  height: 28px;
}
@media (min-width: 768px) {
  .accordion-view-info .accordion-button:after {
    margin: 0 15px 0 0;
  }
}
.accordion-view-info .accordion-body {
  padding-top: 0;
  padding-bottom: 50px;
}

.autocomplete {
  position: relative;
  font-size: 20px;
}
.autocomplete__input-wrap {
  position: relative;
}
.autocomplete__input-wrap:before {
  content: "";
  position: absolute;
  top: 16px;
  left: 21px;
  width: 15px;
  height: 18px;
  background-image: url(../img/icon-search.svg);
  z-index: 1;
  background-size: contain;
  background-repeat: no-repeat;
}
.autocomplete__input {
  border: 2px solid #d0c1fb;
  height: 48px;
  width: 100%;
  border-radius: 24px;
  font-weight: 500;
  outline: none;
  padding: 0 50px 1px 50px;
  text-overflow: ellipsis;
}
.autocomplete__input_active {
  border-color: #b196ff;
}
.autocomplete__input_with-dd {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
  padding-bottom: 2px;
}
.autocomplete__input-clear {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 16px;
  height: 16px;
  background-color: transparent;
  background-image: url(../img/icon-close.svg);
  border: 0;
  background-size: contain;
  background-repeat: no-repeat;
}
.autocomplete__input-clear:hover {
  opacity: 0.7;
}
.autocomplete__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 5px 5px 15px 5px;
  z-index: 10;
  background-color: #fff;
  border: 2px solid #b196ff;
  border-top: 1px solid #eee;
  border-radius: 0 0 24px 24px;
}
.autocomplete__list {
  max-height: calc(100vh - 230px);
  overflow: hidden auto;
  padding: 0 15px;
}
.autocomplete__list-item {
  padding: 15px 0;
}
.autocomplete__list-item:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}
@media (max-width: 991px) {
  .autocomplete__list-item {
    padding: 10px 0;
  }
}
.autocomplete__list-link {
  background-color: transparent;
  border: 0;
  font-weight: 500;
  line-height: 1.1;
  text-align: left;
}
.autocomplete__list-link:hover {
  color: #6e7997;
}
.autocomplete__list-link .marked {
  font-weight: 700;
}

button,
span[role=button],
a {
  transition: color 0.3s, background-color 0.3s, border-color 0.3s, opacity 0.3s, transfrom 0.3s;
}

.btn-link {
  text-align: left;
  --bs-btn-line-height: 1.25;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  flex-shrink: 0;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    color: var(--btn-color-on-hover);
    background-color: var(--btn-bg-color-on-hover);
    border-color: var(--btn-border-color-on-hover, transparent);
  }
}
.btn__icon svg {
  height: 1em;
  width: auto;
}
.btn_disabled {
  opacity: 0.5;
}
.btn_round-icon {
  padding: 0;
  border-radius: var(--btn-height);
  width: var(--btn-height);
  height: var(--btn-height);
  --btn-height: 40px;
  --btn-svg-icon-height: 18px;
}
@media (min-width: 576px) {
  .btn_round-icon {
    --btn-svg-icon-height: 22px;
    --btn-height: 48px;
  }
}
.btn_round-icon svg {
  height: var(--btn-svg-icon-height);
  width: auto;
}
.btn_dark-gray, .btn_gray, .btn_cyan, .btn_border-main, .btn_border-cyan {
  color: var(--btn-color);
  border-color: var(--btn-border-color);
  background-color: var(--btn-bg-color);
}
.btn_gray {
  --btn-color: #273457;
  --btn-border-color: transparent;
  --btn-bg-color: #f5f3fa;
  --btn-bg-color-on-hover: #80f6d3;
}
.btn_cyan {
  --btn-color: #273457;
  --btn-border-color: transparent;
  --btn-bg-color: #80f6d3;
  --btn-bg-color-on-hover: #f5f3fa;
}
.btn_dark-gray {
  --btn-color: #fff;
  --btn-border-color: transparent;
  --btn-bg-color: #273457;
  --btn-color-on-hover: #273457;
  --btn-bg-color-on-hover: #80f6d3;
}
.btn_border-main {
  border-width: 1px;
  --btn-color: #273457;
  --btn-border-color: #d0c1fb;
  --btn-bg-color: #fff;
  --btn-bg-color-on-hover: #d0c1fb;
}
.btn_border-cyan {
  border-width: 1px;
  --btn-color: #273457;
  --btn-border-color: #80f6d3;
  --btn-bg-color: #fff;
  --btn-bg-color-on-hover: #80f6d3;
}

.comment2 {
  display: flex;
  align-items: start;
  gap: var(--avatar-margin);
  --avatar-width: 40px;
  --avatar-margin: 10px;
}
@media (min-width: 768px) {
  .comment2 {
    --avatar-width: 80px;
    --avatar-margin: 20px;
  }
}
.comment2:not(:first-child) {
  padding-top: 1.5em;
}
.comment2:not(:last-child) {
  padding-bottom: 1.5em;
  border-bottom: 1px solid #d9d9d9;
}
.comments-item:not(:hover) .comment2__controls {
  visibility: hidden;
}
.comment2__avatar {
  position: relative;
  display: block;
  aspect-ratio: 1;
  width: var(--avatar-width);
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #f5f3fa;
  border-radius: 50%;
}
.comment2__avatar_no-img {
  background-image: url(../img/person_question.svg);
  background-size: 50%;
}
.comment2__avatar:after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 16px;
  height: 18px;
  background-image: url(../img/icon_comment.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
@media (min-width: 768px) {
  .comment2__avatar:after {
    width: 27px;
    height: 31px;
  }
}
.comment2__content {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  flex-grow: 1;
  max-width: calc(100% - var(--avatar-width) - var(--avatar-margin));
}
.comment2__head {
  display: flex;
  gap: 0.5em;
}
.comment2__head-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  flex-grow: 1;
}
.comment2__date {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #6e7997;
}
@media (min-width: 768px) {
  .comment2__date {
    font-size: 16px;
  }
}
.comment2__author {
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
  letter-spacing: 0%;
  text-decoration: underline;
  color: #273457;
}
@media (min-width: 768px) {
  .comment2__author {
    font-size: 20px;
  }
}
.comment2__message {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
}

.comments2__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin-top: 20px;
}
.comments2__add-label, .comments2__more {
  display: flex;
  align-items: center;
  height: 60px;
}
.comments2__add-label {
  font-size: 18px;
}
.comments2__more-ctrl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background-color: transparent;
  color: #d0c1fb;
  transition: color 0.3s;
}
.comments2__more-ctrl:hover {
  color: #b196ff;
}
.comments2__more-ctrl_max .comments2__more-ctrl-arrow {
  transform: scaleY(-1);
}
.comments2__form {
  width: 460px;
  max-width: 100%;
  flex-grow: 1;
}

.comments2-form__textarea {
  position: relative;
}
.comments2-form__control {
  border: 0;
  background-color: transparent;
  color: #d0c1fb;
  transition: color 0.3s;
  position: absolute;
  bottom: 27px;
}
@media (min-width: 768px) {
  .comments2-form__control {
    bottom: 30px;
  }
}
.comments2-form__control:not(:disabled):hover {
  color: #b196ff;
}
.comments2-form__control:disabled {
  opacity: 0.6;
}
.comments2-form__control svg {
  height: auto;
  width: var(--btn-icon-size, 20px);
}
.comments2-form__control_attach {
  cursor: pointer;
  left: 24px;
  transform: translate3d(-50%, 50%, 0);
  --btn-icon-size: 18px;
}
@media (min-width: 768px) {
  .comments2-form__control_attach {
    left: 30px;
    --btn-icon-size: 21px;
  }
}
.comments2-form__control_submit {
  transform: translate3d(50%, 50%, 0);
  right: 24px;
  --btn-icon-size: 21px;
}
@media (min-width: 768px) {
  .comments2-form__control_submit {
    right: 34px;
    --btn-icon-size: 29px;
  }
}
.comments2-form__files .file-control {
  margin-bottom: 0;
}
.comments2-form__files .file-control:has(.file-control__item-add:only-child) {
  display: none !important;
}
.comments2-form__files .file-control__item-add {
  display: none;
}
.comments2-form .form-control_textarea {
  border-radius: 9px;
  padding-left: 44px;
  padding-right: 44px;
  background-color: transparent;
  box-shadow: inset 0 0 0 1px #d0c1fb;
}
@media (min-width: 768px) {
  .comments2-form .form-control_textarea {
    padding-left: 60px;
    padding-right: 60px;
  }
}

.comments-quantity:empty {
  display: none;
}
.comments-quantity:before {
  content: " (";
}
.comments-quantity:after {
  content: ")";
}

.activity-list__items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.activity-list__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #f5f3fa;
  padding: 20px;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .activity-list__item {
    border-radius: 20px;
  }
}
.activity-list__item_new {
  background-color: #d0c1fb;
  background-image: linear-gradient(90deg, rgba(128, 246, 211, 0), #80f6d3);
}
.activity-list__item-header {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
}
@media (min-width: 768px) {
  .activity-list__item-header {
    flex-wrap: nowrap;
  }
}
.activity-list__item-title {
  font-size: 16px;
  color: #273457;
}
@media (min-width: 768px) {
  .activity-list__item-title {
    font-size: 18px;
  }
}
@media (min-width: 992px) {
  .activity-list__item-title {
    font-size: 20px;
  }
}
.activity-list__item-title a {
  color: inherit;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.activity-list__item-date {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #6e7997;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .activity-list__item-date {
    font-size: 14px;
  }
}
@media (min-width: 992px) {
  .activity-list__item-date {
    font-size: 16px;
  }
}
.activity-list__item-date:before {
  content: url(../img/icon_calendar_grey.svg);
  line-height: 1.05;
}
.activity-list__item-images .image-slider__img {
  padding-bottom: 100%;
  background-size: cover;
  background-position: center center;
  border-radius: 6px;
  background-color: #fff;
}
.activity-list__images-arrows {
  --img-slider-arrows-gap: 10px;
  --img-slider-arrow-color: #b196ff;
  --img-slider-arrow-radius: 15px;
  --img-slider-arrow-bg: #fff;
  --img-slider-arrow-color-hover: #fff;
  --img-slider-arrow-bg-hover: #b196ff;
  --img-slider-arrow-width: 42px;
  --img-slider-arrow-height: 42px;
  --img-slider-arrow-icon-size: 17px;
}
@media (min-width: 992px) {
  .activity-list__images-arrows {
    --img-slider-arrows-gap: 15px;
    --img-slider-arrow-width: 46px;
    --img-slider-arrow-height: 46px;
    --img-slider-arrow-icon-size: 20px;
  }
}
.activity-list__item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.activity-list__item-members-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
}
.activity-list__item-members-title {
  display: none;
  width: -moz-min-content;
  width: min-content;
  line-height: 1.25;
  color: #6e7997;
}
@media (min-width: 768px) {
  .activity-list__item-members-title {
    display: block;
    font-size: 14px;
  }
}
@media (min-width: 992px) {
  .activity-list__item-members-title {
    font-size: 16px;
  }
}

.event-modal {
  --event-details-side-width: 300px;
}

.event-editing-modal {
  --bs-modal-width: 800px;
}

.event-details__title {
  line-height: 1;
}
.event-details__title-wrap {
  flex-grow: 1;
}
@media (min-width: 992px) {
  .event-details__title-wrap {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 20px;
  }
}
.event-details__date {
  font-size: 20px;
  font-weight: 500;
  color: #6e7997;
}
@media (min-width: 992px) {
  .event-details__date {
    width: var(--event-details-side-width);
    flex-shrink: 0;
    white-space: nowrap;
  }
}
@media (min-width: 992px) {
  .event-details__desc-row {
    display: flex;
    gap: 20px;
  }
}
.event-details__desc {
  font-style: italic;
  color: #6e7997;
}
.event-details__members-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 500;
  --member-bg-color: #d0c1fb;
  --member-color: #fff;
}
.event-details__members-title {
  display: none;
  width: -moz-min-content;
  width: min-content;
  line-height: 1.25;
  color: #6e7997;
}
@media (min-width: 768px) {
  .event-details__members-title {
    display: block;
    font-size: 20px;
  }
}
.event-details__links-column {
  display: none;
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 500;
  width: calc(var(--event-details-side-width) + 28px);
}
@media (min-width: 992px) {
  .event-details__links-column {
    display: block;
  }
}
.event-details__comments-btn {
  border: 0;
  background-color: transparent;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: inherit;
  font-weight: inherit;
  margin-left: 2px;
}
.event-details__comments-btn svg {
  height: 40px;
  width: auto;
  margin-right: 15px;
  color: #d0c1fb;
}
.event-details__location {
  display: flex;
  font-size: 20px;
  font-weight: 500;
  gap: 10px;
  line-height: 1.2;
}
.event-details__location svg {
  flex-shrink: 0;
  height: 26px;
  width: auto;
  color: #d0c1fb;
}
.event-details__photos-section-title {
  display: flex;
  align-items: center;
  gap: 15px;
}
.event-details__photos-section-title svg {
  color: #d0c1fb;
  height: 28px;
  width: auto;
}
.event-details__photos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  --items-quantity-in-row: 2;
}
@media (min-width: 768px) {
  .event-details__photos {
    --items-quantity-in-row: 3;
  }
}
@media (min-width: 992px) {
  .event-details__photos {
    --items-quantity-in-row: 4;
  }
}
.event-details__photo {
  aspect-ratio: 1;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  width: calc((100% + 10px) / var(--items-quantity-in-row) - 10px);
}
.event-details .comments {
  max-width: 1020px;
}

.event-item__footer {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}
.event-item__footer .image-slider__arrows {
  margin-left: auto;
}

.event-list {
  --event-name-font-size: 20px;
  --event-group-name-font-size: 24px;
}
.event-list_edit-mode {
  --event-name-font-size: 17px;
  --event-group-name-font-size: 19px;
}
@media (min-width: 576px) {
  .event-list {
    --event-name-font-size: 22px;
    --event-group-name-font-size: 30px;
  }
}
.event-list__event {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}
.event-list__event_single {
  padding: 20px 0;
  --event-name-font-weight: 600;
}
.event-list__event_single:first-child, .event-list__event_single + .event-list__event_single {
  border-top: 1px solid #dee2e6;
}
.event-list__event_single:last-child {
  border-bottom: 1px solid #dee2e6;
}
.event-list__event_in-group {
  background-color: #f5f3fa;
  padding: 10px 10px 10px 20px;
  margin-bottom: 10px;
  border-radius: 24px;
  --event-name-font-weight: 500;
}
.event-list__event_in-group .btn_gray:not(:hover) {
  background-color: #fff;
}
.event-list__events:last-child > .event-list__event:last-child {
  border-bottom: 0;
  padding-bottom: 5px;
}
.event-list__event-name-wrap {
  text-align: left;
  border: 0;
  background-color: transparent;
  padding: 0;
  line-height: 1.25;
  color: #273457;
  font-size: var(--event-name-font-size);
  font-weight: var(--event-name-font-weight);
  word-break: break-word;
}
.event-list__event-name-wrap:hover {
  color: #b196ff;
}
.event-list__event-date {
  display: inline-block;
  color: #aaa;
  font-weight: 500;
}
.event-list__event-date:empty {
  display: none;
}
.event-list__group {
  border-top: 1px solid #dee2e6;
  border-bottom: 1px solid #dee2e6;
  padding: 20px 0;
}
.event-list__group + .event-list__group {
  margin-top: -1px;
}
.event-list__group-name {
  position: relative;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-left: 35px;
  font-size: var(--event-group-name-font-size);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 15px;
  width: 100%;
  word-break: break-word;
}
@media (min-width: 576px) {
  .event-list__group-name {
    padding-left: 42px;
  }
}
.event-list__group-name:before {
  content: "";
  width: 24px;
  height: 22px;
  background: url(/lk/template/findfamily/assets/img/event-group-icon.svg) center no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -10px;
}

.form-control_textarea-auto-height {
  line-height: 1.1;
  resize: none;
  padding-top: 14px;
  padding-bottom: 14px;
}
@media (min-width: 768px) {
  .form-control_textarea-auto-height {
    padding-top: 19px;
    padding-bottom: 19px;
  }
}

.form__input-wrap {
  position: relative;
}
.form__input-wrap_with-clear textarea {
  padding-right: 40px;
}
.form__input-wrap_with-clear input {
  padding-right: 50px;
}
.form__input-clear {
  position: absolute;
  font-size: 20px;
  background-color: transparent;
  border: 0;
  color: #888;
  padding: 0;
}
textarea + .form__input-clear {
  right: 6px;
  top: 6px;
}
input + .form__input-clear {
  right: 12px;
  top: 12px;
}
.form__input-clear svg {
  height: 32px;
  width: auto;
}

.img-cropper-modal {
  --bs-modal-header-padding: 20px;
  --bs-modal-padding: 0 20px 12px;
}

.image-cropper__container {
  height: calc(100vh - 125px);
  position: relative;
  margin-bottom: 12px;
}
@media (min-width: 576px) {
  .image-cropper__container {
    height: calc(100vh - 180px);
  }
}
.image-cropper__controls {
  display: flex;
  align-items: center;
  gap: 20px;
}
.image-cropper__zoom-range {
  flex-grow: 1;
}
.image-cropper__zoom-range input.form-range {
  vertical-align: middle;
}

@media (min-width: 1200px) {
  .image-modal__body_no-fullscreen {
    margin-top: -56px;
  }
}
.image-modal__body_no-fullscreen .image-slider-view-2 .image-slider__img {
  padding-bottom: 0;
}
@media (max-width: 576px) {
  .image-modal__body_no-fullscreen .image-slider-view-2 .image-slider__img {
    height: calc(100vh - 130px);
  }
}
@media (min-width: 577px) and (max-width: 1199.98px) {
  .image-modal__body_no-fullscreen .image-slider-view-2 .image-slider__img {
    height: calc(100vh - 180px);
  }
}
@media (min-width: 1200px) {
  .image-modal__body_no-fullscreen .image-slider-view-2 .image-slider__img {
    height: calc(100vh - 140px);
    min-height: 500px;
  }
}
.image-modal__fullscreen-btn {
  width: 48px;
  height: 48px;
  border-radius: 24px;
  background: #f5f3fa url(../img/icon_fullscreen_expand.svg) center no-repeat;
  border: 0;
  transition: background-color 0.3s;
}
.image-modal__fullscreen-btn:hover {
  background-color: #d0c1fb;
}
.image-modal__disable-fullscreen-btn {
  position: absolute;
  border: 0;
  background-color: #aaa;
  -webkit-mask: url(../img/icon_fullscreen_collapse.svg);
          mask: url(../img/icon_fullscreen_collapse.svg);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  width: 26px;
  height: 26px;
  top: -23px;
  left: 10px;
}
@media (min-width: 577px) {
  .image-modal__disable-fullscreen-btn {
    top: -30px;
    left: 20px;
  }
}
.image-modal__photo-index {
  border: 1px solid #dacdff;
  white-space: nowrap;
  border-radius: 20px;
  padding: 4px 15px;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
}
@media (min-width: 577px) {
  .image-modal .modal-fullscreen .btn-close {
    position: relative;
    right: -10px;
    top: -10px;
  }
}

.image-slider__img {
  padding-bottom: var(--img-slider-img-height, 100%);
  background-repeat: no-repeat;
  background-position: center;
  background-size: var(--img-slider-img-size, cover);
  border-radius: var(--img-slider-img-radius, 0);
}
.image-slider__arrows {
  display: flex;
  gap: var(--img-slider-arrows-gap, 10px);
}
.image-slider__arrow {
  transition: color 0.3s, background-color 0.3s, border-color 0.3s;
  width: var(--img-slider-arrow-width, 40px);
  height: var(--img-slider-arrow-height, 40px);
  color: var(--img-slider-arrow-color, #000);
  border-radius: var(--img-slider-arrow-radius, 10px);
  background-color: var(--img-slider-arrow-bg, #fff);
  border: var(--img-slider-arrow-border-width, 0) var(--img-slider-arrow-border-style, solid) var(--img-slider-arrow-border-color, #000);
}
.image-slider__arrow:not(.swiper-button-disabled):hover {
  color: var(--img-slider-arrow-color-hover, var(--img-slider-arrow-color, #000));
  background-color: var(--img-slider-arrow-bg-hover, #eee);
  border-color: var(--img-slider-arrow-border-color-hover, var(--img-slider-arrow-border-color, #000));
}
.image-slider__arrow:disabled {
  opacity: 0.6;
}
.image-slider__arrow svg {
  height: var(--img-slider-arrow-icon-size, 19px);
  width: auto;
}

.image-modal .modal-fullscreen {
  --bs-modal-padding: 12px;
}
.image-modal .modal-fullscreen .image-slider__img {
  padding-bottom: 0;
  height: calc(100vh - 80px);
  background-size: contain;
}
.image-modal .modal-fullscreen .modal-body {
  overflow: visible;
}

.image-slider-view-1 {
  --img-slider-arrows-gap: 10px;
  --img-slider-arrow-color: #273457;
  --img-slider-arrow-radius: 15px;
  --img-slider-arrow-bg: #fff;
  --img-slider-arrow-border-width: 2px;
  --img-slider-arrow-border-color: #b196ff;
  --img-slider-arrow-bg-hover: #b196ff;
  --img-slider-arrow-width: 50px;
  --img-slider-arrow-height: 50px;
  --img-slider-arrow-icon-size: 20px;
}
@media (min-width: 992px) {
  .image-slider-view-1 {
    --img-slider-arrows-gap: 15px;
  }
}

.image-slider-view-2 {
  position: relative;
  --img-slider-img-size: contain;
  --img-slider-img-radius: 10px;
  --img-slider-arrow-radius: 10px;
  --img-slider-arrow-color: #333;
  --img-slider-arrow-bg: transparent;
  --img-slider-arrow-border-width: 0;
  --img-slider-arrow-bg-hover: rgba(245, 243, 250, 0.3);
  --img-slider-arrow-width: 70px;
  --img-slider-arrow-height: 100%;
  --img-slider-arrow-icon-size: 26px;
}
.image-slider-view-2 .image-slider__arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}
.image-slider-view-2 .image-slider__arrow_prev {
  left: 0;
  border-radius: var(--img-slider-arrow-radius) 0 0 var(--img-slider-arrow-radius);
}
.image-slider-view-2 .image-slider__arrow_next {
  right: 0;
  border-radius: 0 var(--img-slider-arrow-radius) var(--img-slider-arrow-radius) 0;
}

.info-table {
  display: flex;
  flex-direction: column;
  gap: var(--info-table-gap-y, 10px);
}
@media (max-width: 575.98px) {
  .info-table_mobile-as-row .info-table__row {
    flex-direction: row;
  }
  .info-table_mobile-as-row .info-table__row-name {
    padding-top: var(--info-table-row-name-padding-top, 0);
    width: var(--info-table-row-name-width, 30%);
  }
  .info-table_mobile-as-row .info-table__row-value {
    padding-top: var(--info-table-row-value-padding-top, 0);
    width: calc(100% - var(--info-table-row-name-width, 30%) - var(--info-table-gap-x, 10px));
  }
}
@media (max-width: 575.98px) {
  .info-table_mobile-as-column .info-table__row {
    flex-direction: column;
  }
}
.info-table__row {
  display: flex;
  gap: var(--info-table-gap-x, 10px);
}
@media (min-width: 576px) {
  .info-table__row {
    flex-direction: row;
  }
}
.info-table__row-name {
  color: var(--info-table-row-name-color, inherit);
  font-size: var(--info-table-row-name-font-size, inherit);
  font-weight: var(--info-table-row-name-font-weight, inherit);
}
@media (min-width: 576px) {
  .info-table__row-name {
    padding-top: var(--info-table-row-name-padding-top, 0);
    width: var(--info-table-row-name-width, 30%);
  }
}
.info-table__row-value {
  color: var(--info-table-row-value-color, inherit);
  font-size: var(--info-table-row-value-font-size, inherit);
  font-weight: var(--info-table-row-value-font-weight, inherit);
}
@media (min-width: 576px) {
  .info-table__row-value {
    padding-top: var(--info-table-row-value-padding-top, 0);
    width: calc(100% - var(--info-table-row-name-width, 30%) - var(--info-table-gap-x, 10px));
  }
}

.location-modal .modal-body {
  padding-top: 16px;
}
.location-modal__search {
  position: relative;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.location-modal__search-submit {
  padding: 16px;
}
.location-modal__search-submit svg {
  width: 24px;
  height: 24px;
}
.location-modal__search-autocomplete {
  position: absolute;
  left: 0;
  width: 100%;
  top: calc(100% + 1px);
  border: 2px solid;
}
.location-modal__map {
  position: relative;
  z-index: 0;
  height: calc(100vh - 150px);
}
@media (min-width: 576px) {
  .location-modal__map {
    height: calc(100vh - 280px);
  }
}
.location-modal__map-marker {
  position: absolute;
  width: 40px;
  height: auto;
  left: calc(50% - 20px);
  bottom: 50%;
  pointer-events: none;
  color: #b196ff;
  z-index: 1;
}
.location-modal__save-btn {
  padding: 10px;
}
.location-modal__save-btn svg {
  width: 24px;
  height: 24px;
}

.members {
  display: flex;
}

.member {
  width: 48px;
  height: 48px;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 40px;
  box-shadow: inset 0 0 0 2px #fff;
  background-color: var(--member-bg-color, #fff);
  color: var(--member-color, #d0c1fb);
  font-size: 20px;
}
@media (min-width: 992px) {
  .member {
    font-size: 24px;
    width: 64px;
    height: 64px;
  }
}
.member:not(:first-child) {
  margin-left: -20px;
}
@media (min-width: 992px) {
  .member:not(:first-child) {
    margin-left: -25px;
  }
}

.members-list-modal {
  --bs-modal-width: 800px;
  --bs-modal-padding: 10px;
}
@media (min-width: 576px) {
  .members-list-modal {
    --bs-modal-padding: 30px;
  }
}
.members-list-modal__subtitle {
  font-size: 12px;
  font-weight: 500;
  margin-top: 0.75em;
}
@media (min-width: 576px) {
  .members-list-modal__subtitle {
    font-size: 16px;
  }
}
.members-list-modal div.modal-header {
  padding: 15px 10px;
}
@media (min-width: 576px) {
  .members-list-modal div.modal-header {
    padding: 20px 30px;
  }
}
.members-list-modal .modal-title {
  font-size: 24px;
  max-width: calc(100% - 35px);
}
@media (min-width: 576px) {
  .members-list-modal .modal-title {
    font-size: 32px;
  }
}
@media (min-width: 576px) {
  .members-list-modal .modal-content:after {
    position: absolute;
    content: "";
    bottom: 0;
    right: 30px;
    left: 30px;
    height: 30px;
    background-image: linear-gradient(rgba(255, 255, 255, 0), #fff);
  }
}

.members-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.members-list__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
@media (min-width: 576px) {
  .members-list__item {
    gap: 15px;
  }
}
.members-list__item-link {
  text-decoration: underline;
}
.members-list__item-link:hover {
  color: #929ab1;
}
.members-list__item-avatar {
  width: 40px;
  height: 40px;
  background-position: center;
  border-radius: 40px;
  background-size: contain;
  flex-shrink: 0;
}
@media (min-width: 576px) {
  .members-list__item-avatar {
    width: 80px;
    height: 80px;
  }
}
.members-list__item-name {
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 576px) {
  .members-list__item-name {
    font-size: 20px;
  }
}

.members-selector-modal {
  --bs-modal-width: 800px;
}
.members-selector-modal .btn-close {
  align-self: flex-start;
}
@media (max-width: 575.98px) {
  .members-selector-modal .modal-body {
    height: calc(100vh - 106px);
  }
}

.members-selector__modal-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
@media (min-width: 576px) {
  .members-selector__modal-title {
    font-size: 24px;
    font-weight: 600;
  }
}
.members-selector__search-input-wrap {
  position: relative;
}
.members-selector__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
  --member-selector-item-img-size: 32px;
}
.members-selector__list_column {
  flex-direction: column;
  gap: 5px;
}
@media (min-width: 576px) {
  .members-selector__list_column {
    font-size: 20px;
    --member-selector-item-img-size: 48px;
  }
}
.members-selector__list_all-items {
  --member-selector-item-selected-bg: #d0c1fb;
  --member-selector-item-ctrl-full-clickable: block;
  --member-selector-item-ctrl-hover-bg: #f5f3fa;
}
.members-selector__list_only-selected-items {
  --member-selector-item-ctrl-hover-bg: #d0c1fb;
  --member-selector-item-selected-ctrl-hover-color: #fff;
}
.members-selector__list-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  background-color: #f5f3fa;
  border-radius: 100px;
  max-width: 100%;
  width: 100%;
}
@media (min-width: 430px) {
  .members-selector__list-item {
    width: auto;
  }
}
.members-selector__list-item_selected {
  --member-selector-item-ctrl-color: #f83a3a;
  --member-selector-item-ctrl-hover-color: var(--member-selector-item-selected-ctrl-hover-color, #f83a3a);
  background-color: var(--member-selector-item-selected-bg, #f5f3fa);
}
.members-selector__list-item_not-selected {
  --member-selector-item-ctrl-bg: #d0c1fb;
  --member-selector-item-ctrl-color: #fff;
  --member-selector-item-ctrl-hover-bg: #fff;
  --member-selector-item-ctrl-hover-color: #d0c1fb;
  --member-selector-item-selected-ctrl-transform: rotate(45deg);
}
@media (hover: hover) and (pointer: fine) {
  .members-selector__list-item_not-selected:hover {
    background-color: #d0c1fb;
  }
}
.members-selector__list-item-name {
  font-weight: 500;
}
.members-selector__list-item-img {
  width: var(--member-selector-item-img-size);
  height: var(--member-selector-item-img-size);
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 100px;
}
.members-selector__list-item-ctrl {
  flex-shrink: 0;
  margin-left: auto;
  width: var(--member-selector-item-img-size);
  height: var(--member-selector-item-img-size);
  border: 0;
  border-radius: 100px;
  color: var(--member-selector-item-ctrl-color);
  background-color: var(--member-selector-item-ctrl-bg, #fff);
  padding: 0;
}
.members-selector__list-item-ctrl svg {
  height: 1.6em;
  width: auto;
  transform: var(--member-selector-item-selected-ctrl-transform, none);
}
.members-selector__list-item-ctrl:before {
  content: "";
  position: absolute;
  inset: 0;
  display: var(--member-selector-item-ctrl-full-clickable, none);
}
@media (hover: hover) and (pointer: fine) {
  .members-selector__list-item-ctrl:hover {
    background-color: var(--member-selector-item-ctrl-hover-bg);
    color: var(--member-selector-item-ctrl-hover-color);
  }
}
.members-selector__list-show-more {
  color: #b196ff;
  background-color: transparent;
  border: 0;
  padding: 0;
}

.modal {
  --bs-modal-zindex: 1050;
}

.modal-dialog-scrollable .modal-header {
  padding-top: 15px;
  padding-bottom: 15px;
  box-shadow: 6px 0 10px rgba(143, 150, 167, 0.3019607843);
  z-index: 1;
}
@media (min-width: 576px) {
  .modal-dialog-scrollable .modal-header {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media (min-width: 576px) {
  .person-modal {
    width: 1538px;
    max-width: calc(100vw - 20px);
  }
}
@media (min-width: 1200px) {
  .person-modal {
    max-width: calc(100vw - 140px);
  }
}

.person-profile__images {
  position: relative;
  display: flex;
  justify-content: space-around;
  margin-bottom: 30px;
  --img-slider-arrow-width: 25px;
  --img-slider-arrow-radius: 10px;
  --img-slider-arrow-bg: #f5f3fa;
  --img-slider-arrow-color: #d0c1fb;
  --img-slider-arrow-bg-hover: #f5f3fa;
  --img-slider-arrow-color-hover: #273457;
  --img-slider-arrow-height: 100%;
  --img-slider-arrow-icon-size: 16px;
}
@media (min-width: 768px) {
  .person-profile__images {
    --img-slider-arrow-icon-size: 24px;
    --img-slider-arrow-width: 64px;
    --img-slider-arrow-radius: 20px;
  }
}
@media (min-width: 1200px) {
  .person-profile__images {
    --img-slider-arrow-icon-size: 31px;
    --img-slider-arrow-width: 82px;
  }
}
.person-profile__images .image-slider__arrow {
  position: absolute;
}
.person-profile__images .image-slider__arrow_prev {
  left: 0;
  top: 0;
  bottom: 0;
  border-radius: var(--img-slider-arrow-radius) 0 0 var(--img-slider-arrow-radius);
}
.person-profile__images .image-slider__arrow_next {
  right: 0;
  top: 0;
  bottom: 0;
  border-radius: 0 var(--img-slider-arrow-radius) var(--img-slider-arrow-radius) 0;
}
.person-profile__images .image-slider__img {
  padding-bottom: 100%;
  background-size: contain;
  background-position: center;
}
.person-profile__image-slider {
  width: calc(100% - 2px - var(--img-slider-arrow-width) * 2);
}
.person-profile__dates-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 40px;
}
@media (min-width: 576px) {
  .person-profile__dates-row {
    min-height: 48px;
  }
}
.person-profile__dates {
  font-size: 14px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .person-profile__dates {
    font-size: 20px;
  }
}
@media (min-width: 1400px) {
  .person-profile__dates {
    font-size: 24px;
  }
}
.person-profile__share-btn .ya-share2__icon_more {
  background: url(../img/share-icon2.svg) center no-repeat !important;
  width: 26px !important;
  height: 26px !important;
  transform: scale(0.75);
}
@media (min-width: 768px) {
  .person-profile__share-btn .ya-share2__icon_more {
    width: 32px !important;
    height: 32px !important;
    transform: none;
  }
}
.person-profile__share-btn_with-text {
  display: flex;
  align-items: center;
  gap: 16px;
}
.person-profile__share-btn_with-text .ya-share2__link_more {
  position: relative;
}
.person-profile__share-btn_with-text .ya-share2__link_more:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -120px;
  bottom: 0;
}
.person-profile__mega-title {
  margin-top: 80px;
  margin-bottom: 20px;
  font-size: 48px;
  line-height: 1;
  font-weight: 700;
  color: #f5f3fa;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .person-profile__mega-title {
    font-size: 70px;
    margin-bottom: 0.2em;
  }
}
@media (min-width: 1200px) {
  .person-profile__mega-title {
    font-size: 80px;
  }
}
@media (min-width: 1400px) {
  .person-profile__mega-title {
    font-size: 90px;
  }
}
.person-profile__section-title {
  font-size: 24px;
  margin-bottom: 15px;
}
@media (min-width: 992px) {
  .person-profile__section-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
}
.person-profile__info-item-content {
  --info-table-gap-y: 20px;
  --info-table-gap-x: 10px;
  --info-table-row-name-color: #6e7997;
  --info-table-row-name-font-weight: 500;
  --info-table-row-name-font-size: 14px;
  --info-table-row-value-font-size: 16px;
  --info-table-row-name-padding-top: 2px;
}
@media (min-width: 768px) {
  .person-profile__info-item-content {
    margin-left: 44px;
    --info-table-row-name-width: 120px;
    --info-table-row-name-font-size: 16px;
    --info-table-row-value-font-size: 20px;
    --info-table-row-name-padding-top: 4px;
  }
}
@media (max-width: 767.98px) {
  .person-profile__info-item-content_places, .person-profile__info-item-content_birthPlace {
    --info-table-row-name-width: 60px;
  }
}
.person-profile__info-item-content_education .info-table, .person-profile__info-item-content_places .info-table {
  position: relative;
}
.person-profile__info-item-content_education .info-table:not(:first-child), .person-profile__info-item-content_places .info-table:not(:first-child) {
  margin-top: 60px;
}
.person-profile__info-item-content_education .info-table:not(:first-child):before, .person-profile__info-item-content_places .info-table:not(:first-child):before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  border-bottom: 1px solid #d9d9d9;
}
@media (min-width: 768px) {
  .person-profile__info-item-content_education .info-table:not(:first-child):before, .person-profile__info-item-content_places .info-table:not(:first-child):before {
    left: calc(var(--info-table-row-name-width) + var(--info-table-gap-x));
  }
}
.person-profile__info-item-content_birthPlace .image-slider, .person-profile__info-item-content_education .image-slider, .person-profile__info-item-content_places .image-slider, .person-profile__info-item-content_deathPlace .image-slider {
  margin-top: 30px;
}
.person-profile__info-item-content .image-slider__arrows {
  justify-content: flex-end;
  margin-top: 20px;
}
.person-profile__info-item-content .image-slider__arrows:has(button:first-child:disabled):has(button:last-child:disabled) {
  display: none;
}
@media (max-width: 767.98px) {
  .person-profile__info-item-content .image-slider__arrows {
    display: none;
  }
}
.person-profile .btn__main,
.person-profile .btn__main-2 {
  justify-content: center;
  min-width: 236px;
}

.person-profile__menu-selector {
  position: sticky;
  width: 490px;
  max-width: 84%;
  margin-bottom: 20px;
  top: 5px;
  z-index: 4;
}
@media (min-width: 992px) {
  .person-profile__menu-selector {
    display: none;
  }
}
.person-profile__menu-selector-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 40px;
  background-color: #273457;
  border-radius: 60px;
  width: 100%;
  text-align: left;
  color: #fff;
  padding: 0 15px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 0 0 1px #fff;
}
@media (min-width: 768px) {
  .person-profile__menu-selector-ctrl {
    height: 65px;
    font-size: 24px;
    padding: 0 25px;
  }
  .person-profile__menu-selector-ctrl svg {
    display: block;
    width: 15px;
    height: 8px;
  }
}
.person-profile__menu-selector-ctrl_opened svg {
  transform: scaleY(-1);
}
.person-profile__menu-selector-dropdown {
  position: absolute;
  z-index: 2;
  top: calc(100% + 1px);
  left: 0;
  width: 100%;
  --person-menu-radius: 30px;
  --person-menu-item-font-size: 14px;
}
@media (min-width: 768px) {
  .person-profile__menu-selector-dropdown {
    --person-menu-item-font-size: 24px;
  }
}
.person-profile__menu-selector-dropdown_closed {
  display: none;
}
.person-profile__menu-desktop-wrap {
  position: sticky;
  top: 0;
  max-height: 100vh;
}
.person-profile__menu {
  display: flex;
  flex-direction: column;
  background-color: #273457;
  padding: 20px 15px;
  border-radius: var(--person-menu-radius, 20px);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .person-profile__menu {
    padding: 30px 25px;
  }
}
@media (min-width: 992px) {
  .person-profile__menu {
    align-items: stretch;
  }
}
.person-profile__menu_desktop {
  align-items: flex-start;
}
.person-profile__menu-item {
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
  font-size: var(--person-menu-item-font-size, 1em);
  --person-menu-item-margin-top: 0;
  margin-top: var(--person-menu-item-margin-top);
}
.person-profile__menu-item_mobile-root {
  color: #fff;
  --person-menu-item-margin-top: 15px;
}
@media (min-width: 768px) {
  .person-profile__menu-item_mobile-root {
    --person-menu-item-margin-top: 30px;
  }
}
.person-profile__menu-item_mobile-root:first-child {
  --person-menu-item-margin-top: 0;
}
.person-profile__menu-item_mobile-root.current {
  color: #8f96a7;
}
.person-profile__menu-item_desktop-child, .person-profile__menu-item_desktop-root, .person-profile__menu-item_desktop-more {
  color: #8f96a7;
  padding-left: 40px;
}
.person-profile__menu-item_desktop-child:hover, .person-profile__menu-item_desktop-root:hover, .person-profile__menu-item_desktop-more:hover {
  color: #fff;
}
.person-profile__menu-item_desktop-child:before, .person-profile__menu-item_desktop-root:before, .person-profile__menu-item_desktop-more:before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 14px;
  top: calc(var(--person-menu-item-margin-top) * -1);
  border-right: 1px solid #8f96a7;
}
.person-profile__menu-item_desktop-root:after, .person-profile__menu-item_desktop-child:after {
  content: "";
  border: 1px solid;
  background-color: #273457;
  position: absolute;
  border-radius: 30px;
}
.person-profile__menu-item_desktop-root.current, .person-profile__menu-item_desktop-child.current {
  color: #fff;
}
.person-profile__menu-item_desktop-root.current:after, .person-profile__menu-item_desktop-child.current:after {
  background-color: currentColor;
}
.person-profile__menu-item_desktop-root {
  --person-menu-item-margin-top: 30px;
  --person-menu-item-font-size: 24px;
}
.person-profile__menu-item_desktop-root:after {
  width: 29px;
  height: 29px;
  left: 0;
  top: 0;
}
.person-profile__menu-item_desktop-root:first-child {
  --person-menu-item-margin-top: 0;
}
.person-profile__menu-item_desktop-root:last-child:before {
  bottom: 100%;
}
.person-profile__menu-item_desktop-child {
  --person-menu-item-margin-top: 16px;
}
.person-profile__menu-item_desktop-child:after {
  width: 13px;
  height: 13px;
  left: 8px;
  top: 4px;
}
.person-profile__menu-item_desktop-more {
  --person-menu-item-margin-top: 16px;
}
.person-profile__menu-children-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.person-profile__menu-children-more:after {
  content: "";
  display: inline-block;
  border-top: 6px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  margin-top: 1px;
}
.person-profile__menu-children-more_opened:after {
  transform: scaleY(-1);
}

.scrolled-hide {
  overflow: auto;
}
.scrolled-hide::-webkit-scrollbar {
  width: 0;
  height: 0;
}

:root {
  --section-title-font-size: 24px;
}
@media (min-width: 1200px) {
  :root {
    --section-title-font-size: 32px;
  }
}

.section {
  margin-bottom: var(--section-mb, 40px);
}
.section_last {
  margin-bottom: 0;
}
.section__title {
  font-weight: 700;
  line-height: 1.2;
  font-size: var(--section-title-font-size);
  margin-bottom: var(--section-title-mb, 1em);
}

.yandex-share .ya-share2__icon_more {
  background: url(../img/share-icon2.svg) center no-repeat !important;
  width: 26px !important;
  height: 26px !important;
  transform: scale(0.75);
}
@media (min-width: 768px) {
  .yandex-share .ya-share2__icon_more {
    width: 32px !important;
    height: 32px !important;
    transform: none;
  }
}
.yandex-share_with-text {
  display: flex;
  align-items: center;
  gap: 16px;
}
.yandex-share_with-text .ya-share2__link_more {
  position: relative;
}
.yandex-share_with-text .ya-share2__link_more:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -120px;
  bottom: 0;
}