// // Core variables and mixins
// Core variables and mixins
@import "../../../bootstrap/functions";
@import "../../../bootstrap/mixins";
@import "../../../bootstrap-extended/mixins";


// Core variables and mixins overrides
@import "../../../core/variables/variables";
@import "../../../core/variables/components-variables";

// Overrides user variable
@import "../../../../../assets/scss/variables/variables";
@import "../../../../../assets/scss/variables/components-variables";

.selectivity-input{
    border: 1px solid $gray-100;
    width: 100%;

    .selectivity-multiple-selected-item{
        background: $info;
        border-color: darken($info,10%);
    }
    &[class*=bg-] .selectivity-multiple-selected-item {
        background: rgba(0, 0, 0, 0.25);
    }
    &[class*=border-] .selectivity-multiple-input-container {
        border: none;
    }
    .selectivity-single-select{
        background-color: #ffffff;
    }
    .selectivity-caret{
        top: $input-padding-x - 0.25;
    }
    
    .selectivity-multiple-input-container{
        border-color: #D9D9D9;
        &:focus{
            border-color: #CCCCCC !important;
            outline: 0;
        }
    }
    .selectivity-multiple-selected-item-remove{
        .la,[class^="ft-"]{
            font-size: 1rem;
        }
    }
    .selectivity-dropdown{
        .selectivity-result-item{
            &.highlight{
                background-color: #E0E0E0 !important;
                color: #424242 !important;
            }
        }
    }
    &.select-xl{
    	// height: $input-height-xl;
        font-size: $font-size-xl;
        line-height: $line-height-xl;
        margin-bottom: $input-padding-x-xl;
        .selectivity-single-select{
        	min-height: auto;
        }
        .selectivity-caret{
        	top: $input-padding-x-xl + 0.5;
        }
        .selectivity-single-result-container{
        	top: $input-padding-y-xl ;
        }
        .selectivity-multiple-selected-item-remove{
            .la,[class^="ft-"]{
                font-size: $font-size-xl;
            }
        }
    }
    &.select-lg{
        // height: $input-height-lg;
        font-size: $font-size-lg;
        line-height: $line-height-lg;
        .selectivity-single-select{
            min-height: auto;
            padding:7px;
        }
        .selectivity-caret{
            top: $input-padding-x-lg - 0.5;
        }
        .selectivity-single-result-container{
            top: $input-padding-y-lg ;
        }
        .selectivity-multiple-selected-item-remove{
            .la,[class^="ft-"]{
                font-size: $font-size-lg;
            }
        }
    }
    &.select-sm{
    	// height: $input-height-sm;
        font-size: $font-size-sm;
        line-height: $line-height-sm;
        .selectivity-single-select{
        	min-height: auto;
        }
        .selectivity-caret{
        	top: $input-padding-x-sm - 0.25;
        }
        .selectivity-single-result-container{
        	top: $input-padding-y-sm + 0.35;
        }
        .selectivity-multiple-selected-item-remove{
            .la,[class^="ft-"]{
                font-size: $font-size-sm;
            }
        }
    }
    &.select-xs{
    	// height: $input-height-xs;
        font-size: $font-size-xs;
        line-height: $line-height-xs;
        margin-bottom: $input-padding-x-xs + 0.5;
        .selectivity-single-select{
        	min-height: auto;
            padding: 2px;
        }
        .selectivity-caret{
        	top: $input-padding-x-xs;
        }
        .selectivity-single-result-container{
        	top: $input-padding-y-xs + 0.3;
        }
        .selectivity-multiple-selected-item-remove{
            .la,[class^="ft-"]{
                font-size: $font-size-xs;
            }
        }
    }
}