/*
Theme Name: Homez
Theme URI: https://themeforest.net/item/homez-real-estate-wordpress-theme/44173800
Author: ApusTheme
Author URI: https://themeforest.net/user/apustheme
Description: Homez is clean theme, it's used Apus Framework.
Version: 1.0.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: homez

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 32px 2em;
}
.wp-block-image .alignright{
    margin-left: 2em;
}
.alignleft {
    float: left;
    margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft{
    margin-right: 2em;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}
.wp-block-pullquote{
    border:none;
}
.wp-block-archives.aligncenter, .wp-block-categories.aligncenter, .wp-block-latest-posts.aligncenter {
    text-align: center;
}
.wp-block-cover{
    margin-bottom: 28px;
}
.wp-block-embed{
    margin-bottom: 30px;
}
.product-block.grid .product-image{
    width: 100%;
}
.product-block.grid .product-image img{
    width: 100%;
}
.bread-title{
    word-break: break-word;
    word-wrap: break-word;
}
.advane-search-wrapper-fields {
    display: none;
}

.wp-block-cover.has-background-dim .wp-block-cover-text{
    color: #fff;
}
.wp-block-button {
    margin-top: 15px;
    margin-bottom: 15px;
}
.logo-theme img{
    max-width: 150px;
}

/* fix */
.main-page.full-default {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}
.cmb-th span.required {
    color: red;
}
@media(max-width: 767px){
    .widget-property-search-form.horizontal .form-group-location{
        flex-wrap: wrap;
    }
    .widget-property-search-form.horizontal .form-group-location > div ~ div{
        margin-top: 15px;
    }
}

.contact-form-agent .agent-content .email {
    word-wrap: break-word;
}

.elementor-lightbox .elementor-swiper-button{
    outline: none !important;
}
@media(max-width: 1200px){
    .elementor-lightbox .elementor-swiper-button{
        cursor:auto;
    } 
}

.property-detail-gallery.v1 .image-wrapper {
    text-align: center;
}

.property-detail-gallery.v1 img {
    display: inline;
}

.properties-currencies .currencies {
    list-style: none;
    margin: 0;
    padding: 15px 30px;
}

.properties-currencies .currencies li label {
    width: 100%;
    cursor: pointer;
    font-weight: 400;
}

.properties-currencies .currencies li.active label, .properties-currencies .currencies li label:hover {
    color: #ff5a5f;
}
.currencies-wrapper .dropdown-toggle i {
    margin-left: 7px;
}

.form-group-price.list ul.price-filter {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.form-group-price.list ul.price-filter li{
    padding: 3px 0px;
    cursor: pointer;
}

.form-group-price.list ul.price-filter li:hover{
    color: #ff5a5f;
}
@media(min-width: 1200px){
    p{
        margin-bottom: 25px;
    }
}
html.mm-opened{
    position: static;
}

div.cmb2-wrap .pw-map-search-wrapper {
    z-index: 2 !important;
}

.project-list {
  min-height: 800px; /* Adjust this value as needed */
  position: relative; /* To position loading image correctly */
}

.loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/**/
.project-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 15px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.project-card:hover {
  transform: scale(1.03);
}

.project-card-header {
  text-align: center;
}

.project-cover {
  width: 100%;
  height: auto;
  border-radius: 8px 8px 0 0;
}

.project-card-body {
  text-align: center;
}

.developer-logo {
  width: 50px; /* Adjust this size as necessary */
  height: auto;
  border-radius: 50%; /* Makes logo circular */
}

.project-title {
  font-size: 1.5em;
  margin: 10px 0;
}

.project-location,
.unit-count {
  font-size: 1em;
  color: #555;
}

.project-thumbnail {
  width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 4px;
}
/**/
/* .dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
} */

/* Optional: Style the dropdown button to indicate selection */
/* #unitTypeDropdown::after,
#cityDropdown::after,
#finishingSpecsDropdown::after {
  content: " ▼";
} */

.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
}

.form-inline .form-group,
.form-inline .dropdown {
  margin-right: 10px;
}

#resetLabel label {
  justify-content: left !important;
}
#unitTypeDropdown,
#cityDropdown,
#finishingSpecsDropdown {
  background-color: #d8ae00;
  border-color: #d8ae00;
}
.tooltip {
  position: absolute;
  background: #000;
  color: #fff;
  padding: 5px 1rem;
  border-radius: 5px;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}
#pagination > a:hover {
  color: #fff !important;
  background: #d8ae00 !important;
  border-radius: 50% !important;
}

#pagination .active {
  color: #fff !important;
  background: #d8ae00 !important;
  border-radius: 50% !important;
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.page-item {
  margin: 0 5px;
}

.page-item .page-link {
  color: #000;
}
.pagination li > a {
  background: none !important;
}
.pagination li > a:hover {
  background: #d8ae00 !important;
  border-radius: 50% !important;
}

.page-item.active .page-link {
  background-color: #d8ae00;
  color: #fff;
  border-radius: 50% !important;
}

.page-item.disabled .page-link {
  color: #6c757d;
  pointer-events: none;
}