﻿
* {
    margin: 0;
    padding:0;

}
.break {
    word-wrap: break-word;
    word-break: break-all;
}
.break-word{
    text-overflow:ellipsis;
    white-space:nowrap;
    overflow:hidden;
    width:100%;
}
a {
    text-decoration: none !important;
}
:root {
    --moneyColor: #F56C6C;
    --yellow: #FF9A2E;
    --parmaryColor: #409eff;
    --green: #67C23A;
    --warning:#e6a23c;
    --success:#67c23a;
    --info:#909399;
    --parmaryhover:#66b1ff;
    --greenhover:#85ce61;
    --yellowhover:#ebb563;
    --moneyhover:#f78989;
    --infohover:#a6a9ad;
}
.far-info {
    color: var(--info);
}
.far-parmary {
    color: var(--parmaryColor);
}
.far-green {
    color: var(--green);
}
.far-yellow {
    color: var(--warning);
}
.far-money {
    color: var(--moneyColor);
}
.far-info:hover {
    color: var(--infohover);
}

.far-parmary:hover {
    color: var(--parmaryhover);
}

.far-green:hover {
    color: var(--greenhover);
}

.far-yellow:hover {
    color: var(--yellowhover);
}

.far-money:hover {
    color: var(--moneyhover);
}
.back_green {
    background-color: var(--green);
}
.back_yellow {
    background-color: var(--yellow);
}
.bac_gray {
    background-color: var(--info);
}
.content > h2 {
    height: 30px;
    line-height: 30px;
}
.bg_color {
    background-color: #f0f2f5;
}
@keyframes in {
    from {
        opacity: 0;
        transform: translate3d(-200px, 0, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}
@keyframes zoomIn {
    from {
        display: none;
        transform: scale3d(0.3, 0.3, 0.3);
    }

    100% {
        /*opacity: 1;*/
        display: block !important;
    }
}
@keyframes rotate {
    from {
      
        transform:rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}
.rotate{
    animation:rotate 1s linear infinite;
}
.cardState{
    display:inline-block;
    width:8px;
    height:8px;
    border-radius:50%;
    vertical-align:middle;
}
.wrap {
    margin: 20px;
    height: calc( 100vh - 68px);
    /*background-color:pink;*/
    animation: in .3s ease-out;
}
.top-wrap {
    background: #fff;
    padding: 15px;
    border-radius:4px;
    margin-bottom:10px;
    display:flex;
    align-items:center;
    font-size:14px;
    flex-wrap:wrap;
    /*border-bottom: 1px solid #f2f2f2;*/

}
    .top-wrap>section{
        display:flex;
        height:30px;
        /*width:180px;*/
        /*background-color:pink;*/
        margin-right:20px;
        /*width:17%;*/
        /*min-width:200px;*/
    }
        .top-wrap>button{
            margin-right:20px;
        }
        .top-wrap > section > .input-box {
            /*width:200px;*/
            /*width:20%;*/
            flex-grow:1;
        }
            .top-wrap > section > .input-box>input{
                /*width:30%;*/
            }
            .top-wrap > section > .label {
                /*width:80px;*/
                /*min-width:30px;*/
                /*text-align:right;*/
                margin-right: 10px;
                flex-shrink:0;
            }
        .top-wrap .el-form-item {
            margin-bottom: 0;
        }

.content {
    margin-top: 20px;
    background-color: #fff;
    padding: 15px;
    border-radius: 4px;
}

.el-table {
    margin-top: 10px;
}

.el-input-number {
    width: 200px;
}

.cursorPointer {
    cursor: pointer;
}
.flex_between{
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.fle{
    display:flex;
}
.fl_dia{
    flex-direction:column
}
.customMain{

}
.customMain > section {
    display: flex;
    margin-bottom:20px;
}
.customMain>section>.input-box{
    flex-grow:1;
}
.flex_c {
    display: flex;
    justify-content: center;
    align-items: center;
}
.grid{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(3,1fr);
    grid-row-gap: 10px;
    grid-column-gap: 20px;
}
.tx-c{
    text-align:center;
}
.label {
    height: 30px;
    line-height: 30px;
    /*width: 100%;*/
    /*border: 1px solid red;*/
}
.label-mini {
    height: 28px;
    line-height: 28px;
}
    select {
        border: none;
        outline: none;
        height: 100%;
        width: 100%;
        background-color: #fff;
        border: 1px solid #dcdfe6;
        padding: 0 15px;
        border-radius: 4px;
        font-size: 14px;
    }


     select option {
         all:unset;
       font-size:14px;
       padding:0 20px;
       white-space:nowrap;
       overflow:hidden;
       text-overflow:ellipsis;
       color:#606266;
       box-sizing:border-box;
       /*height:34px;
       line-height:34px;*/
       cursor:pointer;
    }
        select.decorated option:hover {
            /*background-color: pink !important;*/
            box-shadow: 0 0 10px 100px #1882A8 inset;
        }

.input-box {
    display: flex;
    height: 30px;
    align-items: center;
    position:relative;
}
.input-box-mini {
    height: 28px;
    display: flex;
    align-items: center;
    position: relative;

}

    .input-box > input[type=text], .input-box > input[type=password],.layui-input {
        width: 100%;
        padding: 0;
        -webkit-appearance: none;
        background-color: #fff;
        background-image: none;
        border-radius: 4px;
        border: 1px solid #dcdfe6;
        box-sizing: border-box;
        color: #606266;
        display: inline-block;
        font-size: 14px;
        height: 30px;
        line-height: 30px;
        outline: none;
        padding: 0 15px;
        transition: border-color .2s cubic-bezier(.645,.045,.355,1);
        width: 100%;
    }
.layui-form-select{
    width:100%;
}
.layui-laydate{
    /*z-index:1 !important;*/
}
/*.layui-layer-content{
    padding:0 !important;
}*/
.layui-form-select .layui-input {
    padding-left: 15px;
    padding-right: 15px;
}
        .input-box-mini > input[type=text], .input-box-mini > input[type=password] {
            width: 100%;
            padding: 0;
            -webkit-appearance: none;
            background-color: #fff;
            background-image: none;
            border-radius: 4px;
            border: 1px solid #dcdfe6;
            box-sizing: border-box;
            color: #606266;
            display: inline-block;
            font-size: 12px;
            height: 28px;
            line-height: 28px;
            outline: none;
            padding: 0 15px;
            transition: border-color .2s cubic-bezier(.645,.045,.355,1);
            width: 100%;
        }
.input-box > input[type=password], .input-box> input[type=text] {
    width: 100%;
    padding: 0;
    -webkit-appearance: none;
    background-color: #fff;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
}
    /*input:focus{
    box-shadow:none;
}*/
    input:hover {
        border-color: #c0c4cc !important;
        
    }

input:focus, .layui-input:focus {
    box-shadow: none;
    outline: none !important;
    /*border-color: #2d5769 !important;*/
    border-color: #309eff !important;
}
.layui-form-select dl dd.layui-this{
    background-color:transparent;
    color:var(--parmaryColor);
}
.layui-form-select dl {
    z-index: 999999999;
}

.layui-form-checked[lay-skin="primary"] > i {
    background-color: var(--parmaryColor);
    border-color: var(--parmaryColor) !important;
}
.layui-form-checkbox[lay-skin="primary"]:hover > i {
  
    border-color: var(--parmaryColor) !important;
}
.require::before {
    content: "*";
    color: #f56c6c;
    margin-right: 4px;
}
.input-box .err {
    position: absolute;
    left: 0;
    top: 30px;
    color: #f56c6c;
}
.input-box-mini .err {
    position: absolute;
    left: 0;
    top: 28px;
    color: #f56c6c;
}
button {
    /*background-color: #2d5769;*/
    background-color:#309eff;
    color: #fff;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:0 15px;
    /*padding: 12px 20px;*/
    height:30px;
    line-height:30px;
    font-size: 12px;
    border-radius: 4px;
    /*line-height: 1;*/
    /*border: 1px solid #2d5769;*/
    border:1px solid #309eff;
    cursor: pointer;
    transition:all .2s;
    text-decoration:none;
}
    .btn-mini{
        padding:0px 15px;
    }
.btn-del {
    background-color: #F56C6C;
    border:none;
}
.btn-edit {
    margin-right: 10px;
    background-color: transparent;
    color: #606266;
    border: 1px solid #dcdfe6;
}
.btn-success {
    background-color: var(--success);
    border: none;
}
.btn-info {
    background-color: var(--info);
    border: none;
}
.btn-warning {
    background-color: var(--warning);
    border: none;
}
button:hover {
    /*background-color: #39687d;*/
    background-color: #66b1ff;
}
.btn-del:hover {
    background-color: #f78989;
}
.btn-edit:hover {
    background-color: #ecf5ff;
    /*background-color: #4c8aa5;*/
    color: #409eff;
    border-color: #409eff;
}
.btn-warning:hover {
    background-color: #ebb563;
}
.btn-success:hover {
    background-color: #85ce61;
}
.btn-info:hover {
    background-color: #a6a9ad;
}
.btn-upload{
    background-color:var(--green);
    border:none;
}
    .btn-upload:hover {
        background-color: #85ce61;
    }
  /*表格默认*/
.table {
    width: 100%;
    /*border: 1px solid #ccc;*/
    background-color: #fff;
}

    .table td {
        text-align: left;
        height: 48px;
        line-height: 1.5;
        border-bottom: 1px solid #ebeef5;
        font-size: 14px !important;
        padding-left: 10px;
        color: #606266;
        padding: 0 10px ;
       word-wrap:break-word;
    }

.operation {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*padding-right: 30px;*/
}
    .operation i{
        vertical-align:middle;
    }
    .operation>span{
        cursor:pointer;
    }

    .table th {
        text-align: left;
        font-size: 12px;
        height: 48px;
        border-bottom: 1px solid #ebeef5;
        padding-left: 10px;
        color: #909399;
    }
.table tr{
    width:100%;
    background-color:#fff ;
}
.table tr td {
    word-wrap:break-word;
}
    .table td:last-child {
        text-align: center;
        padding-right: 30px;
    }
 
    .table th:last-child {
        text-align: center;
        padding-right: 30px;
    }

.table tr:nth-child(odd) {
    /*background-color: #fafafa;*/
}

.table tr:hover {
    background-color: #f5f7fa;
}
/*----样式攻击-----*/
#show_table tr:hover td {
    border-bottom: 1px solid #ebeef5;
}
.ml20{
    margin-left:20px;
}
ul.jPag-pages{
    height:30px
}
.odd{
    background-color:transparent;
}
button>i{
    vertical-align:middle;
    margin-right:5px;
}
.empty-table{
    text-align:center !important;
}
span.jPag-current {
    color: #fff;
    background-color: var(--parmaryColor) !important;
    border:none !important;
    border-radius:2px !important;
}
.jPag-pages > li > a, .jPag-first, .jPag-last ,.jPag-gobutton{
    border: none !important;
    background-color: #f4f4f5 !important;
    color: #606266 !important;
}
.jPag-first, .jPag-last, .jPag-gobutton {
    font-size: 12px;
}
span.jPag-goinput>input{
    padding:0.1em;
}
.jPaginate{
    height:28px !important;
    overflow:hidden !important;
}
.btn-box{
    display:flex;

}
#show_pages{
    margin-top:10px;
}
/* 样式攻击*/

.layui-laydate{
    box-shadow:none !important;
}
.layui-select-title{
    width:100%;
}

.layui-form-radioed, .layui-form-radioed > i, .layui-form-radio:hover > * {
    color: var(--parmaryColor) !important;
}
.layui-form-radio>i{
    font-size:17px !important;
}
.layui-upload-drag .layui-icon{
    color:var(--parmaryColor);
}
.layui-form-switch {
    margin-top: 0 !important;
}

.layui-form-onswitch {
    border-color: var(--parmaryColor) !important;
    background-color: var(--parmaryColor) !important;
}
.layui-laydate .layui-this>div{
    background-color:var(--parmaryColor) !important;
}
.arrow-down {
    position: absolute;
    right: 10px;
    color: #333;
}

#advancedSearch .layui-inline{
    margin-bottom:15px;
}