.search-box {
    position: relative;

    display: flex;

    box-sizing: border-box;
    min-height: 32px;
    padding: 0;

    line-height: 32px;
}

.search-box_focused_yes {
    border-color: #ffdb4d;
    box-shadow: 0 0 0 1px #ffdb4d inset;
}

.search-box__item {
    display: flex;
    overflow: hidden;

    margin: 4px;
}

.search-box__search-input .textinput .textinput__box {
    display: none;
}

.search-box__search-input .textinput .textinput__control {
    border-left-width: 4px;
}

.search-box__search-input {
    display: none;
    flex-grow: 2;

    width: auto;
}

.search-box__search-input_visible {
    display: block;
}

.search-box__search-items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;

    width: 100%;
    max-width: calc(100% - 12px);
    min-height: 32px;
    margin-right: 6px;
    margin-left: 6px;

    line-height: 32px;
}

.search-box__border {
    position: absolute;
    top: 0;
    left: 0;

    box-sizing: border-box;
    width: 100%;
    height: 100%;

    pointer-events: none;

    border: 1px solid rgba(0, 0, 0, .2);
}

.search-box_focused .search-box__border {
    border-color: #ffdb4d;
    box-shadow: 0 0 0 1px #ffdb4d inset;
}

.search-box__search-input .search-input__container {
    position: initial;
}
