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.is-active {
    background: @menu-bg-active !important;
    border-left: 2px solid @menu-text-color-active;
}
.el-menu--collapse {
    .el-submenu.is-active {
        background: @menu-bg-active !important;
        .el-submenu__title {
            background-color: transparent !important;
        }
    }
}

.el-menu {
    i {
        color: @menu-text-color;
    }

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

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

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

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

    .filter-item.el-input {
        width: 200px;
    }
    .filter-left {
        flex-grow: 1;
    }
    .filter-item.search {
        float: right;
        margin-right: 0;
    }
}

.table-column-filter {
    cursor: pointer;
    color: @prim;
    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;
    background-color: #fff;
    padding-bottom: 16px;
    margin: 0 20px 20px 20px;
}

.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: @prim;
            }
        }
        &.desc {
            border-top-color: #c0c4cc;
            bottom: 6px;
            &.active {
                border-top-color: @prim;
            }
        }
    }
}

.el-table .cell {
    white-space: nowrap !important;
}
.list-view {
    border-radius: 5px;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    flex-direction: column;
    .el-table {
        flex-grow: 1;
        flex-basis: 0;
        margin: 0 20px 0 20px;
        width: auto;
    }
}
.edit-view {
    border-radius: 5px;
    box-sizing: border-box;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    .edit-view__content-wrapper {
        flex-basis: 0;
        flex-grow: 1;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        .edit-view__content-section {
            background: white;
            margin: 20px;
            padding: 20px;
        }
    }
}
.table-header-cell {
    // background: #f5f7fa !important;
    color: black !important;
}
.table-cell {
    color: black !important;
    border-right: none !important;
}

.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);
        }
    }
}

//experimental
.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;
    }
}
