
.static-search-input-wrapper {
    width: calc(100% - 2rem);
    max-width: 600px;
    margin: 0 auto;
}

.static-search-input {
    width: 100%;
    height: 2rem;
    font-size: 1.2rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
}

#static-search-results {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 1.5rem;
}
.static-search-result {
    box-sizing: border-box;
    display: block;
    width: 100%;
    background: #fdfdfd;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-weight: 300;
}

.static-search-result:hover {
    background: #fff;
    border-bottom: none !important;
}
.static-search-result-header {
    box-sizing: border-box;
    display: block;
    width: 100%;
    background: #fdfdfd;
    cursor: pointer;
    font-weight: 300;
    height: 5rem;
    padding: 0.25rem 0.5rem;
    border-bottom: 1px solid #565656;
}
.static-search-result-header:hover:after {
    all: unset;
}
.static-search-result-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}
@media (max-width: 767px) {
    .static-search-result-top {
        flex-direction: column;
        text-align: center;
    }
}
.static-search-result-header .static-search-result-top {
    margin-bottom: 0.1rem;
}

.static-search-result-title {
    flex-grow: 1;
    font-size: 1.2rem;
}
.static-search-result-header .static-search-result-title {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.static-search-result-type {
    flex-grow: 0;
    padding: 0.15rem 0.3rem;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 2px;
    white-space: nowrap;
    background: #000;
    color: #fff;
}
.static-search-result-header .static-search-result-type {
    font-size: 0.7rem;
    line-height: 1.2rem;
    padding: 0 0.3rem;
}


.static-search-result-category {
    flex-grow: 0;
    padding: 0.15rem 0.3rem;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 6px;
    /* border-radius: 6px;
    border: 1px solid #000; */
    border: 1px solid #000;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 2px;
    white-space: nowrap;
}
.static-search-result-header .static-search-result-category {
    font-size: 0.7rem;
    line-height: 1.2rem;
    padding: 0 0.3rem;
}

.static-search-result-content {
    margin-bottom: 0.5rem;
}
.static-search-result-header .static-search-result-content {
    margin-bottom: 0.1rem;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4rem;
}

.static-search-result-url {
    font-size: 0.9rem;
    font-style: italic;
    color: #333333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.static-search-result-header .static-search-result-url {
    font-size: 0.8rem;
    line-height: 1.3rem;
}

/**
HEADER ONLY
 */
#search-item {
    width: 2rem;
    position: relative;
}

.open-search {
    width: 2rem;
    cursor: pointer;
}

.open-search svg {
    width: 1rem;
    height: 1rem;
    margin: 0 0.5rem;
}

#search-input-wrapper {
    position: absolute;
    right: 3rem;
    width: 0;
    transition: width 300ms ease-in-out;
    border-bottom: 2px solid #333;
    height: 2rem;
}

#header-search-result {
    overflow: hidden;
    width: 100%;
    position: absolute;
    -webkit-box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 1px 1px 3px 0px rgba(0, 0, 0, 0.5);
    background: #fff;
    max-height: 50vh;
    overflow-y: scroll;
    line-height: 1.5rem;
}

#search-input-wrapper input {
    width: calc(100% - 0.6rem);
    font-size: 1.1rem;
    border: none;
    background: transparent;
    padding: 0.1rem 0.3rem;
    height: 100%;
}


/**
Loader icon
 */
.loader-icon {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    padding: 1rem 0;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 8px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}
@keyframes l5 {
    0%  {box-shadow: 10px 0 #C0A468, -10px 0 #C0A46822;background: #C0A468 }
    33% {box-shadow: 10px 0 #C0A468, -10px 0 #C0A46822;background: #C0A46822}
    66% {box-shadow: 10px 0 #C0A46822,-10px 0 #C0A468; background: #C0A46822}
    100%{box-shadow: 10px 0 #C0A46822,-10px 0 #C0A468; background: #C0A468 }
}