.dropdown-tree button {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    color: #495057;
}
.dropdown-tree .dropdown-toggle::after {
    border: 0;
    content: '\f078';
    font: normal normal normal 11px/1 FontAwesome;
    right: 16px;
    top: -5px;
    height: 34px;
    padding: 15px 0px 0px 8px;
    position: absolute;
    pointer-events: none;
}
.dropdown-tree > ul {
    overflow-y: auto;
    overflow-x: hidden;
    white-space: nowrap;
}

.dropdown-tree a {
    margin-left: 10px;
    display: inline-block !important;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    background: transparent !important;
    position: relative;
    font-size: 14px;
}

.dropdown-tree li {
    list-style: none;
    padding: 5px;
}

    .dropdown-tree li > i {
        margin-left: 10px;
    }

    .dropdown-tree li:hover {
        background: #eee;
    }

        .dropdown-tree li:hover ul {
            background: white;
        }

            .dropdown-tree li:hover ul li:hover {
                background: #eee;
            }

.dropdown-tree .arrow {
    position: absolute;
    margin-left: -20px;
    top: 50%;
    transform: translateY(-50%);
}
/*RTL CSS*/
.rtl-dropdown-tree {
    direction: rtl !important;
}

    .rtl-dropdown-tree > ul {
        right: 0;
        left: unset;
        text-align: right;
    }

    .rtl-dropdown-tree .arrow {
        right: 6px;
    }

    .rtl-dropdown-tree li > i {
        margin-left: 0;
        margin-right: 10px;
    }
