/**
 * 数据展示
 *   - 日历 Calendar
 *   - 卡片 Card
 *   - 折叠面板 Collapse
 *   - 空状态 Empty
 *   - 列表 List
 *   - 气泡卡片 Popover
 *   - 数值显示 Statistic
 *   - 表格 Table
 *   - 标签页 Tabs
 *   - 标签 Tag
 *   - 时间轴 Timeline
 *   - 文字气泡 Tooltip
 *   - 树 Tree
 */

/**
 *  折叠面板 Collapse
 */
.el-collapse-item__header {
  height: 40px !important;
  line-height: 40px !important;
  font-size: 14px !important;
}

.collapse-title {
  width: 100% !important;
}

.collapse-title-content {
  font-size: 14px !important;
  word-break: keep-all;
  color: #3A485E !important;
  display: inline-flex;
}

.collapse-title .collapse-title-main {
  color: #000000 !important;
}

.collapse-title-content span {
  max-width: 200px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.collapse-title .divider {
  width: 1px !important;
  background: #E1E5F4 !important;
  height: 10px !important;
  margin: auto 12px !important;
}

/**
 * 表格 Table
 */
.zwx-table {
  font-size: 14px !important;
  color: #1f2d3d !important;
  border: none !important;
}


.zwx-table .el-table .caret-wrapper {
  width: auto;
}

/* 右下角下边框 */
.zwx-table::before {
  background-color: #e1e5f4 !important;
}

.zwx-table thead {
  font-size: 14px !important;
  color: #1f2d3d !important;
}

.zwx-table th {
  background-color: #f6f8fb !important;
  height: 38px !important;
  padding: 0 !important;
  border-right: 1px solid #e1e5f4 !important;
  border-top: 1px solid #e1e5f4 !important;
}
.zwx-table th,
.zwx-table thead {
  font-family: "Harmony Medium" !important;
}

.zwx-table th .cell,
.zwx-table td .cell {
  line-height: 21px !important;
  padding: 8.5px 14px !important;
}

.zwx-table.sortable-table th .cell {
  padding: 2px 14px !important;
}

.zwx-table .el-table__fixed tr th:last-child {
  border-left: none !important;
}

.zwx-table .el-table__fixed-right tr th:last-child {
  border-right: none !important;
}

.zwx-table td {
  border-right: 1px solid #e1e5f4 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  color: #3a485e !important;
}

/* 下边框 */
.zwx-table td,
.zwx-table th.is-leaf {
  border-bottom: 1px solid #e1e5f4 !important;
}

.zwx-table tr td:last-child {
  border-right: none !important;
}

.zwx-table tr td:last-child .cell {
  overflow: visible !important;
}

.zwx-table tr td:last-child .cell .zwx-button,
.zwx-table tr td:last-child .cell .zwx-button .el-icon-arrow-right {
  height: 14px !important;
  line-height: 14px !important;
}

.zwx-table tr td:last-child .cell .el-button [class*=el-icon-] + span {
  margin-left: 0 !important;
}

.zwx-table .el-table__body tr.el-table__row--striped td {
  background: #ffffff !important;
}

.zwx-table .el-table__body tr.hover-row > td {
  background-color: #edf7ff !important;
}

.zwx-table .el-table__body tr:hover > td {
  background-color: #fbfcff !important;
}

.zwx-table .el-table__fixed {
  height: calc(100% - 8px) !important;
  box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.18) !important;
}

.zwx-table .el-table__fixed-right {
  height: calc(100% - 8px) !important;
  box-shadow: 0px -2px 10px 0px rgba(0, 0, 0, 0.18) !important;
}

.zwx-table .el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed {
  height: 100% !important;
  box-shadow: none !important;
}

.zwx-table .el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed-right {
  height: 100% !important;
  box-shadow: none !important;
}

.zwx-table .el-table__body-wrapper ~ .el-table__fixed::before {
  height: 0 !important;
  background-color: #e1e5f4 !important;
}

.zwx-table .el-table__body-wrapper ~ .el-table__fixed-right::before {
  height: 0 !important;
  background-color: #e1e5f4 !important;
}


.zwx-table .el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed::before {
  height: 1px !important;
}

.zwx-table .el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed-right::before {
  height: 1px !important;
}

.zwx-table .el-table__empty-block {
  min-height: 45px !important;
}

.zwx-table .el-table__empty-block .el-table__empty-text {
  line-height: 45px !important;
}

/* 滚动条的宽度 */
.zwx-table .el-table__body-wrapper::-webkit-scrollbar {
  width: 8px !important;
  height: 8px !important;
  background: transparent !important;
}

.zwx-table .el-table__body-wrapper::-webkit-scrollbar-thumb:vertical {
  background: linear-gradient(to right, transparent 0%, transparent 22%, #d8d8d8 0, #d8d8d8 78%, transparent 0, transparent 100%) !important;
  border-radius: 7px !important;
}

.zwx-table .el-table__body-wrapper::-webkit-scrollbar-thumb:vertical:hover {
  background: linear-gradient(to right, transparent 0%, transparent 22%, #b3b3b3 0, #b3b3b3 78%, transparent 0, transparent 100%) !important;
}

.zwx-table .el-table__body-wrapper::-webkit-scrollbar-thumb:horizontal {
  background: #d8d8d8 !important;
  border-radius: 3px !important;
}

.zwx-table .el-table__body-wrapper::-webkit-scrollbar-thumb:horizontal:hover {
  background: #b3b3b3 !important;
}

.zwx-table-normal th {
  background-color: #fff !important;
}

.zwx-table-normal::before {
  background-color: transparent !important;
}

.zwx-table-normal .el-table__row:last-child td {
  border-bottom: none !important;
}

.zwx-table-normal .el-table--border th:last-child td {
  border-right: none !important;
}

.zwx-table-normal::after {
  width: 0 !important;
}

.zwx-table-normal .el-table__fixed::before,
.zwx-table-normal .el-table__fixed-right::before {
  height: 0 !important;
}

.zwx-table-normal .el-table__body-wrapper.is-scrolling-none ~ .el-table__fixed-right::before {
  height: 0 !important;
}

.zwx-table-detail .cell {
  padding-right: 0 !important;
}

/* 高度限制 */
.zwx-table.has-height .el-table__fixed-right-patch {
  background-color: #edf0f5 !important;
  border-top: 1px solid #cdcdcd !important;
  border-bottom: 1px solid #cdcdcd !important;
  top: 0 !important;
}

.zwx-table.has-height .el-table__fixed-right .el-table__fixed-body-wrapper,
.zwx-table.has-height .el-table__fixed .el-table__fixed-body-wrapper {
  height: auto !important;
  max-height: none !important;
  bottom: 0 !important;
}

.zwx-table.has-height.el-table--scrollable-x:not(.el-table--scrollable-y) .el-table__fixed-right {
  right: 0 !important;
}

.zwx-table.has-height.el-table--scrollable-y .el-table__header .is-leaf:nth-last-child(2) {
  border-right: unset !important;
}

.zwx-table.has-height.el-table--scrollable-y th.gutter:last-of-type {
  width: 4px !important;
  border-bottom: 1px solid #cdcdcd !important;
}

/**
 * 表格内Form
 */
.zwx-table .el-form-item {
  margin-right: 0 !important;
  width: 100% !important;
  margin-bottom: 0 !important;
}

.zwx-table .el-form-item .zwx-input {
  width: 100% !important;
}

.zwx-table .el-form-item .zwx-date-picker {
  width: 100% !important;
}

.zwx-table .el-form-item .el-select {
  display: block;
}

.zwx-table .el-form-item .zwx-select .el-input__inner {
  width: 100% !important;
}

.zwx-table .is-error {
  margin-bottom: 20px !important;
}

.zwx-table .el-form-item__error {
  color: #F56C6C;
  font-size: 12px;
  line-height: 1;
  padding-top: 4px;
  position: absolute;
  top: 100%;
  left: 0;
}