.select2-container--default {
    .select2-selection--single {
        border-radius: 0;
        border: 0;
        background-color: transparent;
        border-bottom: 1px solid @input-border;
        padding-right: 28px;

        .select2-selection__arrow b {
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 0 0 7px 7px;
            pointer-events: none;
            margin: 7px 0 0 3px;
        }
        
        .select2-selection__clear {
            color: @mae-lightest;
            
            &:hover {
                color: @mae-light;
            }
        }
        
        .select2-selection__placeholder {
            color: @mae-lightest;
        }
    }

    .select2-selection--single .select2-selection__arrow b,
    &.select2-container--open .select2-selection--single .select2-selection__arrow b {
        border-color: transparent transparent @mae-lightest transparent;
    }

    .select2-search--dropdown {
        margin-top: -10px;
        border-bottom: 1px solid @dropdown-divider-bg;
        border-radius: 2px;
        position: relative;
        margin-bottom: 10px;

        &:before {
            font-family: @font-family-icon;
            content: '\f1c3';
            font-size: 20px;
            color: #4C4C4C;
            position: absolute;
            left: 18px;
            top: 9px;

        }

        .select2-search__field {
            border: 0;
            background-color: transparent;
            height: 35px;
            color: #4C4C4C;
            padding: 5px 10px 5px 40px;
        }
    }

    .select2-results__option--highlighted[aria-selected] {
        background-color: @dropdown-link-hover-bg;
        color: @dropdown-link-hover-color;
    }

    .select2-results__option[aria-selected=true] {
        position: relative;
        padding-right: 35px;
        background-color: @dropdown-link-active-bg;
        color: @dropdown-link-active-color;
        font-weight: 500;

        &:before {
            font-family: @font-family-icon;
            content: '\f26b';
            position: absolute;
            top: 7px;
            right: 13px;
            font-size: 18px;
            color: @dropdown-link-active-color;
        }
    }

    &.select2-container--focus {
        .select2-selection--multiple {
            border: 0;
        }
    }

    .select2-selection--multiple {
        background-color: transparent;
        border: 0;
        box-shadow: 0 1px 0 0 @input-border;
        border-radius: 0;
        padding-bottom: 1px;

        .select2-selection__choice {
            border-radius: 2px;
            border: 0;
            background-color: rgba(255,255,255,0.09);
            padding: 5px 10px;
            color: @mae-light;
        }

        .select2-selection__choice__remove {
            margin-right: 8px;
            color: @mae-light;
            
            &:hover {
                color: @mae-lighter;
            }
        }

        .select2-selection__rendered {
            padding: 0;
        }
    }

    &.select2-container--disabled {
        .select2-selection--single {
            background-color: transparent;
        }
    }
}

.select2-dropdown {
    background-color: @dropdown-bg;
    border: 0;
    border-radius: 2px;
    padding: 10px 0;
    box-shadow: @dropdown-shadow;
    .animated('fadeIn', 300ms);

    &.select2-dropdown--above {
        margin-bottom: -36px;
    }

    &.select2-dropdown--below {
        margin-top: -2px;
    }
}

.select2-results__option {
    padding: 10px 15px;
    .transition(background-color);
    .transition-duration(300ms);
    font-size: 13px;
    color: #4C4C4C;
    cursor: pointer;
}

.select2-container--open {
    .select2-dropdown--above,
    .select2-dropdown--below {
        border-radius: 2px;
    }

    .select2-dropdown--below {
        min-width: 120px;
    }
}

.select2-container {
    .select2-selection--single {
        height: 35px;

        .select2-selection__rendered {
            padding-top: 7px;
            padding-left: 0;
            padding-right: 0;
            line-height: 1.42857143;
            color: @input-color;
        }
    }

    .select2-search--inline .select2-search__field {
        margin-top: 10px;

        .placeholder(@mae-lightest);
    }
}

.select2-results__message {
    text-align: center;
    font-size: 12px;
    margin-top: 10px;
    color: @text-muted;
}

.form-group--light {
    .select2-container--default {
        .select2-selection--single {
            border-bottom: 1px solid rgba(255,255,255,.25);

            .select2-selection__arrow b {
                border-color: #fff transparent transparent transparent;
            }
            
            .select2-selection__rendered {
                color: #fff;
                font-weight: 500;
            }
        }
    }
}