/*
Theme Name:   woostify Child
Theme URI:    http://example.com/twenty-fifteen-child/
Description:  woostify Child Theme
Author:       Arifur Rahman
Author URI:   http://example.com
Template:     woostify
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  woostifychild
*/

ol.wtree {
    margin-left: 30px;
    counter-reset: item;
    margin-bottom: 50px;
}

.wtree li {
    list-style-type: none;
    margin: 10px 0 10px 10px;
    position: relative;
}

.wtree li:before {
    content: "";
    counter-increment: item;
    position: absolute;
    top: -10px;
    left: -30px;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    width: 30px;
    height: 15px;
}

.wtree li:after {
    position: absolute;
    content: "";
    top: 5px;
    left: -30px;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    width: 30px;
    height: 100%;
}

.wtree li:last-child:after {
    display: none;
}

.wtree li span {
    display: block;
    border: 1px solid #ddd;
    padding: 10px;
    color: #666666;
    text-decoration: none;
}

.wtree li span:before {
    content: counters(item, ".") " ";
}

.wtree li span:hover,
.wtree li span:focus {
    color: #000;
    border: 1px solid #474747;
}

.wtree li span:hover+ol li span,
.wtree li span:focus+ol li span {
    color: #000;
    border: 1px solid #474747;
}

.wtree li span:hover+ol li:after,
.wtree li span:hover+ol li:before,
.wtree li span:focus+ol li:after,
.wtree li span:focus+ol li:before {
    border-color: #474747;
}

.wtree li span {
    background-color: #ddebc8;
}

.wtree li li li span {
    background-color: #fefcd5;
}

.display {
    margin-right: 12px;
    font-weight: bold;
}