novo-picker {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-bottom: 5px;
    transition: all 200ms ease-in-out;
    position: relative;
    &.selected,
    &.selected:hover {
        &+i {
            color: $positive;
        }
    }
    input {
        font-size: 1em;
        background: transparent !important;
        border: none;
        border-bottom: 1px solid #EAEAEA;
        border-radius: 0;
        outline: none;
        height: 2rem;
        width: 100%;
        margin: 0;
        padding: 0;
        box-shadow: none;
        box-sizing: content-box;
        transition: all 300ms;
        color: #26282B;
        &:hover {
            border-bottom: 1px solid lighten($dark, 47%);
        }
        &:focus {
            border-bottom: 1px solid $positive;
        }
        &:invalid {
            border-bottom: 1px solid #DA4453;
        }
    }
    i.bhi-search,
    i.bhi-times {
        position: absolute;
        right: 0;
        font-size: 1.2em;
    }
    i.bhi-search {
        top: 0;
    }
    i.bhi-times {
        top: 6px;
        cursor: pointer;
        font-size: 1em;
    }
}

.picker-results,
.quick-note-results,
entity-chip-results,
picker-results,
quick-note-results {
    display: block;
    cursor: pointer;
}

.picker-results,
.quick-note-results,
picker-error,
picker-loader,
picker-null-recent-results,
picker-null-results,
picker-results,
quick-note-results {
    background-color: $white;
    cursor: default;
    line-height: 26px;
    width: 100%;
    novo-list,
    ul {
        background-color: $white;
        max-height: 200px;
        overflow: auto;
        list-style: none;
        padding: 0;
        margin: 0;
        box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
        border: 1px solid $positive;
        transform: translateY(0%);
        transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
        display: block;
        novo-list-item,
        li {
            cursor: pointer;
            padding: 5px 16px;
            font-size: 0.9em;
            span {
                display: inline-block;
                min-width: 100px;
                margin: 2px 0;
            }
            h6 {
                padding-top: 0;
                font-weight: 400;
                color: lighten($dark, 35%);
                strong {
                    font-weight: 400;
                    color: $dark;
                }
            }
            &.active,
            &:focus,
            &:hover {
                background-color: lighten($positive, 35%);
            }
            &.disabled {
                opacity: 0.5;
                pointer-events: none;
            }
            item-content {
                display: block;
            }
        }
        novo-loading {
            justify-content: center;
        }
    }
    ul {
        li {
            padding: 10px 16px;
            box-sizing: border-box;
            display: flex;
            flex-wrap: wrap;
            flex-direction: column;
        }
    }
    &.active {
        z-index: 1000;
    }
    &:focus {
        outline: none;
    }
}

novo-list-item.disabled,
entity-picker-result.disabled {
    opacity: 0.5;
    pointer-events: none;
}

entity-picker-result.active {
    >novo-list-item {
        background-color: lighten($positive, 35%);
    }
}

entity-picker-results {
    background: $white;
    width: 100%;
    novo-list {
        background: $white;
        item-content {
            >p {
                min-width: 15em;
                font-size: .9em;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
                padding-right: 1em;
            }
        }
    }
}

picker-error,
picker-loader,
picker-null-recent-results,
picker-null-results,
.picker-error,
.picker-loader,
.picker-null-recent-results,
.picker-null-results {
    background-color: $white;
    text-align: center;
    color: darken($light, 15%);
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    border: 1px solid $positive;
    transform: translateY(0%);
    transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
}

p.picker-error,
p.picker-loader,
p.picker-null-recent-results,
p.picker-null-results {
    max-width: inherit;
    padding: 5px;
}

picker-loader,
.picker-loader {
    background-color: $white;
    display: flex;
    align-items: center;
    flex-direction: column;
    box-shadow: 0 3px 1px -2px rgba(0, 0, 0, .2), 0 2px 2px 0 rgba(0, 0, 0, .14), 0 1px 5px 0 rgba(0, 0, 0, .12);
    border: 1px solid $positive;
    transform: translateY(0%);
    transition: all 0.15s cubic-bezier(0.35, 0, 0.25, 1);
}


novo-picker {
    padding-bottom: 0;
    &.ng-touched.ng-invalid:not(.ng-pristine) {
        >input,
        >input:hover,
        >input:focus {
            border-bottom-color: transparent !important;
        }
    }
}

entity-picker-results {
    novo-list {
        max-height: 450px;
        overflow: auto;
    }
}
entity-picker-results,
picker-results {
    color: black;
    min-width: 100%;
    max-width: 100%;
    z-index: 10;
    top: 100%;
    novo-list {
        border: 1px solid #4A89DC;
        novo-list-item {
            cursor: pointer;
            flex: 0 0;
            transition: background-color 250ms;
            &>div {
                width: 100%;
            }
            &.active {
                background-color: lighten($positive, 35%);
            }
            &:hover {
                background-color: lighten($positive, 39%);
            }
            item-content {
                flex-flow: row wrap;
                &>* {
                    flex: 0 0 33%;
                    white-space: nowrap;
                }
            }
        }
    }
    .error-results,
    .no-recents,
    .null-results {
        text-align: center;
        padding: 1em 0 4em;
        >i {
            font-size: 3em;
            margin: 0.5em;
            color: rgba(0, 0, 0, .3);
        }
        >h4,
        >p {
            margin: 0;
            max-width: none;
            padding: 0;
        }
        >h4 {
            font-weight: 500;
        }
    }
    section {
        box-shadow: 0.1em 0.1em 1em rgba(0, 0, 0, 0.25);
        z-index: 9;
        position: absolute;
        width: 100%;
        background-color: white;
        color: black;
    }
}

entity-picker-results {
    min-width: 250px;
}