.category-modal-body {
  max-width: 600px;
}
.category-modal-content {
  background: #fff;
  text-align: left;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
  width: 100%;
  max-width: 600px;
}

.card-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  background-color: #f5f5f5;
  border-radius: 8px;
  font-size: 18px;
}

.card-body {
  padding: 15px;
  max-height: 70vh;
  overflow-y: auto;
}
ul.list-unstyled li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.c-directoryTree ul > li ul > li ul li > label {
  margin-left: 30px;
}
.c-directoryTree ul > li ul > li ul > li ul li > label {
  margin-left: 50px;
}
ul.list-unstyled li span {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
  line-height: 2;
  border-bottom: 1px dashed #b0db9c;
  padding: 1%;
  -webkit-transition: 0.5s all;
  transition: 0.5s all;
}
ul.list-unstyled li span:hover {
  background: #ecfae5;
}
.c-directoryTree label[data-toggle="collapse"]::before {
  content: "\f056" !important;
  display: inline-block;
  margin-right: 0.5em;
  font-family: FontAwesome;
  font-size: 18px;
  color: #cae8bd;
}
.c-directoryTree label.collapsed::before {
  content: "\f055" !important;
  display: inline-block;
  margin-right: 0.5em;
  font-family: FontAwesome;
  font-size: 18px;
  color: #90c67c;
}
.c-directoryTree ul > li > ul label[data-toggle="collapse"]::after {
  content: "\f056" !important;
  display: inline-block;
  margin-right: 0.5em;
  font-family: FontAwesome;
  font-size: 18px;
  color: #cae8bd;
}
.c-directoryTree ul > li > ul label.collapsed::after {
  content: "\f055" !important;
  display: inline-block;
  margin-right: 0.5em;
  font-family: FontAwesome;
  font-size: 18px;
  color: #90c67c;
}
.c-directoryTree ul > li > ul li:last-of-type > label::before {
  margin-right: 1em;
  content: "└" !important;
  display: inline-block;
  width: 1em;
  height: 1em;
}
.c-directoryTree ul > li > ul li:not(:last-of-type) > label::before {
  margin-left: 2px;
  margin-right: 0.5em;
  content: "├" !important;
  display: inline-block;
  width: 1em;
  height: 1em;
}
@media screen and (max-width: 640px) {
  .category-modal-body {
    max-width: 100%;
  }
  .category-modal-content {
    background: #fff;
    text-align: left;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
    width: 96%;
    max-width: 100%;
  }

  .card-header {
    padding: 2%;
    border-bottom: 1px solid #eee;
    background-color: #f5f5f5;
    border-radius: 8px;
    /* border-top-right-radius: 8px; */
    font-size: 16px;
    font-weight: bold;
    width: 90%;
    text-align: center;
  }

  .card-body {
    padding: 15px;
    max-height: 70vh;
    overflow-y: auto;
  }
  ul.list-unstyled li {
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .c-directoryTree ul > li ul > li ul li > label {
    margin-left: 30px;
  }
  .c-directoryTree ul > li ul > li ul > li ul li > label {
    margin-left: 50px;
  }
  ul.list-unstyled li span {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 2;
    border-bottom: 1px dashed #b0db9c;
    padding: 1%;
    -webkit-transition: 0.5s all;
    transition: 0.5s all;
  }
  ul.list-unstyled li span:hover {
    background: #ecfae5;
  }
  .c-directoryTree label[data-toggle="collapse"]::before {
    content: "\f056" !important;
    display: inline-block;
    margin-right: 0.5em;
    font-family: FontAwesome;
    font-size: 18px;
    color: #cae8bd;
  }
  .c-directoryTree label.collapsed::before {
    content: "\f055" !important;
    display: inline-block;
    margin-right: 0.5em;
    font-family: FontAwesome;
    font-size: 18px;
    color: #90c67c;
  }
  .c-directoryTree ul > li > ul label[data-toggle="collapse"]::after {
    content: "\f056" !important;
    display: inline-block;
    margin-right: 0.5em;
    font-family: FontAwesome;
    font-size: 18px;
    color: #cae8bd;
  }
  .c-directoryTree ul > li > ul label.collapsed::after {
    content: "\f055" !important;
    display: inline-block;
    margin-right: 0.5em;
    font-family: FontAwesome;
    font-size: 18px;
    color: #90c67c;
  }
  .c-directoryTree ul > li > ul li:last-of-type > label::before {
    margin-right: 1em;
    content: "└" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
  }
  .c-directoryTree ul > li > ul li:not(:last-of-type) > label::before {
    margin-left: 2px;
    margin-right: 0.5em;
    content: "├" !important;
    display: inline-block;
    width: 1em;
    height: 1em;
  }
}
