.search-bar {
    flex: 1;
    display: flex;
    align-items: center;

    background: var(--theme-raised);
    /* background: #2a2a2a; */

    padding: 4px 8px;
    border-radius: 4px;
    /* margin-top: 18px; */
    min-width: 0px;
    max-width: none;
}

.search-bar input {
    width: 100%;
    background: transparent;
    font-size: 1em;
    border: none;

    color: var(--theme-text);

    outline: none;
}

.search-toggle {
    display: none;
    cursor: pointer;
}

/* close button */
.search-bar .search-close {
    display: none;
}

/* layout inside expanded search */
.search-left {
    display: flex;
    align-items: center;
    padding: 0 8px;
}

/* mobile behavior */
@media (max-width: 700px) {

    .search-bar {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--topbar-height);
        background: #181818;
        z-index: 1100;
        margin: 0;
        padding: 0 10px;
        border-radius: 0;
        align-items: center;
    }

    .search-bar.search-open {
        display: flex;
    }

    .search-toggle {
        display: flex;
        align-items: center;
    }

    .search-bar input {
        flex: 1;
        background: transparent;
        border: none;
        color: white;
        outline: none;
    }

    .search-bar .search-close {
        cursor: pointer;
        font-size: 18px;
        padding: 0 10px;
        color: white;
        display: flex;
        align-items: center;
    }

}