.root {
    position: relative;
}

.root::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 1px;
    left: 0;
    bottom: 0;
    z-index: 1;
    background-color: $background-color-light;
}

.root[bottom-border]::before {
    background-color: #d7dbe0;
}

.root[border]::after {
    position: absolute;
    content: '';
    width: 1px;
    height: 100%;
    right: 0;
    top: 0;
    z-index: 1;
    background-color: $background-color-light;
}

.table {
    width: 100%;
}

.thead {
    width: 100%;
}
.header {
    overflow: visible;
}

.header[role] {
    overflow: hidden;
}

.hthSpan {
    /* position: relative; */
    vertical-align: middle;
    box-sizing: border-box;
    padding: 13px 0 13px 10px;
    line-height: 1.4;
    text-align: left;
    font-weight: normal;
}

.hthSpan[border] {
    border-left: 1px solid $background-color-light;
    /* border-right: 1px solid $background-color-light; */
}

.hthSpan[role] {
    cursor: pointer;
}

.hthSpan[role]:hover {
    background: #eef2f8;
}

.hthSpan[selection] {
    padding: 13px 0 13px 20px;
    white-space: nowrap;
}

.hthSpan[filter] {
    padding: 0;
}

.filtertitle {
    padding: 13px 0 13px 10px;
}

.htrItem {
    background-color: #f5f7fa;
    background-clip: padding-box;
    border-bottom: 1px solid $background-color-light;
}
.htrItem[color='light'] {
    background: white;
}

.body[role="fixed"] {
    overflow: hidden;
}

.tbody {
    width: 100%;
    /* margin-bottom: 6px; */
}

.btrItem {
    border-top: 1px solid $background-color-light;
}

.btrItem[show-color] {
    background: #f0f4fa;
    border-top: 1px solid #d7dbe0;
    border-bottom: 1px solid #d7dbe0;
}

.btrItem:first-child {
    border-top: 1px solid transparent;
}
.btrItem[show-color]:first-child[show-color] {
    border-top: 1px solid #d7dbe0;
}

.btbody[no-show-header] .btrItem {
    border-left: 1px solid $background-color-light;
}

.btbody[no-show-header] .btrItem:first-child {
    border-top: 1px solid $background-color-light;
}

.btdSpan {
    position: relative;
    vertical-align: middle;
    box-sizing: border-box;
    padding: 13px 0 13px 10px;
    line-height: 20px;
    width: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: $color-secondary;
}
.btdSpan[border] {
    border-left: 1px solid $background-color-light;
    /* border-right: 1px solid $background-color-light; */
}

.btdSpan[role="center"] {
    text-align: center;
    padding: 13px 0;
}

.btdSpan[selection] {
    padding: 13px 0 13px 20px;
}

.btbody[no-show-header] .btdSpan {
    border-left: none;
}

.wrapicon {
    display: inline-block;
    height: 20px;
    margin-left: 4px;
    margin-top: -10px;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
}

.icon::before {
    font-size: 14px !important;
    color: #d3d8e0;
}

.icon[role]::before {
    color: #67aaf5;
}

.ditem {
    box-sizing: border-box;
    white-space: normal;
    word-break: break-all;
    /* 解决在火狐浏览器下英文换行显示问题 */
    word-wrap: break-word;
    line-height: 1.4;
}

.ditem[expanded] {
    display: inline-block;
}

.popper {
    z-index: 1065;
    background: white;
    border: 1px solid #f1f1f1;
    /* 对于一些很长的过滤 有最大高度的限制 */
    max-height: 182px;
    overflow-y: auto;
    /* margin-left: -10px; */
    /* margin-top: 13px; */
}

.itemtitle {
    position: relative;
    word-break: break-all;
    display: inline-block;
    min-width: 35px;
}

.option {
    width: 100%;
    padding: 3px 14px;
    box-sizing: border-box;
    line-height: 24px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.option[direction="rtl"] {
    direction: rtl;
}

.option:hover {
    background: #f4f4f4;
    color: #444;
}

.option[role] {
    background: $brand-primary;
    color: white;
}

.traingle {
    display: inline-block;
    border: 5px solid transparent;
    border-top-color: #9dabc2;
    position: relative;
    left: 5px;
    top: 3px;
}

.btrItem:hover .btdSpan::before, .btrItem[hover] .btdSpan::before {
    content: "";
    width: 100%;
    height: 6px;
    position: absolute;
    top: -6px;
    left: 0;
    background: url("../u-table.vue/assets/shadow-up.png") repeat-x;
    z-index: 100;
}

.btrItem:hover .btdSpan::after, .btrItem[hover] .btdSpan::after {
    content: "";
    width: 100%;
    height: 6px;
    position: absolute;
    bottom: -6px;
    left: 0;
    background: url("../u-table.vue/assets/shadow-down.png") repeat-x;
    z-index: 100;
}

.btrItem:last-child:hover .btdSpan[hide]::after {
    content: '';
    width: 0;
    height: 0;
    background: none;
}

.ditem[role] {
    display: block;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fixLeft {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    background: white;
    box-shadow: 2px 0 6px -2px rgba(0, 0, 0, 0.2);
}

.fixRight {
    position: absolute;
    right: 0;
    left: auto;
    top: 0;
    background: white;
    box-shadow: -2px 0 6px -2px rgba(0, 0, 0, 0.2);
}

.loading {
    display: inline-block;
    line-height: 21px;
}

.expand {
    display: inline-block;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.expand[name="right"]::after {
    icon-font: url("../u-icon.vue/icons/keyboard-arrow-right.svg");
    line-height: 24px;
    vertical-align: -2px;
}

.expand[name="down"]::after {
    icon-font: url("../u-icon.vue/icons/keyboard-arrow-down.svg");
    line-height: 24px;
    vertical-align: -2px;
}

.expand[role="up-down"][name="right"]::after {
    icon-font: url("../u-icon.vue/icons/angle-down.svg");
    line-height: 24px;
    vertical-align: -2px;
}

.expand[role="up-down"][name="down"]::after {
    icon-font: url("../u-icon.vue/icons/angle-up.svg");
    line-height: 24px;
    vertical-align: -2px;
}

.fixNoText {
    display: inline-block;
    line-height: 20px;
}

.headExpand {
    width: 50px;
}
.loadText {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

.radioLabel {
    user-select: none;
    cursor: $cursor-pointer;
}

.radioLabel[disabled] {
    color: #999;
    cursor: $cursor-not-allowed;
}

.radio {
    margin-right: 4px;
    margin-bottom: 3px;
    vertical-align: middle;
    cursor: inherit;
}

.radioText {
    display: inline-block;
    vertical-align: middle;
}

.radioDisabled {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid #d7dbe0;
    background-color: $background-color-light;
    vertical-align: middle;
    cursor: not-allowed;
    border-radius: 100%;
}

.radioDisabled[selected]::after {
    content: '';
    margin: 4px;
    display: block;
    width: 4px;
    height: 4px;
    background: #d8d8d8;
    border-radius: 50%;
}
