html{

  .emstable-wrap {
    background: #fff;
    border-top: 2px solid #ffa329;

    &.noSearchbar{
      border-top: 0;
    }

    .search-bar {
      padding: 10px;
      background: #fff;
    }

    .handle-bar {
      position: relative;

      .ivu-btn {
        margin-right: 10px;
        height: 22px;
        line-height: 22px;
        padding: 0 10px;
      }
    }

    .search-form {
      height: 50px;
      margin-bottom: 10px;
      overflow: hidden;

      &.expand {
        height: auto;
        overflow: inherit;
        margin-bottom: 5px;
      }

      &-more {
        color: #ffa329;
        position: absolute;
        right: 0;
        top: 2px;
        font-size: 13px;
      }

      .ivu-form-item {
        display: inline-block;
        margin-right: 0;
        vertical-align: top;
        margin-bottom: 5px;
        width: 20%;
      }

      .ivu-form-item:nth-of-type(5n + 5) {
        width: 16%;
        padding-right: 0;
      }

      .ivu-form-item-label {
        padding: 0;
        font-size: 12px;
        float: none;
        display: inline-block;
        text-align: left;
      }

      .ivu-form-item-content {
        width: 180px;
        line-height: 26px;
        
        .ivu-input-wrapper{
          .ivu-icon,
          .ivu-input-icon{
            width: 22px;
            height: 22px;
            line-height: 22px;
            font-size: 16px;
          }
        }
      }

      .ivu-input,
      .ivu-select-selection,
      .ivu-input-number {
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        font-size: 12px;
        color: #333;
        height: 22px;
        line-height: 22px;

        &:hover,
        &:focus{
          border: 1px solid #ffc880 !important;
        }
      }
      .ivu-select-input,
      .ivu-select-placeholder,
      .ivu-select-selected-value,
      .ivu-input-number-input{
        height: 22px;
        line-height: 22px;
      }
    }

    .footer-tools-col {
      min-height: 1px;
    }

    .table-bar {
      padding: 0 0 10px 20px;

      .ivu-btn {
        margin-right: 10px;
      }
    }

    .ivu-table-wrapper {
      .ivu-table {
        table {
          height: 100%;
        }
        td{
          height: 20px;
        }
        .ivu-table-cell{
          padding: 0 !important;
        }
      }
      &.fullFill {
        .ivu-table th{
          height: 32px;
        }
        // .ivu-table td {
        //   height: 37.45px;
        // }
      }


      .ivu-table-nodata {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 9;
        width: 196px;
        height: 44px;
        margin-left: -98px;
        margin-top: -22px;
        font-size: 15px;
        background: #fff;
        color: #333;
        line-height: 44px;
        text-align: center;
        box-shadow: 0 0 3px rgba(62,62,62,.3);
    }

    .ivu-table-cell-with-expand{
      height:auto;
      line-height:normal;
      display:inline-block;
      vertical-align:middle;
      padding:0 4px!important
    }
    td.ivu-table-column-right .ivu-table-cell{
      padding:0 10px
    }
    .ivu-table-row.blank .ivu-table-cell{
      display:none
    }
    .ivu-table-border td,html .ivu-table-wrapper .ivu-table-border th{
      border-color:#e2e2e2
    }
    .ivu-table-border td{
      border-top:0;
      border-bottom:0
    }

    }

    &.single-emstable{
      .ivu-table{
        th,td{
          height: 28px;
        }
      }
    }

    .emstablePoptip {
      text-align: center;
    }
  }

  .ivu-tabs {
    .emstable-wrap {
      border-top: none;

      // .ivu-table-wrapper {
      //   &.fullFill {
      //     .ivu-table-header{
      //       height: 38px;
      //     }
      //     .ivu-table-body{
      //       >table {
      //         height: 330px;
      //       }
      //     }
      //   }
      // }
    }
  }

  .core-modal{
    .ivu-table-wrapper {

      &.fullFill {
        .ivu-table th{
          height: 30px;
        }

      }
    }
  }

}
