@charset "UTF-8";

.view-tree {
	display: flex;
	flex-direction: column;
	height: 100vh;
}

.tree-list {
	box-sizing: border-box;
	font-weight: 400;
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow-x: hidden;
	overflow-y: auto;
	top: 0;
	font-family: 'SCDream', '돋움', 'Dotum', '굴림', 'Gulim', AppleGothic, UnDotum, Arial, Tahoma, Verdana, sans-serif;
	-ms-flex-positive: 1 !important;
	flex-grow: 1;
}

.tree-list a {
	text-decoration: none;
	color: rgba(33, 37, 41, .75);
}

.tree-list a:hover {
	color: #000;
}

.tree-list > h3 {
	font-size: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: 1.5rem;
	padding: 4px 0;
}

.tree-list h3.active > a,
.tree-list li.active > div > a {
	color: rgb(0, 140, 255);
	text-decoration: underline;
}

/* .tree-list h3.active > a::before,
.tree-list li.active > div > a::before {
	content: "✔";
	color: #007bff;
} */

.tree-list ul {
	font-weight: 500;
	list-style: none;
	line-height: 2.3em;
	margin-left: -.6em;
	margin-top: 1em;
}

.tree-list ul ul {
	font-weight: normal;
	margin-top: .75em;
	padding-left: 1.5rem;
}

.tree-list li {
	position: relative;
	line-height:1.125em;
	padding: .125em 0 .125em 0;
}

.tree-list li li {
	padding-top: .125em;
	padding-bottom: .125em;
}

.tree-list li > div,
.tree-list li > span:first-child {
	line-height: 1.5rem;
}

.tree-list li > div {
	display:inline-block;
	width: 100%;
	vertical-align: middle;
	margin: .25em 0;
	padding-left: 1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}


.tree-list li > span:first-child {
	position: absolute;
	left: 0;
	display: block;
	margin: .25em 0;
	font-size: 1em;
	font-weight: bold;
	width: auto;
	height: auto;
	transform: rotate(0);
	transition: transform .25s;
}

.tree-list li > span:first-child::before {
	content: "-";
	color: darkgoldenrod;
	display: inline-block;
	width: 1em;
	height: 1em;
	line-height:1em;
	text-align: center;
}


.tree-list li:has(> ul) > span:first-child::before {
	content: "\275A";
}

.tree-list li > ul {
	max-height: auto;
	overflow: hidden;
	margin-top: 0;
	transition: all .25s;
}
