@charset "UTF-8";

.tagify {
    --tags-disabled-bg: #F1F1F1;
    --tags-border-color: #DDD;
    --tag-bg: #333338;
    --tag-hover: #121212;
    --tag-text-color: #fff;
    --tag-text-color--edit: #fff;
    --tag-inset-shadow-size: 1.1em;
    --tag-invalid-color: #e5333f;
    --tag-invalid-bg: rgba(211, 148, 148, 0.5);
    --tag-hide-transition: 0.3s;
    --placeholder-color: rgba(0, 0, 0, 0.4);
    --placeholder-color-focus: rgba(0, 0, 0, 0.25);
    --loader-size: .8em;
    --readonly-striped: 1;
    display: inline-flex;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 0;
    cursor: text;
    outline: 0;
    position: relative;
    box-sizing: border-box;
    height: 100%;
    border-radius: 25px;
    background: #f4f4f4;
    border: 1px solid #f4f4f4;
    transition: all .25s ease-in-out;
    padding: 0 35px 0 48px;
}

.tagify--focus {
    background: #fff;
    border: 1px solid #333338;
}

@keyframes tags--bump {
    30% {
        transform: scale(1.2)
    }
}

.tagify[disabled] {
    background: var(--tags-disabled-bg);
    filter: saturate(0);
    opacity: .5;
    pointer-events: none
}

.tagify[disabled] .tagify__tag__removeBtn,
.tagify[readonly] .tagify__tag__removeBtn {
    display: none
}

.tagify + input,
.tagify + textarea {
    position: absolute !important;
    left: -9999em !important;
    transform: scale(0) !important
}

.tagify__tag {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    outline: 0;
    line-height: normal;
    cursor: default;
    transition: .13s ease-out;
    vertical-align: top;
    margin: 2px 2px 2px 0;
}

.tagify__tag > div {
    flex: 1;
    vertical-align: top;
    box-sizing: border-box;
    max-width: 100%;
    padding: 0 0 0 10px;
    border-radius: 3px;
    white-space: nowrap;
    transition: .13s ease-out
}

.tagify__tag > div b {
    font-weight: 600;
}

.tagify__tag > div > * {
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
    max-width: 200px;
    white-space: nowrap;
    transition: .8s ease, .1s color;
    font-size: 14px;
    color: #fff;
    line-height: 30px;
}

.tagify__tag > div > [contenteditable] {
    outline: 0;
    -webkit-user-select: text;
    user-select: text;
    cursor: text;
    margin: -2px;
    padding: 2px;
    max-width: 350px;
    white-space: nowrap;
}

.tagify__tag > div > :only-child {
    width: 100%
}

.tagify__tag > div::before {
    content: "";
    position: absolute;
    border-radius: inherit;
    inset: var(--tag-bg-inset, 0);
    z-index: -1;
    pointer-events: none;
    transition: 120ms ease;
    animation: tags--bump .3s ease-out 1;
    box-shadow: 0 0 0 var(--tag-inset-shadow-size) var(--tag-bg) inset
}

.tagify__tag--loading {
    pointer-events: none
}

.tagify__tag--loading .tagify__tag__removeBtn {
    display: none
}

.tagify__tag--loading::after {
    --loader-size: .4em;
    content: "";
    vertical-align: middle;
    opacity: 1;
    width: .7em;
    height: .7em;
    min-width: 0;
    border: 3px solid;
    border-color: #eee #bbb #888 transparent;
    border-radius: 50%;
    margin: 0 .5em 0 -.1em
}

.tagify__tag--flash div::before {
    animation: none
}

.tagify__tag--hide {
    width: 0 !important;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    opacity: 0;
    transform: scale(0);
    transition: var(--tag-hide-transition);
    pointer-events: none
}

.tagify__tag--hide > div > * {
    white-space: nowrap
}

.tagify__tag.tagify--noAnim > div::before {
    animation: none
}

.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div > span {
    opacity: .5
}

.tagify__tag.tagify--notAllowed:not(.tagify__tag--editable) div::before {
    --tag-bg: var(--tag-invalid-bg);
    transition: .2s
}

.tagify__tag[readonly] .tagify__tag__removeBtn {
    display: none
}

.tagify__tag[readonly] > div::before {
    animation: readonlyStyles 1s calc(-1s * (var(--readonly-striped) - 1)) paused
}

@keyframes readonlyStyles {
    0% {
        background: linear-gradient(45deg, var(--tag-bg) 25%, transparent 25%, transparent 50%, var(--tag-bg) 50%, var(--tag-bg) 75%, transparent 75%, transparent) 0/5px 5px;
        box-shadow: none;
        filter: brightness(.95)
    }
}

.tagify__tag--editable > div {
    color: var(--tag-text-color--edit)
}

.tagify__tag--editable > div::before {
    box-shadow: 0 0 0 2px var(--tag-hover) inset !important
}

.tagify__tag--editable > .tagify__tag__removeBtn {
    pointer-events: none
}

.tagify__tag--editable > .tagify__tag__removeBtn::after {
    opacity: 0;
    transform: translateX(100%) translateX(5px)
}

.tagify__tag--editable.tagify--invalid > div::before {
    box-shadow: 0 0 0 2px var(--tag-invalid-color) inset !important
}

.tagify__tag__removeBtn {
    order: 5;
    display: inline-block;
    cursor: pointer;
    font: 0/0 a;
    width: 30px;
    height: 30px;
    background: url(../images/ui/ic_close_white.svg) no-repeat center / 8px auto;
    opacity: 0.6;
}

.tagify__tag__removeBtn:hover {
    opacity: 1;
}

.tagify__tag__removeBtn:hover + div > span {
}

.tagify__tag__removeBtn:hover + div::before {
    box-shadow: 0 0 0 var(--tag-inset-shadow-size) #e5333f inset !important;
    transition: box-shadow .2s
}

.tagify:not(.tagify--mix) .tagify__input br {
    display: none
}

.tagify:not(.tagify--mix) .tagify__input * {
    display: inline;
    white-space: nowrap
}

.tagify__input {
    flex-grow: 1;
    position: relative;
    color: #121212;
    margin: 0;
    width: 100%;
    height: 100%;
    font-size: 15px;
    display: block;
    overflow: auto;
    line-height: 34px;
    padding: 4px 0;
    max-height: 80px;
}

.tagify__input:empty::before {
    position: static;
}

.tagify__input:focus {
    outline: 0
}

.tagify__input:focus::before {
    transition: .2s ease-out;
    opacity: 0;
    transform: translatex(6px)
}

@supports (-ms-ime-align:auto) {
    .tagify__input:focus::before {
        display: none
    }
}

.tagify__input:focus:empty::before {
    transition: .2s ease-out;
    opacity: 1;
    transform: none;
    color: rgba(0, 0, 0, .25);
    color: var(--placeholder-color-focus);
}

@-moz-document url-prefix() {
    .tagify__input:focus:empty::after {
        display: none
    }
}

.tagify__input::before {
    content: attr(data-placeholder);
    height: 1em;
    line-height: 1em;
    margin: auto 0;
    z-index: 1;
    color: rgba(18, 18, 18, 0.5);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    position: absolute;
}

.tagify__input::after {
    content: attr(data-suggest);
    display: inline-block;
    vertical-align: middle;
    position: absolute;
    min-width: calc(100% - 1.5em);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: pre;
    color: var(--tag-text-color);
    opacity: .3;
    pointer-events: none;
    max-width: 100px
}

.tagify__input .tagify__tag {
}

.tagify--mix {
    display: block
}

.tagify--mix .tagify__input::before {
    height: auto;
    display: none;
    line-height: inherit
}

.tagify--mix .tagify__input::after {
    content: none
}

.tagify--empty .tagify__input::before {
    transition: .2s ease-out;
    opacity: 1;
    transform: none;
    display: inline-block;
    width: auto
}

.tagify--mix .tagify--empty .tagify__input::before {
    display: inline-block
}

.tagify--invalid {
    --tags-border-color: #D39494
}

.tagify__dropdown {
    position: absolute !important;
    z-index: 9999;
    overflow: hidden;
    top: 100% !important;
    margin-top: 5px;
    left: 0 !important;
    right: 0 !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.12);
}

.tagify__dropdown__wrapper {
    max-height: 350px;
    overflow: hidden;
    transition: .3s cubic-bezier(.5, 0, .3, 1), transform .15s;
    animation: dd-wrapper-show 0s .3s forwards;
    padding: 10px 0;
}

@keyframes dd-wrapper-show {
    to {
        overflow-y: auto
    }
}

.tagify__dropdown__header:empty {
    display: none
}

.tagify__dropdown__footer {
    display: inline-block;
    margin-top: .5em;
    padding: var(--tagify-dd-item-pad);
    font-size: .7em;
    font-style: italic;
    opacity: .5
}

.tagify__dropdown__footer:empty {
    display: none
}

.tagify__dropdown__item {
    cursor: pointer;
    margin: 0;
    padding: 10px 15px 10px 50px;
    color: #333338;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.tagify__dropdown__item.tagify__dropdown__item--submit {
    color: #86939e;
}

.tagify__dropdown__item b {
    font-weight: 600;
}

.tagify__dropdown__item em {
    color: #e5333f;
}

.tagify__dropdown__item--active {
    background: #f0f0f0;
}

.tagify__dropdown__item:active {
    filter: brightness(105%)
}

.tagify__dropdown__item--hidden {
    padding-top: 0;
    padding-bottom: 0;
    margin: 0 1px;
    pointer-events: none;
    overflow: hidden;
    max-height: 0;
    transition: var(--tagify-dd-item--hidden-duration, .3s) !important
}

.tagify__dropdown__item--hidden > * {
    transform: translateY(-100%);
    opacity: 0;
    transition: inherit
}

.tagify.tagify--loading {
}

.tagify.tagify--loading::after {
    position: absolute;
    content: '';
    bottom: -1px;
    left: -50px;
    right: -15px;
    height: 1px;
    background-color: #e5333f;
    box-shadow: 0 0 5px 0 #86939E;
    animation: tagifyLoader 1s cubic-bezier(0, 0, 0.03, 0.9) infinite;
}

@keyframes tagifyLoader {
    0%, 44%, 68.1%, 100% {
        transform-origin: left;
    }

    0%, 100%, 68% {
        transform: scaleX(0);
    }

    44.1%, 68% {
        transform-origin: right;
    }

    33%, 44% {
        transform: scaleX(1);
    }
}
