input, button, #profile {
    transition-duration: var(--transition-duration)
}

#top-bar {
    width: 100%;
    min-height: 58px;
    background: var(--tile);
    display: flex;
    gap: 10px;
    box-shadow: var(--top-box-shadow);
}

#top-first,
#top-second {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#top-first {
    margin-left: 10px;
    width: 100%;
}

#top-second {
    justify-content: end;
    margin-right: 10px;
}

#profile-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
}

#profile-flex > span {
    display: flex;
    font-weight: bold;
    font-size: 16px;
    margin-left: 10px;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

#profile-picture {
    width: 38px;
    height: 38px;
    margin-left: 10px;
    border-radius: 5px;
}

#profile-badge {
    margin-left: 5px;
    width: 24px;
    height: 24px;
}

.top-button {
    width: 24px;
    height: 24px;
    background: var(--button);
    padding: 7px;
    border-radius: 5px;
    box-shadow: var(--button-shadow);
    cursor: pointer;
}

.pane-button-selected {
    box-shadow: none;
}

#banner {
    height: 38px;
    width: auto;
    grid-area: banner;
    margin-right: 10px;
    cursor: pointer;
    display: flex;
}

#banner > img {
    flex-shrink: 1;
    width: auto;
    height: 100%;
    content: var(--banner-location)
}

#search {
    width: 360px;
    height: 38px;
    text-align: left;
}

#search-form {
    position: relative;
}

#search:focus {
    outline: none;
}

#advanced-search-submit {
    appearance: none;
    border: none;
    background: none;
    color: var(--link);
    content: "advanced-search-submit";
    box-shadow: none;
    padding: 0;
    font-size: 11px;
    position: absolute;
    border-radius: 0;

    right: 0;
    top: 50%;
    transform: translate(-12px, -50%);
}

#search-quick-results-mobile,
#search-quick-results {
    position: absolute;
    width: 340px;
    height: auto;
    border-radius: 10px;
    background: var(--tile);
    box-shadow: var(--box-shadow);
    z-index: 5;
    overflow: hidden;
}

#search-quick-results-mobile > .nav-item,
#search-quick-results > .nav-item {
    height: 34px;
    padding-left: 15px;
}

#search-quick-results-mobile > .nav-item > img,
#search-quick-results > .nav-item > img {
    height: 100%;
    width: fit-content;
    border-radius: 5px;
}
