/*TAG INPUT*/

.autocomplete-tag-input {
    outline: none;
}

.autocomplete-tag-input .base-input-text-element .base-input-text {
    border: none;
    box-shadow: none !important;
    min-width: 300px;
}

.autocomplete-tag-input .tags-element {
    width: 100%;
}

.tags-input {
    /*display: flex;*/
    /*flex-direction: row;*/
    /*flex-wrap: wrap;*/
    /*vertical-align: top;*/
    width: 100%;
    background-color: #fff;
    padding: 2px;
    border: 1px solid #D9D9D9;
    border-radius: 8px;
    font-size: 14px;
    overflow: hidden;
    text-align: left;
    cursor: text;
    align-items: center;
    position: relative;

    /*&:after {
        content: '';
        background-image: url("/images/common/arrow_down.svg");
        background-repeat: no-repeat;
        background-position: center;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%) rotate(0deg);
        width: 12px;
        height: 7px;
    }
    &.active{
        &:after {
            transform: translateY(-50%) rotate(180deg);
        }
    }*/
}

.tags-input:hover {
    border: 1px solid rgba(83, 84, 115, .8);
}

.tags-input.active {
    outline: 0;
    border-color: #96C8DA;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05) !important;
}

.tags-input.active,
.tags-input.active:hover {
    border-color: #7c5fe4;
}

.tags-input.auto-width {
    overflow-x: auto;
    white-space: nowrap;
}

.auto-width .tags-input-element,
.auto-width .tags-input-element .base-input-text-element {
    width: 100%;
}

.tags-element {
    display: inline;
    vertical-align: middle;
}

.tags-input-element {
    display: inline-block;
    vertical-align: middle;
}

.tags-element .tag {
    display: inline-block;
    word-break: break-all;
    margin: 2px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #eeecff;
    cursor: default;
}

.tags-element .tag.white-smoke {
    background: #FAEEEE;
}

.tags-element .tag.selected {
    background: #e3eafb;
}

.tags-input .tags-element .tag-label {
    font-weight: 400;
    letter-spacing: .2px;
    color: #24243A;
    font-family: var(--default-font-family);
    font-size: 13px;
}

.tags-input .tags-element .tag-comma {
    opacity: 0;
    color: transparent;
    font-size: 1px;
}

.tag-logo {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: #ddd;
    border-radius: 50%;
    vertical-align: middle;
    margin-right: 4px;
}

.tag-logo.social {
    background: url("/images/common/profile-icon.svg") no-repeat 50% 50%;
}

.tag-logo.web {
    background: url("/images/common/ic-web.svg") no-repeat 50% 50%;
}

.tag-logo img {
    display: block;
    margin-right: 10px;
    max-height: 16px;
    max-width: 16px;
    border-radius: 50%;
    vertical-align: middle;
}

.tags-element .tag .remove-tag {
    margin: 0 0 0 10px;
    padding: 0;
    border: none;
    background: 0 0;
    cursor: pointer;
    color: #AFC1CF;
    font-weight: 400;
}

.search-input .base-input-text {
    height: 32px;
    /*max-width: 450px;*/
    width: 100%;
    border: none;
    outline: none;
    background: none;
}

.search-input .base-input-text-label {
    display: none;
}

.results-list-element {
    position: relative;
}

.suggested-results-list {
    z-index: 1;
    padding-bottom: 10px;
    border: solid 1px #7c5fe4;
    box-shadow: 4px 4px 10px rgba(100, 100, 100, 0.15);
    background: white;
    border-top-width: 0;
    position: absolute;
    width: 100%;
    top: 100%;
    border-bottom-left-radius: var(--base-select-radius);
    border-bottom-right-radius: var(--base-select-radius)
}

.autocomplete-tag-input .show-results-list-top {
    flex-direction: column-reverse;
}

.autocomplete-tag-input .show-results-list-top .suggested-results-list {

    bottom: 100%;
    top: initial;
    border-top-width: 1px;
    border-bottom-width: 0;
    border-top-left-radius: var(--base-select-radius);
    border-top-right-radius: var(--base-select-radius);
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    overflow: hidden;
}

.autocomplete-tag-input .show-results-list-top .tags-input.active {

}

.suggested-results-list ul {
    max-height: 200px;
    overflow: auto;
}

.result-item {
    padding: 0 10px;
    line-height: 40px;
    height: 40px;
    width: 100%;
    cursor: pointer;
    background: #fff;
    border: none;
    font-weight: 300;
    font-size: 12px;
    color: rgb(68, 68, 68);
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.result-item:hover,
.result-item.selected {
    background: #eeecff;
}

.input-container {
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 100%;
    background-color: #f9f9f9;
    padding: 3px;
    border: 1px solid #C7D3E0;
    border-radius: 3px;
    font-size: 14px;
    /*min-height: 44px;*/
    overflow: hidden;
    text-align: left;
}

.input-container.active {
    outline: 0;
    border-color: #96C8DA;
    box-shadow: none;
}

.input-prefix-element {
    position: absolute;
    top: 50%;
    left: 10px;
    margin-top: -8px;
}

.input-element {
    padding-left: 30px;
}

.autocomplete-tag-input .extra-tag {
    border-left: 3px solid #FF6600;
    color: #FF6600;
    line-height: 18px;
    display: inline-block;
    word-break: break-all;
    margin: 10px 2px 2px;
    padding: 8px;
    font-family: var(--default-font-family);
    font-size: 13px;
    font-weight: 300;
}