.tfp-grid {
  position: absolute;
}

.tfp-grid-header table, .tfp-grid-datalist table, .tfp-grid-sumer table {
	border-collapse: collapse;
}

.tfp-grid-header td:last-child,.tfp-grid-datalist td:last-child,.tfp-grid-sumer td:last-child {
  border-right: 0;
}

.tfp-grid-header {
	overflow: hidden;
	position: absolute;
	z-index: 2;
	left: 0;
	top: 0;
	right: 0;
	height: 40px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}

.tfp-grid-header > div {
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-left: 3px;
  padding-right: 3px;
}

.tfp-grid-datalist {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 39px;
	right: 0;
	bottom: 0;
	overflow: auto;
}

.tfp-grid-datarow {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}

.tfp-grid-datarow > div {
  flex-grow: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-left: 3px;
  padding-right: 3px;
  word-break: break-all;
}

.tfp-grid-header > div:last-child,.tfp-grid-datarow > div:last-child {
  flex-shrink: 1;
  flex-grow: 1;
  flex-basis: auto;
}

.tfp-grid-sumer {
  position: absolute;
  left: 0;
  height: 40px;
  right: 0;
  bottom: 0;
  z-index: 3;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: nowrap;
}

.tfp-grid-sumer > div {
  flex-grow: 0;
  flex-shrink: 0;
  height: 38px;
  line-height: 38px;
  text-align: center;
}

.tfp-grid-footer {
  position: absolute;
  left: 0;
  height: 50px;
  line-height: 50px;
  right: 0;
  bottom: 0;
  z-index: 4;
  text-align: center;
  overflow: hidden;
}

.tfp-grid-footer span {
  cursor: pointer;
  color: #333399;
}

.tfp-grid-btn-first,
.tfp-grid-btn-prev,
.tfp-grid-btn-next,
.tfp-grid-btn-last {
  display: inline-block;
  width: 60px;
  height: 30px;
  line-height: 30px;
  cursor: pointer;
  border: 1px solid #3399FF;
}

.tfp-grid-cell-btn {
	display: inline-block;
  height: 24px;
  line-height: 24px;
  cursor: pointer;
  text-align: center;
  padding-left: 10px;
  padding-right: 10px;
  white-space: nowrap;
}

.tfp-grid-cell-switch {
	display: inline-block;
  width: 32px;
  height: 20px;
  background-color: #e0e0e0;
  border-radius: 10px;
}

.tfp-grid-cell-switch-btn {
  width: 20px;
  height: 20px;
  border-radius: 10px;
  margin: 0;
}

.tfp-grid-cell-progress {
	display: inline-block;
  width: 100px;
  height: 14px;
  background-color: #e0e0e0;
  border-radius: 7px;
}

.tfp-grid-cell-progress-bar {
  float: left;
  width: 60px;
  font-size: 12px;
  height: 14px;
  line-height: 14px;
  border-radius: 7px;
  margin: 0;
  color: #ffffff;
  text-align: center;
}