@import '../common/component.light.theme.less';
@import '../common/component.common.less';



    .theme-light  .fl{
        float: left;
    }
    
    .theme-light  .fr{
        float: right;
    }
    
    .theme-light .clrfix {
        zoom: 1;
    }
    
    .theme-light .clrfix:after {
        content: "";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
        overflow: hidden;
    }
    .theme-light .cm-sortselector-selection{
        display: inline-block;
        background-color: @light-white;
        border-radius: 4px;
        border: 1px solid @light-border-color;
        transition: all .3s cubic-bezier(.645,.045,.355,1);
        max-width: 600px;
        min-width: 200px;
        position: relative;
        overflow: hidden;
    }

    .theme-light .cm-sortselector-lg.cm-sortselector-selection{
        height: 32px;
    }

    .theme-light .cm-sortselector-lg .cm-sortselector-selection__rendered{
        height: 30px;
        line-height: 30px;
    }

    .theme-light .cm-sortselector-selection__rendered{
        display: inline-block;
        margin-left: 7px;
        padding-right: 30px;
        position: relative;
        line-height: 26px;
        min-height: 26px;
        width: 100%;
        margin-bottom:-4px;
    }

    .cm-sortselector-selection__placeholder {
        position: absolute;
        top: 50%;
        left: 0;
        right: 9px;
        color: @light-border-color;
        line-height: 20px;
        height: 20px;
        max-width: 100%;
        margin-top: -10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: left;
    }

    .theme-light .cm-sortselector-dropdown{
        top: 100%;
        left: 0;
        position: relative;
        width: 100%;
        margin-top: 4px;
        margin-bottom: 4px;
        background-color: @light-white;
        box-shadow: 0 1px 6px rgba(0,0,0,.2);
        border-radius: 4px;
        box-sizing: border-box;
        z-index: 1050;
        outline: none;
        overflow: hidden;
        font-size: 12px;
        max-width: 600px;
    }

    .theme-light .cm-sortselector-dropdown-menu {
        outline: none;
        margin-bottom: 0;
        padding-left: 0;
        list-style: none;
        max-height: 250px;
        overflow: auto;
    }
    .cm-sortselector-dropdown-title{
        width:30px;
        height:100%;
        padding: 7px 8px;
    }

    .theme-light .cm-sortselector-dropdown-menu-item {
        max-width: 100px;
        position: relative;
        display: block;
        padding: 4px 8px!important;
        margin: 2px 5px;
        font-weight: 400;
        color: @light-text-color;
        white-space: nowrap;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        transition: background .3s ease;
        border-radius: 4px;
        &:hover{
            background-color: @light-base-color;
            color: @light-white;
        }
        &.isSelected{
            background-color: @light-base-color;
            color: @light-white;
        }
    }

    .theme-light .cm-sortselector-arrow{
        font-style: normal;
        vertical-align: baseline;
        text-align: center;
        text-transform: none;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        position: absolute;
        top: 50%;
        right: 8px;
        line-height: 1;
        margin-top: -6px;
        color: rgba(0,0,0,.43);
        display: inline-block;
        font-size: 12px;
        font-size: 9px\9;
        -webkit-transform: scale(.75) rotate(0deg);
        transform: scale(.75) rotate(0deg);
        zoom: 1;
        &::before{
            content: "\E61D";
            display: block;
            font-family: anticon!important;
            -webkit-transition: -webkit-transform .2s ease;
            transition: -webkit-transform .2s ease;
            transition: transform .2s ease;
            transition: transform .2s ease,-webkit-transform .2s ease;
        }

        &.cm-sortselector-arrow-expand:before {
            -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
        }
    }

    .theme-light .cm-sortselector-lg .ant-select-selection--multiple {
        .ant-select-selection__choice{
            height: 24px;
            line-height: 24px;
            .ant-select-selection__choice__remove{
                top:4px;
            }
        }
    }
    .theme-light .ant-select-selection--multiple {
        

        .ant-select-selection__choice{
            color: rgba(0,0,0,.65);
            background-color: #f3f3f3;
            border-radius: 4px;
            cursor: default;
            float: left;
            margin-right: 4px;
            max-width: 99%;
            position: relative;
            overflow: hidden;
            transition: padding .3s cubic-bezier(.645,.045,.355,1);
            padding: 0 20px 0 10px;
            margin-top: 3px;
            height: 20px;
            line-height: 20px;
    
             .ant-select-selection__choice__content {
                max-width: 70px;
                display: inline-block;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
                // max-width: 100%;
                transition: margin .3s cubic-bezier(.645,.045,.355,1);
            }
    
            .ant-select-selection__choice__remove {
                font-style: normal;
                vertical-align: middle;
                text-align: center;
                text-transform: none;
                line-height: 1;
                text-rendering: optimizeLegibility;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
                color: rgba(0,0,0,.43);
                line-height: inherit;
                cursor: pointer;
                font-weight: 700;
                transition: all .3s cubic-bezier(.645,.045,.355,1);
                display: inline-block;
                font-size: 12px;
                font-size: 8px\9;
                -webkit-transform: scale(.66666667) rotate(0deg);
                transform: scale(.66666667) rotate(0deg);
                zoom: 1;
                position: absolute;
                right: 10px;
                padding: 0 0 0 8px;
                top: 3px;
                &::before{
                    content: "\E633";
                    display: block;
                    font-family: anticon!important;
                    position: absolute;
                }
            }
    
        }
        
        .ant-select-search--inline {
            width: auto;
            padding: 0;
            max-width: 100%;
            margin-top: 3px;
            height: 20px;
            line-height: 20px;
            float: left;
            position: static;
            .ant-select-search__field__wrap{
                width: 100%;
                height: 100%;
                display: inline-block;
                position: relative;
                .ant-select-search__field{
                    border-width: 0;
                    font-size: 100%;
                    height: 100%;
                    width: 100%;
                    background: transparent;
                    outline: 0;
                    border-radius: 4px;
                    line-height: 1;
                    max-width: 100%;
                    width: .75em;
                }
            }
            
        }
    }
    