@import '../common/component.light.theme.less';
@import '../common/component.common.less';
:host-context(.theme-light) ::ng-deep {

    .clrfix {
        zoom: 1;
    }
    
    .clrfix:after {
        content: "";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
        overflow: hidden;
    }

    .ant-input:not(.ant-input-disabled) {
        .cm-light-input;
        padding: 3px 0;
    }
    
    .ant-calendar-picker{
        margin-left: -1px;
        width: 205px;
        float: left
    }

    .ant-calendar-picker-input.ant-input{

        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

    .ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled){
        .cm-light-input;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        &:hover{
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
            z-index: 1;
        }
    }

    .ant-input>.ant-calendar-range-picker-input{
        border: none;
        &:focus,&:hover{
            border: none;
        }
    }

    .ant-btn-group {
        float: left;
    }
    .ant-btn-group > .ant-btn:last-child:not(:first-child){
        border-radius: 0;
    }

    .ant-btn-group > .ant-btn:last-child{
        margin-right: -1px;
    }
   
    .ant-btn{
        line-height: 28px;
    }
    .dateform {
        width: 0;
        height: 0;
        overflow: hidden;
    }

    .ant-select-selection{
        z-index: 1;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        &:hover{
            z-index: 2;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }
        &:focus{
            z-index: 2;
        }
    }

    .ant-select-open .ant-select-selection{
        z-index: 1;
    }

    .ant-calendar-picker-icon {
        z-index: 3;
    }
    .ant-calendar-picker-clear{
        z-index: 4;
    }
    .date-box{
        display: inline-block;
        min-width: 310px;
    }
    .dropdown-shortcut{
        display: inline-block;
        float: left;
    }
}