

details ul li {
font-weight:700;
list-style:none;
padding:1em 1em 1em 3em;
position:relative;
}

details ul li:before {
border-bottom:1px solid #ccc;
border-left:1px solid #ccc;
content:"";
display:block;
float:left;
height:1.5em;
left:0;
position:absolute;
top:0;
width:0;
}

details ul li:after {
border-left:1px solid #ccc;
content:"";
display:block;
float:left;
height:100%;
left:0;
position:absolute;
top:0;
width:1em;
}

details ul li div {
opacity:0;
}

details ul li div:before {
content:"";
display:bl