.lv_genealogy_page .lv_genealogy_section {
  padding: 24px;
  background-color: var(--white-color);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lv_genealogy_profile {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--text-color);
  border-radius: 15px;
}
.lv_genealogy_profile .lv_genealogy_profile_avatar img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--white-color);
  box-shadow: 0px 0px 40px -10px rgba(0, 0, 0, 0.4);
}
.lv_genealogy_profile .lv_genealogy_status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1;
  margin-top: 15px;
}
.lv_genealogy_profile .lv_genealogy_status svg {
  color: #16a34a;
}
.lv_genealogy_profile .lv_genealogy_profile_content {
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  font-size: 16px;
}
.lv_genealogy_profile .lv_genealogy_profile_content h2 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0;
}
.lv_genealogy_profile .lv_genealogy_profile_content h5 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 5px;
}
.lv_genealogy_profile .lv_genealogy_profile_content p {
  opacity: 0.9;
  margin-bottom: 0;
  line-height: 1.2;
}
.lv_genealogy_profile .lv_genealogy_profile_content p:last-child {
  opacity: 1;
  margin-top: 7px;
}
.lv_genealogy_items {
  list-style: none;
  margin: 0;
  transition: 0.4s;
  /* display: flex;
  flex-direction: column; */
  /* gap: 10px; */
}
.lv_genealogy_section ul ul {
  /* margin-left: 22px; */
  padding-left: 50px;
  border-left: 1px solid var(--text-color);
  transition: 0.4s;
  visibility: hidden;
  opacity: 0;
  height: 0;
}
.lv_genealogy_section ul ul.lv_list_content_expand {
  visibility: visible;
  opacity: 1;
  height: auto;
}
.lv_genealogy_items .lv_genealogy_item_inner {
  display: flex;
  /* align-items: center; */
  /* margin-bottom: 10px; */
  position: relative;
}
ul > li .lv_branch_path {
  /* height: 100%; */
  width: 25px;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
ul > li .lv_branch_path:before {
  height: 1px;
  top: 48%;
  right: 0;
  width: 100%;
  position: absolute;
  content: "";
  background-color: #000;
}
ul > li .lv_branch_path:after {
  width: 1px;
  left: 0%;
  top: 0;
  height: 100%;
  position: absolute;
  content: "";
  background-color: #000;
}
ul > li:last-child > .lv_genealogy_item_inner > .lv_branch_path:after {
  height: 50%;
}
ul
  > li:last-child
  > .lv_genealogy_item_inner
  > .lv_branch_path.has_btn_expand:after {
  height: 100%;
  transition: 0;
}
ul > li:first-child > .lv_genealogy_item_inner > .lv_branch_path:after {
  height: calc(100% + 5px);
  top: auto;
  bottom: 0;
}
ul > li .extra_line {
  width: 44px;
  height: 100%;
  display: inline-block;
  position: absolute;
}
ul > li .extra_line {
  content: "";
  position: absolute;
  background-color: #000;
  width: 1px;
  left: 50%;
  bottom: 0;
  height: 10px;
}
.lv_content_wrapper {
  padding: 5px 0;
}
.lv_content_container {
  min-width: 700px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  background: #f5fbff;
  border: 1px solid #c9e9ff;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: black;
}
.lv_item_start {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lv_item_start svg {
  font-size: 14px;
}
.lv_item_end {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lv_item_end .value {
  font-weight: 400;
}
.lv_item_end .info_icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
button.lv_list_expand_btn,
button.lv_list_collapse_btn {
  appearance: none;
  border: none;
  position: absolute;
  border-radius: 100%;
  box-shadow: 0 0 0 1px #000;
  width: 16px;
  height: 16px;
  padding: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 1;
}
.lv_list_expand_btn {
  background: #fff
    url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48cGF0aCBkPSJNOSA0LjV2OSIvPjwvZz4KPC9zdmc+)
    no-repeat center;
}
.lv_list_collapse_btn {
  background: #fff
    url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCI+PGNpcmNsZSBjeD0iOSIgY3k9IjkiIHI9IjgiIGZpbGw9IiNGRkYiLz48ZyBzdHJva2U9IiM5ODk4OTgiIHN0cm9rZS13aWR0aD0iMS45IiA+PHBhdGggZD0iTTQuNSA5aDkiLz48L2c+Cjwvc3ZnPg==)
    no-repeat center;
}
