body,
html {
    /* font-size: 60px; */
    /* -moz-user-select: none;
  -khtml-user-select: none;
  user-select: none; */
}

#app {
    padding-bottom: 50px;
}

[v-cloak] {
    display: none;
}

* {
    box-sizing: border-box !important;
    font-size: 15px !important;
}

.p_c:hover {
    cursor: pointer;
}

a:hover {
    cursor: pointer;
}


.layui-btn {
    border-radius: 4px;
}

body,
button,
input,
textarea {
    font: 100%/1 "Helvetica Neue", Helvetica, STHeiTi, "Microsoft YaHei";
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
dl,
dt,
dd,
ul,
ol,
li,
th,
td,
p,
blockquote,
pre,
form,
fieldset,
legend,
input,
button,
textarea,
article,
aside,
footer,
header,
hgroup,
nav,
section,
menu {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* table,
thead,
tbody {
    display: block
} */

/* table tbody ::-webkit-scrollbar {
    display: none !important
} */

/* thead {
    width: calc( 100% - 1em )
}

thead,
tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
} */

/* tbody {
    max-height: 500px;
    overflow-y: auto;
    border-bottom: 1px solid #eee;
} */

.layui-layer-shade {
    background-color: rgba(0, 0, 0, .8) !important;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-size: 14px;
}

body::-webkit-scrollbar {
    display: none
}

.color_red {
    color: red
}

.color_y {
    color: #FF8011;
}

.layui-btn-error {
    background-color: #f00;
}

/* 翻页 */
.page_show {
    text-align: center;
    padding: 10px 0;
    width: 100%;
    margin-top: 10px;
}

.page_show .page {
    color: #f00;
}

.page_show span {
    margin: 0 5px;
}

.page_show input {
    border: 1px solid #eee;
    width: 50px;
    padding: 5px;
    text-align: center;
}

.page_li {
    border: 1px solid #eee;
    padding: 5px 8px;
    display: inline-block;
    border-radius: 2px;
}

.page_li:hover {
    cursor: pointer;
}

.page_li_act {
    color: #FF8011;
    border: 1px solid #FF8011;
}

.button_confirm {
    border-style: solid;
    border-width: 1px;
    border-color: #D3D3D3;
    background-color: #fff;
    padding: 0.2% 0.5%;
    border-radius: 3px;
    cursor: pointer;
}

.self_s_input {
    border: 1px solid #ddd;
    width: 200px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    border-radius: 4px;
    /* margin: 5px 5px 5px 0; */
    margin-bottom: 5px;
    font-size: 14px;
    position: relative;
}

.seModel {
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 999;
    border: 1px solid #ddd;
    border-radius: 2px;
    display: flex;
    flex-direction: row;
    background-color: #fff;
}

.seModel .d {
    height: 200px;
    overflow-y: auto;
    min-width: 150px;
    border-right: 1px solid #ddd;
}

.seModel .d div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    color: #333;
    padding: 2px 5px;
}

.fNory {
    width: 100%;
    display: inline-block;
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}

.seModel .d div img {
    width: 8px;
    height: 8px;
    object-fit: contain;
}

.self_s_input1 {
    width: 120px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
}

.row_flex_f_input {
    width: 390px;
    color: #666;
    margin-left: 10px;
}

.row_flex_s_input_div {
    margin-left: 10px;
    background-color: #f5f5f5;
}

.row_flex_s_input_div p {
    padding: 0 5px;
}

.edid_td {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.edid_td span,
.edid_td a {
    display: inline-block;
    color: #FF8011;
    border-bottom: 1px solid #FF8011;
}

.no_view_t {
    /* text-align: center; */
    color: #666;
    padding: 20px;
    line-height: 20px;
}


/* 列表顶部状态栏 */
.row_flex_top {
    padding: 20px;
}

.row_flex_top div {
    background-color: #f5f5f5;
    padding: 10px 15px;
}

.row_flex_top .act {
    background-color: #FF8011;
    color: #fff;
}


.row_top_list {
    display: flex;
    flex-direction: row;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.row_top_list div {
    padding: 0 5px;
    padding: 20px;
    text-align: center;
}

.row_top_list .act {
    border-bottom: 2px solid #FF8011;
    color: #FF8011;
    font-weight: bold;
}

.row_top_out {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #eee;
    padding-right: 50px;
}

.row_top_out .row_top_list {
    border: none;
}

/* 图片上传 */
.row_img_div {
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #666;
    font-size: 14px;
    border-radius: 5px;
    margin: 0 10px 10px 0;
    position: relative;
    overflow: hidden;
}

.row_imgPos {
    width: 100px;
    height: 100px;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.row_imgPos label {
    color: #fff;
    padding: 5px;
    background: none;
    text-decoration: underline;
    cursor: pointer;
}

.row_img_div .close {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
    width: 20px;
    height: 20px;
    margin: 0;
}

.row_img_div p {
    font-size: 20px;
    margin-bottom: 5px;
}

.row_img_div .img {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
    object-fit: cover;
    border: 1px solid #ddd;
    margin: 0;
    border-radius: 5px;
}

.row_img_div .pdf {
    width: 20px;
    height: 20px;
    margin: 40px;
}

.row_img_div span {
    display: inline-block;
    width: 100px;
    height: 15px;
    line-height: 15px;
    background-color: #ddd;
    position: absolute;
    bottom: 0;
    left: 0;
}



.row_flex {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row_flex_top_btw {
    justify-content: space-between;
    width: 100%;
    margin: 10px 0;
    min-width: 600px;
    overflow: auto;
}

.row_flex_top_btw div {
    flex: 1;
    min-width: 150px;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin: 0 10px 0 0;
    color: #333;
    height: auto;
}

.row_flex_top_btw div:first-child {
    margin-left: 0;
}

.row_flex_top_btw p {
    font-size: 24px !important;
}

.row_flex_top_btw div .h1 {
    font-size: 30px !important;
    display: inline-block;
    margin-right: 5px;
    /* letter-spacing: 1px; */
}


/* 表格 */
.table_div {
    width: 100%;
    min-width: 1000px;
}

.th_div_o {
    width: 100%;
    padding-right: 15px;
}

.scr_div_o {
    width: 100%;
    overflow: hidden;
    /* padding-right: 17px; */
    overflow-y: scroll;
}

/* .scr_div_o:hover {
    padding-right: 0;
    overflow-y: scroll;
} */

.th_div {
    display: flex;
    flex-direction: row;
    width: 100%;
    border: 1px solid #eee;
    background-color: #f5f5f5;
    color: #666;
    position: relative;
}

.th_div p {
    flex: 1;
    /* border-right: 1px solid #ddd; */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 5px;
    word-break: break-all;
}

.th_div p:last-child {
    border-right: none;
}

.tr_div {
    width: 100%;
    overflow: auto;
    min-height: 100px;
    /* overflow: overlay; */
}


.tr_div_d {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.tr_div_d p {
    flex: 1;
    /* border-left: 1px solid #ddd; */
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5px;
    text-align: center;
    word-break: break-all;
    color: #333;
}

.table_div .serial {
    flex: .5;
}

.tr_div_d:hover {
    background-color: #f5f5f5;
}

.tr_div_d p:last-child {
    border-right: 1px solid #ddd;
}

.tr_div_d span,
.tr_div_d a {
    border-bottom: none;
    text-decoration: underline;
}

.switch_label {
    background-color: #FF8011;
    width: 55px;
    height: 20px;
    border-radius: 20px;
    display: inline-block;
    margin: auto;
    position: relative;
    color: #fff;
    line-height: 20px;
    text-align: left;
    font-size: 11px !important;
    padding: 0 10px;
    cursor: pointer;
}

.switch_label2 {
    background-color: #666;
    text-align: right;

}

.switch_span {
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fff;
    top: 2px;
    right: 2px;
    border-radius: 50%;
}

.switch_span2 {
    left: 2px;
}

.layui-col-space5 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


/* 表格 */

.table {
    overflow: auto;
    width: 98%;
    margin: 0 1%;
    border-bottom: 0;
    border-right: 0;
    min-height: 300px;
}

.table table {
    border-collapse: separate;
    table-layout: fixed;
    width: 100%;
    /* 固定寬度 */
}

.table td,
.table th {
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    /* 单元格宽高 */
    width: 120px;
    text-align: center;
    padding: 10px;
    color: #333;
    line-height: 20px;
}

.table td {
    color: #666;
}

.table th {
    background-color: #f5f5f5;
    font-weight: normal;
}

.table .leftTable {
    position: sticky;
    left: 0;
    /* 首行在左 */
    z-index: 999;
    border-right: 1px solid #ddd;
}

.table .leftTable div {
    display: inline-block;
    width: 100px;
}

tbody .leftTable {
    background-color: #fff;

    &:hover {
        background-color: #f5f5f5;
    }
}

.table .t {
    z-index: 9999;
}


/* 控制左边固定的核心代码 */
.table .l {
    position: sticky;
    right: 0;
    /* 首行在左 */
    z-index: 1;
    background-color: #fff;
    /* border-left: 1px solid #ddd; */
    width: 150px;
    box-shadow: -5px 0px 5px rgba(0, 0, 0, 0.05);

    &:hover {
        background-color: #f5f5f5;
    }
}


.l span,
.l a {
    display: block;
}

/* 控制表头固定的核心代码 */
.table thead tr th {
    position: sticky;
    top: 0;
    padding: 20px 5px;
    z-index: 2;
    /* 第一列最上 */
}


.table .bTrBot td {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background-color: #f5f5f5;
    padding: 20px 0;
    /* 第一列最上 */
}



.table .lTh {
    z-index: 2;
    background-color: #f5f5f5;
    text-align: center;
}

.table .p_c {
    text-decoration: underline;
    color: #FF8011;
    line-height: 25px;
}

.table tbody tr {
    &:hover {
        background-color: #f5f5f5;
    }
}

.table .serial {
    width: 50px;
}

/* // tbody无数据居中 */
[data_empty_reminder]:empty:before {
    content: attr(data_empty_reminder);
    text-align: center;
    width: 100%;
    height: 80px;
    line-height: 80px;
    color: #999;
    display: block;
}

tbody[data_empty_reminder] {
    display: table-caption !important;
    caption-side: bottom;
    /* border: 2px solid #f0f0f0; */
    border-top: 0;
    color: #999;
}

tbody[data_empty_reminder]:empty:before {
    display: table-row;
}