.select2-container {
    // padding: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    -ms-filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
    &:extend(.btn, .btn-default);
    text-align: left;
    padding: 0;
}

.select2-container .select2-choice, .select2-container.select2-drop-above .select2-choice, .select2-container.select2-container-disabled .select2-choice {
    margin: 0;
    padding: 6px 12px;
    border: none;
    background: none;
    line-height: inherit;
    white-space: inherit;
    height: auto;
    border-radius: 0;
    color: inherit;
    box-shadow: none;

    .select2-arrow {
        border: none;
        background: none;
        b {
            position: relative;
            top: 5px;
            &:extend(.caret);
            background: none;
        }
    }
 }

.select2-container .select2-default {
    color: @gray-light !important; // necessary due to origin select2 css
    .select2-arrow b {
        color: @text-color;
    }
 }

 .select2-drop.select2-drop-above.select2-drop-active {
    &:extend(.btn-default:active);
    background: #fff;
    padding: 0;
    border-radius: 2px 2px 0 0;
    border-bottom: 1px solid darken(@btn-default-border, 12%);
 }

.select2-container.select2-container-disabled {
    &:extend(.btn[disabled], .btn-default[disabled]);
}

.select2-container-active:not(.select2-dropdown-open) {
    &:extend(.btn:focus);
    &:extend(.btn-default:focus);
    // outline: initial;
}


 .select2-container-active.select2-dropdown-open {
    // &:extend(.btn:active);
    &:extend(.btn-default:active);
    // outline: none;
 }

 .select2-drop {
    &:extend(.btn-default:active);
    background: #fff;
    padding: 0;
    border-radius: 0 0 2px 2px;
    border-top: 1px solid darken(@btn-default-border, 12%);
 }

 .select2-results {
    margin: 0;
    padding: 6px 0;
    color: @dropdown-link-color;
 }

 .select2-results .select2-result-label {
    padding: 3px 12px;
 }

 .select2-results {
    .select2-match {
        text-decoration: none;
        font-weight: 700;
    }
 }

.select2-results .select2-no-results,
.select2-results .select2-searching,
.select2-results .select2-ajax-error,
.select2-results .select2-selection-limit {
    background: transparent;
}

 .select2-search input {
    border-color: #cccccc;
    border-radius: 2px;
    font-family: inherit;
    margin-top: 4px;
    &:extend(.form-control);
 }

 .select2-results .select2-highlighted {
    background-color: @dropdown-link-hover-bg;
    color: @dropdown-link-hover-color;
    .tab-focus();
 }
