﻿html, body {
    height: 100%;
    margin: 0px;
    padding: 0px;
}

body {
    font-size: 14px;
    color: #676a6c;
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    background-color: white
}

::-webkit-scrollbar {
    width: .5rem;
    height: .5rem;
}
/* iframe底部会有个宽高，这边去掉 */
iframe::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

iframe div::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
}

.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: transparent;
    /*    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);*/
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #ccc;
}

    ::-webkit-scrollbar-thumb:hover {
        border-radius: 5px;
        background-color: #A3A3A3;
        -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    }

.pagination {
    border: 1px solid #DCDFE6;
    background: #FFF;
    color: #303133;
    height: 36px;
    line-height: 36px;
    padding: 0px 12px;
    margin-top: 5px;
}

.left-pagination {
    float: left !important;
}

.right-pagination {
    float: right !important;
    margin-top: 2px;
}

.pagination::after {
    clear: both;
}

div.search-box {
    border: 1px solid #ebebeb;
    margin: 0px 0px;
    padding: 5px;
    background-color: #fff;
}
    div.search-box.flex {
    flex-wrap:wrap;
    display:flex;
    }
    div.search-box.flex > div {
        padding-bottom: 10px;
        padding-right: 10px;
    }
    div.search-box .el-col {
        padding: 3px;
    }

.box-panel-content div.search-box {
    border: 0px solid #ebebeb;
    padding: 0px;
}


.el-dialog__body {
    /*border-top: 1px solid #e5e5e5;
    padding: 0px;*/
    padding: 0px;
    display: flex;
    flex-direction: column;
}

.el-dialog__header {
    padding: 14px;
}

.el-col.inline {
    display: inline-flex;
}

div.inline {
    display: inline-flex;
}

    div.inline .dateitem {
        display: flex;
    }


[class*=" el-icon-"], [class^=el-icon-] {
    padding-right: 4px;
}

.input-with-prepend {
    line-height: normal;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .input-with-prepend .input-prepend-text {
        background-color: var(--el-bg-color);
        color: var(--el-color-info);
        vertical-align: middle;
        display: flex;
        position: relative;
        border: 1px solid #dcdfe6;
        border-radius: var(--el-input-border-radius);
        padding: 0 20px;
        white-space: nowrap;
        border-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        align-items: center;
    }

    .input-with-prepend .el-input__inner {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

.el-form-item {
    margin-right: 18px;
}

.el-date-editor {
    --el-date-editor-width: 100%;
    --el-date-editor-monthrange-width: 100%;
    --el-date-editor-daterange-width: 100%;
    --el-date-editor-datetimerange-width: 100%;
}

.el-select {
    width: 100%;
}


.avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: table;
}

.avatar-uploader img {
    width: 100%;
    height: 100%;
}

.avatar-uploader .el-upload:hover {
    border-color: #409EFF;
}

.avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 100%;
    height: 100%;
    text-align: center;
    display: table-cell;
    vertical-align: middle;
}

.avatar {
    width: 100%;
    height: 100%;
    display: block;
}

.el-drawer__body {
    border-top: 1px solid #e5e5e5;
    margin: 0px;
    padding: 0px;
}

.el-drawer__header {
    margin-bottom: 12px;
}

.el-table-fixed-column--right div.cell {
    text-overflow: unset;
}

div.input-block {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
    color: #606266;
    box-sizing: border-box;
    outline: none;
    transition: .1s;
    font-weight: 500;
    user-select: none;
    vertical-align: middle;
    -webkit-appearance: none;
    background-color: #fff;
    border: 1px solid #dcdfe6;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
}

    div.input-block button {
        display: inline-flex;
        position: absolute;
        height: 100%;
        right: 0px;
        top: 0;
    }


.box-panel {
    clear: both;
    margin-bottom: 10px;
    margin-top: 0;
    padding: 0;
}

.box-panel-header {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #ffffff;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid;
    border-width: 2px 1px 1px 1px;
    color: inherit;
    margin-bottom: 0;
    padding: 5px 90px 5px 15px;
    min-height: 24px;
    position: relative;
    clear: both;
    font-weight: bold;
}

.box-panel-content {
    background-color: #ffffff;
    color: inherit;
    padding: 5px 5px 5px 5px;
    border-color: #e7eaec;
    border-style: none solid solid solid;
    border-width: 1px;
    clear: both;
}

.box-panel-tools {
    display: block;
    float: none;
    margin-top: 0;
    position: absolute;
    top: 5px;
    right: 15px;
    padding: 0;
    text-align: right;
}

.text-right {
    text-align: right;
}

.page-footer {
    position: fixed;
    bottom: 0px;
    border-top: 1px solid var(--border-color-light);
    text-align: right;
    left: 0px;
    right: 0px;
    background: #fff;
    height: 44px;
    line-height: 48px;
    padding-right: 30px;
    vertical-align: middle;
    z-index: 999;
}

.flex-list {
    display: flex;
}

.tox-notifications-container {
    z-index: 999999;
}

/* data-picker组件的样式 */

.flex {
    display: flex;
}

.data-picker {
}

    .data-picker .el-dialog__header {
        display: flex;
        align-items: center;
        height: 40px;
        background-color: #F4F4F4;
        padding: 0 !important;
        width: 100%;
    }

    .data-picker .el-dialog__headerbtn {
        top: 2px;
        width: 40px;
        height: 40px;
    }

    .data-picker .el-dialog__close {
        color: #000;
        font-weight: bold;
        font-size: 20px;
    }

.data-picker__title {
    color: #1C1C28;
    font-size: 14px;
    font-weight: 600;
    padding-left: 16px;
}

.data-picker__input {
    width: 650px;
    margin: 20px auto;
    font-size: 12px !important;
}

.data-picker__input__content {
    flex: 1;
    border: 1px solid #DEDFE0;
    border-radius: 5px;
    height: 34px;
    padding: 1px;
    line-height: 34px;
}

.data-picker .el-input__suffix {
    height: 100% !important;
    width: 80px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 1.5px 0;
    border-radius: 0 5px 5px 0;
    margin: -0.5px -2px 0 0;
    cursor: pointer;
}

.data-picker__input__btn {
    cursor: pointer;
}

.data-picker__content {
    margin: 0 30px;
}

.data-picker__result {
    display: flex;
    flex-wrap: wrap;
    height: 315px;
    overflow-y: auto;
    padding-bottom: 12px;
}

.data-picker__result__item {
    line-height: 34px;
    margin: 0 16px;
    cursor: pointer;
    height: fit-content;
}

    .data-picker__result__item:hover {
        color: #0F91F0;
    }

.data-picker .active {
    color: #0F91F0 !important;
}

.data-picker__bottom {
    display: flex;
    background-color: #F8F9F9;
    padding: 10px 12px 0 12px;
    font-size: 12px;
}

.data-picker__content__box {
    box-shadow: 5px 5px 13px 5px rgba(193,205,219,0.25);
    border-radius: 5px;
    overflow-y: auto;
    height: 310px;
    margin-bottom: 30px;
}

.data-picker__content__left {
    margin-right: 13px;
}

.data-picker__content__left__item {
    padding: 0 10px 0 12px;
    display: flex;
    align-items: center;
    height: 36px;
    line-height: 36px;
    font-size: 13px;
    color: #171A21;
    cursor: pointer;
}

    .data-picker__content__left__item:hover {
        background-color: #f5f5f5;
    }

    .data-picker__content__left__item:first-child {
        padding-top: 4px;
    }

    .data-picker__content__left__item:last-child {
        padding-bottom: 4px;
    }

.data-picker__content__right {
    flex: 1;
    padding: 0 10px;
}

.data-picker__content__right__title {
    font-size: 13px;
    color: #171A21;
    font-weight: 600;
    margin-top: 12px;
}

.data-picker .right-item {
    display: flex;
    font-size: 13px;
    color: #171A21;
    margin-top: 12px;
}

.data-picker .right-item__label {
    font-size: 13px;
    color: #999999;
    width: 88px;
    min-width: 88px;
}

.data-picker .right-item__wrap {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #EEEEEE;
    width: -webkit-fill-available;
}

.data-picker .right-item__wrap__item {
    margin: 0 0 10px 16px;
    cursor: pointer;
}

    .data-picker .right-item__wrap__item:hover {
        color: #0F91F0;
    }

.checkbox-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    border-bottom: 32px solid transparent;
    border-right: 32px solid transparent;
    border-top: 32px solid #409eff;
}

/* data-picker组件的样式 结束 */

.el-message--error {
    z-index: 99999999999 !important;
}

.success {
    color: #67C23A;
}
.primary {
    color: #409EFF;
}
.warning {
    color: #E6A23C;
}
.danger {
    color: #F56C6C;
}
.info {
    color: #909399;
}