@lritem-width: 172px;
@border-radius: 8px;
.home {
  height: 100%;
  width: 100%;
  overflow: hidden;
  &-header {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: @padding-sm @padding-sm 4px @padding-sm;
    background: @white;
    .brand-img {
      margin-right: 8px;
      max-height: 28px;
    }
    &-search-wrapper {
      height: 100%;
      display: flex;
      align-items: center;
    }
    &-search {
      display: flex;
      align-items: center;
      justify-content:space-between;
      box-sizing: border-box;
      padding: 0 @padding-sm - 2;
      width: 100%;
      height: 30px;
      border-radius: @border-radius-lg + 222;
      background-color: @grey-border;
      color: #c8c9cc;
      .text-size(12);
      text-align: center;
      color: @gray-4;
      .iconfont {
        margin-right: @padding-unit;
        .text-size(16);
        color: @black;
      }
      .item-center {
        display: flex;
        align-items: center;
        border-left: 1px solid #DCDEE0;
        padding-left: 8px;
        &-btn {
          color: #333;
          .text-size(12);
        }
        span:last-child{
          color: #666;
        }
      }
    }
  }
  &-tab {
    color: #666;
    background-color: #fff;
    // padding-bottom: 6px;
    // height: 50px;
    overflow: hidden;
    /deep/ .cr-tabs__nav {
      background-color: transparent;
      .cr-tabs__item {
        color: #666;
        font-size: 14px;
        padding: 0 14px;
        flex: none !important;
      }
      .cr-tabs__item--active {
        color: #ec1500;
        font-size: 16px;
        padding: 0 20px;
      }
    }
    /deep/ .cr-tabs__content {
      display: none;
    }
    /deep/ .cr-tabs__line {
      bottom: 20px;
      height: 8px;
      background-color: transparent;
      background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAAOCAYAAACB8ipxAAAAAXNSR0IArs4c6QAAAsxJREFUWEfll01PU0EUhp9zW2kJ0lKgxaBiTKCJLg2KG0jUuDAajG5Y6D/ApWz8G/oD3LDQmIg10cTEhWhMhA26MSkkAqIRKC23Kv2i95jbFlNLtRQKIk4yuZPJmfeceebrXFGQpQBDwCBKPcprEYbjDTw+Ok2S/7AoOKMBzqkygHIWYb8ID7LKzcAi32wkEvEzCNwpwycu8MRSQs5VnvqWWd7LDBUcS22cUYsBgStAy7r5CsOtC1zPgwvwBuVUBSirKC8QQg4HId8XpvcCRHtnRVrpNQwGVLkK+CtxaFmkQSBt77hxoLsaEArvBEIijBppxv+V3fjxEPXuJD0G9Cn0IZwGGqqYeybhwnt4joQN7gZwu4rBpaYKTKKMIYxhMBZrZKJritQWNGsydMHPAeCEDQroRehGqdu0ePFRtUUWAwyJcgto2rTorwMzwFuU9wgzqswaBjOaZTbtYrb9Mys18kPUhzfroAsIYhA0IKhKEHJ9nhr5SYlw17IY8kf4mrvj1oQnO3H54lxEuQZcAOpr5HSdjEJEYEZgXiGBkEJzL3hShZQoSbuqYC9AI+BF8KJ4JQ/Dq3ZffqFrtdilcWYEnqlw38jwqDmGWWzwE1xxZ+EuOI/QL3AJaNsuiLtMdxV4LnDPkWakyST2u/jKgis2VjCiAXpU6QcuA8d22WS3Go4p8AplZJ+Lh55PLG1EsCK4UpEFP52GfZSFnkIa01l85Dfi9C/bzAMv7WrBqH8xlyFY1cZUNbhSB8tefFkXJzWfC67V3XK0VxSmBCZEC6AihKuFVM5+y+DKiUZ9dKiT45bSIcIRCl/Nt9sBZy2CL2jY99IHgbAlOShhyRIWZbI5ypyAnS7VvGwLuD9Faf/axHwcxEnHKngMwa0WbkNwqeAWC7eutfM513fARDDVyr1spgpmnYEpCUxPHPuOytacTAXBHQe30xPcLn8/APIH7Q/QCEdaAAAAAElFTkSuQmCC');
      background-size: 35px 7px;
      background-repeat: no-repeat;
      background-position: bottom center;
    }
  }
  &-swipe {
    // height: calc(100% - (44px + 30px + @padding-sm + 4px));
    // tab:44px + search(input: 30px + paddingtop: @padding-sm + paddingbottom: 4px)
    // height: calc(100% - (78px + @padding-sm));
    height: calc(100% - (30px + @padding-sm));
  }
}
