/* Container */
.ML-JQTREE-Container {
	width: 100%;
}

	.ML-JQTREE-Container div[ML_PageControl_Key=pnlInfo] {
		vertical-align: middle;
		float: left;
		font-weight: normal;
		font-size: 14px;
		color: #797979;
		padding: 8px;
		display: table-row;
	}

	.ML-JQTREE-Container div[ML_PageControl_Key=pnlSearch] {
		float: left;
		display: none;
		margin-left: 30px;
	}

	.ML-JQTREE-Container div[ML_PageControl_Key=pnlSearchInfo] {
		vertical-align: middle;
		float: left;
		font-weight: normal;
		font-size: 14px;
		color: #797979;
		padding: 8px;
		display: table-row;
	}


	.ML-JQTREE-Container div[ML_PageControl_Key=pnlSearch] input[ML_PageControl_Key=TextBoxSearch] {
		border: 1px solid var(--border-color-input-editing);
		background-color: var(--background-color-container-input-editing);
		height: 28px;
		width: 100%;
		border-radius: 5px;
		vertical-align: middle;
		font-size: 14px;
		color: black;
		padding-left: 10px;
		padding-right: 10px;
		margin-top: 2px;
		margin-bottom: 5px;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

		.ML-JQTREE-Container div[ML_PageControl_Key=pnlSearch] input[ML_PageControl_Key=TextBoxSearch]:focus {
			border: 1px solid var(--border-color-input-editing-focus);
		}

	.ML-JQTREE-Container div[ML_PageControl_Key=pnlCommand] {
		float: right;
		display: table-row;
		border-collapse: separate;
	}


	/*
Tipo	: Per comandi azione
*******************************************************************************
*/
	.ML-JQTREE-Container div[ML_PageControl_Key=pnlButton] {
		background-color: #2CB387;
		border: 1px solid #2CB387;
		height: 26px;
		cursor: pointer;
		text-align: center;
		border-radius: 2px;
		display: table-cell;
		vertical-align: middle;
		padding: 0px 15px;
		float: none;
		transition: all 0.3s ease;
	}

		.ML-JQTREE-Container div[ML_PageControl_Key=pnlButton] span {
			color: white;
			font-size: 12px;
			cursor: pointer;
			text-transform: uppercase;
			padding: 0px;
		}

		.ML-JQTREE-Container div[ML_PageControl_Key=pnlButton]:hover {
			background-color: #2ECD99;
			border: 1px solid #2ECD99;
		}

/*-----------------------------------------------------------------------------*/

/*personalizzazione stili in base al selectable e css_selector che arriva dal db*/

/*nodi non selezionabili : a con il testo*/
.jstree-node[ML_Selectable=false] > a {
	font-style: italic;
}

	.jstree-node[ML_Selectable=false] > a:hover {
		color: #CCCCCC !important;
		cursor: default;
	}
/* il div che fa tutta la riga*/
.jstree-node[ML_Selectable=false] > div:hover {
	cursor: default;
}
	/* dal div al a per il testo*/
	.jstree-node[ML_Selectable=false] > div:hover + i + a {
		color: #CCCCCC !important;
	}

/*nodi selezionabili : a con il testo*/
.jstree-node[ML_Selectable=true] > a:hover {
	color: black !important;
}
/* il div che fa tutta la riga dal div al testo*/
.jstree-node[ML_Selectable=true] > div:hover + i + a {
	color: black !important;
}

/*-----------------------------------------------------------------------------*/

/*nodi con dato errato : a con il testo*/
.jstree-node[ML_CSS_Selector=HighLight_Wrong] > a {
	color: #ED6F56 !important;
}

	.jstree-node[ML_CSS_Selector=HighLight_Wrong] > a:hover {
		color: #CCCCCC !important;
	}

/* il div che fa tutta la riga dal div al testo*/
.jstree-node[ML_CSS_Selector=HighLight_Wrong] > div:hover + i + a {
	color: #CCCCCC !important;
}

/*-----------------------------------------------------------------------------*/

/*nodi con dato nuovo da evidenziare : a con il testo*/
.jstree-node[ML_CSS_Selector=HighLight_New] > a {
	color: white !important;
	background-color: #ED6F56;
}

	.jstree-node[ML_CSS_Selector=HighLight_New] > a:hover {
		color: #CCCCCC !important;
	}

/* il div che fa tutta la riga dal div al testo*/
.jstree-node[ML_CSS_Selector=HighLight_New] > div:hover + i + a {
	color: #CCCCCC !important;
}


/*-----------------------------------------------------------------------------*/


/* jsTree default theme */
.jstree-node,
.jstree-children,
.jstree-container-ul {
	display: table;
	margin: 0;
	padding: 0;
	list-style-type: none;
	list-style-image: none;
}

.jstree-node {
	white-space: nowrap;
	border-spacing: 0px;
}

.jstree-wholerow {
	border: 1px solid var(--border-color-container);
}

.jstree-anchor {
	display: inline-block;
	white-space: nowrap;
	padding: 0 4px 0 1px;
	margin: 5px 0px 0px 0px;
	vertical-align: top;
	width: 100%;
	font-size: 12px;
	font-weight: bold;
	color: #323232;
	background-color: #eeeeee;
}

	.jstree-anchor:focus {
		outline: 0;
	}

	.jstree-anchor,
	.jstree-anchor:link,
	.jstree-anchor:visited,
	.jstree-anchor:hover,
	.jstree-anchor:active {
		text-decoration: none;
	}

.jstree-icon {
	display: inline-block;
	text-decoration: none;
	margin: 0;
	padding: 0;
	vertical-align: top;
	text-align: center;
}

	.jstree-icon:empty {
		display: inline-block;
		text-decoration: none;
		margin: 0;
		padding: 0;
		vertical-align: top;
		text-align: center;
	}

.jstree-ocl {
	cursor: pointer;
}

.jstree-leaf > .jstree-ocl {
	cursor: default;
	font-size: 14px;
	font-weight: bold;
	background-color: red;
	border-radius: 5px;
}

.jstree .jstree-open > .jstree-children {
	display: block;
}

.jstree .jstree-closed > .jstree-children,
.jstree .jstree-leaf > .jstree-children {
	display: none;
}

.jstree-anchor > .jstree-themeicon {
	margin-right: 2px;
}

.jstree-no-icons .jstree-themeicon,
.jstree-anchor > .jstree-themeicon-hidden {
	display: none;
}

.jstree-hidden,
.jstree-node.jstree-hidden {
	display: none;
}

.jstree-wholerow-ul {
	position: relative;
	display: inline-block;
	min-width: 100%;
}

	.jstree-wholerow-ul .jstree-leaf > .jstree-ocl {
		cursor: pointer;
	}

	.jstree-wholerow-ul .jstree-anchor,
	.jstree-wholerow-ul .jstree-icon {
		position: relative;
	}

	.jstree-wholerow-ul .jstree-wholerow {
		width: 100%;
		cursor: pointer;
		position: absolute;
		left: 0;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		user-select: none;
	}

#jstree-marker {
	position: absolute;
	top: 0;
	left: 0;
	margin: -5px 0 0 0;
	padding: 0;
	border-right: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 5px solid;
	width: 0;
	height: 0;
	font-size: 0;
	line-height: 0;
}

.jstree-default .jstree-node,
.jstree-default .jstree-icon {
	background-repeat: no-repeat;
	background-color: transparent;
	background-image: url("Images/jquery-UI/32px_tv.png");
}

.jstree-default .jstree-anchor,
.jstree-default .jstree-animated,
.jstree-default .jstree-wholerow {
	font-size: 12px;
	font-weight: bold;
	color: var(--label-color-dataInfo);
	background-color: var(--background-color-container-list);
}

.jstree-default .jstree-hovered {
	font-size: 12px;
	font-weight: bold;
	color: black;
	background-color: var(--background-color-container-list-hover);
}

.jstree-default .jstree-context {
	background: #e7f4f9;
	box-shadow: inset 0 0 1px #cccccc;
}

.jstree-default .jstree-clicked {
	color: white;
	background-color: #2C2C2C;
	box-shadow: inset 0 0 1px #999999;
}

.jstree-default .jstree-no-icons .jstree-anchor > .jstree-themeicon {
	display: none;
}

.jstree-default .jstree-disabled {
	background: transparent;
	color: #666;
}

	.jstree-default .jstree-disabled .jstree-hovered {
		background: red;
		box-shadow: none;
		color: brown !important;
	}

	.jstree-default .jstree-disabled.jstree-clicked {
		background: #efefef;
	}

.jstree-default > .jstree-wholerow-ul .jstree-hovered,
.jstree-default > .jstree-wholerow-ul .jstree-clicked {
	background: transparent;
	box-shadow: none;
}

.jstree-default .jstree-wholerow {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	height: 40px;
}

.jstree-default .jstree-wholerow-hovered {
	background-color: var(--background-color-container-list-hover);
}

.jstree-default .jstree-wholerow-clicked {
	color: white;
	background-color: #4E9DE6;
}

.jstree-default .jstree-node {
	min-height: 40px;
	line-height: 40px;
	margin-left: 24px;
	min-width: 24px;
	background-position: -292px 3px;
	background-repeat: repeat-y;
}

.jstree-default .jstree-anchor {
	line-height: 30px;
	height: 30px;
}

.jstree-default .jstree-icon {
	width: 24px;
	height: 40px;
	line-height: 40px;
}

	.jstree-default .jstree-icon:empty {
		width: 24px;
		height: 40px;
		line-height: 40px;
	}

.jstree-default.jstree-rtl .jstree-node {
	margin-right: 24px;
}

.jstree-default .jstree-last {
	background: transparent;
}

.jstree-default .jstree-open > .jstree-ocl {
	background-position: -132px 3px;
}

.jstree-default .jstree-closed > .jstree-ocl {
	background-position: -100px 3px;
}

.jstree-default .jstree-leaf > .jstree-ocl {
	background-position: -68px 3px;
}

.jstree-default .jstree-themeicon {
	background-position: -260px 3px;
}

.jstree-default > .jstree-no-dots .jstree-node,
.jstree-default > .jstree-no-dots .jstree-leaf > .jstree-ocl {
	background: transparent;
}

.jstree-default > .jstree-no-dots .jstree-open > .jstree-ocl {
	background-position: -36px 3px;
}

.jstree-default > .jstree-no-dots .jstree-closed > .jstree-ocl {
	background-position: -4px 3px;
}

.jstree-default .jstree-anchor > .jstree-undetermined {
	background-position: -196px 3px;
}

	.jstree-default .jstree-anchor > .jstree-undetermined:hover {
		background-position: -196px -36px;
	}

.jstree-default > .jstree-striped {
	background-size: auto 48px;
}

.jstree-default .jstree-themeicon-custom {
	background-color: transparent;
	background-image: none;
	background-position: 0 0;
}

.jstree-default > .jstree-container-ul .jstree-loading > .jstree-ocl {
	background: url("throbber.gif") center center no-repeat;
}

.jstree-default > .jstree-container-ul > .jstree-node {
	margin-left: 0;
	margin-right: 0;
}
