/* Search V2 */
.input-field input[type="search"] {
    width: 100%;
    height: 50px;
    box-sizing: border-box;
    border: 1.5px solid #BFB9B9;
    transition: 0.5s;
    padding: 0.75rem 1rem;
    border-color: var(--light-grey);
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    width: 10px;
    background-image: url('/images/x-cross.svg');
    background-size: 10px 10px;
    cursor: pointer;
}

.search-result-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-icon {
    position: static;
    transform: unset;
}

.search-filters {
    display: block;
}

.search-filters hr {
    margin: 1rem 0;
}

.advanced-filters {
    margin: 2rem 0;
}

.search-sidebar .reset {
    visibility: visible;
}

.search-item {
    border-bottom: 1.5px solid #BFB9B9;
    padding: 1rem 0;
}

.search-type {
    color: var(--primary-brand);
    font-weight: 600;
}

.district .search-type {
    color: var(--accent-2);
}

.search-content p {
    margin-bottom: 0;
    color: var(--dark-font-color);
    font-weight: var(--font-regular);
    word-break: break-all;     
    overflow-wrap: anywhere;     
    white-space: normal;
}

.search-content h4 {
    color: var(--dark-font-color);
    margin: .5rem 0;
    font-size: 1.2rem;
}

.searchv2-pagination-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: flex-end;
    margin: 1rem 0;
}

.searchv2-pagination-row i {
    cursor: pointer;
}

.search-result-term {
    color: #707070;
    font-size: 1.2rem;
    font-weight: 600;
}

.search-content .promoted  {
    color: var(--medium-grey);
    font-size: .75rem;
}

.advanced-filters-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    align-items: center;
    margin: 0px 0px 0.75rem;
    gap: 0.5rem;
}

.results-row {
    margin-top: 1rem;
}

.results-row #reset-filters {
    color: var(--accent-2);
    font-size: 1.2rem;
    font-weight: var(--font-bold);
    font-family: var(--serif-font);
    cursor: pointer;
}

.sort-result {
    box-sizing: border-box;
    border: solid 1px #e4e4e4;
    transition: 0.5s;
    padding: 0.75rem 1rem;
    color: rgb(117, 117, 117);
    background-image: linear-gradient(45deg, transparent 50%, rgb(117, 117, 117) 50%), linear-gradient(135deg, rgb(117, 117, 117) 50%, transparent 50%);
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    appearance: none;
    width: 250px;
    background-position: calc(100% - 20px) calc(1em + 5px), calc(100% - 15px) calc(1em + 5px), calc(100% - 2.5em) 0.5em;
}

.advanced-filters-content {
    display: none;
}

.advanced-filters-trigger {
    cursor: pointer;
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#search-result-suggestion h4 {
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

.search-suggestion {
    cursor: pointer;
}

.sidebar-item > h3  {
    margin-top: 0.5rem;
}

#search-form-3 input[type="submit"] {
    margin-top: 1rem;
    display: block;
}

@media (max-width: 991px) {
    .search-results-template .content {
        padding: 0;
    }

    #search-form-3 input[type="submit"] {
        margin-left: auto;
    }

    .search-results-template .sidebar-wrapper {
        margin-bottom: 1rem;
    }
}

@media (min-width: 62em) {
    .advanced-filters-content {
        display: block!important;
    }

    .advanced-filters-trigger {
        display: none;
    }
}