/* 新的公用表格头部样式 */
.public-header-title-div {
    background: #fff;
}
.public-header-title-in{
    color: #2A2F44;
    font-size: 12px;
    display: inline;
    margin-right: 8px;
}
/* 新的公用表格头部样式 */

/*搜索框-带搜索按钮*/
.search-bg{
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 238px;
    height: 28px;
    background: rgba(255, 255, 255, 0.39);
    border: 1px solid #E4E5EE;
    opacity: 1;
    border-radius: 2px;
}
.search-bg .search-input-text{
    width: 100%;
    height: 100%;
    border: none;
    text-indent: 8px;
}
.search-bg .search-input-text::-webkit-input-placeholder {
    /* Edge */
    color: #BABABA;
    text-indent: 8px;
}

.search-bg .search-input-text:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #BABABA;
    text-indent: 8px;
}

.search-bg .search-input-text::placeholder {
    color: #BABABA;
    text-indent: 8px;
}

.search-bg .search-icon-bg{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 9px;
    border-left: 1px solid #E4E5EE;
    background: rgba(249, 250, 254, 0.39);
    cursor: pointer;
}

/*搜索框-带搜索按钮*/

/*更多*/
.more-bg{
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
}
.more-bg .more-div{
    width: 32px;
    height: 28px;
    background: rgba(249, 250, 254, 0.39);
    border: 1px solid #E4E5EE;
    opacity: 1;
    border-radius: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.more-show-bg{
    border: 1px solid #E4E5EE;
    padding: 4px 12px 12px 12px;
    margin-top: 12px;
    border-radius: 2px;
}
.more-triangle{
    position: absolute;
    left: 4px;
    top: 19px;
}

.more-triangle:before{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border: 11px solid;
    border-color: transparent transparent #E4E5EE transparent;
}
.more-triangle:after{
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border: 10px solid;
    border-color: transparent transparent #fff transparent;
    margin-left: -21px;
}
/*更多*/

/*按钮、选择框*/
.my-button-base{
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid #2d8cf0;
    white-space: nowrap;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 2px;
    -webkit-transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, -webkit-box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, -webkit-box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
    color: #fff;
    background-color: #2d8cf0;
    height: 28px;
}
.my-button-fc{
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid #2d8cf0;
    white-space: nowrap;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 2px;
    -webkit-transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, -webkit-box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, -webkit-box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
    color: #2d8cf0;
    background-color: #fff;
    height: 28px;
}
.my-button-small{
    display: inline-block;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid #2d8cf0;
    white-space: nowrap;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 2px;
    -webkit-transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, -webkit-box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, -webkit-box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear;
    transition: color 0.2s linear, background-color 0.2s linear, border 0.2s linear, box-shadow 0.2s linear, -webkit-box-shadow 0.2s linear;
    color: #2d8cf0;
    background-color: #fff;
}
.my-button-fc img,
.my-button-base img{
    margin-right: 8px;
}
.my-button-ds{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}


.ivu-select-single .ivu-select-selection,
.ivu-input{
    height: 28px !important;
    border-radius: 2px !important;
}
.ivu-select-input{
    height: 28px !important;
    line-height: 28px !important;
}

.ivu-btn{
    padding: 0 18px !important;
    font-size: 12px !important;
    border-radius: 2px !important;
    height: 28px !important;
}
.ivu-checkbox-group{
  font-size: 12px !important;
}
/*选择框*/

/*table--头部固定样式--开始*/

.head-fixed-table table {
    border-collapse: collapse;
    table-layout:fixed;
}

.head-fixed-table tbody {
    display: block;
    border-left: 1px solid #F0F0F0;
    overflow-y: scroll;
}

.head-fixed-table table thead,
.head-fixed-table tfoot,
.head-fixed-table tbody tr {
    display: table;
    border-collapse: collapse;
    width: 100%;
    table-layout: fixed;
}

.head-fixed-table thead tr th{
    background-color: #F9FAFE;
    border-bottom: 1px solid #F0F0F0;
    word-break: break-all;
    text-align: left;
    height: 40px;
    padding: 0 8px;
    color: #51566A;
    font-weight: bold;
    border-radius: 2px;
    position: relative;
    /* overflow: hidden; */
    text-overflow: ellipsis;
    white-space: nowrap;
}
.head-fixed-table thead tr th.right,
.head-fixed-table tbody tr td.right{
	text-align: right;
}

.head-fixed-table thead tr th.center,
.head-fixed-table tbody tr td.center{
	text-align: center;
}

.head-fixed-table thead tr td:last-child,
.head-fixed-table thead tr th:last-child{
    border-right: 1px solid #F0F0F0;
}

.head-fixed-table tbody tr td{
    padding: 8px;
    border-bottom: 1px solid #F0F0F0;
    word-break: break-all;
    text-align: left;
    border-radius: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: revert;
    color: #51566A;
}

.head-fixed-table tbody.top tr td{
   vertical-align: top;
}

.head-fixed-table table thead,
.head-fixed-table tfoot {
    width: calc(100% - 6px);
    border-top: 1px solid #e9eaec;
    border-left: 1px solid #e9eaec;
}

/*.head-fixed-table tbody tr:nth-child(even) {*/
/*    background-color: #FAFAFA;*/
/*}*/

/*.head-fixed-table tbody tr:nth-child(odd) {*/
/*    background-color: #fff;*/
/*}*/

/*.head-fixed-table tbody tr:hover {*/
/*    background-color: #F3F9FF;*/
/*}*/

/*table--头部固定样式--结束*/


/*table 操作一栏固定宽度 --- 开始*/
.public-operation{
    font-size: 0;
}
.public-operation>a{
    color: #2d8cf0;
    cursor: pointer;
    font-size: 12px;
    margin-right: 8px;
}
.public-operation>a.red{
    color: red;
}
.operation-width{
    width: 120px;
}
/*table 操作一栏固定宽度 --- 结束*/

/*弹框超出高度,有滑动--开始*/
.max-height-auto{
	max-height: 500px !important;
}
/*弹框超出高度,有滑动--结束*/



/* table头部固定,左右滑动--开始 */
.fixed-table {
    width: 100%;
    /* overflow: hidden; */
    position: relative;
    min-height: 100px;
}

.fixed-table table {
    border-collapse: collapse;
    border-spacing: 0px;
    width: 100%;
    border: #e9eaec solid 0px;
    table-layout: fixed;
    display: block;
}

.fixed-table table td {
    border: 1px solid #F0F0F0;
    text-align: left;
    border-left: 0px;
    width: 125px;
    word-break: break-all;
    padding: 8px;
    color: #51566A;
}

.fixed-table table th {
    background: #F9FAFE;
    color: #51566A;
    border: 1px solid #F0F0F0;
    white-space: nowrap;
    height: 40px;
    border-top: 0px;
    border-left: 0px;
    width: 125px;
    text-align: left;
    padding: 8px;
}

.fixed-table table tr:first-child tr {
  border: 0px;
}
.t_left {
    width: 125px;
    height: auto;
    float: left;
    border-top: 1px solid #e9eaec;
    border-left: 1px solid #e9eaec;
}

.t_right {
    position: absolute;
    right: 0px;
    top: 0;
    width: 125px;
    height: auto;
    border-top: 1px solid #e9eaec;
    border-left: 1px solid #e9eaec;
}


/*t_r_content和cl_freeze高度相差20px， 高度为外观显示高度，可根据情况调整*/

.t_r_content {
    width: 100%;
    background: #fff;
    overflow: auto;
}

.cl_freeze {
    overflow: hidden;
    width: 100%;
}
/* width 调整左边标题列宽度（左侧外观显示宽度）; 指定为width:auto 在Opera下显示有问题; height比 t_r_content 高度小20px*/
/* width 宽度为 右侧外观显示宽度 实际显示宽度大小为“t_r”宽度加上“cl_freeze”宽度 */
/* 如果显示不正常，调整 t_r的width 使其和t_left的width之和小于100%；等于100%时会有问题*/
.t_r {
    width: calc(100% - 125px);
    height: auto;
    float: left;
    border-top: 1px solid #e9eaec;
    border-left: 1px solid #e9eaec;
}


/*宽度比 t_r table 大20px （至少大20，小了滚动条滑到右侧显示有问题）*/

.t_r_t {
    width: 100%;
    overflow: hidden;
}

.bordertop {
    border-top: 0px;
}
/* table头部固定,左右滑动--结束 */


.fixed-table,
.head-fixed-table {
  position: relative;
  margin-top: 8px;
  margin-bottom: 50px;
}

/* 自定义table */
.customize-table{
  width: 100%;
  display: table;
  margin: 0 auto;
}
.customize-table-td{
  display: table-cell;
  vertical-align: middle;
  border-left: 1px solid #F0F0F0;
  border-top: 1px solid #F0F0F0;
  padding: 0 8px;
}
.customize-table-tr{
  display: table-row;
  text-align:center;
}

.heng-duo-bg{
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.heng-duo-bg .heng-duo-left{
  width: 300px;
  border-right: 1px solid #F0F0F0;
  border-bottom: 1px solid #F0F0F0;
}
.heng-duo-bg .heng-duo-right{
  width: 100%;
  border-right: 1px solid #F0F0F0;
}

.customize-table-td .heng-duo-bg:last-child .heng-duo-left{
  border-bottom: none;
}
.third-duo-bg{
  display: flex;
}
.third-duo-bg .third-duo-left{
  width: 250px;
  border: 1px solid red;
}
.third-duo-bg .third-duo-right{
  width: 100%;
  border: 1px solid blue;
}
.four-duo-bg{
  display: flex;
}
.four-duo-bg>div{
  flex: auto;
}
.four-duo1{
  width: 25%;
}
.four-duo2{
  width: 25%;
}
.four-duo3{
  width: 25%;
}
.four-duo4{
  width: 25%;
}
