.family-tree__branch {
    position: relative;
}
.family-tree__branch .family-tree__branch {
    padding-top: 25px;
}
.family-tree__branch .family-tree__branch .family-tree__col {
    padding-top: 25px;
}
.family-tree__branch .family-tree__branch .family-tree__col:before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 25px;
    right: 0;
    border-top: 1px solid #ddd;
}
.family-tree__branch .family-tree__branch .family-tree__col:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 25px;
    width: 1px;
    background-color: #ddd;
}
.family-tree__branch .family-tree__branch .family-tree__col:first-child:before {
    width: 82px;
    border-left: 1px solid #ddd;
}
.family-tree__branch .family-tree__branch .family-tree__col:first-child:after {
    display: none;
}
.family-tree__branch .family-tree__branch .family-tree__col:last-child:before {
    width: 82px;
    border-right: 1px solid #ddd;
    left: 0;
    right: auto;
}
.family-tree__branch .family-tree__branch .family-tree__col:last-child:after {
    display: none;
}
.family-tree__branch .family-tree__branch .family-tree__col:first-child:last-child {
    padding-top: 0;
}
.family-tree__branch .family-tree__branch .family-tree__col:first-child:last-child:before {
    display: none;
}
.family-tree__branch .family-tree__branch .family-tree__col:first-child:last-child:after {
    display: none;
}
.family-tree__branch .family-tree__branch .family-tree__col_couple:after {
    left: calc(50%);
}
.family-tree__branch .family-tree__branch .family-tree__col_couple:first-child:before {
    width: calc(50%);
}
.family-tree__branch .family-tree__branch .family-tree__col_couple:last-child:before {
    width: calc(50%);
}
.family-tree__branch .family-tree__branch .family-tree__col_couple:first-child:last-child {
    /*padding-left: 146px;*/
}
.family-tree__row {
    display: flex;
    justify-content: center;
}
.family-tree__col {
    position: relative;
}
.family-tree__col + .family-tree__col {
    padding-left: 16px;
}
.family-tree__content {
    display: flex;
    justify-content: center;
}
.family-tree__couple {
    position: relative;
    display: inline-flex;
}
.family-tree__couple:before {
    content: '';
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -16px;
    height: 1px;
    width: 32px;
    background-color: #ddd;
}
.family-tree__couple .family-tree__person:first-child {
    padding-right: 16px;
}
.family-tree__couple .family-tree__person:last-child {
    padding-left: 16px;
}
.family-tree__couple_children .family-tree__person:last-child:before {
    content: '';
    position: absolute;
    top: 73px;
    left: 50%;
    width: 1px;
    height: 25px /*calc(100% - 34px)*/;
    background-color: #ddd;
}
.family-tree__couple_children .family-tree__person:last-child:after {
    /*content: '';
    position: absolute;
    top: 70px;
    left: calc(50% - 3px);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #ddd;*/
}
.family-tree__person {
    position: relative;
    z-index: 10;
}
.family-card {
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px 20px;
}
.family-card__image {
    display: block;
    width: 50px;
    height: 50px;
    /* margin-bottom: 16px; */
    background-position: 50%;
    background-size: cover;
    background-color: #dedede;
    border-radius: 50%;
    margin-right: 5px;
}
.family-card__name {
    font-weight: 600;
}
.family-card__count {
    margin-left: 7px;
}
.family-card__name a {
    color: #000;
    text-decoration: none;
}
.extend-arrow {
    position: absolute;
    bottom: -15px;
    left: 47%;
    cursor: pointer;
}
.extend-arrow .arrow {
    border: solid #c272bf;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}
.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}