html {
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    background: white;
}

body {
    width: 100%;
    height: 100%;
    background: white;
    font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', Arial,
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    min-width: 1000px;
}

a {
    text-decoration: none;
}

a img {
    border: 0;
}

input,
textarea,
button {
    border: none;
    outline: none;
    background: none;
    appearance: none;
}

ul,
li {
    appearance: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

//.el-menu-item {
//    background: #1F2D3D !important;
//}
//
//.el-submenu .el-submenu .el-submenu__title {
//    background: #1F2D3D !important;
//}

.el-menu-item.is-active {
    background: #1f2d3d !important;
    border-left: 2px solid rgb(32, 160, 255);
}

.el-menu {
    i {
        color: #bfcbd9;
    }

    .svg-inline--fa {
        margin-right: 6px;
    }
}

.el-pagination {
    display: flex;
    justify-content: center;
}

.filters-container {
    .filter-item {
        margin-bottom: 10px;
        margin-right: 10px;
        margin-left: 0;
    }

    .filter-item.el-input {
        width: 200px;
    }

    .filter-item.el-input {
        width: 200px;
    }
}

.table-column-filter {
    cursor: pointer;
    color: #409eff;
    float: right;
    height: 36px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.table-column-filter-wrapper {
    padding: 10px 20px;
}

.pagination-wrapper {
    padding-top: 16px;
    position: relative;
}

.multiple-mode-wrapper {
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 2px;
    display: flex;
    align-items: center;
}
.sortable-header {
    vertical-align: middle;
    cursor: pointer;
}
.is-center {
    .sortable-header {
        margin-left: 12px;
    }
    .sort-caret-wrapper {
        text-align: center;
    }
}
.sort-caret-wrapper {
    width: 24px;
    height: 34px;
    display: inline-block;
    flex-direction: column;
    align-items: center;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
    .sort-caret {
        width: 0;
        height: 0;
        border: 5px solid transparent;
        position: absolute;
        left: 7px;
        &.asc {
            border-bottom-color: #c0c4cc;
            top: 6px;
            &.active {
                border-bottom-color: #409eff;
            }
        }
        &.desc {
            border-top-color: #c0c4cc;
            bottom: 6px;
            &.active {
                border-top-color: #409eff;
            }
        }
    }
}

.menu {
    .el-menu--horizontal > .el-menu-item:hover {
        background-color: #232e3b !important;
    }
    .el-menu--horizontal > .el-submenu {
        &:hover {
            .el-submenu__title {
                background-color: #232e3b !important;
            }
            .el-menu--horizontal > .el-menu-item {
                background-color: #232e3b !important;
            }
        }
        .el-submenu__title {
            padding: 0;
            margin: 0 30px;
        }
        &.is-active .el-submenu__title {
            border: none;
            position: relative;

            &::after {
                content: '';
                width: 100%;
                height: 6px;
                position: absolute;
                bottom: 0;
                left: 0;
                border-radius: 6px;
                background-color: #f7931d;
            }
        }
    }
    .el-menu--horizontal > .el-menu-item {
        padding: 0;
        margin: 0 30px;
        &.is-active {
            border: none;
            position: relative;

            &::after {
                content: '';
                width: 100%;
                height: 6px;
                position: absolute;
                bottom: 5px;
                left: 0;
                border-radius: 6px;
                background-color: #f7931d;
            }
        }
    }
}

.store-select .el-input--small .el-input__inner {
    height: 30px;
    line-height: 30px;
    border-radius: 15px;
}
.el-table .cell {
    white-space: nowrap !important;
}
.list-view {
    background: white;
    border-radius: 5px;
    margin: 0 20px 16px 20px;
    padding: 20px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    .el-table {
        flex-grow: 1;
        flex-basis: 0;
    }
}
.edit-view {
    background: white;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
    margin: 0 20px 16px 20px;
    overflow-y: auto;
}
.table-header-cell {
    background: #f5f7fa !important;
    color: black !important;
}
.table-cell {
    color: black !important;
    border-right: none !important;
}

.top-form {
    .el-form-item--small .el-form-item__label {
        line-height: 16px;
        padding: 22px 0 10px;
    }
    .el-form-item--small.el-form-item {
        margin-bottom: 0;
    }
    .el-input--small .el-input__inner {
        line-height: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.15);
        border: none;
        color: #fff;
        font-size: 13px;
    }
}

.el-dropdown-more {
    font-size: 13px;
    margin-left: 10px;
    cursor: pointer;
}

.el-image {
    .el-icon-circle-close {
        color: white !important;
        &:before {
            text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
        }
    }
}

.light-blue {
    body {
        background: url(../assets/bg_body.svg), radial-gradient(farthest-side ellipse at 10% 0, #e1e5e8 10%, #9aacbf) !important;
        background-attachment: fixed !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }
    .el-aside {
        background: transparent !important;
        .logo-wrapper {
            background: transparent !important;
            font-weight: 200 !important;
            color: #444 !important;
        }
    }
    .el-menu,
    .el-submenu,
    .el-menu-item,
    .el-submenu__title {
        background: transparent !important;
        color: #444 !important;
    }
    .el-menu-item.el-menu-item.is-active {
        background: transparent !important;
        color: #444 !important;
        border-left: none;
        font-weight: bold;
        position: relative;
        &::after {
            position: absolute;
            content: '';
            top: 15px;
            bottom: 15px;
            right: 0;
            width: 2px;
            background: #444;
            margin: auto;
        }
    }
    .el-main {
        background: transparent !important;
    }
    .el-header {
        background: transparent !important;
        border: none !important;
    }
    .el-card {
        background: rgba(255, 255, 255, 0.3) !important;
        border: none !important;
        box-shadow: 0 23px 20px -20px rgba(153, 166, 177, 0.1), 0 0 15px rgba(153, 166, 177, 0.06);
    }
    .edit-view,
    .list-view {
        background: rgba(255, 255, 255, 0.3) !important;
        border: none !important;
        box-shadow: 0 23px 20px -20px rgba(153, 166, 177, 0.1), 0 0 15px rgba(153, 166, 177, 0.06);
    }
    .el-tree {
        background: transparent !important;
    }
    .el-table {
        background: transparent !important;
        td,
        th,
        tr {
            background: transparent !important;
        }
    }
    .el-table__fixed-right {
        //background: #b9c6d2;
        &::before {
            display: none;
        }
    }
    .el-table::before {
        display: none;
    }
    ::-webkit-scrollbar {
        height: 8px;
    }
    /*滚动区域背景*/
    ::-webkit-scrollbar-track-piece {
        background-color: transparent;
    }
    /*竖向滚动条*/
    ::-webkit-scrollbar-thumb {
        background-color: #999;
        border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:active,
    ::-webkit-scrollbar-thumb:hover {
        background-color: #888;
    }
}
