.css-treeview ul,
.css-treeview li {
    padding: 0;
    margin: 0;
    min-height: 28px;
    list-style: none;
    position: relative;
}

.last_child_tree {
    font-size: 12px;
    border-bottom: 0;
}

.css-treeview li label.tree_child {
    border-bottom: 0;
    background: 0 0;
    margin-bottom: 0;
}

.css-treeview .card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    border: 0;
    font-weight: 400;
}


.css-treeview .card .card-body h1, .css-treeview .card .card-body h2, .css-treeview .card .card-body h3, .css-treeview .card .card-body h4, .css-treeview .card .card-body h5, .css-treeview .card .card-body h6 {
     font-weight: 400;
}

.css-treeview .card-title {
    margin-bottom: .75rem;
}

.css-treeview .card .card-body .card-text {
    color: #747373;
    font-size: .9rem;
    font-weight: 400;
}

.css-treeview input.toggle-tree {
    position: absolute !important;
    opacity: 0;
}

.css-treeview {
    font: normal 11px "Segoe UI", Arial, Sans-serif;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.css-treeview a {
    color: #2377b8;
    text-decoration: none;
    font-size: 18px;
}

.css-treeview a:hover {
    text-decoration: underline;
}

.css-treeview label:hover {
    background-color: lightgrey;
}

.css-treeview input.toggle-tree + label + ul {
    margin: 0 0 0 30px;
}

    .css-treeview input.toggle-tree ~ ul {
        display: none;
    }

    .css-treeview label,
    .css-treeview label::before {
        cursor: pointer;
    }

    .css-treeview input.toggle-tree:disabled + label {
        cursor: default;
        opacity: .6;
    }

    .css-treeview input.toggle-tree:checked:not(:disabled) ~ ul {
        display: block;
    }

    /*.css-treeview label.tree_child,
    .css-treeview label.tree_child::before {
        background: url("/images/icon/treeview_icons.png") no-repeat;
        background-size: 16px;
    }*/

        .css-treeview label:hover {
            background-color: lightgrey;
        }

.css-treeview label::before {
  height: 16px;
}

.css-treeview label,
.css-treeview a,
.css-treeview label::before {
  display: inline-block;
  vertical-align: middle;
}

    .css-treeview label {
        font-size: 12px;
        line-height: 24px;
        width: 100%;
    }

.css-treeview label span {
   overflow: hidden;
   -o-text-overflow: ellipsis;
   text-overflow: ellipsis;
   font-size: 15px;
}

.css-treeview label.tree_child .far.fa-minus-square {
   display: none;
}

.css-treeview label.tree_child .far.far.fa-plus-square {
   display: inline-block;
   color: #000000;
   vertical-align: super;
}

.check-element {
    position: absolute;
    left: 40px;
    z-index: 999;
}

.css-treeview input.toggle-tree:checked + label.tree_child .far.fa-plus-square {
    display: none!important;
}
.css-treeview input.toggle-tree:checked + label.tree_child .far.fa-minus-square {
    display: inline-block !important;
    color: #fcdb5a;
    vertical-align: super;
}
    .css-treeview [type="checkbox"]:not(:checked) + label.tree_child,
    .css-treeview [type="checkbox"]:checked + label.tree_child {
        position: relative;
        padding-left: 0px;
        cursor: pointer;
    }

.css-treeview i {
    font-size: 17px !important;
}
.tree_child .custom-control {
    display: inline-block !important;
}


/*cpv*/

.cpv-css-treeview ul,
.cpv-css-treeview li {
    padding: 4px 0;
    margin: 0;
    list-style: none;
}

.cpv-css-treeview .last_child_tree {
    font-size: 15px;
    border-bottom: 0;
}

.cpv-css-treeview li label {
    border-bottom: 0;
    background: 0 0;
}

.cpv-css-treeview .card {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    -webkit-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    border: 0;
    font-weight: 400;
}

.cpv-css-treeview .card .card-body h1, 
.cpv-css-treeview .card .card-body h2, 
.cpv-css-treeview .card .card-body h3, 
.cpv-css-treeview .card .card-body h4, 
.cpv-css-treeview .card .card-body h5, 
.css-treeview .card .card-body h6 {

    font-weight: 400;
}

.cpv-css-treeview .card-title {
    margin-bottom: .75rem;
}

.cpv-css-treeview .card .card-body .card-text {
    color: #747373;
    font-size: .9rem;
    font-weight: 400;
}

.cpv-css-treeview input {
    position: absolute !important;
    opacity: 0;
}

.cpv-css-treeview {
    font: 15px;
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
}

.cpv-css-treeview a {
    color: #2377b8;
    text-decoration: none;
    font-size: 18px;
}

.cpv-css-treeview a:hover {
   text-decoration: underline;
}

.cpv-css-treeview label:hover {
    background-color: lightgrey;
}

    .cpv-css-treeview input + label + ul {
        margin: 0 0 0 22px;
    }

    .cpv-css-treeview input ~ ul {
        display: none;
    }

    .cpv-css-treeview label,
    .cpv-css-treeview label::before {
        cursor: pointer;
    }

    .cpv-css-treeview input:disabled + label {
        cursor: default;
        opacity: .6;
    }

    .cpv-css-treeview input:checked:not(:disabled) ~ ul {
        display: block;
    }

 .cpv-css-treeview label,
 .cpv-css-treeview label::before {
        background: url("/images/icon/treeview_icons.png") no-repeat;
        background-size: 16px;
 }

.cpv-css-treeview label:hover {
    background-color: lightgrey;
}

        .cpv-css-treeview label::before {
            height: 16px;
        }

        .cpv-css-treeview label,
        .cpv-css-treeview a,
        .cpv-css-treeview label::before {
            display: inline-block;
            vertical-align: middle;
        }

.cpv-css-treeview label {
   background-position: 18px 8px;
   font-size: 15px;
   width: 100%;
}

.cpv-css-treeview label span {
    overflow: hidden;
   -o-text-overflow: ellipsis;
   text-overflow: ellipsis;
   font-size: 15px;
}

.cpv-css-treeview label::before {
    content: "";
    position: relative;
    width: 16px;
    border: 0px !important;
    vertical-align: middle;
    background-position: 0 -32px;
}

.cpv-css-treeview input:checked + label::before {
    background-position: 0 -16px;
}

.cpv-css-treeview [type="checkbox"]:not(:checked) + label,
.cpv-css-treeview [type="checkbox"]:checked + label {
    position: relative;
    padding-left: 0px;
    cursor: pointer;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    .cpv-css-treeview {
        -webkit-animation: webkit-adjacent-element-selector-bugfix infinite 1s;
    }

    @-webkit-keyframes webkit-adjacent-element-selector-bugfix {
        from {
            padding: 0;
        }

        to {
            padding: 0;
        }
    }
}

.css-treeview i {
    font-size: 17px !important;
}

.css-treeview {
    width: 100%;
    position: relative;
    background: #fff;
    transition: all 0.3s;
}

.DocumentFilds .css-treeview {
    position: fixed;
    width: 100%;
    position: relative;
    height: 70vh;
    z-index: 900;
    background: #fff;
    transition: all 0.3s;
    overflow: auto;
}
.css-treeview li label {
    text-transform: none;
}