/** TREE VIEW **/

.tree-view {
    padding-top: 10px;
}

.tree-view input {
    margin: 0px;
}

.tree-view ul {
    clear: both;
    margin: 0;
    padding: 0;
}

.tree-view ul li {
    list-style: none;
    cursor: pointer;
    color: #555;
    padding-left: 20px;
}

.tree-view > ul > li {
    padding-left: 0px;
}

.tree-view ul li .list-header:hover {
    background: #ccc;
}
/*
    Improvement: 14-03-2024
    Some CSS has been modifed to handle the inticator list in arabic language
*/
.tree-view ul li .list-header {
    /* min-height: 38px; */
    /* padding: 10px 10px; */
    padding: 10px 10px 7px;
    border-bottom: 1px solid #ccc;
    display: flex;
}

/*
    Improvement: 14-03-2024
    Some CSS has been modifed to handle the inticator list in arabic language
*/
.tree-view .lblTxt {
    cursor: pointer;
    /* padding: 10px 0px; */
    word-break: break-word;
    word-wrap: break-word;
    font-weight: normal;
    /* display: inline; */
    display: inline-flex;
    padding: 0px;
}

.tree-view .lblTxt input[type='checkbox'], .tree-view .lblTxt input[type='radio'] {
    min-width: 20px;
    float: none;
    margin: 0px;
    margin-right: 5px !important;
    width: 20px !important;
}

.tree-view .lblTxt .input.icheck {
    width: 0;
    margin-right: 25px;
    margin-bottom: 5px;
    display: inline-block;
    clear: both;
    vertical-align: top;
}

.tree-view label .nodeText {
    padding-left: 5px;
    word-wrap: break-word;
}

.tree-view ul li .control-box {
    min-width: 15px;
    min-height: 15px;
}

.tree-view ul li .control-box span {
    display: inline-block;
    min-width: 15px;
    min-height: 15px;
    vertical-align: top;
}

.tree-view .list-header.nodeSelected {
    background: #993366;
    color: #FFF;
}

.tree-view .list-header.nodeSelected:hover {
    background: #993366;
}


/**** Tree View Drop Down ****/

.treeview-dropdown {
    position: relative;
    margin-bottom: 1px;
}

.treeview-dropdown .dropdown-label {
    float: left;
    border: 1px solid #CCC !important;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    width: 100%;
    background-color: #fff;
    position: relative;
}

.treeview-dropdown .dropdown-label input {
    border: none !important;
    margin: 0 !important;
    background: none;
    position: relative;
    padding: 5px 25px 5px 5px;
    cursor: pointer;
    width: 100%;
}

.treeview-dropdown .dropdown-label .dropdownLink {
    border-left: 5px solid rgba(0, 0, 0, 0);
    border-right: 5px solid rgba(0, 0, 0, 0);
    border-top: 5px solid;
    color: #555;
    content: "";
    height: 0;
    margin-right: 14px;
    position: absolute;
    width: 0;
    right: -5px;
    top: 48%;
    cursor: pointer;
}

.treeview-dropdown .dropdown-menu {
    /*max-height: 300px;*/
    width: 100%;
}

.treeview-dropdown .dropdown-menu .dropdown-menubar {
    width: 100%;
    position: relative;
    clear: both;
    overflow: auto;
    padding: 0px 15px;
}

.treeview-dropdown .dropdown-menu .treeview-list {
    height: 220px;
    overflow-y: auto;
    /*width: 100%;*/
    font-size: 12px;
    margin: 5px 2px;
}

.treeview-dropdown .dropdown-menu .search-dropdown {
    float: left;
    margin-bottom: 0px;
    padding-right: 30px;
}

.treeview-dropdown .dropdown-menu .input-group-btn {
    padding: 5px 0px;
}

.treeview-dropdown .dropdown-menu .dropdown-footermenubar {
    padding: 0px 5px;
    border-top: 1px solid #ccc;
}

.treeview-dropdown .dropdown-menu .dropdown-action-buttons .btn {
    margin: auto;
}

.input-tree-view-box {
    float: left;
    width: 80%;
    margin-bottom: 15px;
}

/*** Tree view box ***/
.tree-view-box {
    position: relative;
    display: inline-block;
    width: 70%;
}

.tree-view-box .searchbox {
    overflow: hidden;
    /*margin-top: 10px;*/
    position: relative;
    width: 30%;
    display: inline-block;
}

.tree-view-box .searchbox .search-dropdown {
    margin-bottom: 5px;
    padding-right: 20px;
    width: 100%;
}

.tree-view-box .searchbox .input-group-btn {
    position: absolute;
    top: 0px;
    right: -5px;
}

.tree-view-box .searchbox .input-group-btn button {
    margin-left: -20px !important;
    padding: 5px 0px;
}

.tree-view-box .tree-view-container {
    width: 100%;
}

.tree-view-box .tree-view-container .tree-view-list {
    height: 200px;
    overflow-y: auto;
    padding: 5px 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 2px;
}

.tree-view-box .tree-view-container .tree-view-menubar {
    width: 100%;
}

.tree-view-box .tree-view-container .tree-view-menubar .list-count {
    float: right;
}
/*
    Improvement: 14-03-2024
    Some CSS has been added to handle the inticator list in arabic language
*/
/* new classes start */
.tree-view .lableText .lblTxt span {
    margin-left: 5px;
    display: inline-flex;
    line-height: 18px;
}

.rtl .tree-view .lableText .lblTxt span {
    text-align: right;
}

.list-header .lableText {
    display: inline-flex;
}

.treeview-list .tree-view .level-container .list-header {
    flex-wrap: wrap;
}
/* new classes end */
.list-header .level-wrapper .lableText {
    padding-left: 14px;
    padding-right: 0px;
}
.list-header .level-wrapper > span:nth-child(2) {
    padding: 0;
}