/*!
 * jQuery ComboTree Plugin 
 * Author:  Erhan FIRAT
 * Mail:    erhanfirat@gmail.com
 * Licensed under the MIT license
 * Version: 1.2.1
 */


:root {
    --ct-bg: #fff;
    --ct-btn-hover: #e8e8e8;
    --ct-btn-active: #ddd;
    --ct-btn-color: #418EFF;
    --ct-btn-bg: #f8f8f8;
    --ct-border-color: #e1e1e1;
    --ct-border-radius: 5px;
    --ct-tree-hover: #fff;
    --ct-selection: #418EFF;
    --ct-padding: 8px;
}


.comboTreeWrapper {
    position: relative;
    text-align: left !important;
}

.comboTreeInputWrapper {
    position: relative;
}

.comboTreeArrowBtn {
    position: absolute;
    right: 0px;
    bottom: 0px;
    top: 0px;
    padding: 0 5px;
    box-sizing: border-box;
    /* border-left: 1px solid #fff;
    border-top: 1px solid var(--ct-border-color);
    border-right: 1px solid var(--ct-border-color);
    border-bottom: 1px solid var(--ct-border-color);
    border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
    background: #fff; */
    cursor: pointer;
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE10+/Edge */
    user-select: none;
    /* Standard */
}

.comboTreeArrowBtn:hover {
/*     background: var(--ct-btn-hover); */
}

.comboTreeArrowBtn:active {
    background: var(--ct-btn-active);
}

.comboTreeInputBox:focus+.comboTreeArrowBtn {
    color: #000;
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
    border-top: 1px solid #dee2e6 !important;
    border-right: 1px solid #dee2e6 !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.comboTreeArrowBtnImg {
    font-size: 1.5rem;
    background-color: #fff;
}

.comboTreeDropDownContainer {
    display: none;
    background: var(--ct-bg);
    border: 1px solid var(--ct-border-color);
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 999;
    max-height: 350px;
    overflow-y: auto;
}

.comboTreeDropDownContainer ul {
    padding: 0px;
    margin: 0;
}

.comboTreeDropDownContainer li {
    list-style-type: none;
    padding-left: 15px;
    white-space: nowrap;
}

.comboTreeDropDownContainer li .selectable {
    cursor: pointer;
}

.comboTreeDropDownContainer li .not-selectable {
    cursor: not-allowed;
}


.comboTreeDropDownContainer li:hover {
    background-color: var(--ct-tree-hover);
}

.comboTreeDropDownContainer li:hover ul {
    background-color: var(--ct-bg)
}

.comboTreeDropDownContainer li span.comboTreeItemTitle.comboTreeItemHover,
.comboTreeDropDownContainer label.comboTreeItemHover {
    background-color: #fff;
    color: var(--ct-btn-color);
    border-radius: 2px;
}

span.comboTreeItemTitle,
.comboTreeDropDownContainer .selectAll {
    display: block;
    padding: 3px var(--ct-padding);
}

.comboTreeDropDownContainer label {
    cursor: pointer;
    width: 100%;
    display: block;
}

.comboTreeDropDownContainer .comboTreeItemTitle input,
.comboTreeDropDownContainer .selectAll input {
    position: relative;
    top: 2px;
    margin: 0px 4px 0px 0px;
}

.comboTreeParentPlus {
    position: relative;
    left: -12px;
    top: 4px;
    width: 4px;
    float: left;
    cursor: pointer;
}


.comboTreeInputBox {
    padding: .375rem 2.25rem .375rem .75rem !important;
    border-radius: 0.375rem !important;
    border: 1px solid #dee2e6 !important;
    width: 100%;
    box-sizing: border-box;
    padding-right: 24px;
}

.comboTreeInputBox:focus {
    border: 1px solid var(--ct-selection);
    outline-width: 0;
}


.multiplesFilter {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--ct-border-color);
}