.au-table {

  table {
    width: 100%;
    text-align: left;
    border-radius: 4px 4px 0 0;
    border-collapse: separate;
    border-spacing: 0;

    thead {
      height: 45px;
      th {
        padding: 0 10px;
        background: #fafafa;
        white-space: nowrap;
      }
    }

    tbody {
      td {
        padding: 0 10px;
        height: 40px;
        white-space: nowrap;
      }
    }

    .au-empty-th {
      background: #fafafa;
      text-align: center;
    }

    .au-table-empty {
      height: 50px;
      line-height: 50px;
      text-align: center;
    }
  }

  &.au-table-sm {
    table {
      font-size: 12px;

      th {
        height: 40px;
      }

      td {
        height: 35px;
      }
    }

    .au-table-oper {
      button {
        font-size: 12px;
      }
    }
  }

  &.au-table-lg {
    table {
      font-size: 16px;

      th {
        height: 50px;
      }

      td {
        height: 45px;
      }
    }

    .au-table-oper {
      button {
        font-size: 16px;
      }
    }
  }

  &.au-table-border {
    table {
      border-left: 1px solid #f0f0f0;
    }

    tr>th, tr>td {
      border-right: 1px solid #f0f0f0;
      border-bottom: 1px solid #f0f0f0;
    }
  }

  &-scroll {
    overflow-x: auto;
    input {
      border: 1px solid #d9d9d9;
      padding-left: 5px;
    }
  }

  &-content {
    position: relative;
  }

  &-fixed-left {
    position: absolute;
    background: #fff;
    top: 0;
    left: 0;
    z-index: 1;
    box-shadow: 6px 0 6px -4px rgba(0, 0, 0, 0.15);
    overflow: hidden;
  }

  &-fixed-right {
    position: absolute;
    background: #fff;
    top: 0;
    right: 0;
    z-index: 1;
    box-shadow: -6px 0 6px -4px rgba(0, 0, 0, 0.15);
    overflow: hidden;
  }

  .table-checkbox {
    vertical-align: -2px;
    margin-right: 5px;
  }

  .au-table-page {
    margin-top: 15px;
    text-align: right;
    margin-right: 2px;

    button {
      background-color: #fff;
      border: 1px solid #a4a0a0;
      border-radius: 4px;

      i {
        color: #a4a0a0;
        font-size: 12px;
      }

      &:hover {
        cursor: pointer;
      }

      &:disabled {
        border: 1px solid #d9d9d9;
        cursor: not-allowed;

        i {
          color: #d9d9d9;
        }
      }
    }
  }

  .au-table-now {
    padding: 0 8px;
    color: #0046c7;
  }

  .au-table-oper {
    button {
      background-color: #fff;
      border: none;
      color: #0046c7;
      font-size: 14px;
      padding: 4px 6px;
      border-radius: 3px;
      margin-right: 2px;
      text-decoration: underline;

      &:hover {
        cursor: pointer;
      }
    }
  }

  .au-header-oper {
    width: 110px;
  }

  .au-table-all-check {
    width: 45px;
  }

  input[type='checkbox'] {
    vertical-align: -2px;
  }

  .au-table-checkbox {
    position: relative;
    .au-table-checkbox-input {
      position: absolute;
      left: 0;
      z-index: 9999;
      cursor: pointer;
      opacity: 0;
      top: 0;
      bottom: 0;
      right: 0;
      width: 100%;
      height: 100%;
    }
    .au-table-checkbox-inner {
      vertical-align: middle;
      position: relative;
      top: 0;
      left: 0;
      display: inline-block;
      width: 20px;
      height: 20px;
      border-width: 1px;
      border-style: solid;
      border-radius: 3px;
      border-color: #d9d9d9;
      border-color: var(--color-gray-30);
      background-color: #ffffff;
      -webkit-transition: border-color 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
      transition: border-color 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), background-color 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);

      &:after {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        position: absolute;
        left: 5px;
        top: 2px;
        display: table;
        width: 7px;
        height: 10px;
        border: 2px solid #fff;
        border-top: 0;
        border-left: 0;
        content: " ";
        -webkit-animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
        animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
        -webkit-animation-duration: 0.3s;
        animation-duration: 0.3s;
        -webkit-animation-name: amCheckboxOut;
        animation-name: amCheckboxOut;
      }
    }
  }

  .au-table-checkbox-checked .au-table-checkbox-inner
  {
    border-color: var(--color-primary-50);
    background-color: var(--color-primary-50);
    &:after {
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      position: absolute;
      left: 5px;
      top: 2px;
      display: table;
      width: 7px;
      height: 10px;
      border: 2px solid #ffffff;
      border-top: 0;
      border-left: 0;
      content: " ";
      -webkit-animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
      animation-timing-function: cubic-bezier(0.68, -0.55, 0.27, 1.55);
      -webkit-animation-duration: 0.3s;
      animation-duration: 0.3s;
      -webkit-animation-name: amCheckboxOut;
      animation-name: amCheckboxOut;
    }
  }


}
