/*!
 * jQuery ComboTree Plugin
 * Author:  Erhan FIRAT
 * Mail:    erhanfirat@gmail.com
 * Licensed under the MIT license
 * Version: 1.2.1
 */
.comboTreeDropDownContainer, .comboTreeInputBox, .multiplesFilter {
    width: 100%;
    box-sizing: border-box
}

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

.comboTreeInputWrapper, .comboTreeWrapper {
    position: relative
}

.comboTreeArrowBtn {
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    box-sizing: border-box;
    border: 1px solid var(--ct-border-color);
    border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
    background: var(--ct-border-color);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

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

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

.comboTreeInputBox:focus + .comboTreeArrowBtn {
    color: var(--ct-btn-color);
    border-top: 1px solid var(--ct-selection);
    border-right: 1px solid var(--ct-selection);
    border-bottom: 1px solid var(--ct-selection)
}

.comboTreeArrowBtnImg {
    font-size: 1.25rem
}

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

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

:is(html[lang=EN-US],html[lang=EN]) .comboTreeDropDownContainer li {
    list-style-type: none;
    padding-left: 15px
}

html[dir=rtl] .comboTreeDropDownContainer li {
    list-style-type: none;
    padding-right: 15px
}

.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 {
    background-color: var(--ct-selection);
    color: var(--ct-bg);
    border-radius: 2px
}

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

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

:is(html[lang=EN-US],html[lang=EN]) .comboTreeDropDownContainer .comboTreeItemTitle input {
    position: relative;
    top: 2px;
    margin: 0 4px 0 0
}

html[dir=rtl] .comboTreeDropDownContainer .comboTreeItemTitle input {
    position: relative;
    top: 2px;
    margin: 0 0 0 4px
}

:is(html[lang=EN-US],html[lang=EN]) .comboTreeParentPlus {
    position: relative;
    left: -12px;
    top: 4px;
    width: 4px;
    float: left;
    cursor: pointer
}

html[dir=rtl] .comboTreeParentPlus {
    position: relative;
    right: -12px;
    top: 4px;
    width: 4px;
    float: right;
    cursor: pointer
}

.comboTreeInputBox {
    padding: var(--ct-padding);
    border-radius: var(--ct-border-radius);
    border: 1px solid var(--ct-border-color);
    padding-right: 24px
}

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

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