$collapse-prefix-cls: "#{$css-prefix}collapse";

.#{$collapse-prefix-cls} {
  //background-color: $background-color-base;
  border-radius: $collapse-border-radius;
  border: 0;///***********************************

  & > &-item {
    border-top: $collapse-item-border-top;

    &:first-child {
      border-top: 0;
    }

    > .#{$collapse-prefix-cls}-header {
      height: $collapse-header-height;
      line-height: $collapse-header-height;
      // padding-left: $collapse-header-padding-left;
      padding: 0 16px;//*******************
      color: $collapse-header-color;
      cursor: pointer;
      position: relative;
      font-weight: bold;
      font-size: $font-size-base;
      text-align: left;
      background-color: $collapse-header-bgcolor;

      > i {
        display: inline-block;
        color: $collapse-header-i-color;
        transition: transform $transition-time $ease-in-out;
        margin-right: 6px;//************************
      }
    }
  }

  & > &-item-disabled {
    cursor: not-allowed;
    > .#{$collapse-prefix-cls}-header {
      cursor: not-allowed;
      color: #c3cbd6;
      background: #f7f7f7;
    }
  }
  &  > &-item.#{$collapse-prefix-cls}-item-active > &-header > i {
    transform: rotate(90deg);
  }

  &-content {
    //display: none;
    // overflow: hidden;
    color: $text-color;
    padding: $collapse-content-padding;
    background-color: $collapse-content-bgcolor;
    border-top: 1px solid $collapse-content-border-top-color;
    font-size: $collapse-content-font-size;

    & > &-box {
      padding-top: $collapse-box-padding-top;
      padding-bottom: $collapse-box-padding-top;

      > p {
        font-family: "Microsoft YaHei", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
        font-size: $collapse-content-font-size;
        color: $text-color;
        text-align: left;
        line-height: 12px;//***********************
      }
    }
  }

  &-item-active > &-content {
    //display: block;
  }

  &-item:last-child {
    > .#{$collapse-prefix-cls}-content {
      border-radius: 0 0 3px 3px;
    }
  }
}
