.elementor-11405 .elementor-element.elementor-element-35a98fe5{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;z-index:1;}.elementor-11405 .elementor-element.elementor-element-35a98fe5 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-11405 .elementor-element.elementor-element-1037b218 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-bottom:10px;}.elementor-11405 .elementor-element.elementor-element-1037b218 > .elementor-element-populated{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-11405 .elementor-element.elementor-element-1037b218 > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-11405 .elementor-element.elementor-element-c3ef7f6 img{width:512px;height:512px;border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-dce88ed img{width:200px;height:200px;object-fit:fill;border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-14ed5cb );border-radius:100px 100px 100px 100px;}.elementor-11405 .elementor-element.elementor-element-65bfcdae{text-align:center;}.elementor-11405 .elementor-element.elementor-element-65bfcdae .elementor-heading-title{color:var( --e-global-color-14ed5cb );-webkit-text-stroke-width:2px;stroke-width:2px;-webkit-text-stroke-color:var( --e-global-color-14ed5cb );stroke:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-4852e3a{--grid-template-columns:repeat(0, auto);--icon-size:20px;--grid-column-gap:5px;--grid-row-gap:0px;}.elementor-11405 .elementor-element.elementor-element-4852e3a .elementor-widget-container{text-align:center;}.elementor-11405 .elementor-element.elementor-element-4852e3a .elementor-social-icon{background-color:var( --e-global-color-7e27fa9 );--icon-padding:0.5em;border-style:solid;border-width:5px 5px 5px 5px;border-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-5b0c5438{text-align:center;}.elementor-11405 .elementor-element.elementor-element-5b0c5438 .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-49a5d89{text-align:center;}.elementor-11405 .elementor-element.elementor-element-49a5d89 .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-5f7a5934{text-align:center;}.elementor-11405 .elementor-element.elementor-element-5f7a5934 .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-23e5db4e{text-align:center;}.elementor-11405 .elementor-element.elementor-element-23e5db4e .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-7d81b669{text-align:center;}.elementor-11405 .elementor-element.elementor-element-7d81b669 .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-70ca5ffa{text-align:center;}.elementor-11405 .elementor-element.elementor-element-70ca5ffa .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-22f830b5{text-align:center;}.elementor-11405 .elementor-element.elementor-element-22f830b5 .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-4f7ee36e{text-align:center;}.elementor-11405 .elementor-element.elementor-element-4f7ee36e .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-7f83cebd{text-align:center;}.elementor-11405 .elementor-element.elementor-element-7f83cebd .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-63728b1d{text-align:center;}.elementor-11405 .elementor-element.elementor-element-63728b1d .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-1c5f6ba2{--divider-border-style:dashed;--divider-color:var( --e-global-color-14ed5cb );--divider-border-width:3px;}.elementor-11405 .elementor-element.elementor-element-1c5f6ba2 .elementor-divider-separator{width:70%;margin:0 auto;margin-center:0;}.elementor-11405 .elementor-element.elementor-element-1c5f6ba2 .elementor-divider{text-align:center;padding-block-start:2px;padding-block-end:2px;}.elementor-11405 .elementor-element.elementor-element-23da90bd{text-align:center;}.elementor-11405 .elementor-element.elementor-element-23da90bd .elementor-heading-title{color:var( --e-global-color-14ed5cb );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-23ab7e4{--alignment:center;--grid-side-margin:10px;--grid-column-gap:10px;--grid-row-gap:10px;--grid-bottom-margin:10px;--e-share-buttons-primary-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-23ab7e4 .elementor-share-btn{font-size:calc(0.7px * 10);}.elementor-11405 .elementor-element.elementor-element-23ab7e4 .elementor-share-btn__icon{--e-share-buttons-icon-size:2.5em;}.elementor-11405 .elementor-element.elementor-element-1f2034ac{text-align:center;}.elementor-11405 .elementor-element.elementor-element-1f2034ac .elementor-heading-title{color:var( --e-global-color-7e27fa9 );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-11405 .elementor-element.elementor-element-1235ae25 .elementor-button-content-wrapper{flex-direction:row;}.elementor-11405 .elementor-element.elementor-element-1235ae25 .elementor-button{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );background-color:var( --e-global-color-7e27fa9 );padding:10px 10px 10px 10px;}.elementor-11405 .elementor-element.elementor-element-1235ae25 .elementor-button:hover, .elementor-11405 .elementor-element.elementor-element-1235ae25 .elementor-button:focus{color:var( --e-global-color-873495c );}.elementor-11405 .elementor-element.elementor-element-1235ae25 .elementor-button:hover svg, .elementor-11405 .elementor-element.elementor-element-1235ae25 .elementor-button:focus svg{fill:var( --e-global-color-873495c );}.elementor-11405 .elementor-element.elementor-element-7233a54e{--divider-border-style:dashed;--divider-color:var( --e-global-color-14ed5cb );--divider-border-width:3px;}.elementor-11405 .elementor-element.elementor-element-7233a54e .elementor-divider-separator{width:70%;margin:0 auto;margin-center:0;}.elementor-11405 .elementor-element.elementor-element-7233a54e .elementor-divider{text-align:center;padding-block-start:2px;padding-block-end:2px;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-fields>.acf-field{border-top:none;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-field[data-width]+.acf-field[data-width]{border-left:none;}.elementor-11405 .elementor-element.elementor-global-13194 .frontend-form-title{justify-content:center;}body.rtl .elementor-11405 .elementor-element.elementor-global-13194 .acf-form-fields.-left .acf-field label{padding-left:0px;}body:not(.rtl) .elementor-11405 .elementor-element.elementor-global-13194 .acf-form-fields.-left .acf-field label{padding-right:0px;}body .elementor-11405 .elementor-element.elementor-global-13194 .acf-form-fields.-top .acf-field label{padding-bottom:0px;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-label{color:var( --e-global-color-7e27fa9 );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}body .elementor-11405 .elementor-element.elementor-global-13194 .acf-form-fields.-top p.description{padding-bottom:0px;}.elementor-11405 .elementor-element.elementor-global-13194 p.description{color:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-global-13194 .acf-field:not(.acf-field-image) input:not([type=submit]):not([type=button]):not(.acf-input):not(.select2-search__field){background-color:#ffffff;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-field textarea{background-color:#ffffff;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-field .acf-input select{background-color:#ffffff;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-field .acf-input .select2-selection{background-color:#ffffff;}.elementor-11405 .elementor-element.elementor-global-13194 .fea-submit-buttons{padding-top:0px;justify-content:center;}.elementor-11405 .elementor-element.elementor-global-13194 .fea-submit-button{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );border-radius:opx opx opx opx;fill:var( --e-global-color-kadence9 );color:var( --e-global-color-kadence9 );background-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-global-13194 .acf-actions a{fill:var( --e-global-color-7e27fa9 );color:var( --e-global-color-7e27fa9 );border-radius:opx opx opx opx;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-minus{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );border-radius:opx opx opx opx;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-plus{border-radius:opx opx opx opx;}.elementor-11405 .elementor-element.elementor-global-13194 .image-field .button{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );border-radius:opx opx opx opx;fill:var( --e-global-color-kadence9 );color:var( --e-global-color-kadence9 );background-color:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-global-13194 .acf-notice.-success{padding:0px 0px 0px 0px;border-radius:opx opx opx opx;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-notice.-error{border-radius:opx opx opx opx;}.elementor-11405 .elementor-element.elementor-global-13194 .acf-notice.-limit{border-radius:opx opx opx opx;}.elementor-11405 .elementor-element.elementor-global-13194 > .elementor-widget-container{margin:0% 0% 0% 30%;}.elementor-11405 .elementor-element.elementor-global-13194 .modal-button-container{padding-top:0px;display:flex;justify-content:center;}.elementor-11405 .elementor-element.elementor-global-13194 .modal-button{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );border-radius:opx opx opx opx;fill:var( --e-global-color-kadence9 );color:var( --e-global-color-kadence9 );background-color:var( --e-global-color-7e27fa9 );border-style:solid;border-width:0px 0px 0px 0px;border-color:var( --e-global-color-kadence9 );}.elementor-11405 .elementor-element.elementor-global-13194 .edit-modal .fea-modal-content{background-color:var( --e-global-color-873495c );justify-content:center;}.elementor-11405 .elementor-element.elementor-element-577ead38:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, .elementor-11405 .elementor-element.elementor-element-577ead38 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-kadence9 );}.elementor-11405 .elementor-element.elementor-element-577ead38 > .elementor-element-populated{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-11405 .elementor-element.elementor-element-577ead38 > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-11405 .elementor-element.elementor-element-676830b2{text-align:center;}.elementor-11405 .elementor-element.elementor-element-676830b2 .elementor-heading-title{color:var( --e-global-color-7e27fa9 );-webkit-text-stroke-width:1px;stroke-width:1px;-webkit-text-stroke-color:var( --e-global-color-7e27fa9 );stroke:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-element-25b01ca > .elementor-widget-container{border-style:solid;border-width:0px 0px 1px 0px;border-color:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-element-ef5d4cf{text-align:center;}.elementor-11405 .elementor-element.elementor-element-ef5d4cf .elementor-heading-title{color:var( --e-global-color-7e27fa9 );-webkit-text-stroke-width:1px;stroke-width:1px;-webkit-text-stroke-color:var( --e-global-color-7e27fa9 );stroke:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-element-f9f12fc > .elementor-widget-container{padding:0% 0% 0% 0%;border-style:solid;border-width:0px 0px 1px 0px;border-color:var( --e-global-color-7e27fa9 );border-radius:0px 0px 0px 0px;}.elementor-11405 .elementor-element.elementor-element-32f3800b{text-align:center;}.elementor-11405 .elementor-element.elementor-element-32f3800b .elementor-heading-title{color:var( --e-global-color-7e27fa9 );-webkit-text-stroke-width:1px;stroke-width:1px;-webkit-text-stroke-color:var( --e-global-color-7e27fa9 );stroke:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-element-4f332392 > .elementor-widget-container{padding:0% 0% 0% 0%;border-style:solid;border-width:0px 0px 1px 0px;border-color:var( --e-global-color-7e27fa9 );border-radius:0px 0px 0px 0px;}.elementor-11405 .elementor-element.elementor-element-b08ee27 .gallery-item{padding:0 4px 4px 0;}.elementor-11405 .elementor-element.elementor-element-b08ee27 .gallery{margin:0 -4px -4px 0;}.elementor-11405 .elementor-element.elementor-element-b08ee27 .gallery-item img{border-style:solid;border-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-b08ee27 .gallery-item .gallery-caption{text-align:center;color:var( --e-global-color-14ed5cb );font-family:"Eczar", Sans-serif;font-weight:600;font-style:normal;}.elementor-11405 .elementor-element.elementor-element-175e87e5{margin-top:0px;margin-bottom:0px;padding:0px 0px 0px 0px;}.elementor-11405 .elementor-element.elementor-element-103e2ab .elementor-cta__content{min-height:0px;text-align:center;padding:0px 0px 0px 0px;background-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-103e2ab .elementor-cta__bg-wrapper{min-width:0%;min-height:28vh;}.elementor-11405 .elementor-element.elementor-element-103e2ab .elementor-cta .elementor-cta__bg, .elementor-11405 .elementor-element.elementor-element-103e2ab .elementor-cta .elementor-cta__bg-overlay{transition-duration:1500ms;}.elementor-11405 .elementor-element.elementor-element-103e2ab > .elementor-widget-container{border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-72cd745b .elementor-cta__content{min-height:0px;text-align:center;padding:0px 0px 0px 0px;background-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-72cd745b .elementor-cta__bg-wrapper{min-width:0%;min-height:28vh;}.elementor-11405 .elementor-element.elementor-element-72cd745b .elementor-cta .elementor-cta__bg, .elementor-11405 .elementor-element.elementor-element-72cd745b .elementor-cta .elementor-cta__bg-overlay{transition-duration:1500ms;}.elementor-11405 .elementor-element.elementor-element-72cd745b > .elementor-widget-container{border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-14ed5cb );border-radius:0px 0px 0px 0px;}.elementor-11405 .elementor-element.elementor-element-39dd183c .elementor-cta__content{min-height:0px;text-align:center;padding:0px 0px 0px 0px;background-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-39dd183c .elementor-cta__bg-wrapper{min-width:0%;min-height:28vh;}.elementor-11405 .elementor-element.elementor-element-39dd183c .elementor-cta .elementor-cta__bg, .elementor-11405 .elementor-element.elementor-element-39dd183c .elementor-cta .elementor-cta__bg-overlay{transition-duration:1500ms;}.elementor-11405 .elementor-element.elementor-element-39dd183c > .elementor-widget-container{border-style:solid;border-width:2px 2px 2px 2px;border-color:var( --e-global-color-14ed5cb );}.elementor-11405 .elementor-element.elementor-element-e7d4564{--divider-border-style:dashed;--divider-color:var( --e-global-color-14ed5cb );--divider-border-width:3px;}.elementor-11405 .elementor-element.elementor-element-e7d4564 .elementor-divider-separator{width:100%;margin:0 auto;margin-center:0;}.elementor-11405 .elementor-element.elementor-element-e7d4564 .elementor-divider{text-align:center;padding-block-start:2px;padding-block-end:2px;}.elementor-11405 .elementor-element.elementor-element-c7da639 .elementor-button{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );background-color:var( --e-global-color-7e27fa9 );}.elementor-11405 .elementor-element.elementor-element-c7da639 .elementor-button:hover, .elementor-11405 .elementor-element.elementor-element-c7da639 .elementor-button:focus{color:var( --e-global-color-kadence9 );}.elementor-11405 .elementor-element.elementor-element-c7da639 .elementor-button:hover svg, .elementor-11405 .elementor-element.elementor-element-c7da639 .elementor-button:focus svg{fill:var( --e-global-color-kadence9 );}@media(min-width:768px){.elementor-11405 .elementor-element.elementor-element-1037b218{width:30.918%;}.elementor-11405 .elementor-element.elementor-global-13194 .elementor-repeater-item-c9af5c7{width:100%;margin:o% o% o% o%;padding:o% o% o% o%;}.elementor-11405 .elementor-element.elementor-global-13194 .elementor-repeater-item-99241c2{width:100%;margin:o% o% o% o%;padding:o% o% o% o%;}body:not(.rtl) .elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-minus{right:10%;}body.rtl .elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-minus{left:10%;}body .elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-minus{top:50%;}body:not(.rtl) .elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-plus{right:10%;}body.rtl .elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-plus{left:10%;}body .elementor-11405 .elementor-element.elementor-global-13194 .acf-repeater .acf-row-handle .acf-icon.-plus{top:5%;}.elementor-11405 .elementor-element.elementor-element-577ead38{width:68.35%;}}@media(max-width:1024px){ .elementor-11405 .elementor-element.elementor-element-23ab7e4{--grid-side-margin:10px;--grid-column-gap:10px;--grid-row-gap:10px;--grid-bottom-margin:10px;}.elementor-11405 .elementor-element.elementor-global-13194 > .elementor-widget-container{margin:0% 0% 0% 23%;}}@media(max-width:767px){ .elementor-11405 .elementor-element.elementor-element-23ab7e4{--grid-side-margin:10px;--grid-column-gap:10px;--grid-row-gap:10px;--grid-bottom-margin:10px;}.elementor-11405 .elementor-element.elementor-global-13194 .elementor-repeater-item-c9af5c7{width:100%;}.elementor-11405 .elementor-element.elementor-global-13194 .elementor-repeater-item-99241c2{width:100%;}.elementor-11405 .elementor-element.elementor-global-13194 > .elementor-widget-container{margin:0% 0% 0% 30%;}.elementor-11405 .elementor-element.elementor-global-13194 .edit-modal .fea-modal-content{width:97%;justify-content:center;}.elementor-11405 .elementor-element.elementor-global-13194 .edit-modal .fea-modal-content .fea-modal-inner{width:100%;}.elementor-11405 .elementor-element.elementor-element-b08ee27 .gallery-item img{border-width:1px 1px 1px 1px;}.elementor-11405 .elementor-element.elementor-element-103e2ab .elementor-cta__bg-wrapper{min-height:30vh;}.elementor-11405 .elementor-element.elementor-element-72cd745b .elementor-cta__bg-wrapper{min-height:30vh;}.elementor-11405 .elementor-element.elementor-element-39dd183c .elementor-cta__bg-wrapper{min-height:30vh;}}/* Start custom CSS *//* Enhanced Genealogy Tree Styling */
.genealogy-tree-wrapper {
    margin: 20px 0;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: auto;
    text-align: center;
    display: flex;
    justify-content: ;
}

.genealogy-tree-wrapper ul {
    padding-top: 20px;
    position: relative;
    transition: all 0.5s;
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

.genealogy-tree-wrapper ul ul {
    padding-left: 0;
    margin-top: 20px;
    position: relative;
}

.genealogy-tree-wrapper li {
    list-style-type: none;
    margin: 0;
    padding: 20px 5px 0 5px;
    text-align: center;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

/* Connecting lines between nodes */
.genealogy-tree-wrapper li::before, 
.genealogy-tree-wrapper li::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 20px;
    border-top: 2px solid #ccc;
}

.genealogy-tree-wrapper li::before {
    right: 50%;
}

.genealogy-tree-wrapper li::after {
    left: 50%;
    border-left: 2px solid #ccc;
}

.genealogy-tree-wrapper li:only-child::before,
.genealogy-tree-wrapper li:only-child::after {
    display: none;
}

.genealogy-tree-wrapper li:only-child {
    padding-top: 0;
}

.genealogy-tree-wrapper li:first-child::before, 
.genealogy-tree-wrapper li:last-child::after {
    border: 0 none;
}

.genealogy-tree-wrapper li:last-child::before {
    border-right: 2px solid #ccc;
    border-radius: 0 5px 0 0;
}

.genealogy-tree-wrapper li:first-child::after {
    border-radius: 5px 0 0 0;
}

.genealogy-tree-wrapper ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 2px solid #ccc;
    width: 0;
    height: 20px;
}

.genealogy-tree-wrapper .person {
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
    border: 1px solid #ccc;
    transition: all 0.5s;
    background-color: #fff;
    position: relative;
    cursor: pointer;
}

.genealogy-tree-wrapper .person:hover {
    background-color: #eaeaea;
    border-color: #aaa;
}/* End custom CSS */