.select2-container.aui-select2-container {
    background-color: transparent !important;
    margin-top: 2px;

    a.select2-choice {
        height: 28px !important;
        line-height: 18px !important;
        width: 100% !important;
        background-color: $selectBg !important;
        border-color: $selectBg !important;
        color: $selectFontColor !important;
        text-shadow: none !important;
        font-size: 12px !important;
        margin: 0 auto !important;

        &:after {
            border-top-color: $selectFontColor;
        }
    }

    &.select2-dropdown-open{
        a.select2-choice {
            background-color: $selectActiveBg !important;
            border-color: $selectActiveBg !important;
        }
    }
}

.select2-drop.aui-select2-drop.aui-style-default {
    z-index: $dropdownZ;
    background-color: $selectActiveBg;
    border-color: $selectActiveBg;

    .select2-results{
        background-color: $selectActiveBg;
        border-color: $selectActiveBg;

        &::-webkit-scrollbar {
            background-color: transparent;
        }
        &::-webkit-scrollbar-track {
            background-color: transparent;
        }
        &::-webkit-scrollbar-track-piece {
            background-color: transparent;
        }
        &::-webkit-scrollbar-thumb {
            background-color: $selectActiveItemBg;
        }

        .select2-result{
            &.select2-highlighted{
                background-color: $selectActiveItemBg;
            }

            .select2-result-label{
                font-size: 12px;
                color: $selectFontColor !important;
                line-height: 20px;
            }
        }

    }
}

.select2-drop-mask {
    z-index: $dropdownMaskZ;
}