.live-search-results {
    display: none;
}

.live-search-results.active {
    display: block;
}

form.searchform {
    min-width: 300px;
}
.live-search-results {
    max-height: 500px;
    overflow-y: scroll;
}
form.searchform input#s {
    border-radius: 5px !important;
    background: transparent !important;
    min-height: 2.5rem;
}

.search-result-title {
    font-size: 25px;
    font-weight: bold;
}

.search-result-list {
    list-style: none;
}

.live-search-results {
    padding: 0 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px #ccc;
}

.result-title {
    line-height: 1.3;
    font-size: 14px;
    margin-left: 10px;
    color: #0055aa;
    flex: 1 1 calc(100% - 50px);
}

img.result-img {
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.search-result-list li {
    padding-bottom: 10px;
    border-bottom: 1px solid #ececec;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 2px solid #000;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

.searching {
    margin-top: 2rem;
}

.recent-search {
    gap: 10px;
    cursor: pointer;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.recent-search .recent-item:hover {
    color: #023262;
    font-weight: bold;
}

button.close-live-search {
    min-height: unset;
    line-height: 0;
    margin: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    z-index: 99;
    padding: 0px;
    background: #ececec;
    border-radius: 5px;
    color: #333;
    font-size: 15px;
    padding: 12px 8px;
}

button.close-live-search:hover {
    background: #111;
    color: #fff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.header .search-form .autocomplete-suggestions::-webkit-scrollbar {
    display: none;
    width: 100% !important;
}

.searchform-wrapper:not(.form-flat) button.ux-search-submit.submit-button {
    background: transparent;
    border: none;
    box-shadow: unset;
    color: #333;
    position: absolute;
    right: 0;
    top: 6px;
    min-height: unset;
    height: unset;
    padding: unset;
}

.realdev-fas-result .post-type-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.realdev-fas-result {
    border-top: 1px solid #f1f1f1;
    padding-top: 20px;
}

.realdev-fas-result .col-inner {
    box-shadow: 0 0 10px #f1f1f1;
    border-radius: 6px;
    overflow: hidden;
}

@media (max-width:551px) {
    .nav-dropdown-has-border .nav-dropdown {
        border: none;
        right: 0 !important;
        width: 100%;
        padding: 10px;
        min-height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-nav>li,
    .mobile-nav {
        position: unset !important;
    }
}