
.atonly {
	display:none !important;
}

/*
[data-fm="2"] + div {
	display:none !important;
}
*/


.tree ul.person {
    padding-top: 20px; 
	position: relative;
	
	overflow: hidden;  
    margin: 0;
	padding-left: 0;

/*    
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
*/
    z-index: 0
}

.tree li.person, .tree li.famEvents{
    float: left; 
	text-align: center;
    list-style-type: none;
    position: relative;
	
/* 	width: 50%;  */
    padding: 20px 0px 0 0px;

/*   
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
*/
}

.tree li.famEvents::before, .tree li.famEvents::after  {
    content: ''; 
    position: absolute; top: 0; right: 50%; 
    border-top: 3px solid #ccc;
	box-sizing: border-box;

	/* changed 04.07.2023 */
    width: 0; 

	height: 0px;
	
}

/* changed 04.07.2023 */
.tree li.famEvents {
    width: 0;
}


.tree li.person::before, .tree li.person:after, .tree li.person::before, .tree li.person::after {
    content: '';
    position: absolute; top: 0; right: 50%;
    border-top: 3px solid #ccc;
	box-sizing: border-box;
    width: 50%; 
	height: 20px;
}

.tree li.person::after{
    right: auto; left: 50%;
    border-left: 3px solid #ccc;
	box-sizing: border-box;
}

.tree li.person:only-child::after, .tree li.person:only-child::before {
    display: none;
}

.tree li.person:only-child{ 
	padding-top: 0;

/*
	width: 100%;
*/
}

.tree li.person:first-child::before, .tree li.person:last-child::after{
    border: 0 none;
	box-sizing: border-box;
}
.tree li.person:last-child::before{
	box-sizing: border-box;
    border-right: 3px solid #ccc;
    -webkit-border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
    border-radius: 0 5px 0 0;
}
.tree li.person:first-child::after{
    -webkit-border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
    border-radius: 5px 0 0 0;
	box-sizing: border-box;
}

/* changed 04.07.2023 */
.tree li div.famEvents {
    position: absolute; 
	top: 3px; 
	padding: 0px 2px;
	text-align: center;
	z-index: 1;
	white-space: nowrap;
	transform:translateX(-50%);
}


.tree ul ul.person::before{
    content: '';
    position: absolute; top: 0; left: 50%;
    border-left: 3px solid #ccc;
	box-sizing: border-box;
    width: 0; height: 20px;
}

