/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

div.tree-select-root {
	display: block;
	position: relative;

	mat-form-field {
		width: 100%;
	}

	.tree-selection {
		cursor: pointer;
	}

	div.tree-select-content {
		border: 1px solid black;
		position: absolute;
		width: 100%;
		z-index: 10;

		mat-tree {
			overflow-y: scroll;
			max-height: 500px;
			padding-bottom: 5px;

			.mat-mdc-menu-item {
				width: 100%;
			}

			ul, li {
				margin-top: 0;
				margin-bottom: 0;
				list-style-type: none;
			}

			.mat-nested-tree-node div[role=group] {
				padding-left: 5px;
			}

			div[role=group] > .mat-tree-node {
				padding-left: 40px;
			}
		}
	}
}



