/*!
 * 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: #555;
  --ct-border-color: #e1e1e1;
  --ct-border-radius: 5px;
  --ct-tree-hover: #efefef;
  --ct-selection: #418eff;
  --ct-padding: 8px;
}

.comboTreeWrapper {
  position: relative;
  text-align: left !important;
}

.comboTreeInputWrapper {
  position: relative;
}

.comboTreeArrowBtn {
  display: flex;
  align-items: center;
  position: absolute;
  left: 6px;
  bottom: 0px;
  top: 0px;
  box-sizing: border-box;
  border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: none !important;
  -webkit-border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
  -moz-border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
  -ms-border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
  -o-border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
}

.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;
  width: 100%;
  box-sizing: border-box;
  z-index: 999;
  max-height: 250px;
  overflow-y: auto;
}

.comboTreeDropDownContainer ul {
  padding: 0px;
  margin: 0;
}

.comboTreeDropDownContainer li {
  list-style-type: none;
  padding-right: 15px;
}

.comboTreeDropDownContainer li .selectable {
  cursor: pointer;
  text-align: right;
}
.comboTreeDropDownContainer li span {
  font-family: "ar-medium";
  font-size: 12px;
  font-weight: 500;
  color: #7d93b2;
}

.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: var(--ct-selection);
  color: var(--ct-bg);
  border-radius: 2px;
}

span.comboTreeItemTitle,
.comboTreeDropDownContainer .selectAll {
  display: block;
  padding: 3px 3px;
  margin-right: 9px;
}
.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;
  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);
  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);
}
