﻿/*!
 * ngpvan-angular-libraries : https://github.com/NGPVAN/Angular-Libraries
 * ngpvan.ui.treeview : https://github.com/NGPVAN/Angular-Libraries/tree/master/modules/ngpvan.ui.treeview
 * Version: 1.4 - 2019-04-29T15:50:24.186Z
 */

.treeview-container .dropdown-list {
    -webkit-box-shadow: 1px 1px 3px #dde4ed;
    -ms-box-shadow: 1px 1px 3px #dde4ed;
    box-shadow: 1px 1px 3px #dde4ed;
    z-index: 99;
    -ms-border-bottom-right-radius: 2px;
    border-bottom-right-radius: 2px;
    -ms-border-bottom-left-radius: 2px;
    border-bottom-left-radius: 2px;
    background-color: white;
    border: 1px solid #B2C1DB;
    margin-top: -1px;
    position: absolute;
    width: 100%;
}

.treeview-root .tree-item-row .selected {
    color: #98a4b8;
}

.treeview-container .dropdown-list .root-tree {
    max-height: 250px;
    overflow: auto;
}

.treeview-container .dropdown-list .typeahead {
    border: 1px solid #B2C1DB !important;
    -ms-border-radius: 2px;
    border-radius: 2px;
    display: block;
    padding: 10px 14px;
    width: 100%;
}

.treeview-container .dropdown-list .typeahead:focus {
    border: 1px solid #B2C1DB !important;
}

.treeview-container .dropdown-list .selected {
    color: #98a4b8;
}

.treeview-container .dropdown-list .selected:hover {
    color: #98a4b8;
}

.treeview-container .typeahead-container {
    position: relative;
    padding: 14px 10px 0 14px;
    margin-bottom: 5px;
}

.treeview-root .selected {
    color: #394357;
}

.treeview-root .tree-item-row-can-select > .tree-item:hover {
    color: #0d98e6;
}

.treeview-root .tree-item-row-cannot-click > .tree-item:hover {
    cursor: default;
}

.treeview-container .selected-items-wrapper {
    background-color: white;
}

.treeview-root .tree-item-expand:hover {
    color: #394357;
}

.treeview-container .selected-item-deselect {
    color: gray;
    margin-left: 6px;
}

.treeview-container .selected-item-deselect:hover {
    color: #394357;
    text-decoration: none;
}

.treeview-container .selected-single-item {
    display: block;
}

.treeview-container .no-selection-placeholder {
    display: block;
    color: #98a4b8;
    padding-top: 2px;
}

.treeview-root .tree-item-row-cannot-expand .tree-item {
    margin-left: 15px;
}

.treeview-container .selected-item-container + .typeahead {
    min-height: 34px;
    padding: 6px 8px;
}

.treeview-container .single-item-remove {
    height: 18px;
    cursor: pointer;
}

.treeview-container {
    position: relative;
}

.treeview-root .tree-item-expand {
    display: inline-block;
    line-height: 22px;
    vertical-align: middle;
    cursor: pointer;
}

.treeview-root .tree-item-expand span {
    font-size: 12px;
    margin-right: 0;
}

.treeview-container .typeahead {
    border: 0px !important;
    font-size: 14px;
    -moz-min-width: 50px;
    -ms-min-width: 50px;
    -o-min-width: 50px;
    -webkit-min-width: 50px;
    min-width: 50px;
    outline: none;
    padding: 3px;
}

.treeview-container .typeahead:focus {
    border: 0px !important;
    outline: none;
}

.root-tree ul {
    color: #394357;
    list-style-type: none;
    padding: 0 14px;
}

.root-tree ul ul {
    padding: 0 24px;
}

.treeview-container .selected-item {
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #B2C1DB;
    float: left;
    line-height: 16px;
    padding: 6px 8px;
    margin: 2px;
}

.treeview-container .selected-item-deselect {
    font-size: 16px;
    cursor: pointer;
}

.treeview-container .no-selection-placeholder .open {
    float: right;
    color: white;
    font-size: 1px;
}

.treeview-container .selected-items-wrapper {
    cursor: pointer;
    -ms-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #B2C1DB;
    min-height: 38px;
    overflow: auto;
    font-size: 14px;
    padding: 8px 10px;

}

.treeview-root a.tree-item {
    color: black;
    text-decoration: none;
}

.treeview-root a.tree-item.cannot-click {
    cursor: default;
}

.treeview-root a.tree-item.cannot-select:hover {
    color:black;
}

.treeview-root a.tree-item.can-click {
    cursor: pointer;
}

.treeview-root .tree-item-row {
    line-height: 22px;
    min-height: 25px;
}

.treeview-container .menu-title {
    font-weight:700;
    font-size: 14px;
    padding-right:24px;
}

.treeview-container .menu-title {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNSIgdmlld0JveD0iMCAwIDEyIDUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHRpdGxlPmNhcmV0PC90aXRsZT48cGF0aCBkPSJNNS42MjUgNUwwIDBoMTEuMjUiIGZpbGw9IiM5QjlCOUIiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvc3ZnPg==) !important;
    background-position: right 4px center !important;
    background-repeat: no-repeat !important;
}

tree-view[tree-mode="menu"] .treeview-container .selected-items-wrapper{
    box-shadow: 0 2px 0 0 #D9E3EF;
    border-radius:2px;
}