.react-tags {
    position: relative;
    border: 1px solid transparent;
    border-radius: 1px;

    /* shared font styles */
    font-size: 15px;
}

.react-tags.is-editing {
    border-color: #B1B1B1;
}

.react-tags__selected {
    display: inline;
}

.react-tags__selected-tag, .plus, .none-assigned {
    display: inline-block;
}

.none-assigned {
    margin: 0 12px 0 -6px;
    color: #777;
}

.react-tags__selected-tag, .plus {
    background: red;
    margin: 0 6px 6px 0;
    box-sizing: border-box;
    border: 1px solid #D1D1D1;
    border-radius: 2px;
    background: hsl(0, 0%, 95%);
    /* match the font styles */
    font-size: inherit;
    line-height: inherit;
}

.plus {
    position: relative;
    width: 32px;
    padding: 6px 0;
    cursor: pointer;
}

.plus:hover {
    border-color: #999;
}

.plus .flex-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plus .text {
    color: #777;
    font-size: 18px;
    text-align: center;
}

.react-tags__selected-tag span {
    display: inline-block;
    padding: 6px 1px 6px 1px;
}

.react-tags__selected-tag div {
    display: inline-block;
    padding: 6px 8px 6px 0;
    height: 100%;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

/* Placeholder for when delete button is not visible */
.react-tags__selected-tag div:after {
    margin-left: 8px;
}

.react-tags__selected-tag div.delete-button:after {
    content: '\2715';
    color: #AAA;
}

.react-tags__search {
    display: inline-block;

    /* match tag layout */
    padding: 7px 2px;
    margin-bottom: 6px;

    /* prevent autoresize overflowing the container */
    max-width: 100%;
}

@media screen and (min-width: 30em) {

    .react-tags__search {
        /* this will become the offsetParent for suggestions */
        position: relative;
        z-index: 100;
    }
}

.react-tags__search input {
    /* prevent autoresize overflowing the container */
    max-width: 100%;

    /* remove styles and layout from this element */
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;

    /* match the font styles */
    font-size: inherit;
    line-height: inherit;

    height: 30px;
}

.react-tags__search input::-ms-clear {
    display: none;
}

.react-tags__suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}

@media screen and (min-width: 30em) {

    .react-tags__suggestions {
        width: 240px;
    }
}

.react-tags__suggestions ul {
    margin: 4px -1px;
    padding: 0;
    list-style: none;
    background-color: white;
    border: 1px solid #D1D1D1;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.react-tags__suggestions li {
    background-color: white;
    border-bottom: 1px solid #ddd;
    padding: 6px 8px;
}

.react-tags__suggestions li mark {
    text-decoration: underline;
    background: none;
    font-weight: 600;
    padding: 0;
}

.react-tags__suggestions li:hover {
    cursor: pointer;
    background: #eee;
}

.react-tags__suggestions li.is-active {
    background: #dbe7f0;
}

.react-tags__suggestions li.is-disabled {
    opacity: 1;
    cursor: auto;
}
