// I REFERENCE WIDGETS (SELECT2)
.pattern-relateditems-container {
    ul.select2-choices {
        padding: 10px;
        li.select2-search-choice {
            background: #e7fb61 none;
            border-color: #b1c334;
            .pattern-relateditems-item-title {
                font-weight: $semibold;
            }
        }
    }
}
.select2-drop.select2-drop-active {
    border-color: #5897fb;
    border-left: 1px solid #5897fb;
    border-right: 1px solid #5897fb;
}
.select2-dropdown-open .select2-choices {
    border-color: #5897fb;
}

.pattern-relateditems-dropdown .select2-results {
    .select2-result-label {
        padding: 0;
        cursor: default;
    }
    .select2-highlighted {
        background-color: $tr;
    }
    .pattern-relateditems-result {
        padding: 4px 30px 6px 26px;
        position: relative;
        border-bottom: 1px dashed #ccc;
        .pattern-relateditems-result-title {
            font-size: 0.95em;
        }
        .pattern-relateditems-buttons {
            right: 10px;
            a {
                color: #aaa;
                &:focus,
                &:hover {
                    color: $brand-primary;
                }
            }
        }
    }
    .pattern-relateditems-active {
        background-color: $tr;
        &:before {
            font-size: 13px;
            left: 4px;
            top: 0.7em;
            position: absolute;
            color: $brand-primary;
            content: ' ';
            width: 10px;
            height: 10px;
            background: $brand-primary;
            border-radius: 100%;
        }
    }
}
