/** 滚动条背景样式 **/
::-webkit-scrollbar-track-piece{
    background-color: #fff;
    -webkit-border-radius: 0;
}

/*---滚动条大小--*/
::-webkit-scrollbar{
    width: 8px;
    height: 8px;
}

/** 滚动条默认显示样式 **/
::-webkit-scrollbar-thumb{
    outline-offset: -2px;
    outline: 2px solid #fff;
    -webkit-border-radius: 4px;
    border: 2px solid #fff;
    background-color: #5FA0C6;
}

/** 鼠标划过滚动条显示样式 **/
::-webkit-scrollbar-thumb:hover{
    background-color: #3C8DBC;
}

/** 鼠标点击滚动条显示样式 **/
::-webkit-scrollbar-thumb:active{
    background-color: #FA5846;
}

html,body {
    height: 100%;
    background: #1E252B;
}

.wrapper {
    position: relative;
    height: 100%;
    display: flex;
    color: white;
    font-size: 14px;
}

.left-menu {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 200px;
    background: #2D363D;
}

.left-menu .logo {
    padding: 15px;
}

.left-menu .logo img{
    max-width: 100%;
}

.left-menu .main-menu {
    flex: 1;
    padding: 10px;
    font-size: 15px;
    color: #ddd;
}

.left-menu .main-menu .icon-menu {
    display: none;
}

.left-menu .main-menu .menu-item {
    margin: 5px 0;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.left-menu .main-menu .menu-item.active {
    background: #5B68FF;
    color: white;
}

.left-menu .main-menu .menu-item:hover {
    background: #5B68FF;
    color: white;
}

.left-menu .main-menu .menu-item .iconfont {
    font-weight: bold;
}

.left-menu .icp {
    padding: 5px 10px;
}

.left-menu .icp .sub {
    font-size: 10px;
}

.right-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 0;
    margin: 0 25px;
}

.right-content .main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.right-content .main-header .web-title {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: bold;
}

.right-content .notice-box {
    display: flex;
    align-items: center;
    flex: auto;
    margin: 0 15px;
    width: 0;
    color: #FEA633;
}

.right-content .main-notice .notice-box {
    margin: 0;
    width: 100%;
}

.right-content .icon-notice {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 16px;
}

.right-content .web-notice {
    display: flex;
    flex: auto;
    margin-left: 5px;
    width: 0;
    overflow: hidden;
}

.right-content .notice-content {
    white-space: nowrap;
}
.right-content .notice-content.notice-scroll {
    animation: scroll-notice 20s linear infinite;
}

@keyframes scroll-notice {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.right-content .main-header .lang-box {
    flex-shrink: 0;
}

.right-content .main-header .login {
    cursor: pointer;
}

.right-content .main-header .info-box {
    position: relative;
    display: inline-block;
}

.right-content .main-header .user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
}

.right-content .main-header .user-info {
    position: absolute;
    right: -60px;
    top: 100%;
    z-index: 999;
    margin-top: 10px;
    padding: 5px 10px;
    background: white;
    border: 1px solid #5B68FF;
    border-radius: 5px;
    box-shadow: 0 0 2px #5B68FF;
    color: black;
    font-weight: bold;
    font-size: 13px;
    white-space: nowrap;
    outline: none;
    display: none;
}

.right-content .main-header .user-info:before {
    content: "";
    position: absolute;
    right: 72px;
    top: -6px;
    z-index: 1;
    width: 0;
    height: 0;
    border-bottom: 6px solid #5B68FF;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

.right-content .main-header .user-info:after {
    content: "";
    position: absolute;
    right: 72px;
    top: -5px;
    z-index: 2;
    width: 0;
    height: 0;
    border-bottom: 6px solid white;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.right-content .main-header .user-info.active {
    display: block;
}

.right-content .main-header .info-item {
    padding: 5px 0;
    color: #555;
}

.right-content .main-header .info-item .iconfont {
    font-size: 16px;
}

.right-content .main-header .sign-out {
    color: #5bc0de;
    cursor: pointer;
}

.right-content .main-header .lang-change {
    margin-left: 20px;
}

.right-content .main-header .lang-change .active {
    color: #aaa;
    text-decoration: none;
}

.right-content .main-header .lang-change .lang-to {
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.right-content .main-content {
    flex: 1;
    height: 0;
    padding: 30px 40px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #2D363D;
}

.right-content .main-content .list-group {
    margin-bottom: 10px;
    padding: 10px 0;
    font-weight: bold;
}

.right-content .main-content .list-group .list-subgroup {
    padding-bottom: 15px;
}

.right-content .main-content .list-group .list-title {
    padding: 6px 0;
    font-size: 20px;
}

.right-content .main-content .list-group .list-subtitle {
    padding: 2px 0;
    font-size: 16px;
}

.right-content .main-content .list-group .list-item{
    padding: 2px 0;
}

.right-content .main-footer {
    margin-top: 20px;
    padding: 10px 0;
}

.right-content .main-footer .copyright {
    color: #ddd;
}

.right-content .main-footer .copyright .auth-img {
    display: none;
}

/** 通用 **/
textarea {
    resize: none;
}

.iconfont {
    width: 20px;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pointer{
    cursor: pointer;
}

.split{
    margin: 0 5px;
}

.word-break {
    word-break: break-all;
    word-wrap: break-word;
}

.nowrap {
    white-space: nowrap;
}

.text-ellipsis{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}
.text-ellipsis-l2{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}
.text-ellipsis-l3{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}
.text-ellipsis-l4{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}
.text-ellipsis-l5{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}
.text-ellipsis-l6{
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    word-break: break-all;
    word-wrap: break-word;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -khtml-user-select: none; /* Konqueror */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently not supported by any browser */
}

.no-data {
    padding: 20px 0;
    text-align: center;
}

@media screen and (min-width: 769px) {
    .right-content .main-notice {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .left-menu {
        width: 0;
    }

    .left-menu .logo {
        display: none;
    }

    .left-menu .main-menu {
        position: fixed;
        left: 0px;
        top: 15px;
        z-index: 1;
        outline: none;
    }

    .left-menu .main-menu .icon-menu {
        display: block;
        margin-left: 12px;
        font-size: 22px;
        color: white;
        cursor: pointer;
    }

    .left-menu .main-menu .menu-item {
        display: none;
    }

    .left-menu .main-menu.active {
        background: #2D363D;
    }

    .left-menu .main-menu.active .menu-item {
        display: block;
    }

    .left-menu .icp {
        position: absolute;
        right: 12px;
        bottom: 5px;
        z-index: 1;
        color: #ddd;
    }

    .right-content .main-header .web-title {
        flex: auto;
        padding-left: 70px;
        text-align: center;
    }

    .right-content .main-header .notice-box {
        display: none;
    }

    .right-content .main-header .lang-change {
        margin-left: 5px;
    }

    .right-content .main-content {
        padding: 10px;
    }
}

/** tab标签页样式 **/
.nav-wrapper {
    padding: 5px 0;
}
.nav-box {
    display: flex;
    border-bottom: 1px solid #384148;
}
.nav-box > li {
    list-style: none;
    position: relative;
    margin-bottom: -1px;
    padding: 10px 30px;
}
.nav-box > li.active {
    border-bottom: 1px solid #5B68FF;
}
.nav-box > li > a {
    color: #ccc;
    font-weight: bold;
    text-decoration: none;
}
.nav-box > li.active >a {
    color: #5B68FF;
}

/** select2下拉列表样式 **/
.select2-container--default .select2-selection--single {
    border-radius: 14px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 16px;
    color: black;
    font-size: 12px;
    font-weight: bold;
}
.select2-results__option {
    font-size: 12px;
    word-break: break-all;
    word-wrap: break-word;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background-color: #5B68FF;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #444!important;
}
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 20px;
    font-weight: normal!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    position: relative;
    padding: 0 20px 0 8px!important;
    height: 20px;
    margin-top: 4px!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__clear {
    position: absolute;
    right: 0;
    top: -1px;
    z-index: 1;
    margin-top: 0!important;
    margin-right: 0!important;
    width: 22px;
    text-align: center;
    color: #444;
    font-size: 20px;
    font-weight: normal !important;
    background-color: white;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    display: none!important;
}
.select2-container .select2-selection--multiple {
    height: 28px;
    min-height: 28px!important;
}
.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
    display: inline-block;
    float: none;
    margin-top: 0!important;
}
.select2-container .select2-search--inline {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 0 8px;
}
.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 2px!important;
    width: 100px!important;
}
.select2-container--default .select2-search--inline .select2-search__field::placeholder {
    color: #444;
    font-size: 12px;
    font-weight: bold;
}
.select2-container--default .select2-search--inline .select2-search__field:-moz-placeholder {
    opacity: 1;
}
.select2-container--default .select2-search--inline .select2-search__field::-moz-placeholder {
    opacity: 1;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    display: inline-block;
    border: none!important;
    color: white!important;
    background-color: #5B68FF!important;
    font-size: 12px;
    padding: 2px 6px!important;
    border-radius: 8px!important;
}
.select-box select{
    width: 100%;
    height: 28px;
}

/** layer弹窗 **/
.layui-layer {
    max-width: 100%;
    border: 1px solid #ccc;
    background-color: #1E252B!important;
    box-shadow: 1px 1px 3px rgba(200,200,200,.8)!important;
}
.layui-layer .layui-layer-title {
    font-size: 16px;
    font-weight: bold;
    color: white;
    border-bottom-color: #ccc;
    background-color: #1E252B;
}
.layui-layer-dialog .layui-layer-content {
    color: #ccc;
}
.layui-layer-setwin .layui-layer-close1 {
    background: none;
    text-align: center;
    transform: scaleX(1.2);
}
.layui-layer-setwin .layui-layer-close1:hover {
    text-decoration: none;
}
.layui-layer-setwin .layui-layer-close1:before {
    content: "X";
    font-size: 14px;
    font-weight: bold;
    color: white;
    font-family: "Comic Sans MS";
}
.layer_popup_window {
    display: none;
    background: white;
    padding: 10px;
    border-radius: 5px;
}

/** 自定义分页 **/
.page-box {
    font-size: 12px;
}
.page-box .page-size {
    display: flex;
    align-items: center;
}
.page-box .size-select {
    margin: 0 10px;
}
.page-box .size-select .select2-container .select2-selection--single {
    height: 24px;
}
.page-box .size-select .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px;
}
.page-box .size-select .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 22px;
}
.page-box .page-count {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.page-box .page-btn {
    margin: 0 5px;
    padding: 5px 8px;
    font-size: 12px;
    color: white;
    background-color: #00C0EF;
    border-radius: 3px;
    cursor: pointer;
}
.page-box .page-btn:hover {
    background-color: #00ACD6;
}
.page-box .page-btn.disabled {
    color: #333;
    background-color: #ccc;
    cursor: not-allowed;
}
.page-box .page-jump {
    margin: 0 5px;
}
.page-box .page-num {
    width: 60px;
    height: 24px;
    margin: 0 10px;
    padding: 5px 8px;
    color: #333;
    border: none;
    border-radius: 3px;
}
@media screen and (max-width: 768px) {
    .page-box .page-size {
        justify-content: center;
    }
    .page-box .size-select {
        margin: 0 5px;
    }
    .page-box .select2-container .select2-selection--single {
        height: 22px;
    }
    .page-box .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 22px;
    }
    .page-box .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 20px;
    }
    .page-box .page-count {
        margin-top: 5px;
        justify-content: center;
    }
    .page-box .page-btn {
        margin: 0 2px;
        padding: 3px 5px;
    }
    .page-box .page-btn.first {
        margin-left: 0;
    }
    .page-box .page-btn.last {
        margin-right: 0;
    }
    .page-box .page-num {
        width: 50px;
        height: 22px;
        margin: 0 5px;
        padding: 3px 5px;
    }
}