.tabulator {
  position: relative;
  background-color: transparent;
  overflow: hidden;
  font-size: 14px;
  text-align: left;
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}
.tabulator .tabulator-header {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  border-bottom: 2px solid #ddd;
  background-color: #fff;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
}
.tabulator .tabulator-header .tabulator-col {
  display: inline-block;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #999;
  padding: 1px;
  background: #fff;
}
.tabulator .tabulator-header .tabulator-col .tabulator-handle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 5px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-handle.prev {
  left: 0;
  right: auto;
}
.tabulator .tabulator-header .tabulator-col .tabulator-handle:hover {
  cursor: ew-resize;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols {
  position: relative;
  display: flex;
  border-top: 1px solid #ddd;
  overflow: hidden;
}
.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols .tabulator-col:last-child {
  margin-right: -1px;
}
.tabulator .tabulator-header .tabulator-col:first-child .tabulator-handle.prev {
  display: none;
}
.tabulator .tabulator-header .tabulator-col.ui-sortable-helper {
  position: absolute;
  background-color: #e6e6e6 !important;
  border: 1px solid #ddd;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
  position: relative;
  box-sizing: border-box;
  margin-top: 2px;
  width: 100%;
  text-align: center;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea {
  height: auto !important;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg {
  margin-top: 3px;
}
.tabulator .tabulator-header .tabulator-col[data-sortable=true] .tabulator-col-title {
  width: calc(100% - 25px);
}
.tabulator .tabulator-header .tabulator-col-row-handle {
  width: 30px;
  max-width: 30px;
  display: inline-block;
}
.tabulator .tabulator-header .tabulator-frozen {
  display: inline-block;
  position: absolute;
  background-color: inherit;
  z-index: 10;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left {
  border-right: 1px solid #ddd;
}
.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right {
  border-left: 2px solid #ddd;
}
.tabulator .tabulator-tableHolder {
  position: relative;
  width: 100%;
  white-space: nowrap;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.tabulator .tabulator-tableHolder .tabulator-table {
  position: relative;
  display: inline-block;
  background-color: transparent;
  white-space: nowrap;
  overflow: visible;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row {
  position: relative;
  box-sizing: border-box;
  min-height: 30px;
  background-color: transparent;
  border-bottom: 1px solid #ddd;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-selected {
  background-color: #9ABCEA;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-selected:hover {
  background-color: #769BCC;
  cursor: pointer;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-row-handle {
  display: inline-block;
  box-sizing: border-box;
  width: 30px;
  max-width: 30px;
  padding: 4px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-row-handle:hover {
  cursor: move;
  background-color: rgba(0, 0, 0, 0.1);
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-row-handle div {
  width: 80%;
  height: 3px;
  margin: 2px 10% 0 10%;
  background: #666;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-frozen {
  display: inline-block;
  position: absolute;
  background-color: inherit;
  z-index: 10;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-frozen.tabulator-frozen-left {
  border-right: 1px solid #ddd;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-frozen.tabulator-frozen-right {
  border-left: 2px solid #ddd;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell:last-of-type {
  border-right: none;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.tabulator-editing {
  border: 1px solid #1D68CD;
  padding: 0;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.tabulator-editing input,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.tabulator-editing select {
  border: 1px;
  background: transparent;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group.show .tabulator-group-header .tabulator-arrow {
  margin-left: 5px;
  margin-right: 10px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #666;
  border-bottom: 0;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group.show .tabulator-group-body {
  visibility: visible;
  height: auto;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group .tabulator-group-header {
  box-sizing: border-box;
  border-bottom: 1px solid #999;
  border-right: 1px solid #ddd;
  border-top: 1px solid #999;
  padding: 5px;
  background: #fafafa;
  font-weight: bold;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group .tabulator-group-header .tabulator-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 8px;
  margin-right: 13px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 0;
  border-left: 6px solid #666;
  vertical-align: middle;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group .tabulator-group-header span {
  margin-left: 10px;
  color: #666;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group .tabulator-group-body {
  visibility: hidden;
  height: 0;
}

.tabulator .tabulator-footer .tabulator-page {
  font-weight: normal;
  cursor: pointer;
}

.tabulator .tablulator-loader {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  text-align: center;
}
.tabulator .tablulator-loader .tabulator-loader-msg .tabulator-loading {
  display: inline-block;
  border: 4px solid #333;
  border-radius: 10px;
  padding: 10px 20px;
  background: #fff;
  font-weight: bold;
  font-size: 16px;
  color: #000;
}
.tabulator .tablulator-loader .tabulator-loader-msg .tabulator-error {
  display: inline-block;
  border: 4px solid #D00;
  border-radius: 10px;
  padding: 10px 20px;
  background: #fff;
  font-weight: bold;
  font-size: 16px;
  color: #590000;
}
.tabulator.table-striped .tabulator-tableHolder .tabulator-table .tabulator-row:nth-child(even) {
  background-color: #f9f9f9;
}
.tabulator.table-bordered {
  border: 1px solid #ddd;
}
.tabulator.table-bordered .tabulator-header .tabulator-col,
.tabulator.table-bordered .tabulator-header .tabulator-col-row-handle {
  border-right: 1px solid #ddd;
}
.tabulator.table-bordered .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell {
  border-right: 1px solid #ddd;
}
.tabulator.table-condensed .tabulator-header .tabulator-col .tabulator-col-content {
  padding: 5px;
  background: #eaeaea;
}
.tabulator.table-condensed .tabulator-tableHolder .tabulator-table .tabulator-row {
  min-height: 24px;
}
.tabulator.table-condensed .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell {
  padding: 5px;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.active {
  background: #f5f5f5 !important;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.success {
  background: #dff0d8 !important;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.info {
  background: #d9edf7 !important;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.warning {
  background: #fcf8e3 !important;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.danger {
  background: #f2dede !important;
}


/* CUSTOMIZED - some elements were overrided by bootstrap, some were personally customized */


.tabulator {
   border: 1px solid #d3d3d3;
}
.tabulator .tabulator-header .tabulator-col,
.tabulator .tabulator-header .tabulator-col-row-handle,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell {
  border-right: 1px solid #d3d3d3;
}
.tabulator .tabulator-header {
  background: #eaeaea;
  border-bottom: 1px solid #d3d3d3;
}
.tabulator .tabulator-header .tabulator-col[data-sortable=true]:hover {
  cursor: pointer;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
  position: relative;
  padding: 8px;
  text-align: center;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
  font-weight: normal;
}
.tabulator .tabulator-header .tabulator-col,
.tabulator .tabulator-header .tabulator-col-row-handle {
  position: relative;
  box-sizing: border-box;
  text-align: left;
  vertical-align: bottom;
  overflow: hidden;
  white-space: normal;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.tabulator-selectable:hover {
  /*background-color: #f5f5f5;*/
  background: #eaeaea;/* custom */
  cursor: pointer;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-group .tabulator-group-header .tabulator-arrow:hover {
  cursor: pointer;
  /*background-color: rgba(0, 0, 0, 0.1);*/
}
.tabulator .tabulator-footer .pagination {
  margin: 0 !important;
}
.tabulator .tabulator-footer .tabulator-page.active {
  /*color: #d00;*/
  color:#fff;
  background: #428bca;
  border-color: #428bca;
}
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell {
  position: relative;
  box-sizing: border-box;
  /*padding: 8px;*/
  /*padding: 7px 0 0 13px;*/
  padding: 7px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* customized arrows */

.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow {
  display: inline-block;
  right: 0;
  margin-left: 4px;
  position: relative;
  top: -4px;

  width: 0;
  height: 0;
  border-bottom: 4px solid #000;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow:after {
  content: '';
  position: absolute;
  left: -4px;
  top: 5px;

  border-top: 4px solid #000;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow.desc {
  display: inline-block;
  right: 0;
  margin-left: 4px;
  position: relative;
  top: -2px;

  border-bottom: 4px solid #000;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow.desc:after {
  content: '';
  position: static;
  border: 0;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-arrow.asc {
  display: inline-block;
  right: 4px;
  margin-left: 12px;
  position: relative;
  top: -10px;

  width: 0;
  height: 0;
  border: 0 !important;
}

/* customized filter icon */

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
  position: relative;
  box-sizing: border-box;
  margin-top: 2px;
  width: 100%;
  text-align: center;
}

/* customized footer button */

.tabulator .tabulator-footer {
  padding: 5px 10px;
  border-top: 2px solid #ddd;
  /*text-align: right;*/
  overflow: hidden;
  font-weight: bold;
  white-space: nowrap;
  user-select: none;
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -o-user-select: none;
  background: #fff;
}

.tabulator .tabulator-footer #tabulator-pagination-container {
  float: right;
}
.tabulator .tabulator-footer .tabulator-custom-footer-buttons {
  float: left;
}
.tabulator .tabulator-footer .tabulator-custom-footer-buttons button {
  margin: 0 3px !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter span i.custom_column_filter {
  position: relative;
  float: right;
}