/* tree stuff from https://unpkg.com/treeflex@2.0.1/dist/css/treeflex.css */
#start {
    border: 3px double #fb5151;
    border-radius: 10px;
}

#results span {
    background: rgba(125,125,125,0.2);
    margin: 1px;
    border-radius: 15%;
}

ul {
    list-style: none;
    padding: 0px;
    display: inline-block;
    margin: 0px
}

li {
    border: 2px;
    margin: 2px;
}

#results {
    border: 1px solid lightGray;
    color: gray;
}

#start,#results,#dets {
    font: 2em Monaco, monospace;
    letter-spacing: 0.25rem;
}

ul.sideways li {
    display: inline-block;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    width: 1.37em;  /* eye balled */
    font: 0.5em "Arial Narrow";
    font-stretch: condensed;
    letter-spacing: 0rem;
}

.move {
    /*text-decoration: rgba(127,127,255,0.7) underline; */
    color:#fb5151
}
div.treeDat {
    color: gray;
}
ul {
     /*border: 1px solid red; */
}

.tf-tree {
    font-size: 16px;
    overflow: auto
}
.tf-tree * {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}
.tf-tree ul {
    display: inline-flex
}
.tf-tree li {
    align-items: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 0.5em;
    position: relative;
}
.tf-tree li ul {
    margin: 2em 0 0 0
}
.tf-tree li li:before {
    border-top: .0625em solid #000;
    content: "";
    display: block;
    height: .0625em;
    left: -.03125em;
    position: absolute;
    top: -1.03125em;
    width: 100%
}
.tf-tree li li:first-child:before {
    left: calc(50% - .03125em);
    max-width: calc(50% + .0625em);
}
.tf-tree li li:last-child:before {
    left: auto;
    max-width: calc(50% + .0625em);
    right: calc(50% - .03125em)
}
.tf-tree li li:only-child:before {
    display: none
}
.tf-tree li li:only-child > .tf-nc:before,
.tf-tree li li:only-child > .tf-node-content:before {
    height: 1.0625em;
    top: -1.0625em
}
.tf-tree .tf-nc,
.tf-tree .tf-node-content {
    border: .0625em solid #000;
    display: inline-block;
    padding: .5em 1em;
    position: relative
}
.tf-tree .tf-nc:before,
.tf-tree .tf-node-content:before {
    top: -1.03125em
}
.tf-tree .tf-nc:after,
.tf-tree .tf-nc:before,
.tf-tree .tf-node-content:after,
.tf-tree .tf-node-content:before {
    border-left: .0625em solid #000;
    content: "";
    display: block;
    height: 1em;
    left: calc(50% - .03125em);
    position: absolute;
    width: .0625em
}
.tf-tree .tf-nc:after,
.tf-tree .tf-node-content:after {
    top: calc(100% + .03125em)
}
.tf-tree .tf-nc:only-child:after,
.tf-tree .tf-node-content:only-child:after,
.tf-tree > ul > li > .tf-nc:before,
.tf-tree > ul > li > .tf-node-content:before {
    display: none
}
.tf-tree.tf-gap-sm li {
    padding: 0 .6em
}
.tf-tree.tf-gap-sm li > .tf-nc:before,
.tf-tree.tf-gap-sm li > .tf-node-content:before {
    height: .6em;
    top: -.6em
}
.tf-tree.tf-gap-sm li > .tf-nc:after,
.tf-tree.tf-gap-sm li > .tf-node-content:after {
    height: .6em
}
.tf-tree.tf-gap-sm li ul {
    margin: 1.2em 0
}
.tf-tree.tf-gap-sm li li:before {
    top: -.63125em
}
.tf-tree.tf-gap-sm li li:only-child > .tf-nc:before,
.tf-tree.tf-gap-sm li li:only-child > .tf-node-content:before {
    height: .6625em;
    top: -.6625em
}
.tf-tree.tf-gap-lg li {
    padding: 0 1.5em
}
.tf-tree.tf-gap-lg li > .tf-nc:before,
.tf-tree.tf-gap-lg li > .tf-node-content:before {
    height: 1.5em;
    top: -1.5em
}
.tf-tree.tf-gap-lg li > .tf-nc:after,
.tf-tree.tf-gap-lg li > .tf-node-content:after {
    height: 1.5em
}
.tf-tree.tf-gap-lg li ul {
    margin: 3em 0 0 0
}
.tf-tree.tf-gap-lg li li:before {
    top: -1.53125em
}
.tf-tree.tf-gap-lg li li:only-child > .tf-nc:before,
.tf-tree.tf-gap-lg li li:only-child > .tf-node-content:before {
    height: 1.5625em;
    top: -1.5625em
}
.tf-tree li.tf-dotted-children .tf-nc:after,
.tf-tree li.tf-dotted-children .tf-nc:before,
.tf-tree li.tf-dotted-children .tf-node-content:after,
.tf-tree li.tf-dotted-children .tf-node-content:before {
    border-left-style: dotted
}
.tf-tree li.tf-dotted-children li:before {
    border-top-style: dotted
}
.tf-tree li.tf-dotted-children > .tf-nc:before,
.tf-tree li.tf-dotted-children > .tf-node-content:before {
    border-left-style: solid
}
.tf-tree li.tf-dashed-children .tf-nc:after,
.tf-tree li.tf-dashed-children .tf-nc:before,
.tf-tree li.tf-dashed-children .tf-node-content:after,
.tf-tree li.tf-dashed-children .tf-node-content:before {
    border-left-style: dashed
}
.tf-tree li.tf-dashed-children li:before {
    border-top-style: dashed
}
.tf-tree li.tf-dashed-children > .tf-nc:before,
.tf-tree li.tf-dashed-children > .tf-node-content:before {
    border-left-style: solid
}