
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type='number'] { -moz-appearance:textfield; }

.custom-checkbox {
    display: inline-block;
    min-width: 125px;
    margin: 8px;
}
.custom-checkbox4List {
    margin: 0;
    padding-left: 28px;
}

.date-picker{
    language: 'zh-CN'
}

.check-middle {
    vertical-align: middle;
}

.custom-checkbox input[type=checkbox]:not(old),
.custom-checkbox input[type=radio   ]:not(old){
    width     : 0;
    margin    : 0;
    padding   : 0;
    font-size : 1em;
    opacity   : 0;
    line-height: 34px;
    height: 1em;
    position: absolute;
}

.custom-checkbox label {
    line-height: 24px !important;
    font-weight: normal;
    margin: 0;
    color: rgba(0,0,0,0.65);
}

.custom-checkbox input[type=checkbox] + label,
.custom-checkbox input[type=radio   ] + label{
    display       : inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.custom-checkbox input[type=checkbox] + label > img,
.custom-checkbox input[type=radio   ] + label > img{
    display     : inline-block;
    width       : 16px;
    height      : 16px;
    margin-right: 5px;
    margin-bottom: 0;
    opacity: 0.8;
    border: 0 none;
}

.custom-checkbox input[type=checkbox] + label > img
{
    background: url("../img/checkbox-normal.png");
    background-size: cover !important;
    pointer-events: none;
}

.custom-checkbox input[type=radio] + label > img
{
    background: url("../img/radio-normal.png");
    background-size: cover !important;
    pointer-events: none;
}

.custom-checkbox input[type=checkbox]:checked + label > img {
    background: url("../img/checkbox-checked.png") !important;
    opacity: 1;
    background-size: cover !important;
}
.custom-checkbox input[type=radio   ]:checked + label > img{
    background: url("../img/radio-checked.png") !important;
    opacity: 1;
    background-size: cover !important;
}

.custom-select {
    display: inline-block;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background: url("../img/select_icon.png") no-repeat scroll right center transparent !important;
    background-color: transparent;
    background-position-x: right;
    background-position-y: center;
    background-position: right 8px center !important;
    background-color: #FFFFFF !important;
    font-size: 12px;
    padding: 0px 10px 0px 10px;
    height: 32px;
    font-weight: normal !important;
    min-width: 256px;
    border: 1px solid #cecece;
    border-radius: 5px;
    margin: 5px 18px 5px 8px;
}

select::-ms-expand{
    display: none;
}

.btn-primary {
    background-color:#1890FF;
    border-color:#1890FF;
    min-width: 180px;
}

.btn-primary:hover {
    background-color:#1864ff;
    border-color:#1864ff;
}

.btn-primary.disabled {
    background-color:#c6c6c6;
    border-color:#c6c6c6;
}


.switch {
    display: inline-block;
    width: 40px;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.switch.switch-on {
    background-image: url('../img/symbols-switch-text-on.png');
}

.switch.switch-off {
    background-image: url('../img/symbols-switch-text-off.png');
}


.blockUI > img { height: 20px; margin-left: 5px; }
.blockUI > span { margin-left: 10px; font-size: 15px; }


.modal-title .fa { margin-right:5px; }
.modal-dialog .btn { min-width:60px; }


.dataTables_wrapper .table { width : 100% !important; }
.dataTables_wrapper .table > thead th,
.dataTables_wrapper .table > tbody td {
    vertical-align : middle !important;
    text-align: center;
    border-bottom: 1px solid #f1f1f1 !important;
}

.dataTables_wrapper .table > tfoot td {
    border-top: none !important;
}

.dataTables_wrapper .table tr > td > label { color:#949ba2; }

.dataTables_wrapper .table .child > table td { padding: 5px 0px 5px 10px !important; }
.dataTables_filter input{ font-weight: normal !important; }

.cell-style { min-width:50px !important; }
.cell-style3 { min-width:80px !important; }
.cell-style4 { min-width:120px !important; }
.cell-style2 { min-width:30px !important; }
.cell-style5 { min-width:25px !important; }
.cell-style6 { min-width:20px !important; }
.cell-index { min-width:50px !important; font-weight: normal !important; color: #222 !important; }

@media only screen and (max-width: 767px) {
    .dataTables_wrapper { padding : 20px 5px !important; }
}

.dataTables_wrapper .table > thead th {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #fafafa;
    font-family: 'SimHei-Regular';
}

.dataTables_wrapper .table > tbody td {
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white;
}

.dataTables_wrapper .table > tbody td .switch {
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.2em 0.3em;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: none !important;
    min-width: 25px !important;
    border-color: lightgray;
    color: #2d2d2d;
    margin: 0 3px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border-color: #1890FF !important;
    color: #000 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    border-color: #1890FF !important;
    color: #1890FF !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #1890FF !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    border-color: lightgray !important;
    color: #dedede !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    color: #dedede !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid #f1f1f1 !important;
}

.page-size{
    display: inline-block;
    float: right;
}

.page-size select {
    display: inline-block;
    appearance: none !important;
    -moz-appearance: none !important;
    -webkit-appearance: none !important;
    background: url("../img/datalist-bg.png") no-repeat scroll right center transparent !important;
    background-color: transparent;
    background-position-x: right;
    background-position-y: center;
    background-position: right 8px center !important;
    background-color: #FFFFFF !important;
    font-size: 12px;
    padding: 0px 10px 0px 6px;
    margin: 3px 10px 0 5px;
    height: 28px;
    font-weight: normal !important;
}

.page-num {
    display: inline-block;
    float: right;
    margin: 0 20px;
}

.page-num .txtPageNum {
    display: inline-block;
    font-size: 12px;
    padding: 0px 6px 0px 6px;
    margin: 3px 3px 0 5px;
    height: 28px;
    width: 45px;
    text-align: center;
    font-weight: normal !important;
}

div.DTE_Inline input {
    border: none;
    background-color: transparent;
    padding: 0 !important;
    font-size: 90%;
}

div.DTE_Inline input:focus {
    outline: none;
    background-color: transparent;
}