@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* body{
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
} */
.list-wrapper {
  width: 100%;
  padding: 25px;
  border: 1px solid #333;
}
.list-wrapper li {
  position: relative;
  list-style: none;
}
.list-wrapper [class^="dir"] {
  position: relative;
  height: 100%;
}
.list-wrapper li::before {
  font-family: FontAwesome;
  content: "\f0fe";
  position: absolute;
  top: 8px;
  left: -10px;
}
.list-wrapper li.active::before {
  content: "\f146";
}
.list-wrapper .directory1 ul,
.list-wrapper .directory1.active .directory2 ul {
  height: 0;
  margin: 0;
  opacity: 0;
  transition: all 0.3s ease;
}
.list-wrapper .directory1.active ul,
.list-wrapper .directory1.active .directory2.active ul {
  margin-top: 10px;
  height: 100%;
  opacity: 1;
}

[class^="directory"] {
  padding: 5px 15px;
  margin-bottom: 10px;
}
.directory1 {
  font-size: 1.5em;
}
.dir1-ul.active .vertical1 {
  position: absolute;
  width: 2px;
  height: calc(100% - 65px);
  top: 35px;
  left: 0;
  border-left: 2px dotted #333;
}

.directory2 {
  margin-left: 20px;
  font-size: 0.8em;
}
.dir2-ul.active .vertical2 {
  position: absolute;
  width: 2px;
  height: calc(100% - 65px);
  top: 30px;
  left: 18px;
  border-left: 2px dotted #333;
}
.directory2::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  top: 15px;
  left: -35px;
  border-bottom: 2px dotted #333;
}
.directory3 {
  margin-left: 20px;
}
.directory3::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  top: 15px;
  left: -35px;
  border-bottom: 2px dotted #333;
}
