table.dataTable {
  margin: 0 auto;
  clear: both;
  width: 100%;
  thead th {
    padding: 3px 18px 3px 10px;
    border-bottom: 1px solid black;
    font-weight: bold;
    cursor: pointer;
    *cursor: hand;
  }
  tfoot th {
    padding: 3px 18px 3px 10px;
    border-top: 1px solid black;
    font-weight: bold;
  }
  td {
    padding: 3px 10px;
  }

  td.center, td.dataTables_empty {
    text-align: center;
  }
  tr.odd {
    background-color: #E2E4FF;
    td {
      &.sorting_1 {
        background-color: #D3D6FF;
      }
      &.sorting_2 {
        background-color: #DADCFF;
      }
      &.sorting_3 {
        background-color: #E0E2FF;
      }
    }
  }
  tr.even {
    background-color: white;
    td {
      &.sorting_1 {
        background-color: #EAEBFF;
      }
      &.sorting_2 {
        background-color: #F2F3FF;
      }
      &.sorting_3 {
        background-color: #F9F9FF;
      }
    }
  }
}

.dataTables_wrapper {
  position: relative;
  clear: both;
  *zoom: 1;
}

.dataTables_length {
  float: left;
}

.dataTables_filter {
  float: right;
  text-align: right;
}

.dataTables_info {
  clear: both;
  float: left;
  font-size: 0.8em;
}

.dataTables_paginate {
  float: right;
  text-align: right;
  font-size: 0.8em;
}

.paginate_disabled_previous,
.paginate_enabled_previous,
.paginate_disabled_next,
.paginate_enabled_next {
  height: 19px;
  float: left;
  cursor: pointer;
  *cursor: hand;
  color: #111 !important;
  &:hover {
    text-decoration: none !important;
  }
  &:active {
    outline: none;
  }
}

.paginate_disabled_previous,
.paginate_disabled_next {
  color: #666 !important;
}

.paginate_disabled_previous,
.paginate_enabled_previous {
  padding-left: 23px;
}

.paginate_disabled_next,
.paginate_enabled_next {
  padding-right: 23px;
  margin-left: 10px;
}

.paginate_enabled_previous {
  background: asset_url('back_enabled.png') no-repeat top left;
}

.paginate_enabled_previous:hover {
  background: asset_url('back_enabled_hover.png') no-repeat top left;
}

.paginate_disabled_previous {
  background: asset_url('back_disabled.png') no-repeat top left;
}

.paginate_enabled_next {
  background: asset_url('forward_enabled.png') no-repeat top right;
}

.paginate_enabled_next:hover {
  background: asset_url('forward_enabled_hover.png') no-repeat top right;
}

.paginate_disabled_next {
  background: asset_url('forward_disabled.png') no-repeat top right;
}

/* Full number pagination */
.paging_full_numbers {
  height: 22px;
  line-height: 22px;
  a {
    &:active {
      outline: none
    }
    &:hover {
      text-decoration: none;
    }
    &.paginate_button,
    &.paginate_active {
      border: 1px solid #aaa;
      -webkit-border-radius: 5px;
      -moz-border-radius: 5px;
      border-radius: 5px;
      padding: 2px 5px;
      margin: 0 3px;
      cursor: pointer;
      *cursor: hand;
      color: #333 !important;
    }
    &.paginate_button {
      background-color: #ddd;
      &:hover {
        background-color: #ccc;
        text-decoration: none !important;
      }
    }
    &.paginate_active {
      background-color: #99B3FF;
    }
  }
}

.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 250px;
  height: 30px;
  margin-left: -125px;
  margin-top: -15px;
  padding: 14px 0 2px 0;
  border: 1px solid #ddd;
  text-align: center;
  color: #999;
  font-size: 14px;
  background-color: white;
}

.sorting {
  background: asset_url('sort_both.png') no-repeat center right;
}

.sorting_asc {
  background: asset_url('sort_asc.png') no-repeat center right;
}

.sorting_desc {
  background: asset_url('sort_desc.png') no-repeat center right;
}

.sorting_asc_disabled {
  background: asset_url('sort_asc_disabled.png') no-repeat center right;
}

.sorting_desc_disabled {
  background: asset_url('sort_desc_disabled.png') no-repeat center right;
}

table.dataTable th:active {
  outline: none;
}

.dataTables_scroll {
  clear: both;
}

.dataTables_scrollBody {
  *margin-top: -1px;
}