/* jacfamilytree-chart css */
/* Tree Diagram Charts     */
/* Reference source:  https://jwcooney.com/2016/08/21/example-pure-css-family-tree-markup/  */
/* jacmgr modified and screwed it up a bit   */
<style>
/* cutestrap CSS framework: 
for this chart page, to remove sticky fixed position on toolbar 
comment or delete them if you want tool bar to stay sticky      
*/
html {
  margin-top: 0.0rem;
}
.toolbar {
  position: relative;
}
/* jacmgr */
/* CSS overall color scheme */
/* Should be moved to main custom css. For development just including on each page  */
:root {
    --male: #005EA6;
    --female: #DE5B9E;
    --pet: #653819;
    --chartline: #191970;
    --charthover: green;
	--blueish:#005EA6;
	--blueish2: #107896;
	--redish:#DE5B9E;
	--orangeish: #FF671F;
	--darkish:#653819;
	--lightish:#d1e5fb;
}
/* Be very careful changeing anything below here !! */
.scroller {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    white-space: nowrap;
	padding-bottom: 18px;
	text-align: center;
}
/* The CSS below for .tree is from https://jwcooney.com/2016/08/21/example-pure-css-family-tree-markup/ */
/* It is very critical, the html UL/LI Nodes layout and CSS are unforgiving to each other!!             */
.tree * {
margin: 0;
padding: 0;
font-family:sans-serif,Arial;
font-size:0.92rem;
line-height: 1.0rem;
}

.tree {
width: 4000px;
white-space: nowrap;
min-width: 800px;
min-height:500px;
}
.tree span {
	xmargin: 0; 
	xpadding: 0; 
	xfont-size: 0.8;
}
.tree ul {
padding-top: 20px;
position: relative;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
.tree li {
float: left;
text-align: center;
list-style-type: none;
position: relative;
padding: 20px 5px 0 5px;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
/*We will use ::before and ::after to draw the connectors*/
.tree li::before, .tree li::after {
content: '';
position: absolute;
top: 0;
right: 50%;
border-top: 1px solid var(--chartline);
width: 50%;
height: 20px;
}
.tree li::after {
right: auto;
left: 50%;
border-left: 1px solid var(--chartline);
}
/*We need to remove left-right connectors from elements without any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
display: none;
}
/*Remove space from the top of single children*/
.tree li:only-child {
padding-top: 0;
}
/*Remove left connector from first child and right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after {
border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before {
border-right: 1px solid var(--chartline);
border-radius: 0 5px 0 0;
-webkit-border-radius: 0 5px 0 0;
-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after {
border-radius: 5px 0 0 0;
-webkit-border-radius: 5px 0 0 0;
-moz-border-radius: 5px 0 0 0;
}
/*Time to add downward connectors from parents*/
.tree ul ul::before {
content: '';
position: absolute;
top: 0;
left: 50%;
border-left: 1px solid var(--chartline);
width: 0;
height: 20px;
}
.tree li div {
border: 2px solid var(--chartline);
padding: 0px 0px;
text-decoration: none;
color: #666;
font-family: arial, verdana, tahoma;
font-size: 10px;
display: inline-block;
min-width: 90px;
min-height: 30px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
transition: all 0.5s;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
}
.tree li div div{
border: 0px solid var(--chartline);
margin: 0px; padding: 0px;
width: auto;
}
.tree li div .top,
.tree li div .male,
.tree li div .female,
.tree li div .pet {
xbackground-color:lightblue;
display: inline-block;
vertical-align:top;
xwidth:85%;
min-width: 90px;
margin: 0px;
margin-left: 1px;
padding:2px;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
}
.tree li div .top {
font-weight: 400;
xfont-size: 1.6rem;
}
.tree li div .female {
border: 3px solid var(--female)
}
.tree li div .male {
border: 3px solid var(--male)
}
.tree li div .pet {
border: 3px solid var(--pet)
}
.tree li div .spacer {
background-color:lightblue;
display: inline-block;
width:10px;
}
.tree li div a {
	xfont-size: 9pt;
}
/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li div:hover, .tree li div:hover + ul li div {
background: #c8e4f8;
color: #000;
border: 2px solid #94a0b4;

}
.tree li div div:hover, .tree li siv div:hover + ul li div div{
border: 0px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li div:hover + ul li::after,
.tree li div:hover + ul li::before,
.tree li div:hover + ul::before,
.tree li div:hover + ul ul::before {
border-color: #94a0b4;
}
/* jacmgr adjustmets for navigation in family node divs.... */
.tree p.inlinemenubar{
    width: 24px;
	display: block; 
	float:left;
	text-wrap: wrap;
padding:0px; margin:0px;
}
.tree .inlinemenubar a,
.tree .inlinemenubar a:hover{
	text-decoration: none;	
}
.tree .inlinemenubar i.icon {
font-style: normal;
font-size: 1.3em;
font-weight: 1000;
}
