/** PROPERTY ITEM CSS **/

div#property-result .property {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 35px;
    row-gap: 35px;
	padding:0;
}

div#property-result .property.related-property {
    grid-template-columns: repeat(4, 1fr);
}

li.property-item {
	list-style:none;
	box-shadow: 0 4px 15px rgb(0 0 0 / 10%);
	    position: relative;
    padding-bottom: 70px;
}

.property-item  .status {
    position: absolute;
    top: 15px;
    right: 15px;
    line-height: 1;
    padding: 10px 25px;
    background-color: #B2A300;
    color: #fff;
	text-transform: capitalize;
}

div#region_wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.property-item  .image-container {
    position: relative;
}

.property-item  .title {
    margin-bottom: 20px;
}

.related-property .property-item .title {
	margin-bottom:10px;
}

.property-item .title h3 {
	font-size: 30px;
    margin-bottom: 20px;
    padding-bottom: 0;
    color: #707070 !important;
	font-family:'DM Sans',Helvetica,Arial,Lucida,sans-serif;
}

.related-property .property-item .title h3 {
	font-size:20px;
	margin-bottom:10px;
}

.property-item .title h3:hover {
	color:#9fa618 !important;
}

.property-item .image-container img {
    height: 270px;
    width: 100%;
    object-fit: cover;
    display:block;
}

.property-item .content-container {
    padding: 20px 20px 0 20px;
}

.property-item .address {
    color: rgb(35 31 32 / 50%);
    font-size: 20px;
    line-height: 1.2em;
}

.details {
/*     display: flex;
    justify-content: flex-start;
    max-width: max-content;
    flex-wrap: wrap;
	gap: 3%; */
    margin-bottom: 20px;
}

.property-link {
	margin-top:20px;
	text-align:right;
}

.property-item .content-container .et-land-info-list {
/*     padding: 10px 0; */
/*     border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5; */
	color:#707070;
	display:block !important;
}

.details .property-detail {
    flex: 1 1 48.5%;
    border-right: 1px solid;
    margin-bottom: 20px;
}

.property-container {
    display: flex;
}

.detail-item {
    margin-right: 15px;
}

.property-info {
	    display: flex;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 20px;
    font-weight: 400;
/*     display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 10px;
    row-gap: 10px;
    font-weight: 400;
	align-items:end; */
}

.related-property .property-info {
	row-gap:5px;
}

.property-info div {
    color: #707070;
	display: flex;
    align-items: center;
}

.property-info img {
    width: 28px;
    margin-right: 10px;
}

.property-info div {
    line-height: 1;
}

/* .property-info div:nth-child(odd) {
    border-right: 1px solid;
}
 */
.property-price {
    font-size: 30px;
    color: #707070;
    font-weight: bold;
}

.related-property .property-price {
	font-size:16px;
}

.property-view {
    text-align: right;
    text-transform: uppercase;
    font-weight: bold;
	position: absolute;
    bottom: 30px;
    right: 30px;
}

.property-view i {
    margin-left: 15px;
}

/** PROPERTY SEARCH **/

form#property-search {
    display: flex;
    gap: 2.6vw;
    justify-content: center;
    padding: 20px 10px;
}

.form-field label {
    display: block;
	font-weight: bold;
	font-size:18px;
}

.form-field {
    flex: 1;
    position: relative;
}

.form-field select {
    width: 100%;
    border: 0;
    padding: 10px 0 0;
    position: relative;
    left: -4px;
    cursor: pointer;
	font-size:16px;
}

.form-field:after {
    content: "";
    position: absolute;
    top: 0;
    right: -1.3vw;
    bottom: 0;
    width: 1.5px;
    background: rgb(164 164 164 / 60%);
}

.form-field:last-child:after {
    display: none;
}

form#property-search .form-field.submit {
    flex-grow: 0;
    flex-basis: 70px;
}

form#property-search button#submit {
    background-color: #9FA618;
    border: 1px solid #9FA618;
    color: #fff;
    height: 100%;
    width: 100%;
    font-size: 25px;
    cursor: pointer;
	border-radius:5px;
}

form#property-search button#submit:hover {
    background-color: transparent;
    border: 1px solid #9FA618;
    color: #9FA618;
    height: 100%;
    width: 100%;
    font-size: 25px;
}

.property-view a:hover {
    color: #707070;
}

.listing_pagination_wrapper {
    text-align: center;
    margin-top: 50px;
}

.listing_pagination_wrapper .prev,.listing_pagination_wrapper .next {
    border: 2px solid #707070;
    padding: 5px 10px;
    border-radius: 100%;
}

.listing_pagination_wrapper a {
	margin: 0 10px;
	color: #707070;
}

.listing_pagination_wrapper a:hover,
.listing_pagination_wrapper span.current{
	color:#9FA618;
	border-color:#9FA618 !important;
}

.listing_pagination_wrapper {
    text-align: center;
    margin-top: 50px;
	font-size: 24px;
	position: relative;
}

.listing_pagination_wrapper .pagination {
    display: inline-block;
    background: #fff;
    padding: 0 30px;
    position: relative;
    z-index: 3;
}

.listing_pagination_wrapper::before {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #707070;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    margin: auto;
}

.listing_pagination_wrapper .prev {
	margin-left:0;
}

.listing_pagination_wrapper .next {
	margin-right:0;
}

div#post-related-property .wrapper {
    display: flex;
    flex-wrap: wrap;
}

div#post-related-property .wrapper .image-container {
    width: 35%;
    position: relative;
}

div#post-related-property .wrapper .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

div#post-related-property .wrapper .content-container {
    width: 65%;
    text-align: left;
}

div#post-related-property .status {
    position: absolute;
    bottom: 0;
    right: 0;
    line-height: 1;
    padding: 10px 25px;
    background-color: #B2A300;
    color: #fff;
    text-transform: capitalize;
}

div#post-related-property .title {
    background: #b2a300;
    padding: 30px;
}

div#post-related-property .property-price {
    color: #fff;
    margin-bottom: 10px;
}

div#post-related-property h3 {
    padding: 0;
    color: #fff;
}

div#post-related-property .details {
    margin: 0;
    padding: 30px 30px 0;
}

/** RESPONSIVE CSS **/

@media (max-width: 1405px) {
	.property-item .title h3 {
		font-size: 25px;
	}
	
	.property-link {
		grid-template-columns: repeat(1, 1fr);
		text-align: center;
	}

	.property-view {
		text-align: center;
	}
}

@media (max-width: 980px) {
	div#property-result .property.related-property {
		grid-template-columns: repeat(2, 1fr);
	}
    form#property-search {
        gap: 0;
        flex-wrap: wrap;
        padding: 0;
        box-shadow: 0 3px 20px rgb(0 0 0 / 15%);
    }

    form#property-search .form-field {
        flex: 1 1 50%;
        padding: 35px 40px;
        border-bottom: 1px solid rgb(164 164 164 / 60%);
    }

    form#property-search .form-field.submit {
        flex-grow: 0;
        flex-basis: 100%;
        flex-shrink: 0;
        padding: 0;
    }

    form#property-search button#submit {
        padding: 20px;
    }

    .form-field:nth-child(even):after {
        display: none;
    }

    .form-field:after {
    	right: 0;
    }
	
	div#property-result .property {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	div#property-result .property {
		grid-template-columns: repeat(1, 1fr);
	}
	
	.property-link {
		grid-template-columns: repeat(2, 1fr);
		text-align: left;
	}
	
	div#property-result .property.related-property {
		grid-template-columns: repeat(1, 1fr);
	}
	.property-view {
		text-align:right;
	}
	
	.listing_pagination_wrapper  {
		font-size:16px;
	}
	
	.listing_pagination_wrapper .prev, .listing_pagination_wrapper .next {
		padding:5px 9px;
	}
	
	.property-item .content-container .et-land-info-list {
		row-gap:10px;
	}
}

@media(max-width: 480px) {
    form#property-search .form-field {
        flex: 1 1 100%;
        padding: 25px 30px;
    }
 
    .form-field:after {
        display: none;
    }
    
	.property-link {
		grid-template-columns: repeat(1, 1fr);
		text-align: left;
	}
	.property-view {
		text-align:left;
	}
	
	.property-info, .property-link {
		grid-template-columns: repeat(1, 1fr);
		row-gap: 10px;
	}
	
	.property-info div:nth-child(odd) {
		border: 0;
	}
}