// cover some element-ui styles
.el-breadcrumb__inner,
.el-breadcrumb__inner a {
    font-weight: 400 !important;
}

.el-upload {
    input[type='file'] {
        display: none !important;
    }
}

.el-upload__input {
    display: none;
}

.el-form-item__label {
    color: #000000d9 !important;
}


/* .el-table__header tr,
.el-table__header th {
    background-color: #2468F2;
    border-bottom: 1px RGBA(199, 199, 199, 1) solid;
    color: #F2F6FF,
} */

.cell {
    .el-tag {
        margin-right: 0;
    }
}

.small-padding {
    .cell {
        padding-left: 5px;
        padding-right: 5px;
    }
}

.fixed-width {
    .el-button--mini {
        padding: 7px 10px;
        min-width: 60px;
    }
}

.status-col {
    .cell {
        padding: 0 10px;
        text-align: center;
        .el-tag {
            margin-right: 0px;
        }
    }
}

// //取消nunber按钮
// .el-input {
//     input[type="number"] {
//         -moz-appearance: textfield;
//     }
// }

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
    transform: none;
    left: 0;
    position: relative;
}

// refine element ui upload
.upload-container {
    .el-upload {
        width: 100%;
        .el-upload-dragger {
            width: 100%;
            height: 200px;
        }
    }
}

// dropdown
//.el-dropdown-menu {
//  a {
//    display: block
//  }
//}
// fix date-picker ui bug in filter-item
.el-range-editor.el-input__inner {
    display: inline-flex !important;
}

// to fix el-date-picker css style
.el-range-separator {
    box-sizing: content-box;
}


/*
 element-ui 样式重置
*/

.elODialogModal {
    .el-dialog {
        margin-top: 7vh !important;
    }
    .el-dialog__body {
        padding-top: 0px;
        overflow-y: auto;
    }
}

.elODialogModalBodyH60vh {
    .el-dialog__body {
        min-height: 50vh;
        max-height: 65vh;
    }
}

.elODialogModalBodyH70vh {
    .el-dialog__body {
        min-height: 60vh;
        max-height: 70vh;
    }
}

.elODialogModalBodyH40vh {
    .el-dialog__body {
        min-height: 40vh;
        max-height: 55vh;
    }
}

.elODialogModalBodyW80vh {
    .el-dialog__body {
        width: 80vh;
    }
}

.elFormItemMarginB0px {
    .el-form-item {
        margin-bottom: 12px !important;
    }
}


/* Dialog
-------------------------- */
.el-dialog{
    border-radius: 4px;
    &.no-padding > .el-dialog__body{
        padding: 0px;
    }
}
.el-dialog__header{
    border-bottom: 1px solid #DCDFE6;
    // padding: 0px 30px !important;
    margin: 0 !important;
    font-weight: bold;

    .el-dialog__title{
        font-size: 16px;
    }
}
.el-dialog__headerbtn{
    .el-dialog__close{
        font-size: 18px;
    }
}
.el-dialog__body{
    padding: 20px 30px;
}
.el-dialog__footer{
    border-top: 1px solid #DCDFE6;
    padding: 0 20px !important;
    height: 54px;
    line-height: 54px;
}

.el-form{
    &.block{
        .el-form-item 
        .el-input, 
        .el-form-item
        .el-select,
        .el-form-item 
        .el-cascader, 
        .el-date-editor, 
        .el-input-number,
        .upload, .el-upload, .el-upload-dragger{
            width: 100%;
        }
    }
    &.inline{
        .el-form-item .el-input, .el-form-item .el-select{
            width: 220px;
            .el-input{
                width: 100%;
            }
        }
    }
}

.el-table{
    &.block{
        .el-input, .el-select, .el-cascader, .el-autocomplete{
            width: 100%;
        }
    }

    &.form{
        .el-table__body-wrapper td{
            padding: 0px;
            .el-form-item{
                margin: 10px 0;
                .el-form-item__content{
                    line-height: 1;
                }
            }
        }
    }
    h3{
        font-weight: 500;
    }
}

.el-input-number {
    .el-input-number__decrease,
    .el-input-number__increase{
        display: none !important;
    }
    .el-input__inner{
        text-align: left !important;
    }
}
  