.side-nav {
  max-width: 280px;
  width: 100%;
  overflow-y: auto;
  height: 100%;

  border-right: solid 1px $gray-002;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: white;

  position: absolute;
  top: 0;
  left: 0;
}

.container.on {
  .side-nav {
    width: 88px;

    .fold-btn-container {
      padding-left: 25%;
      width: auto;

      .fold-btn {
        transform: rotate(180deg);
      }
    }
  }

  .main-part{
    width: calc(100% - 88px);
  }
}

.side-nav .fold-btn-container {
  margin-bottom: 30px;
  margin-top: 50px;
  padding-left: 10%;
  width: 80%;
}

.side-nav .fold-btn-container .fold-btn {
  width: 40px;
  height: 40px;
  background-image: url(../img/foldIcon.svg);
  background-size: 17px 19.5px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  background-color: #fafafa;
  cursor: pointer;
}

.side-nav .side-menu{

  ul.fancytree-plain.fancytree-container{
    border: none;
    padding: 0px;

    > li > span{
      border-bottom: solid 1px $gray-002;
    }
    li {
      min-height: 72px;
      

      > span{
        height: 72px;
        display: inline-flex;
        align-items: center;

        &:hover, &:active{
          span.fancytree-title{
            color: #3c3c3c;
            background-color: transparent;
            border: none;
          }
        }

        > span{
          // 글자
          color: #3c3c3c;
          font-size: 15px;

          // 아이콘
          &.fancytree-custom-icon{
            color: #98A7FA;
            font-size: 24px;
          }
        }

        // 활성화된 메뉴
        &.fancytree-node.fancytree-active{

          span.fancytree-title{
            color: #3c3c3c;
            background-color: transparent;
            border: none;
          }

          &:hover, &:active{
            span.fancytree-title{
              color: #3c3c3c;
              background-color: transparent;
              border: none;
            }
          }
        }
      }



      // 서브 메뉴
      ul{
        padding: 0px;

        li{
          min-height: 48px;
          border-bottom: 1px solid $blue-003;

          > span{
            height: 48px;
            width: fit-content;
            padding-left: 1.5em;
            span.fancytree-title{
              font-size: 14px;
              color: $blue-001;
            }
          }

          &:hover{
            background-color: $blue-003;

            span.fancytree-title{
              color: $blue-001;
            }
          }
        }
      }
  
    }
  }

}



.side-nav .side-menu {
}

.side-nav .side-menu ul {
}

.side-nav .side-menu ul li {
}

.side-nav .side-menu ul li span {
}

.side-nav .side-menu > ul {
}

.side-nav .side-menu > ul li span{

}

.side-nav .side-menu > ul li.on {
}



.side-nav .side-menu > ul > li > ul {

}

.side-nav .side-menu > ul > li > ul > li {
  height: 47px;
}

.side-nav .side-menu > ul > li > ul > li > span {
  color: $blue-001;
  font-size: 14px;
  font-weight: 400;
}
