.container {
  display: flex;
  flex-direction: column;
  height: 100%;

  .iconBack {
    width: 36px;
    height: 36px;
  }

  :global {
    .n-breadcrumb>ul {
      display: flex;
      align-items: center;

      .n-breadcrumb-item {
        display: flex;
        align-items: center;
      }

      .n-breadcrumb-item__separator {
        display: none;
      }

      .n-breadcrumb-item__link {
        padding: 5px 18px;
        background: #FFFFFF;
        border-radius: 16px;
        color: #21225D;
        line-height: 20px;
      }
    }

    .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link {
      color: #fff;
      background: var(--product-color);
    }

  }

  &> :global(.n-space) {
    height: 36px;
    flex-shrink: 0;
  }

  .separator {
    width: 9px;
    height: 15px;
    margin: 0 16px;
  }
}

.wrap {
  padding-top: 15px;
  flex: 1;
  transition: padding .3s;
  overflow: hidden;

  &.wrapBottom {
    padding-bottom: 108px;

  }
}

.contentWrap {
  position: relative;
  flex: 1;
  display: flex;
  padding: 0 55px 0 0;
  overflow: hidden;
  gap: 0 24px;
}

.content {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  // max-height: 90vh;
}

.contentWrap {
  :global {
    .n-scrollbar-container {
      max-height: 100%;
    }
  }

  .scrollBar {
    margin-top: 12px;
    padding: 0 20px;
    // max-height: calc(100% - 64px - 52px - 36px);

    &.empty {
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }


  .directoryList {
    width: 360px;
    background: #FFFFFF;
    border-radius: 17px;
    flex-shrink: 0;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    &::-webkit-scrollbar {
      width: 0;
      display: none;
    }
  }

  .treeParent {
    transition: height 1s ease-in-out;
  }

  .treeChild {
    line-height: 54px;
  }

  .treeItem {
    display: flex;
    align-items: center;
    line-height: 54px;
    border-radius: 10px;
    padding: 0 5px;
    cursor: pointer;
    border-radius: 10px;
    font-size: max(17px, 13Px);

    // &:hover {
    //   background: #F5F6FA;
    // }
    &.childItem:hover {

      // background: #E8F4FF;

      .title {
        color: var(--n-color);
      }
    }

    .title {
      padding-left: 8px;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      max-width: 280px !important;
      color: rgba(0, 0, 0, .5);
      display: flex;
      align-items: center;

      .dir {
        flex-shrink: 1;
        display: inline-block;
        width: 16px;
        height: 18px;
        background: url('../../prepare-lessons/components/directory-main/images/icon-d.png') no-repeat center;
        background-size: contain;
        margin-right: 6px;
      }

      &.titleSelect {
        color: var(--n-color);
        font-weight: bold;

        .dir {
          background: url('../../prepare-lessons/components/directory-main/images/icon-d-active.png') no-repeat center;
          background-size: contain;
        }
      }
    }

    .arrow {
      display: inline-block;
      width: 14px;
      height: 15px;
      background: url('../../prepare-lessons/components/directory-main/images/arrow-default.png') no-repeat center;
      background-size: contain;

      &.arrowSelect {
        background: url('../../prepare-lessons/components/directory-main/images/arrow-active.png') no-repeat center;
        background-size: contain;
      }
    }

    .childArrow {
      width: 12px;
    }

    &.childItem {
      padding-left: 30px;
      font-size: max(15px, 12Px);

      .title {
        color: #131415;
      }
    }

    &.childSelect {
      background: #E8F4FF;

      .title {
        color: var(--n-color);
        font-weight: bold;
      }
    }
  }
}

.musicStaff {
  // display: flex;
  // flex-direction: column;
  // position: relative;
  // left: -8px;
  flex: 1;
  background-color: #fff;
  border-radius: 16px;
  // height: 100%;
  z-index: 1;
  overflow: hidden;
  padding: 27px 0 27px 27px;

  &::-webkit-scrollbar {
    width: 0;
    display: none;
  }

  .empty {
    :global {
      .n-spin-content {
        min-height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
  }

  :global {
    .n-spin-container {
      overflow-y: auto;
      height: 100%;
    }

  }

  .musicTitle {
    padding: 27px 27px 13px;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    line-height: 30px;
    text-align: center;
  }

  .musicContent {
    flex: 1;
    // overflow-y: auto;
    // height: 100%;
    // padding: 27px;
    padding-right: 27px;

    &>img {
      width: 100%;
    }

    section,
    &>div {
      font-size: inherit !important;
    }
  }
}

.changeSizeSection {
  position: absolute;
  right: 10px;
  bottom: 50%;
  width: 35px;
  transform: translate(0, 50%);
  background: #fff;
  border-radius: 7px;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 13px 0;

  .iconT {
    width: 15px;
    height: 15px;
  }

  .iconAddT,
  .iconPlusT {
    width: 23px;
    height: 23px;
    cursor: pointer;
  }

  .iconAddT {
    margin-top: 13px;
    margin-bottom: 8px;
  }

  .iconPlusT {
    margin-top: 8px;
  }

  :global {
    .n-slider {
      height: 125px;
      --n-handle-size: 15px !important;
      --n-rail-height: 0 !important;
    }

  }
}