@import "modal.css";
/* @import "bootstrap-datepicker.min.css"; */

.form-control {
  display: block;
  width: 100%;
  height: calc(1.5em + 0.75rem + 5px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.form-control::-webkit-date-and-time-value {
  min-width: 85px;
  height: 1.5em;
  margin: 0;
}
.form-control::-webkit-datetime-edit {
  display: block;
  padding: 0;
}
.form-control:disabled {
  background-color: #f1f1f1;
  opacity: 1;
}
.list-group {
  display: -ms-flexbox;
  /* display: flex; */
  -ms-flex-direction: column;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: 0.25rem;
}
.fml_tree_wap .tt_post_header {
  height: 80px;
  margin-bottom: 0;
}
.fml_tree_wap .tt_post_header h1 {
  margin-bottom: 0;
}
.fml_tree_wap .tt_post_header #crumbs {
  margin-bottom: 0;
}
.ul_level_list {
  a {
    cursor: pointer;
    background-color: #f8f8f8;
    color: #343a40;
    padding: 10px 20px;
    line-height: 20px;
    width: 100%;
    display: block;
    &:hover {
      font-weight: bold;
      color: var(--primary)
    }
  }
}
.form_search {
  background: #f8f8f8;
  padding: 15px;
  margin-bottom: 15px;
  margin-top: 15px;
  margin-left: -15px;
  margin-right: -15px;
  @media (min-width: 768px) {
    padding: 15px;
    margin-left: 0;
    margin-right: 0;
  }
  .form-control {
    margin-bottom: 10px;
    border: none;
    box-shadow:none;
    @media (min-width:768px) {
      margin-bottom: 0!important;
    }
  }
  #search_action {
    background: var(--second)!important;
    transition: 1s;
    margin-bottom: 0;
    &:hover {
      background: var(--primary)!important;
    }
  }
  .col {
    padding-bottom: 0!important;
  }
}
.member_item {
  background: #fff;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #f8f8f8;
  margin-bottom: 0;
  .avatar {
    width: 100px;
    height: 100px;
    margin: auto;
    overflow: hidden;
    border-radius: 100%;
    /* margin-bottom: 15px; */
    position: relative;
    margin-bottom: 5px;
    img {
      height: 100%;
      width: 100%;
      position: absolute;
    }
  }
  .info {
    width: calc(100% - 100px);
    p {
      margin-bottom: 0;
      font-weight: 500;
      &.name {
        text-transform: uppercase;
        span {
          margin-left: 10px;
          cursor: pointer;
          color: green;
          font-weight: 700;
        }
      }
      span {
        font-weight: 400;
      }
    }
    .view_more {
      cursor: pointer;
      background: var(--second);
      padding: 3px 10px;
      border-radius: 5px;
      color: #fff;
      font-size: .9rem;
      transition: 1s;
      &:hover {
        background: var(--primary);
      }
    }
  }
}

#member_modal_detail {
  .member_intro {
    max-height: 300px;
    overflow-y: auto;
    @media (min-width: 768px) {
      max-height: 500px;
    }
    p {
      /* margin-bottom: 0 */
    }
  }
  
}
.field_0 {
  text-transform: uppercase;
  fill: #000;
}
/*Xinchao */
foreignObject {
  /* height: 86px!important; */
  overflow: unset;
  .member {
    padding-top: 3px;
    border-radius: 5px;
    .img {
      border-radius: 100%;
      margin: auto;
      overflow: hidden;
      cursor: pointer;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .name {
      font-size: .8rem;
      margin-bottom: 0;
    }
  }
  
}
svg:not(:root) {
  border: none;
}
.linage {
  fill: none;
  stroke: #000;
}
.marriage {
  fill: none;
  stroke: black;
}
.man {
  background-color: lightblue;
  /* border-style: solid;
  border-width: 1px; */
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
.woman {
  background-color: pink;
  /* border-style: solid;
  border-width: 1px; */
  box-sizing: border-box;
}
.emphasis{
  font-style: italic;
}
p {
padding:0;
margin:0;
}
svg {
border-style: solid;
border-width: 1px;
}
.btn_right {
  display: block;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  z-index: 999;
  cursor: pointer;
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translateX(-50%);
  text-align: center;
  line-height: 1.3rem;
  border-radius: 50%;
}
.order-1 {
  order: 1;
  @media (min-width: 768px) {
    order: 2;
  }
}
.order-2 {
  order: 2;
  @media (min-width: 768px) {
    order: 1;
  }
}