/**
* 搜索栏
*/

.form-control:focus {
    border-color: #20A0FF;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(32, 160, 255, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(32, 160, 255, .6);
}

/*表格距离顶部距离*/
.page-info-top {
    margin-top: -36px;
    font-size: 14px;
}

.table-head {
    width: 100%;
    font-size: 20px;
    font-weight: bold;
    background: #E9E9EB;
    border-top: 1px solid #DDDDDD;
}

.table-title>td {
    line-height: 50px !important;
    padding: 0 0 0 10px !important;
    border-bottom-width: 0 !important;
}

/**
* 表格头部栏
*/
.table-header-style table tbody tr:first-child {
    border-top: 2px solid #dcdcdc;
}

.table-header-style table tbody tr {
    border-right: 2px solid #dcdcdc;
    border-bottom: 2px solid #dcdcdc;
    border-left: 2px solid #dcdcdc;
}

.table-header-style table tbody tr {
    height: 60px;
}

.table-header-style .dataTables_wrapper {
    margin-top: -36px;
}

.table-top .dataTables_wrapper {
    margin-top: 0;
}

.table-header-style table tbody tr {
    height: 60px;
}

.table-header-style table td {
    padding: 10px 0;
}

.table-header-style table tbody::before {
    content: '';
    height: 10px;
    display: block;
}

.table-header-style table tbody tr {
    border-right: 2px solid #dcdcdc;
    border-bottom: 2px solid #dcdcdc;
    border-left: 2px solid #dcdcdc;
}

.table-header-style table tbody tr:first-child {
    border-top: 2px solid #dcdcdc;
}

thead tr th {
    background: #F6F6F6 !important;
}

thead tr th {
    border-bottom: 0 !important;
    font-weight: bold;
}

.input-sm {
    padding: 0 10px;
    font-size: 14px;
}

/*表格选择框*/
.table-checkbox {
    margin: 0 !important;
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    -webkit-appearance: none;
    background-color: transparent;
    border: 0;
    outline: 0 !important;
    line-height: 20px;
    color: #d8d8d8;
}

.table-checkbox:after {
    content: "";
    display: inline-block;
    position: relative;
    border: 1px solid #bfcbd9;
    width: 20px;
    height: 20px;
    background-color: #fff;
    vertical-align: middle;
    text-align: center;
}

.table-checkbox:checked:after {
    content: "√";
    color: #F7BA2A;
    display: inline-block;
    position: relative;
    border: 1px solid #bfcbd9;
    width: 20px;
    height: 20px;
    background-color: #fff;
    vertical-align: middle;
    text-align: center;
}

/**
* 表格样式
*/
table {
    font-size: 14px;
    text-align: center;
}

.center {
    text-align: center;
}

.center a {
    text-decoration: none;
    color: #000;
    cursor: pointer;
}

.center>a {
    margin-right: 25px;
    white-space: nowrap
}

.center>a:last-child {
    margin-right: 0px;
}

/*表格全部会员选择框样式*/
.selectClass {
    vertical-align: middle;
    width: 100px !important;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    border-radius: 3px;
    padding: 0 10px;
    margin-left: 10px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.selectClass:focus {
    border-color: #20A0FF;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(32, 160, 255, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(32, 160, 255, .6);
}

/*表格内容居中*/
.datatables_center {
    /*text-align: center;*/
}

tbody tr td,
thead tr th {
    display: table-cell !important;
    vertical-align: middle !important;
    text-align: center !important;
}

.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    /*border-right: 0;*/
}

/**
* 表格分页栏按钮
*/

.pagination>li>a,
.pagination>li>span {
    color: #777;
    border: 1;
    outline: none;
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
    color: #20A0FF;
    background-color: #fff;
    border-color: #ddd;
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
    color: #777;
    background-color: #eee;
    border-color: #eee;
}


/**
* 表格分页栏-最后一个按钮样式
*/

.pagination>li.next>a:focus {
    background-color: #fff
}

.pagination>li.next>a:hover {
    background-color: #eee;
}

.pagination>li.next.disabled>a:hover {
    background-color: #fff;
}


/**
* 操作栏单选按钮
*/

form {
    /*margin-top: 0.1rem;*/
}

.mt-checkbox,
.mt-radio {
    display: inline-block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -ms-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.mt-checkbox,
.mt-radio,
.mt-checkbox,
.mt-radio {
    display: inline-block;
    /*margin-right: 15px;*/
}

.mt-checkbox>input,
.mt-radio>input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    filter: alpha(opacity=0);
}

.mt-checkbox>span,
.mt-radio>span {
    border: 1px solid #000;
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
}

input[type=checkbox],
input[type=radio] {
    margin: 4px 0 0;
    margin-top: 1px\9;
    line-height: normal;
}

.mt-radio>span {
    -ms-border-radius: 50% !important;
    -o-border-radius: 50% !important;
    border-radius: 50% !important;
}

.input-icon>i,
.mt-checkbox-list .mt-checkbox,
.mt-checkbox-list .mt-radio,
.mt-checkbox>input:checked~span:after,
.mt-radio-list .mt-checkbox,
.mt-radio-list .mt-radio,
.mt-radio>input:checked~span:after {
    display: block;
}

.mt-radio>span::after {
    left: 3px;
    top: 3px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #E84C3A;
}

.mt-radio>span::after {
    content: '';
    position: absolute;
    display: none;
}

.rechange_operation {
    padding-left: 0;
}


/**
* 操作台dataTables操作
*/
/*a.money_tb_disabled_undo_btn {
    color: #ccc;
}*/
.tb_space a,
.tb_space>span.tb {
    /*margin-right:15px;*/
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 5px;
}
/*20191127，添加按钮边框，btn的点击样式*/
a.tb_btn_border{
    border: 1px solid;
    border-radius: 3px;
    margin: 3px;
    display: inline-block;
}
a.tb_btn_border:hover{
    background-color: #fff;
}

a.tb_btn_gray {
    color: rgba(64, 67, 72, 0.5);
}

a.tb_btn_red {
    color: #E94C3B;
}

a.tb_btn_green {
    color: #2db04a;
}

a.tb_btn_purple {
    color: #662FAE;
}

a.tb_btn_blue {
    color: #2B6CA4;
}

a.tb_btn_black {
    color: #24262F;
}

a.tb_btn_orange,
.tb_btn_orange {
    color: #f7ba2a;
}
.tb_btn_border{
    border: 1px solid;
    border-radius: 3px;
    margin: 3px;
    display: inline-block;
    white-space: nowrap;
    padding: 2px;
}
.tb_btn_border:hover{
    background-color: #fff;
}

.tb_btn_red {
    color: #E94C3B;
}

.tb_btn_green {
    color: #2db04a;
}

.tb_btn_line {
    display: inline-block;
    width: 1px;
    height: 12px;
    background-color: #24262F;
}

/*编辑显示的按钮*/
table tr td span:nth-child(1) {
    margin-right: 20px;
}

table tr td span.el-icon-edit {
    display: none;
    margin-left: 10px;
}

table tr td {
    position: relative;
}

table tr td:hover span.el-icon-edit {
    display: block;
    margin-left: 10px;
    cursor: pointer;
    position: absolute;
    top: 37%;
    right: 10px;
}

table tr td img.product-img {
    float: left;
    width: 48px;
    height: 48px;
}

table tr td span.product-img-name {
    float: left;
    margin-left: 5%;
    line-height: 48px;
}

table tr td span.dt-span-align-left {
    float: left;
    margin-left: 5%;
}

table tr td span.dt-span-ellipsis-2 {
    padding: 0 2%;
    overflow: hidden; /* 超出部分隐藏 */
    text-overflow: ellipsis; /* 溢出用省略号显示 */
    display: -webkit-box; /* 将对象作为弹性伸缩盒子模型显示 */
    -webkit-box-orient: vertical; /* 从上导下垂直排列子元素（设置伸缩盒子的子元素排列方式） */
    -webkit-line-clamp: 2; /* 这个属性不是css的规范属性，需要组合上面2个属性，表示显示的行数 */
}

.table {
    /*margin-bottom:0 !important;*/
}

.open-table {
    border: 0 !important;
}

/**
* 优惠券dataTables操作
*/

.coupon_center {
    width: 100%;
    text-align: center;
}

.operation_width {
    width: 33%;
    display: inline-block;
    color: #000;
}


/*.operation_width a {
    text-decoration: underline;
    color: #000;
}*/


/**
 * dataTable
 * by pengwei 2017.3.28
 */

.dataTables_wrapper_outer_border {
    border: 1px solid #ccc;
    padding: 7px 20px;
    margin-top: 5px;
}

.dataTables_length {
    text-indent: 3px;
}

.dataTables_info {
    text-indent: 3px;
}

#saleProductTb_filter,
#noShelfProductTb_filter,
#recycleProductTb_filter {
    margin-bottom: 15px;
}