.wppf_flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.wppf_quicksearch select,
.wppf_quicksearch input[type="text"] {
    border: 2px solid #000 !important;
    background: #fff;
    box-shadow: none;
    height: 51px !important;
}

.wppf_quicksearch .easy-autocomplete {
    height: 100% !important;
}

.wppf_quicksearch button.wppf_button {
    background-color: #162847 !important;
}

.wppf_quicksearch_block,
.wppf_quicksearch_small_block,
.wppf_quicksearch_button_block,
.wppf_search_submit, 
.wppf_buttons_block {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 15px;
}

.wppf_half {
    flex: 0 0 50%;
    max-width: 50%;
}

.wppf_half:first-child {
    padding-right: 15px;
}

.wppf_search_submit button {
    width: 100%;
}

.wppf_search label {
    font-weight: bold;
}

.wppf_search input[type=checkbox] {
    float: left;
    border: 1px solid #000;
    margin-bottom: 20px;
}

@media (min-width: 601px) {
    .wppf_quicksearch .wppf_flex>div {
        padding: 0 15px 0 0;
    }

    .wppf_quicksearch .wppf_flex>div:last-child {
        padding: 0;
    }

    .wppf_quicksearch_block,
    .wppf_quicksearch_small_block,
    .wppf_quicksearch_button_block,
    .wppf_search_submit {
        flex: 0 0 33%;
        max-width: 33%;
    }
}

@media (min-width: 1381px) {
    .wppf_quicksearch_block {
        flex: 0 0 20%;
        max-width: 20%;
    }

    .wppf_quicksearch_small_block {
        flex: 0 0 17.5%;
        max-width: 17.5%;
    }

    .wppf_quicksearch_button_block {
        flex: 0 0 14%;
        max-width: 14%;
    }

    .wppf_search_submit {
        flex: 0 0 17%;
        max-width: 17%;
    }
}

.wppf_search input[type=text] {
    text-indent: 12px !important;
}

.btn-primary,
.w-tabs.style_simple3>.w-tabs-list .w-tabs-item {
    border: 2px solid #005fae;
    color: #005fae;
    background-color: #fff;
    border-radius: 5px;
    height: 100%;
}

.btn-primary.active,
.w-tabs.style_simple3>.w-tabs-list .w-tabs-item.active {
    background-color: #005fae;
    color: #fff;
}

.w-tabs.style_simple3.layout_hor>.w-tabs-list .w-tabs-item:not(:last-child) {
    margin-right: 15px;
}

.wppf_quicksearch .btn-primary {
    width: 100%;
}

.btn-primary i {
    margin-right: 5px;
}

.wppf-property-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.wppf-property-features li {
    margin: 0;
}

.wppf-property-features i {
    margin-right: 3px;
}

.underline-link a {
    border-bottom: 2px solid #25a266;
    padding-bottom: 3px;
    transition: border-color 0.3s ease;
}

.underline-link a:hover {
    border-bottom-color: transparent;
}

.wppf_property_details {
    padding-bottom: 30px;
}

#small_map #wppf_map_single {
    height: 300px !important;
}

.wppf_pic_more {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 5px 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.wppf_pic {
    position: relative;
    background: no-repeat center center;
    background-size: cover;
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    cursor: pointer;
    -webkit-border-radius: 15px;
    border-radius: 15px;
    overflow: hidden;
    display: none;
}

.wppf_pic.wppf_main_pic {
    display: block;
}

@media (max-width: 767px) {
    .wppf_pic {
        width: 100%;
        min-width: 100%;
    }
}

.wppf_pic::after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.wppf_pic:hover::after {
    opacity: 0.25;
}

@media (min-width: 768px) {
    .wppf_pic {
        display: block;
    }
}

.wppf_large_pic_1 {
    flex: 0 0 100%;
    max-width: 100%;
    height: 300px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.wppf_large_pic_area_2 {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
    gap: 20px;
}

.wppf_large_pic_2,
.wppf_small_pic_2 {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    height: 300px;
}

.wppf_large_pic_2 {
    margin-right: 20px;
}

.wppf_large_pic_3 {
    flex: 0 0 75%;
    max-width: 75%;
    height: 300px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.wppf_large_pic_area_1 {
    flex: 0 0 25%;
    max-width: 25%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
    gap: 20px;
}

.wppf_small_pic_3 {
    flex: 0 0 100%;
    max-width: 100%;
    height: 190px;
}

.wppf_large_pic_5 {
    flex: 0 0 50%;
    max-width: 50%;
    height: 300px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.wppf_small_pic_5 {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
    height: 190px;
}

@media (min-width: 768px) {

    .wppf_large_pic_5,
    .wppf_large_pic_3,
    .wppf_large_pic_1,
    .wppf_large_pic_2,
    .wppf_small_pic_2 {
        height: 400px;
    }
}

.mfp-arrow-right:before,
.mfp-arrow-left:before {
    border: 0 !important;
}

.mfp-preloader {
    display: none !important;
}

/* property results */

#et-main-area {
    background: #f5f1ee;
}

.wppf_results_layout {
    border: 1px solid #ccc;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    background: #fff;
    padding: 15px 10px 0;
}

.wppf_result_container {
    border: 0;
    background: transparent;
}

.wppf_results_layout h3 {
    float: none;
    background: none;
    color: #000;
    font-size: 18px;
}

.wppf_search label {
    font-size: .875rem;
    color: #000;
}

.wppf_filter {
    padding: 10px;
    clear: both;
}

.wppf_filter .wppf_button {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    display: block;
    width: 100%;
}

.wppf_properties_header {
    justify-content: end;
    padding: 10px 30px 25px;
}

.wppf_sort,
.wppf_viewas {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    font-size: .875rem;
    color: #000;
    padding: 0;
}

.wppf_property_count {
    color: #000;
    font-size: .875rem;
    margin-right: auto;
    flex: 0 0 100%;
    max-width: 100%;
    padding-bottom: 15px;
}

.wppf_search input[type=text],
.wppf_search select,
.wppf_properties_header select {
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: none;
    padding: 0 5px;
}

.wppf_properties_header select {
    padding: 5px;
    min-width: 100px;
}

.easy-autocomplete {
    width: 100% !important;
}

.wppf_results_layout .wppf_property_item_inner {
    border: 1px solid #ccc;
}

.wppf_list_sort {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.wppf_list_sort select {
    width: auto;
    margin-left: 15px;
}

@media (min-width: 768px) {
    .wppf_property_count {
        flex: 0 0 auto;
        max-width: none;
        padding-bottom: 0;
    }

    .wppf_sort,
    .wppf_viewas {
        flex: 0 0 auto;
        max-width: 25%;
        padding: 0 0 0 25px;
        text-align: right;
    }
}

.wppf_property.w-grid-item .status {
	background: #25a266;
    width: 150px;
    height: 150px;
    color: #fff;
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    align-items: end;
    transform: translate(50%, -50%) rotate(45deg);
    justify-content: center;
    padding: 5px 30px;
    text-align: center;
    line-height: 20px;
	font-weight: bold;
}

.single-wppf_property .status {
	background: #25a266;
	padding: 5px 15px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	color: #fff;
	font-weight: bold;
	display: inline-block;
}


.wppf_buttons_block {
	display: flex;
	flex-wrap: wrap;
    justify-content: flex-start;
	padding-right: 0!important;
}

.wppf_buttons_block .wppf_quicksearch_button_block {
	flex: 0 0 50%!important;
    max-width: 50%!important;
	margin-bottom: 0!important;
}

.wppf_buttons_block .wppf_quicksearch_button_block:first-child {
	padding-right: 7px;	
}

.wppf_buttons_block .wppf_quicksearch_button_block:last-child {
	padding-left: 7px;	
}

.wppf_buttons_block .wppf_quicksearch_button_block button {
	padding-top: 10px;
	padding-bottom: 10px;
}

@media (max-width: 767px) {
    .wppf_quicksearch .wppf_buttons_block .wppf_quicksearch_button_block:first-of-type {
        margin-right: 0% !important;
    }
}
