body {
    margin: 15px 15px 15px 15px;
    background: #f2f2f2;
}
* {
    list-style: none;
}
.layuimini-container {
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    background-color: #ffffff;
}

.layuimini-main {
    margin: 10px 10px 10px 10px;
}

/**必填红点 */
.layuimini-form > .layui-form-item > .required:after {
    content: "*";
    color: red;
    position: absolute;
    margin-left: 4px;
    font-weight: bold;
    line-height: 1.8em;
    top: 6px;
    right: 5px;
}

.layuimini-form > .layui-form-item > .layui-form-label {
    width: 120px !important;
}

.layuimini-form > .layui-form-item > .layui-input-block {
    margin-left: 150px !important;
}

.layuimini-form > .layui-form-item > .layui-input-block > tip {
    display: inline-block;
    margin-top: 10px;
    line-height: 10px;
    font-size: 10px;
    color: #a29c9c;
}
.layui-input,
.layui-textarea {
    font-size: 14px !important;
}
/**搜索框*/
.layuimini-container .table-search-fieldset {
    margin: 0;
    border: 1px solid #e6e6e6;
    padding: 10px 20px 5px 20px;
    color: #6b6b6b;
}
.cancel_save_box_right {
    position: absolute !important;
    right: 40px;
    bottom: 20px;
}

.refund_text {
    font-size: 17px;
    text-align: center;
    margin-top: 69px;
    margin-left: 21px;
}


/**自定义滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

::-webkit-scrollbar-thumb {
    background-color: #9c9da0;
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
}

.flex {
    display: flex;
}
.f_a_c {
    align-items: center;
}
.f_j_c {
    justify-content: center;
}
.f_d_c {
    flex-direction: column;
}
.f_j_c_s_b {
    justify-content: space-between;
}
.f_j_c_s_a {
    justify-content: space-around;
}
.f_j_c_r {
    justify-content: right;
}
.p_r {
    position: relative;
}
.p_a {
    position: absolute;
}
.b_n_r {
    background-repeat: no-repeat;
}

.b_size {
    background-size: 100% 100%;
}
.color_w {
    color: white;
}
.vertical_line {
    width: 2px;
    height: 16px;
    background: #1a76eb;
}

.f_j_c_s_e {
    justify-content: space-evenly;
}
.h50 {
    height: 50px;
}
.bottom_line {
    border-bottom: 1px solid #dcdcdc;
}
.p_l20 {
    padding-left: 20px;
}
.bg_white {
    background: white;
}
.br_10 {
    border-radius: 10px;
}
.mt0 {
    margin-top: 0;
}
.layui-layer-dialog {
    min-width: 100px !important;
}
.badge-dot {
    width: 6px;
    height: 6px;
    padding: 0;
    border-radius: 50%;
    background-color: #ff5722;
}

.user_portrait {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}
.line_red {
    border: 1px solid red;
}
.line_green {
    border: 1px solid green;
}
.font14 {
    font-size: 14px;
    font-family: Source Han Sans CN;
    font-weight: 700;
}

.font12 {
    font-size: 12px;
    font-family: Source Han Sans CN;
    font-weight: 400;
}
.bg_white {
    background-color: white;
}

/* 已付款 */
.paid {
    color: #88ca5a;
    border: 1px solid #88ca5a;
    border-radius: 4px;
    padding: 4px 8px;
}

/* 已使用 */
.used {
    color: white;
    background: #90959f;
    border-radius: 4px;
    padding: 4px 8px;
}

.layui-table thead tr {
    background-color: #e2e4ec !important;
}

.layui-table-view {
    height: auto !important;
}
.layui-table-view .layui-table td,
.layui-table-view .layui-table th {
    padding: 8px 0 !important;
}
/* 未付款 */
.unpaid {
    color: #e4af5b;
    border: 1px solid #e4af5b;
    border-radius: 4px;
    padding: 4px 8px;
}
.pay_methods {
    color: white;
    background: #419af3;
    border-radius: 4px;
    padding: 6px 8px;
}
/* 未使用 */
.unused {
    color: white;
    background: #f96772;
    border-radius: 4px;
    padding: 4px 8px;
}
body .layerdemo {
    color: black;
}
body .layerdemo .layui-layer-title {
    background: white;
    border-bottom: hidden;
}
.disNone {
    display: none;
}
.disBlock {
    display: block !important;
}
.boder4 {
    border-radius: 4px !important;
}
.layui-table-page {
    display: flex;
    justify-content: center;
}
.btn_green {
    color: #88ca5a;
    border: 1px solid #88ca5a;
    border-radius: 4px;
    padding: 4px 8px;
    background: #f0fde9;
}

.btn_blue {
    color: #409eff;
    border: 1px solid #409eff;
    border-radius: 4px;
    padding: 4px 8px;
    background: #ecf4ff;
}

.btn-normal {
    background: #419af3 !important;
}

.btn-warm {
    background: #f5c770 !important;
}

.btn-danger {
    background: #fa2a48 !important;
}

.btn-activate {
    background: #88ca5a !important;
}

.big_bg {
    width: 100%;
    height: 100%;
}
.big_small_bg {
    width: 95%;
    height: 95%;
    /* border: 1px solid rebeccapurple; */
}

/* layui msg的自定义样式 */
body .success-class {
    min-width: 140px !important;
    min-height: 110px;
    /* border: 1px solid #2EB773; */
    border: 1px solid rgba(26, 26, 26, 1);
    box-shadow: none;
    /* background-color: #EDFAE9; */
    background-color: rgba(26, 26, 26, 0.7);
    border-radius: 5px;
    /* color: #2EB773; */
    color: #fff;
    text-align: center;
}

body .success-class .layui-layer-padding {
    padding: 0px;
    text-align: center;
    top: 8px;
    padding-top: 60px;
}

body .success-class .layui-layer-content .layui-layer-ico {
    background-image: url('../images/slices/small_hook.png');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 20%;
    width: 140px;
    left: 0px;
}

body .error-class {
    min-width: 140px !important;
    min-height: 110px;
    border: 1px solid rgba(26, 26, 26, 1);
    box-shadow: none;
    background-color: rgba(26, 26, 26, 0.7);
    border-radius: 5px;
    color: #fff;
    text-align: center;
}

body .error-class .layui-layer-padding {
    padding: 0px;
    text-align: center;
    top: 8px;
    padding-top: 60px;
}

body .error-class .layui-layer-content .layui-layer-ico {
    background-image: url('../images/slices/mistake.png');
    background-repeat: no-repeat;
    background-position: top;
    background-size: 20%;
    width: 140px;
    left: 0px;
}