.tree li {
    margin: 0px 0;
    list-style-type: none;
    position: relative;
    padding: 10px 5px 0px 5px;
}

.tree li::before {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    right: auto;
    left: -23px;
    border-left: 1px solid #ccc;
    bottom: 45px;
}

.tree li::after {
    content: '';
    position: absolute;
    top: 25px;
    width: 27px;
    height: 25px;
    right: auto;
    left: -22px;
    border-top: 1px solid #ccc;
}

.tree li a {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 3px 10px;
    text-decoration: none;
    /*color: #666;*/
    font-size: 12px;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.tree .inactive {
    background-color: rgba(255, 12, 55, 0.2);
}

.tree .selected {
background-color: rgba(0, 255, 0, 0.3) ;
}


/*Remove connectors before root*/
.tree > ul > li::before, .tree > ul > li::after {
    border: 0;
}

/*Remove connectors after last child*/
.tree li:last-child::before {
    height: 26px;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover,
.tree li a:hover ~ ul li a {
    background: #c8e4f8;
    color: #000;
    border: 1px solid #94a0b4;
}

/*Connector styles on hover*/
.tree li a:hover + ul li::after,
.tree li a:hover + ul li::before,
.tree li a:hover + ul::before,
.tree li a:hover + ul ul::before {
    border-color: #94a0b4;
}

.first {
    border: 0 !important;
    background: none !important;
    color: #000 !important;
    font-size: 14px !important;

}

.first a:hover {
    border: 0 !important;
}

.site_stock {
    border-bottom: 1px solid gray;
    font-size: 14px;
    /*padding: 8px;*/
    vertical-align: top;
}

.liste_stock {
    border-top: 1px solid gray;
    padding-bottom: 20px;
    margin-top: 20px;
}
