.total-menu {
  padding-left: 20px;
  cursor: pointer;
  float: left;
  margin-top: 20px;
  font-size: 14px;
  padding-right: 30px;
  span {
    padding-right: 2px;
  }
  i {
    position: relative;
    top: -2px;
    font-size: 10px;
    color: #a7a7a7;
    display: inline-block;
    margin-right: 0px;
    transition: transform .3s ease;
  }
  &.active {
    > .icon-jiantou {
      transform: rotate(-180deg);
    }
    > .total-menu-detail-wrapper {
      display: inline;
    }
  }
  .total-menu-detail-wrapper {
    display: none;
    position: absolute;
    left: -60px;
    top: 55px;
    height: 300px;
    width: calc(~'100% + 60px');
    background-color: #fff;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all 0.15s, 0.15s;
    .total-menu-detail {
      display: block;
      height: 100%;
      font-size: 12px;
      .menu, .sub-menu, .sub-sub-menu {
        padding-top: 5px;
        vertical-align: middle;
        width: 200px;
        height: 100%;
        display: inline-block;
        .menu-item {
          cursor: pointer;
          display: block;
          color: #333333;
          text-align: left;
          padding: 6px 0 6px 20px;
          margin: 0 0 0 20px;
          transition: all .0s;
          span {
            display: inline-block;
            width: 120px;
          }
          &.active {
            color: #fff;
            background-color: #00c1de;
            border-right:1px solid #00c1de;
            & > i {
              &:not(.icon-arrow) {
                color: #fff;
              }
              &.icon-shoucangshixin {
                color: #fff;
              }
            }
          }
          & > i {
            float: right;
            margin-right: 8px;
            &:not(.icon-arrow) {
              color: #fff;
            }
            &.icon-shoucangshixin {
              color: #00c1de;
            }
          }
        }
      }
      .leaf-wrapper {
        height: 100%;
        width:  calc(~'100% - 200px');
        display: inline-block;
        padding-top: 5px;
        vertical-align: middle;
        .leafs {
          width: 180px;
          cursor: pointer;
          display: inline-block;
          color: #333333;
          text-align: left;
          padding: 6px 0 6px 20px;
          margin: 0 0 0 20px;
          transition: all .0s;
          &.active {
            color: #fff;
            background-color: #00c1de;
            border-right:1px solid #00c1de;
            & > i {
              &:not(.icon-arrow) {
                color: #fff;
              }
              &.icon-shoucangshixin {
                color: #fff;
              }
            }
          }
          & > i {
            float: right;
            margin-right: 10px;
            &:not(.icon-arrow) {
              color: #fff;
            }
            &.icon-shoucangshixin {
              color: #00c1de;
            }
          }
        }
      }
    }
  }
}
