.ajax-search .wp-search.loading::before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat
}

input#wp-search-field-1 {
    border: 1px solid #ccc;
    padding: 16px 55px 16px 20px;
    border-radius: 5px;
    width: 100%;
    background: #eee
}

.wp-search button {
    font-size: 0;
    line-height: 0;
    width: 55px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 3;
    background: 0 0;
    border: none;
    padding: 0
}

.widget.widget_search, form.wp-search {
    position: relative
}

.ajax-search-result {
    position: absolute;
    top: 100%;
    left: 0;
    width: -webkit-fill-available;
    background-color: #fff;
    box-shadow: 0 5px 30px 0 rgba(0, 0, 0, .1);
    z-index: 999;
    max-height: 600px;
    overflow-y: scroll;
    padding: 0 20px;
    right: 0;
    border: 1px solid #e5e5e5;
    padding-bottom: 20px;
}

.autocomplete-result {
    margin-top: 20px;
}

.d-none {
    display: none
}

.wp-item-search {
    padding: 10px 0;
    text-align: center;
}

.wp-item-search .wp-link {
    display: flex;
    align-items: center;
    color: var(--light);
    text-decoration: none
}

.wp-item-search .wp-link:hover {
    color: #36f;
}

.wp-item-search .wp-link img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 0 auto;
}

.wp-item-search .wp-title {
    font-size: 14px;
    font-weight: 500;
    margin-top: 0
}

span.item-content {
    font-size: 12px;
    line-height: normal;
    color: #4d4d4d;
    display: none;
}

input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none
}

.autocomplete-Header {
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 10px;
}

.autocomplete-HeaderTitle {
    color: #000;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 9999
}

.autocomplete-HeaderLine {
    display: none;
}

.autocomplete-result .wp-item-search:last-child {
    border: 0
}

.wp-content {
    line-height: 21px
}

@keyframes mf-spin-fast {
    0% {
        transform: rotate(0)
    }
    100% {
        transform: rotate(360deg)
    }
}

.ajax-search .wp-search.loading::before {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 1;
    vertical-align: middle;
    animation: 1s linear infinite mf-spin-fast;
    background-image: url('../images/loading.svg');
    top: 35%
}

.no-result {
    font-size: 14px;
    padding: 10px 0
}
