@charset "utf-8";

orga-tree-view
{
	display: block;
	-moz-user-select: none;
	-webkit-user-select: none;
	user-select: none;
}

orga-tree-view ul,
orga-tree-view li
{
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-flex;
	flex-direction: column;
}

orga-tree-view li > input[type=checkbox]
{
	margin-right: 6px;
	opacity: 0;
	position: absolute;
}

orga-tree-view li > input[type=checkbox]::after
{
	font-family: 'FontAwesome';
	display: inline;
	padding: 5px;
	content: "\f196";
	position: relative;
}

orga-tree-view li > input[type=checkbox]:checked::after
{
	content: "\f147";
}

orga-tree-view li > label:hover
{
	cursor: pointer;
}

orga-tree-view li > input[type=checkbox] + label > i
{
	padding-right: 3px;
}

orga-tree-view li > input[type=checkbox] + label:not(:last-child)::before
{
	display: inline-block;
	content: '+';
	width: 15px;
}

orga-tree-view li > input[type=checkbox]:checked + label:not(:last-child)::before
{
	display: inline-block;
	content: '-';
	width: 15px;
}

orga-tree-view li > input[type=checkbox]:disabled + label
{
	cursor: default;
	opacity: .6;
}

orga-tree-view li > input[type=checkbox] + label + ul
{
	display: none;
}

orga-tree-view li > input[type=checkbox]:checked + label + ul
{
	display: inherit;
	margin: 0 0 0 22px;
}
