/*!
 * 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 {
	position: absolute;
	right: 0px;
	bottom: 0px;
	top: 0px;
	box-sizing: border-box;
	border: 1px solid var(--ct-border-color);
	border-left: 0;
	border-radius: 0 var(--ct-border-radius) var(--ct-border-radius) 0;
	background: var(--ct-border-color);
	cursor: pointer;
	-webkit-user-select: none; /* Safari */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	width: 20px;
}

.comboTreeArrowBtnImg {
	border-color: #888 transparent transparent transparent;
	border-style: solid;
	border-width: 5px 4px 0 4px;
	left: 50%;
	margin-left: -4px;
	margin-top: -2px;
	position: absolute;
	top: 50%;
	font-size: 1.25rem;
}

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

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

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

.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: var(--ct-selection);
	color: var(--ct-bg);
	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: 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);
}
.comboTreeDropDownContainer { border-radius: 3px; scrollbar-color: #ddd #fff; scrollbar-width: thin; }
.comboTreeDropDownContainer::-webkit-scrollbar { width: 6px; }
.comboTreeDropDownContainer::-webkit-scrollbar-thumb { border-radius: 6px; background: #ddd; }
.comboTreeWrapper .comboTreeDropDownContainer {
	max-height: 460px;
}
.comboTreeInputWrapper {
	cursor: pointer;
}
table.quick_category_create .comboTreeArrowBtn {
	border-radius: 0 3px 3px 0;
	border-left: 0;
	width: 26px;
	height: 25px;
}
.comboTreeWrapper .comboTreeArrowBtnImg {
	border-color: transparent;
	border-style: solid;
	border-width: 0;
	left: 0;
	margin-left: 0;
	margin-top: 0;
	position: absolute;
	top: 0;
	font-size: 0;
	width: 100%;
	height: 100%;
}
.comboTreeDropDownContainer li:hover { background: transparent; }
.comboTreeDropDownContainer li span.comboTreeItemTitle.comboTreeItemHover, .comboTreeDropDownContainer label.comboTreeItemHover {
	background: #2d6a96;
}
.comboTreeWrapper .comboTreeParentPlus {
	position: absolute;
	left: 8px;
	top: 5px;
	width: 4px;
	float: left;
	cursor: pointer;
	width: 12px;
	height: 14px;
}
.comboTreeParentPlus .mdi-chevron-down-circle-outline {
	display: block;
	width: 0;
	height: 0;
	border-right: 4px solid #000;
	border-left: 4px solid transparent;
	border-top: 4px solid transparent;
	border-bottom: 4px solid #000;
	margin-top: 2px;
	margin-left: 2px;
}
.ComboTreeItemParent.comboTreeItemHover > span > .mdi-chevron-down-circle-outline {
	border-right: 4px solid #fff;
	border-bottom: 4px solid #fff;
}
.comboTreeParentPlus .mdi-chevron-right-circle-outline {
	display: block;
	width: 0;
	height: 0;
	border-right: 5px solid transparent;
	border-left: 5px solid #000;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	margin-top: 2px;
	margin-left: 2px;
}
.ComboTreeItemParent.comboTreeItemHover > span > .mdi-chevron-right-circle-outline {
	border-left: 5px solid #fff;
}
.product-group .category-select input[type="text"] {
	margin: 0 0 -2px 0;
}
.comboTreeWrapper .comboTreeInputBox {
	cursor: pointer;
}
.c-combo-tree__search-input-wrapper {
	position: sticky;
	top: 0;
	left: 0;
	z-index: 9;
	width: 100%;
	padding: 8px 12px;
	background: #fff;
	border-bottom: 1px solid #ddd;
	box-sizing: border-box;
}
#container .comboTreeWrapper .comboTreeDropDownContainer > .c-combo-tree__search-input-wrapper input[type="text"] {
	max-width: 100%;
	width: 100%;
	border: 1px solid #e1e1e1;
	float: none;
	margin: 0 !important;
}
/* Because of the plugin html structure and wanted design it need to have those kind of selectores for arrow icon and subcategories padding */
.content table.data_list .comboTreeDropDownContainer ul li { padding: 0; position: relative; }
.comboTreeDropDownContainer li .selectable { padding-left: 22px; }
.comboTreeDropDownContainer li .selectable + ul li .selectable { padding-left: 34px; }
.comboTreeDropDownContainer li .selectable + ul li .selectable + ul li .selectable { padding-left: 46px; }
.comboTreeDropDownContainer li .selectable + ul li .selectable + ul li .selectable + ul li .selectable { padding-left: 58px; }
.comboTreeDropDownContainer li .selectable + ul li .selectable + ul li .selectable + ul li .selectable + ul li .selectable { padding-left: 70px; }
.comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus { left: 20px; }
.comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus { left: 32px; }
.comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus { left: 44px; }
.comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus { left: 56px; }
.comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus + .selectable + ul li .comboTreeParentPlus { left: 68px; }
