.custom-property-wrap {
    padding-left: 15px;
    padding-right: 15px;
}

/* Filter */
.custom-property-wrap .search-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 60px;
}
.custom-property-wrap .search-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}
.custom-property-wrap .search-field input,
.custom-property-wrap .search-field select {
    border: 1px solid #E0E4E4;
    border-radius: 6px;
    color: #000000;
}
.custom-property-wrap .search-field input:focus,
.custom-property-wrap .search-field select:focus {
    border-color: #333333;
}
.custom-property-wrap .search-field select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../images/select-down.png');
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: right 16px center;
    padding-right: 34px;
}
.custom-property-wrap .search-type-wrap .dropdown-box {
    margin-bottom: 0;
}
.custom-property-wrap .search-select-box select:disabled + .dropdown-box,
.custom-property-wrap .search-select-box .dropdown-box.disabled {
    background-color: #f0f0f0;
    color: #999;
    pointer-events: none;
    opacity: 0.5;
}
.custom-property-wrap .search-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.custom-property-wrap .search-buttons > button {
    border-radius: 6px;
    flex: 1;
    font-weight: 500;
    padding: 8px 22px;
    outline: none;
    text-transform: uppercase;
}
.custom-property-wrap .btn-search {
    background-color: #B79F77;
    border-color: #B79F77;
    color: #FFFFFF;
}
.custom-property-wrap .btn-search:hover,
.custom-property-wrap .btn-search:focus {
    background-color: #966C25;
    border-color: #966C25;
}
.custom-property-wrap .btn-clear {
    border-color: #1D3349;
    color: #1D3349;
}
.custom-property-wrap .btn-clear:hover,
.custom-property-wrap .btn-clear:focus {
    background-color: #1D3349;
    color: #FFFFFF;
}
.custom-property-wrap .detailed-search {
    text-align: left;
}
.custom-property-wrap .search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
}
.custom-property-wrap .search-tags > button {
    border-color: #1D3349;
    border-radius: 6px;
    color: #1D3349;
}
.custom-property-wrap .search-tags > button:hover,
.custom-property-wrap .search-tags > button:focus {
    background-color: #1D3349;
    color: #FFFFFF;
}

/* List */
.custom-property-wrap .epl-results-summary {
    margin-bottom: 45px;
}
.custom-property-wrap .epl-results-summary h2 {
    margin-top: 0;
}
.custom-property-wrap .sort-dropdown {
    display: inline-flex;
    flex-direction: column;
    position: relative;
}
.custom-property-wrap .sort-active {
    background-image: url('../images/select-down.png');
    background-repeat: no-repeat;
    background-size: 11px;
    background-position: right center;
    cursor: pointer;
    padding-right: 18px;
}
.custom-property-wrap .sort-options {
    background-color: #FFFFFF;
    border: 1px solid #E0E4E4;
    border-radius: 6px;
    display: none;
    list-style-type: none;
    margin-top: 4px;
    padding: 8px 0;
    position: absolute;
    left: 0;
    top: 100%;
    text-transform: uppercase;
    z-index: 1;
}
.custom-property-wrap .sort-options li {
    cursor: pointer;
    line-height: 1;
    padding: 8px 16px;
    white-space: nowrap;
}
.custom-property-wrap .sort-options li:hover,
.custom-property-wrap .sort-options li:focus {
    background-color: #E0E4E4;
}
.custom-property-wrap .epl-property-blog-entry-wrapper {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.13);
    border-radius: 16px;
    display: flex;
    margin: 0 0 24px;
}
.custom-property-wrap .property-featured-image-wrapper {
    padding: 0;
}
.custom-property-wrap .property-featured-image-wrapper img {
    width: 100%;
}
.custom-property-wrap .property-content {
    padding: 20px;
}
.custom-property-wrap .property-content h3 {
    margin-top: 0;
}
.custom-property-wrap .property-content h3 > a {
    color: #000000;
}
.custom-property-wrap .property-content .page-price {
    font-family: "DM Serif Display", sans-serif;
    font-size: 16px;
}
.custom-property-wrap .property-feature-icons {
    display: flex;
    flex-flow: row wrap;
    margin-top: 30px;
    margin-bottom: 0;
}
.custom-property-wrap .property-feature-icons .epl-icon-svg-container ~ .epl-icon-svg-container {
    border-left: 1px solid #999;
    padding-left: .5em;
}
.custom-property-wrap .property-feature-icons .epl-icon-svg-container .icon-value {
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "DM Serif Display", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: normal;
    margin: 0;
}
.custom-property-wrap .property-feature-icons .epl-icon-svg-container .epl-icon-label {
    font-size: 13.6px;
    font-weight: 400;
    padding-top: 4px;
}

/* Pagination */
.custom-property-wrap .epl-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}
.custom-property-wrap .epl-pagination .pages {
    border: none;
}
.custom-property-wrap .epl-pagination .page,
.custom-property-wrap .epl-pagination .current,
.custom-property-wrap .epl-pagination .extend,
.custom-property-wrap .epl-pagination .nextpostslink,
.custom-property-wrap .epl-pagination .last {
    background: transparent;
    border: 1px solid #7a7a7a;
    border-radius: 8px;
    color: #7a7a7a;
    font-weight: 600;
    padding: 2px 9px 3px;
    margin: 0 1px;
}
.custom-property-wrap .epl-pagination .current,
.custom-property-wrap .epl-pagination .page:hover,
.custom-property-wrap .epl-pagination .nextpostslink:hover,
.custom-property-wrap .epl-pagination .last:hover {
    background-color: #B79F77;
    border-color: #B79F77;
    color: #fff
}

@media (min-width: 768px) {
    .epl-archive-entry-image,
    .epl-archive-entry-image > a,
    .epl-blog-image {
        height: 100%;
    }
    .custom-property-wrap .property-featured-image-wrapper img {
        height: 100%;
        object-fit: cover;
    }
}
@media (min-width: 1025px) {
    .custom-property-wrap .search-keyword {
        grid-column: span 3;
    }
}
@media (max-width: 1024.98px) {
    .custom-property-wrap .search-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .custom-property-wrap .search-row {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .custom-property-wrap .epl-property-blog-entry-wrapper {
        flex-direction: column;
    }
    .custom-property-wrap .property-featured-image-wrapper,
    .custom-property-wrap .property-content {
        width: 100%;
    }
    .custom-property-wrap .property-feature-icons {
        margin-top: 15px;
    }
}