#family-tree-container {
    width: 100%;
    height: auto;
    overflow-x: auto;
    white-space: nowrap;
    cursor: grab;
    background: white;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    direction: ltr;
    scroll-behavior: smooth;
}

#family-tree-container a.treant-user-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 5px;
    gap: 5px;
    text-decoration: none;
    direction: rtl;
    transition: .3s;
    width: max-content;
}

#family-tree-container a.treant-user-node.wife-node {
    background-color: #ecf8f8;
    width: max-content;
}

#family-tree-container a.treant-user-node.not-shamloo-family {
    background-color: #e7c6ff;
        width: max-content;
}

#family-tree-container a.treant-user-node.node-dead {
    background-color: #d7d7d7;
        width: max-content;
}

#family-tree-container a.treant-user-node:hover {
    background: #e5e5e5;
    transition: .3s;
        width: max-content;

}

#family-tree-container a.treant-user-node img {
    max-width: 100px;
    border-radius: 5px;
    width: 100px;
}

#family-tree-container a.treant-user-node P {
    margin: 0px;
}

#family-tree-container a.treant-user-node P.node-name {
    font-size: 1rem;
    color: black;
    line-height: 1.4em;
}

#family-tree-container a.treant-user-node P.node-title {
    line-height: 1.4em;
    font-size: 0.8rem;
    color: #8d8d8d;
}

#family-tree-container a.treant-user-node P.node-desc {
    line-height: 1.4em;
    font-size: 0.8rem;
    color: #8d8d8d;
}

#family-tree-container div.treant-user-node {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#family-tree-container div.treant-user-node P {
    margin: 0px;
    text-wrap: nowrap;
}

#family-tree-container div.treant-user-node P.node-name {
    font-size: 1rem;
    color: black;
    line-height: 1.4em;
}

#family-tree-container div.treant-user-node P.node-desc,
#family-tree-container div.treant-user-node P.node-title {
    display: none;
}