// 菜单项间隔去除margin
.ant-dropdown-menu-item-divider, .ant-dropdown-menu-submenu-title-divider {
    margin: 0;
}

.ant-dropdown-menu {
    padding: 0;
}

.ant-input[disabled],.ant-select-disabled,.ant-input-number-disabled {
    color: rgba(0, 0, 0, 0.5);
}


// input
.ant-input:focus {
    box-shadow: none;
}
.ant-select-open .ant-select-selection {
    box-shadow: none;
}
.ant-select-focused .ant-select-selection, .ant0select0selection:focus, .ant0select-selection:active {
    box-shadow: none;
}
input::-webkit-input-placeholder {
    color: #BFBEBE !important;
}

// Tools Button
.ant-btn.tool-link {
    background: #F5FBFE;
    border: 1px solid #408DC6;
    color: #408DC6;
}
.ant-btn-primary.tool-link {
    background: #F5FBFE;
    border: 1px solid #408DC6;
    color: #408DC6;
}
.ant-btn.tool-link:hover {
    color: #fff;
    background-color: #2C82BE;
}
.ant-btn-disabled.tool-link, .ant-btn.disabled.tool-link, .ant-btn[disabled].tool-link, .ant-btn-disabled.tool-link:hover, .ant-btn.disabled.tool-link:hover, .ant-btn[disabled].tool-link:hover, .ant-btn-disabled.tool-link:focus, .ant-btn.disabled.tool-link:focus, .ant-btn[disabled].tool-link:focus, .ant-btn-disabled.tool-link:active, .ant-btn.disabled.tool-link:active, .ant-btn[disabled].tool-link:active, .ant-btn-disabled.active.tool-link, .ant-btn.disabled.active.tool-link, .ant-btn[disabled].active.tool-link {
    color: rgba(0, 0, 0, 0.25);
    background-color: #f5f5f5;
    border-color: #ccc;
}

// Table
.ant-table {
    border: none;
    .ant-table-body {
        border-width: 0 1px 1px 1px;
        border-style: solid;
        border-color: #EDEDED;
    }
}
.ant-table-body {
    margin-top: 10px;
    overflow: auto !important;
}
.ant-table-small {
    // border: 1px solid #EDEDED;
    border-radius: 0;
}
.ant-table-small > .ant-table-content > .ant-table-body {
    margin: 0;
}
.ant-table-row {
    background: #fff;
}
.ant-table-thead {
    >tr {
        >th {
            white-space: nowrap;
            max-width: 0px;
            background: transparent;
            border: none;
            >div {
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }
}
.ant-table-thead > tr,.ant-table-thead > tr:hover {
    height: 40px;
    background: #D6EEFE;
}
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
    overflow: hidden !important;
    margin-bottom: 0 !important;
    margin-right: 10px;
    background: #D6EEFD;
    &:after {
        content: ' ';
        position: absolute;
        height: 41px;
        width: 11px;
        right: 0;
        top: 0px;
        background: #D6EEFD;
        border-bottom: 1px solid #e8e8e8;
    }
}
.ant-table-small > .ant-table-content .ant-table-placeholder, .ant-table-small > .ant-table-content .ant-table-row:last-child td {
    border-bottom: 1px solid #e8e8e8;
}
.ant-table-small > .ant-table-content > .ant-table-header > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-body > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-header > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-scroll > .ant-table-body > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-header > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-header > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-fixed-left > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr, .ant-table-small > .ant-table-content > .ant-table-fixed-right > .ant-table-body-outer > .ant-table-body-inner > table > .ant-table-thead > tr{
    border-bottom: none;
}
.ant-table-pagination {
    position: absolute;
    bottom: 0;
    right: 0;
}

// ListFilter
.list-filter .ant-select:first-child .ant-select-selection.ant-select-selection--single {
    background: #F5FBFE;
    cursor: default;
}

// FilterBox
.filter-box {
    .ant-modal-content {
        .ant-modal-body {
            padding: 12px 36px;
        }
    }
}

// Dropdown Menu
.ant-dropdown-menu {
    border: 1px solid #408DC6;
    .ant-dropdown-menu-item:hover, .ant-dropdown-menu-submenu-title:hover {
        color: @item-active-color;
        background-color: @item-active-bg-color;
    }
    .ant-dropdown-menu-item-disabled:hover, .ant-dropdown-menu-submenu-title-disabled:hover {
        color: rgba(0, 0, 0, 0.25);
        background-color: #fff;
    }
}

.ant-select-dropdown-menu {
    .ant-select-dropdown-menu-item:hover {
        color: @item-active-color;
        background-color: @item-active-bg-color;
    }
}

// Checkbox
.ant-checkbox-inner {
    border-radius: @checkbox-border-radius;
}

// Modal
.ant-modal {
    // max-height: 80vh;
    // top: 10%;
}
.ant-modal-header {
    display: table;
    width: 100%;
    padding: 42px 36px 0;
    border-bottom: none;
    &:before, &:after {
        content: "";
        position: relative;
        width: 50%;
        border-top: 1px solid #e8e8e8;
        display: table-cell;
        transform: translateY(50%);
    }
    .ant-modal-title {
        color: #2C82BE;
        text-align: center;
        white-space: nowrap;
        margin: 0 36px;
    }
}
.ant-modal-body {
    padding: 24px 36px;
}
.ant-modal-footer {
    border: none;
    padding: 12px 36px 36px;
}
.ant-modal-close {
    position: absolute;
    top: 8px;
    right: 8px;
    .ant-modal-close-x {
        height: 32px;
        width: 32px;
        line-height: 32px;
        font-size: 18px;
    }
}

// toast message
.ant-message {
    .ant-message-notice {
        .ant-message-notice-content {
            border: 1px solid @border-color-base;
            padding: 8px 12px;
            background: #f5f9f8;
            box-shadow: none;
            .ant-message-success {
                .anticon, span {
                    color: #3CC600;
                }
            }
            .ant-message-warning{
                .anticon, span {
                    color: #faad14;
                }
            }
            .ant-message-error{
                .anticon, span {
                    color: #FF5E4E;
                }
            }
        }
    }
}

// 错误提示
.ant-form-explain {
    font-size: 12px;
}


// 滚动条
*::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

*::-webkit-scrollbar-thumb {
    background: #a0dbf5;
    border-radius: 4px;
  
    &:hover {
      background: #67c6f1;
    }
}

*::-webkit-scrollbar-track {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
}
.es-mobile {
    &::-webkit-scrollbar,*::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
    
    &::-webkit-scrollbar,*::-webkit-scrollbar {
        background: #a0dbf5;
        border-radius: 0;
      
        &:hover {
          background: #67c6f1;
        }
    }
    
    &::-webkit-scrollbar,*::-webkit-scrollbar {
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 0;
    }
}
