@charset "utf-8";
[dir="ltr"] .tx-left{
    text-align: left;
}
[dir="ltr"] .tx-right{
    text-align: right;
}
[dir="rtl"] .tx-left{
    text-align: right;
}
[dir="rtl"] .tx-right{
    text-align: left;
}

.tx-center{
    text-align: center;
}
.pd-x-20{
    padding-left: 20px;
    padding-right: 20px;
}
.mg-y-10{
    margin-top: 10px;
    margin-bottom: 10px;
}
.mg-y-15{
    margin-top: 15px;
    margin-bottom: 15px;
}
.mg-y-20{
    margin-top: 20px;
    margin-bottom: 20px;
}
.mg-b-10{
    margin-bottom: 10px;
}
.mg-b-15{
    margin-bottom: 15px;
}
.mg-b-20{
    margin-bottom: 20px;
}
.mg-b-25{
    margin-bottom: 25px;
}
.mg-t-10{
    margin-top: 10px;
}
.mg-t-20{
    margin-top: 20px;
}
.mg-t-15{
    margin-top: 15px;
}
[dir="ltr"] .mg-l-10{
    margin-left: 10px;
}
[dir="rtl"] .mg-l-10{
    margin-right: 10px;
}
[dir="ltr"] .mg-l-15{
    margin-left: 15px;
}
[dir="rtl"] .mg-l-15{
    margin-right: 15px;
}
[dir="ltr"] .mg-r-10{
    margin-right: 10px;
}
[dir="rtl"] .mg-r-10{
    margin-left: 10px;
}
[dir="ltr"] .mg-l-20{
    margin-left: 20px;
}
[dir="rtl"] .mg-l-20 {
    margin-right: 20px;
}
[dir="ltr"] .mg-r-20{
    margin-right: 20px;
}
[dir="rtl"] .mg-r-20{
    margin-left: 20px;
}

.mg-t-5{
    margin-top: 5px;
}
.pd-b-100{
    padding-bottom: 100px;
}
.d-flex{
    display: -webkit-flex;
    display: flex;
    align-items: center;
}
.justify-content-end{
    justify-content: flex-end;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-center{
    justify-content: center;
}
.align-items-end{
    align-items: flex-end;
}
[dir="ltr"] .mg-l-5{
    margin-left: 8px;
}
[dir="rtl"] .mg-l-5{
    margin-right: 8px;
}

[dir="ltr"] .mg-r-5{
    margin-right: 8px;
}
[dir="rtl"] .mg-r-5{
    margin-left: 8px;
}

[dir="ltr"] .mg-r-15{
    margin-right: 15px;
}
[dir="rtl"] .mg-r-15{
    margin-left: 15px;
}

[dir="ltr"] .mg-r-30{
    margin-right: 30px;
}
[dir="rtl"] .mg-r-30{
    margin-left: 30px;
}
[dir="ltr"] .mg-l-50{
    margin-left: 50px;
}
[dir="rtl"] .mg-l-50{
    margin-right: 50px;
}
[dir="ltr"] .mg-l-60{
    margin-left: 60px;
}
[dir="rtl"] .mg-l-60{
    margin-right: 60px;
}
[dir="ltr"] .mg-l-70{
    margin-left: 65px;
}
[dir="rtl"] .mg-l-70{
    margin-right: 65px;
}

.mg-t-30{
    margin-top: 30px;
}
.tx-bold{
    font-weight: bold!important;
}
.tx-600{
    font-weight: 600;
}
.tx-12{
    font-size: 12px;
}
.tx-gray-600{
    color: #999;
}
.el-popover.with-shadow{
    box-shadow: 0 0 0 1px rgba(77,101,117,0.1), 0 3px 10px 0 rgba(77,101,117,0.2);
}
.color-primary{
    color: #5C6AC4;
}
.el-table__body-wrapper{
    overflow-x: hidden;
}

.el-dropdown-link {
    cursor: pointer;
    color: #212b36;
}
.el-alert.el-alert--warning {
    padding: 4px 8px;
}
.pos-relative{
    position: relative;
}
.el-autocomplete-suggestion li {
    line-height: normal!important;
    padding: 10px 20px!important;
}
.el-autocomplete-suggestion li.highlighted, .el-autocomplete-suggestion li:hover {
    background-color: rgb(236, 237, 247)!important;
    border-color: rgb(217, 220, 239)!important;
}
.el-dialog__body {
    padding: 10px 0!important;
}
.el-dialog__body .el-divider{
    margin: 0!important;
}
.el-dialog__body .el-form{
    margin: 20px;
}
.customer-popover .el-form-item .el-form-item__label,.customer-popover .el-form-item .el-form-item__content{
    line-height: inherit!important;
}
.el-dropdown{
    white-space: nowrap;
}
.no-wrap{
    white-space: nowrap;
}
input[name="price-input"]{
    text-align: right;
}
.timeline-customer .el-avatar{
    background: #bac0e6;
    color: #fff;
    border: 1px solid #a7aedf;
    font-size: 16px;
    font-weight: 600;
}
.timeline-self .el-avatar{
    background: #fff;
    color: #5C6AC4;
    border: 1px solid #fff;
    font-size: 16px;
    font-weight: 600;
}
.change-customer button{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}
.el-table--enable-row-hover .el-table__body tr:hover>td {
    background-color: rgb(236, 237, 247)!important;
    border-color: rgb(217, 220, 239)!important;
}
.el-table{
    font-size: 12px!important;
}
.el-timeline-item__timestamp.is-top {
    padding-top: 0!important;
}
.btn-group button{
    margin-right: 20px;
}
.page-footer .el-input__inner{
    font-size: 14px!important;
    /*font-weight: bold;*/
    color: #303133!important;
}
.page-footer .invoice-bottom>div.bold-input .el-input__inner{
    font-weight: bold;
    font-size: 16px!important;
}
.el-popover__title{
    font-weight: 600;
}
.el-upload__input {
    display: none!important;
}
[dir="ltr"] .pd-r-15{
    padding-right: 15px;
}
[dir="rtl"] .pd-r-15{
    padding-left: 15px;
}
[dir="ltr"] .pd-l-15{
    padding-left: 15px;
}
[dir="rtl"] .pd-l-15{
    padding-right: 15px;
}
[dir="ltr"] .pd-l-30{
    padding-left: 30px;
}
[dir="rtl"] .pd-l-30{
    padding-right: 30px;
}

.el-badge__content{
    box-sizing: content-box!important;
}

.el-menu-item:nth-child(2) .el-badge__content,
.el-menu-item:nth-child(2) .el-badge__content{
    background-color: rgb(230, 162, 60)!important;
    color: #fff!important;
}
.el-menu-item:nth-child(3) .el-badge__content,
.el-menu-item:nth-child(3) .el-badge__content{
    background-color: #5C6AC4!important;
    color: #fff!important;
}
.el-input__suffix-inner{
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 100%;
}
[dir="ltr"] .el-input__suffix-inner i {
    margin-right: 10px;
}

[dir="rtl"] .el-input__suffix-inner i {
    margin-left: 10px;
}

.el-input__suffix-inner i {
    font-size: 20px;
}


a.el-link:hover,a.el-link:focus{
    text-decoration: none;
}
a.el-link{
    font-weight: normal;
}
label {
    font-weight: normal;
}
.invoice .el-card{
    overflow: visible;
    border: none;
}
.invoice .el-table td, .el-table th{
    padding: 6px 0!important;
}
.tabs{
    margin: 0 ;
    align-items: flex-end;
    position: relative;
}
.invoice .table-only::after,
.invoice1 .table-only::after {
    content: "";
    border-bottom: 8px solid rgb(46, 46, 86);
    position: absolute;
    top: -7px;
}

[dir="ltr"] .invoice .table-only::after,
[dir="ltr"] .invoice1 .table-only::after {
    left: 0;
    border-left: 10px solid transparent;
}

[dir="rtl"] .invoice .table-only::after,
[dir="rtl"] .invoice1 .table-only::after {
    right: 0;
    border-right: 10px solid transparent;
}
.invoice .table-only::before,
.invoice1 .table-only::before {
    content: "";
    border-bottom: 8px solid rgb(46, 46, 86);
    position: absolute;
    top: -7px;
    width: 0;
    height: 0;
    bottom: auto;
}

[dir="ltr"] .invoice .table-only::before,
[dir="ltr"] .invoice1 .table-only::before {
    right: 0;
    left: auto;
    border-right: 10px solid transparent;
}

[dir="rtl"] .invoice .table-only::before,
[dir="rtl"] .invoice1 .table-only::before {
    left: 0;
    right: auto;
    border-left: 10px solid transparent;
}

.table-only .el-table__body-wrapper{
    display: none;
}
.tabs div.tab-btn {
    cursor: pointer;
    border-radius: 5px 5px 0 0;
    padding: 0 20px;
    height: 36px;
    box-sizing: border-box;
    line-height: 36px;
    display: inline-block;
    list-style: none;
    font-size: 14px;
    font-weight: 500;
    color: #303133;
    position: relative;
    background: rgba(92, 106, 196, 0.12);
}

[dir="ltr"] .tabs div.tab-btn {
    float: left;
    margin-right: 3px;
}

[dir="rtl"] .tabs div.tab-btn {
    float: right;
    margin-left: 3px;
}

.tabs div.active{
    background: rgb(67, 70, 127);
    color: rgb(255, 255, 255);
    height: 40px;
    line-height: 40px;
    /*box-shadow: 8px 19px 25px 2px rgba(0,0,0,0.4);*/
}
.pos-absolute{
    position: absolute;
    bottom: 5px;
}
[dir="ltr"] .pos-absolute {
    right: 0;
    left: auto;
}
[dir="rtl"] .pos-absolute {
    left: 0;
    right: auto;
}
.table-wrap{
    position: relative;
}
.invoice .table-wrap .table-only,.invoice1 .table-wrap .table-only{
    margin: 0 -30px -36px!important;
    position: relative;
    /*			z-index: 1;*/
    overflow: visible;
    box-shadow: 0 -14px 5px -12px rgba(0,0,0,0.3);
}
[dir="ltr"] .invoice .table-wrap .table-only .el-table__header-wrapper thead th:first-child .cell,
[dir="ltr"] .invoice1 .table-wrap .table-only .el-table__header-wrapper thead th:first-child .cell {
    padding-left: 20px;
}

[dir="rtl"] .invoice .table-wrap .table-only .el-table__header-wrapper thead th:first-child .cell,
[dir="rtl"] .invoice1 .table-wrap .table-only .el-table__header-wrapper thead th:first-child .cell {
    padding-right: 20px;
}

.invoice .table-wrap .table-only .el-table__header-wrapper thead th,.invoice .table-wrap .table-with-body .el-table__header-wrapper thead th,
.invoice1 .table-wrap .table-only .el-table__header-wrapper thead th,.invoice1 .table-wrap .table-with-body .el-table__header-wrapper thead th{
    border: none;
    padding: 0!important;
    height: 36px;
    line-height: 36px;
}
.el-table--border.table-with-body::after, .el-table--group.table-with-body::after{
    display: none;
}
.el-table--border.table-with-body{
    border-left: none;
    overflow: visible;
}
.el-table--border.table-with-body .gutter{
    background: rgb(67, 70, 127);
}
.el-table.table-with-body td, .el-table.table-with-body th.is-leaf {
    border-bottom: 0;
}

[dir="ltr"] .el-button i.fa {
    margin-right: 5px;
}
[dir="rtl"] .el-button i.fa {
    margin-left: 5px;
}
.el-message{
    top: 50%;
    transform: translateY(-50%);
}
.el-upload-dragger {
    height: 130px!important;
}
.el-upload-dragger .el-icon-upload {
    margin: 10px 0 10px!important;
}
.invoice .el-table__body-wrapper,.invoice1 .el-table__body-wrapper {
    overflow: visible;
}
.invoice .sku-with-error i{
    position: absolute;
    left: -35px;
    margin: 0;
    font-size: 18px;
}
.input-btn{
    text-decoration: none;
}
.input-btn:hover,.input-btn:focus{
    text-decoration: none;
}
.input-btn>span{
    display: block;
    border: 1px solid #DCDFE6;
    border-radius: 100%;
    width: 14px;
    height: 14px;
    background-color: #FFF;
    cursor: pointer;
    box-sizing: border-box;
    position: relative;
}
.input-btn.active{
    color: #5C6AC4;
}
.input-btn.active>span{
    border-color: #5C6AC4;
    background: #5C6AC4;
}
/* 圆点位置调整 */
[dir="ltr"] .input-btn.active > span:after {
    left: 50%;
    right: auto;
}

[dir="rtl"] .input-btn.active > span:after {
    left: auto;
    right: 50%;
}

.input-btn.active > span:after {
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background-color: #FFF;
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    transition: transform 0.15s ease-in;
}

/* 表单错误提示位置调整 */
[dir="ltr"] .el-form-item__error {
    left: 0 !important;
    right: auto;
}

[dir="rtl"] .el-form-item__error {
    left: auto;
    right: 0 !important;
}

.el-form-item__error {
    position: relative !important;
    top: 0 !important;
    margin: 5px 0 15px !important;
}

.input-with-select textarea{
    border: none;
}
.figure-list{
    margin: 0;
    padding: 0;
}
.figure-list:after{
    content: "";
    display: block;
    clear: both;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.figure-list li{
    list-style: none;
    float: left;
    width: 23.5%;
    margin: 0 2% 2% 0;
}
.figure-list figure{
    border: 1px solid #ddd;
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding-bottom: 100%; /* 关键就在这里 */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.figure-list figure a{
    display: block;
    position: absolute;
    width: 100%;
    top: 0;
    bottom: 0;
}
.figure-list figure .btn {
    position: absolute;
    right: 0;
    display: none;
    width: auto;
    height: auto;
    bottom: auto;
    background: rgba(255, 255, 255, 0.6);
    padding: 0;
    line-height: 0;
    border-radius: 0;
    color: #333;
}

[dir="ltr"] .figure-list figure .btn {
    right: 0;
    left: auto;
}

[dir="rtl"] .figure-list figure .btn {
    left: 0;
    right: auto;
}

.figure-list figure:hover .btn{
    display: block;
}
.page-footer .invoice-bottom>div.normal-input .el-input__inner {
    font-weight: normal;
    font-size: 14px!important;
}
.tab-btn.active .fa-commenting{
    color: #fff!important;
}
.warning-row,.warning-row td,.el-table__row--striped.warning-row,.el-table__row--striped.warning-row td{
    background-color: #CACCDA!important;
}
.warning-row .cell div>.tx-600,.warning-row .cell div>.no-wrap>span{
    text-decoration: line-through;
    text-decoration-color: rgb(67, 70, 127);
    -moz-text-decoration-color: rgb(67, 70, 127); /* 针对 Firefox 的代码 */
}
.invocie .el-table td,.invocie1 .el-table td{
    border-top: 1px solid #EBEEF5!important;
}
.tx-right-input input{
    text-align: right!important;
}
.el-drawer__body .el-form-item__label{
    color: #999!important;
}
.tx-success{
    color: #67C23A!important;
}
.tx-warning{
    color: #E6A23C!important;
}
.table-wrap{
    position: relative;
}
.el-main{
    overflow: visible!important;
}
.table-wrap .tab-btn {
    position: absolute;
    top: 4px;
    color: rgb(245, 108, 108);
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
}

[dir="ltr"] .table-wrap .tab-btn {
    left: -60px;
    right: auto;
}

[dir="rtl"] .table-wrap .tab-btn {
    left: auto;
    right: -60px;
}

.table-wrap .tab-btn:before {
    content: "";
    width: 0;
    height: 0;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-bottom: 22px solid rgb(245, 108, 108);
    position: absolute;
    top: 2px;
}

[dir="ltr"] .table-wrap .tab-btn:before {
    left: 2px;
    right: auto;
}

[dir="rtl"] .table-wrap .tab-btn:before {
    left: auto;
    right: 2px;
}

.table-wrap .tab-btn span{
    position: absolute;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
    color: #fff;
    font-size: 12px;
}
button.with-disabled{
    border: 1px solid #DCDFE6!important;
    color: #C0C4CC!important;
    background-color: transparent!important;
}
button.with-disabled:hover,button.with-disabled:active,button.with-disabled:focus{
    border: 1px solid #DCDFE6!important;
    color: #C0C4CC!important;
    background-color: transparent!important;
}
.table-with-body2:before{
    display: none!important;
}
.drawer-outline:focus,.drawer-outline:active{
    outline: none!important;
}
.el-drawer__body,.el-drawer__body .el-scrollbar{
    height: 100%;
}
.drawer-outline .el-step__title.is-finish,.drawer-outline .el-step__title.is-process,.drawer-outline .el-step__title.is-wait,
.drawer-outline .el-step__description.is-finish,.drawer-outline .el-step__description.is-process,.drawer-outline .el-step__description.is-wait {
    color: #303133;
    font-weight: bold;
}
.drawer-outline .el-step__head.is-finish,.drawer-outline .el-step__head.is-process,.drawer-outline .el-step__head.is-wait {
    color: #5C6AC4;
    border-color: #5C6AC4;
}
.with-preview:before {
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(245, 247, 250, 0.6);
    position: absolute;
    top: 0;
    z-index: 9;
}

[dir="ltr"] .with-preview:before {
    left: 0;
    right: auto;
}

[dir="rtl"] .with-preview:before {
    left: auto;
    right: 0;
}

.v-tour .close-tour {
    position: absolute;
    top: 6px;
}

[dir="ltr"] .v-tour .close-tour {
    right: 5px;
}

[dir="rtl"] .v-tour .close-tour {
    left: 5px;
}

.v-tour__target--highlighted {
    box-shadow: 0 0 0 99999px rgba(0, 0, 0, .4) !important;
}

.invoice .el-table .showrow .el-table__expand-column {
    border-right: none !important;
    padding-left: 5px !important;
}

[dir="rtl"] .invoice .el-table .showrow .el-table__expand-column {
    border-left: none !important;
    padding-right: 5px !important;
}

.showrow .el-table__expand-column .el-table__expand-icon .el-icon-arrow-right:before {
    content: "\e6d9"!important;
}
.showrow .el-table__expand-column .el-table__expand-icon--expanded {
    transform: rotate(0)!important;
}
.showrow .el-table__expand-column .el-table__expand-icon.el-table__expand-icon--expanded .el-icon-arrow-right:before {
    content: "\e6d8"!important;
}
.invoice .el-table td.el-table__expanded-cell{
    padding: 0!important;
}
.invoice .el-table td.el-table__expanded-cell .el-table{
    margin: 0 10px 0 10px;
    border-right: 1px solid #EBEEF5;
    border-left: 1px solid #EBEEF5;
    border-top: 1px solid #EBEEF5;
}
.invoice .el-table td.el-table__expanded-cell .el-card .el-card__body{
    padding: 0!important;
    background: #fff;
}
.invoice .el-table td.el-table__expanded-cell .el-card .el-card__body>div{
    margin: 0 0 0 20px;
    padding: 10px 0;
}
.invoice .el-drawer__header .el-drawer__close-btn {
    outline: none;
}
.invoice .el-drawer__body>.el-divider--horizontal {
    margin: 0!important;
}

.invoice .el-dialog__body .el-tabs{
    position: relative;
}
.invoice .el-dialog__body .el-tabs:before {
    content: "";
    width: 20px;
    height: 1px;
    position: absolute;
    top: 40px;
    background: #E4E7ED;
}

[dir="ltr"] .invoice .el-dialog__body .el-tabs:before {
    left: -20px;
}

[dir="rtl"] .invoice .el-dialog__body .el-tabs:before {
    right: -20px;
}

.invoice .el-dialog__body .el-tabs .el-tabs__item{
    background: rgb(236, 237, 247);
}
.invoice .el-dialog__body .el-tabs .el-tabs__item.is-active{
    background: #fff;
}
.invoice .el-dialog__body{
    word-break: break-word!important;
}
#invoiceContainer .el-table td {
    border-top: 1px solid #EBEEF5!important;
}

.customer-item {
    width: 100%;
    font-size: 14px;
    padding: 0 10px 0 0;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #606266;
    height: 34px;
    line-height: 34px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.customer-item:hover,
.customer-item.active {
    background: #F5F7FA;
}
.customer-item > span {
    color: rgb(132, 146, 166);
    font-size: 13px;
}

[dir="ltr"] .customer-item > span {
    margin-left: 10px;
}

[dir="rtl"] .customer-item > span {
    margin-right: 10px;
}

.image-slot {
    width: 100%;
    height: 100%;
}

.image-slot .el-icon-picture-outline {
    position: absolute;
    top: 50%;
    margin-top: -10px;
}

[dir="ltr"] .image-slot .el-icon-picture-outline {
    left: 50%;
    margin-left: -10px;
}

[dir="rtl"] .image-slot .el-icon-picture-outline {
    right: 50%;
    margin-right: -10px;
}

/*.invoice .el-table td.el-table__expanded-cell .el-card .el-card__body div .el-table th,
.invoice .el-table td.el-table__expanded-cell .el-card .el-card__body div .el-table td{
	background-color: rgb(236, 237, 247)!important;
    border-color: rgb(217, 220, 239)!important;
}*/
.invoice .el-table__header{
    margin: 0;
}
.invoice .el-table__header thead > tr > th div{
    color: #fff;
}
.no-wrap .el-alert__title {
    font-size: 12px!important;
    line-height: 12px!important;
}
@media print {
    .invoice,.invoice td .el-alert,.invoice .step-wrap,.invoice .el-aside,.invoice header,.invoice #messageContainer,.invoice .page-footer-fixed {
        display: none;
    }
    .page-content {
        height: auto!important;
    }
    body{
        -webkit-print-color-adjust:exact;
        -moz-print-color-adjust:exact;
        -ms-print-color-adjust:exact;
        print-color-adjust:exact;
    }
}
@page{
    margin:0
}

.tag1 {
    background-color: #de3f33;
    position: relative;
    text-align: center;
    color: #fff;
    line-height: 40px;
    width: 150px;
    margin: 100px auto;
}
.tag1:before {
    content: '';
    width: 0;
    height: 0;
    border-bottom: 5px solid #b23838;
    position: absolute;
    top: -5px;
}

[dir="ltr"] .tag1:before {
    left: 0;
    border-left: 5px solid transparent;
}

[dir="rtl"] .tag1:before {
    right: 0;
    border-right: 5px solid transparent;
}

.tag {
    width: 0;
    height: 0;
    border-bottom: 5px solid #b23838;
    border-left: 5px solid transparent;
    position: absolute;
    top: -5px;
}

[dir="ltr"] .tag {
    left: 0;
}

[dir="rtl"] .tag {
    right: 0;
}

