@import "../../styles/index";
.tags-field {
    background: var(--dnn-color-background, #fff);
    float: left;
    width: 300px;
    border: 1px solid var(--dnn-color-foreground-light, @alto);
    border-radius: var(--dnn-controls-radius, 0);
    box-sizing: border-box;
    position: relative;
    &.error {
        border-bottom: 2px solid var(--dnn-color-danger, red);
    }
    &.disabled {
        &, * {
            pointer-events: none;
        }
        background: var(--dnn-color-neutral, @mercury);
        border-color: var(--dnn-color-neutral, @mercury);
        .tag {
            background: var(--dnn-color-neutral-light, @alto);
        }
    }
    &.active {
        border: 1px solid var(--dnn-color-primary, @curiousBlue);
    }
    .dark-form-control {
        padding: 0px !important;
        height: auto;
        float: left;
        margin: 0 !important;
    }
    input {
        padding: 0;
        padding: 9px 12px;
        background: transparent;
        border: none;
        color: var(--dnn-color-foreground, @bulgarianRose);
        float: left;
        outline: none !important;
    }
    .tag {
        float: left;
        position: relative;
        padding: 3px 18px 3px 7px !important;
        margin-top: 7px;
        margin-left: 9px;
        background: var(--dnn-color-primary, @curiousBlue);
        color: var(--dnn-color-background, white);
        font-size: 11px;
        .close {
            position: absolute;
            padding: 0 5px;
            font-size: 16px;
            line-height: 15px;
            cursor: pointer;
        }
    }
    .tag-search-results {
        position: absolute;
        width: 100%;
        border: 1px solid var(--dnn-color-foreground-light, @alto);
        top: 100%;
        margin-top: 1px;
        border-top: none;
        left: -1px;
        padding: 6px 0px;
        background: var(--dnn-color-background, white);
        .result-item {
            padding: 6px 10px;
            cursor: pointer;
            &.selected {
                background: var(--dnn-color-primary, @gallery);
                color: var(--dnn-color-primary-contrast, @curiousBlue);
            }
        }
    }
    .dnn-ui-common-tooltip {
        position: absolute;
        right: 0px;
        .icon {
            float: right;
            margin-top: 6px;
            margin-right: 4px;
        }
    }
}