svg.search-icon {
    vertical-align: -0.125em;
    width: 1em;
}

/*.search-button {*/
/*    border-top-left-radius: .5rem;*/
/*    border-bottom-left-radius: .5rem;*/
/*}*/

/*.search-input {*/
/*    border: 1px solid #aaa !important;*/
/*    border-top-right-radius: .5rem !important;*/
/*    border-bottom-right-radius: .5rem !important;*/
/*    background-color: #f3f3f3;*/
/*}*/

.no-outline,
.no-outline:focus,
.no-outline:active {
    outline: none !important;
    border-color: inherit;
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
}

.search-widget {
    margin-bottom: 5px;
    margin-top: 5px;
    left: 0;
    right: 0;
    display: none;
    z-index: 5;
    border-radius: var(--bs-border-radius);
}

.search-result-container {
    max-height: 50vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-result .project-card:hover {
    border-color: var(--bs-primary) !important;
}

.search-result.focus .project-card {
    border-color: var(--light-grey) !important;
}

.match .match-text {
    word-break: break-all;
    white-space: normal;

    line-height: 1.2rem !important;
    min-height: 1.2rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.search-result-container::-webkit-scrollbar {
    width: .35rem;
    height: .35rem
}

.search-result-container::-webkit-scrollbar-track {
    background-color: black;
}

.search-result-container::-webkit-scrollbar-thumb {
    background-color: var(--light-grey);
}