/*
Theme Name: Homeo
Theme URI: https://themeforest.net/item/homeo-real-estate-wordpress-theme/26372986
Author: ApusTheme
Author URI: https://apusthemes.com/
Description: Homeo is clean theme, it's used Apus Framework.
Version: 1.2.54
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: homeo

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.
*/

/* Scoped to the widget to avoid conflicts */
.parent {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 50px;
    width: 100%;
    max-width: 100%;
    margin: auto;
    height: 90vh;
    /*padding: 16px;*/
    box-sizing: border-box;
  }

  .parent div {
    position: relative;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: flex-end;
    justify-content: left;
    padding: 16px;
    background-size: cover;
    background-position: center;
    height: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  }

  .parent div:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  }


.elementor-widget-apus_element_realestate_category_gallery {
    font-family: 'Playfair Display', Arial, sans-serif;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

/* Grid container */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(6, 1fr);
    grid-column-gap: 16px;
    grid-row-gap: 50px;
    width: 100%;
    max-width: 100%;
    height: 90vh; /* Adjustable via Elementor or theme */
    box-sizing: border-box;
}

/* Category item */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 16px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    overflow: hidden;
}
.category-item:hover {
     border-color: white !important; 
}

/* Overlay with pseudo-element */

/* Hover effect */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-item:hover::before {
    opacity: 0.6; /* Slightly increase overlay opacity on hover */
}

/* Content wrapper */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Icon */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content .icon {
    margin-bottom: 8px;
}

.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content .icon i {
    font-size: 24px; /* Overridden by Elementor icon_size control */
}

/* Title */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content .title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
    text-align: left;

}

/* Number */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content .number {
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
    text-align: left;
}

/* Number span for emphasis */
.elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content .number span {
    font-weight: 600;
}
.div1 { grid-area: 1 / 1 / 7 / 2;  }
.div2 { grid-area: 1 / 2 / 7 / 3;  }
.div3 { grid-area: 1 / 3 / 4 / 4; }
.div4 { grid-area: 1 / 4 / 4 / 5;  }
.div5 { grid-area: 4 / 3 / 7 / 5;  }


/* Responsive tablette */
@media (max-width: 1024px) {
    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 12px;
        grid-row-gap: 30px;
        height: auto;
    }

    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-item {
        grid-area: auto !important; /* Override inline grid-area */
        height: 300px;
    }

    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .div3,
    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .div4,
    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .div5 {
        height: 200px;
    }
}

/* Responsive mobile */
@media (max-width: 600px) {
    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-row-gap: 20px;
        padding: 12px;
    }

    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-item {
        height: 200px;
    }

    .elementor-widget-apus_element_realestate_category_gallery .category-gallery-grid.style1 .category-content .title {
        font-size: 1.5rem;
    }
}

::placeholder {
  color: white;
  opacity: 1; /* Firefox */
}
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 */
p{
    margin-bottom: 32px;
}
.main-page.full-default {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}
.featured-property.label {
    padding: .6em;
    color: #fff;
    font-size: 85%;
}
.topmenu-menu i{
    display: inline-block;
}
.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;
}


.from-to-text-wrapper {
    position: relative;
}

.heading-filter-price {
    box-sizing: border-box;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

.heading-filter-price .inner {
    cursor: pointer;
    height: 50px;
    background: #fff;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    border: 1px solid #d8d8d8;
    margin: 0;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
    padding: 10px 15px;
    color: #484848;
    line-height: 30px;
    text-align: left;
}

.price-input-wrapper {
    position: absolute;
    z-index: 10;
    top: 100%;
    left: 0px;
    right: 0px;
    width: 100%;
    background: #fff;
    padding: 15px;
    border: 1px solid #d8d8d8;
    margin-top: 10px;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
    display: none;
}
form.form-search .advance-search-wrapper-fields.overflow-visible {
    overflow: visible !important;
}
.row.row-padding-5 {
    margin-left: -5px;
    margin-right: -5px;
}
.row-padding-5 .col-xs-6 {
    padding-left: 5px;
    padding-right: 5px;
}


.widget-property-search-form.style1 .heading-filter-price .inner {
    border-radius: 50px !important;
    -webkit-border-radius: 50px !important;
    -moz-border-radius: 50px !important;
    -ms-border-radius: 50px !important;
    -o-border-radius: 50px !important;
}

.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;
}

.blog-no-breadcrumbs .main-content, .blog-no-breadcrumbs .main-content-detail {
    padding-top: 30px;
}

@media (min-width: 1200px) {
    .blog-no-breadcrumbs .main-content, .blog-no-breadcrumbs .main-content-detail {
        padding-top: 55px;
    }
}

rs-module-wrap{
    z-index: 0;
}

.properties-filter-sidebar-wrapper .close-filter {
    z-index: 1;
}

.elementor-lightbox .swiper .elementor-swiper-button{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.test{
    grid-column: 1 / 3;
}
.nav.navbar-nav.megamenu.effect1>li>a{
    
    font-family: 'Playfair Display', sans-serif;
    font-size: 20px !important;
font-weight: 700 !important;
}

/* Container for the entire media section */
.property-detail-media {
    display: block;
    visibility: visible;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Gallery section */
.property-detail-gallery {
    display: block;
    /* margin-bottom: 30px; */
}

/* Gallery row layout */
.list-gallery-property-v4 {
    /* display: flex;
    flex-wrap: wrap; */
    /*! gap: 10px; */
    /* margin: 0 -5px; */
}

/* Gallery image containers */
.list-gallery-property-v4 > div {
    padding: 5px;
    box-sizing: border-box;
}

/* Ensure gallery images are visible and responsive */
.list-gallery-property-v4 .p-popup-image {
    display: block;
    position: relative;
    overflow: hidden;
}

.list-gallery-property-v4 .p-popup-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /*! border-radius: 8px; */
}

/* Override hidden class for gallery images */


/* View more overlay */
.view-more-gallery {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
}

/* Map section */
.property-detail-map-street {
    display: block;
    margin-bottom: 30px;
}

/* Widget title wrapper */
.widget-title-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.widget-title-wrapper h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.ali-right {
    display: flex;
    align-items: center;
}

/* Map wrapper */
.single-property-google-maps-wrapper {
    position: relative;
}

/* Map container */
#single-property-google-maps,
#single-property-street-view-map {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Buttons for map/street view */
.btn.location-street-view,
.btn.location-map-view {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    margin-right: 10px;
    transition: background 0.3s;
}

.btn.location-street-view:hover,
.btn.location-map-view:hover {
    background: #0056b3;
}

/* Ensure map view button is visible if needed */
.btn.location-map-view.hidden {
    display: inline-block !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .list-gallery-property-v4 > div {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .property-detail-gallery,
    .property-detail-map-street {
        margin-bottom: 20px;
    }

    #single-property-google-maps,
    #single-property-street-view-map {
        height: 300px;
    }
}
.property-item .property-image:before{
	background-color: inherit !important;
}
.home .property-item .property-image:before{
	background-color: inherit !important;
}
.home .cards-offers img {
    height: 100%;
    min-height: 310px;
	width:100%;
}
.home .property-location.with-icon a {
    color: #1f5584;
    text-decoration: underline;
    font-weight: 400;
    font-size: 14px;
}
.home .property-price span {
    font-weight: 600;
    color: #000;
    font-size: 22px;
    font-family: 'INTER';
}
.home .property-metas.features-grid {
    border-top: 2px solid;
    border-color: rgba(122, 122, 122, 0.1);
}
.elementor-3191 .elementor-element.elementor-element-d270347.elementor-column > .elementor-widget-wrap {
    position: relative;
    display: inline-block;
}
.elementor-3191 .elementor-element.elementor-element-d270347.elementor-column > .elementor-widget-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: #fff;
    width: 19%;
    top: 10%;
    border-radius: 50px;
}
.elementor-3191 .elementor-element.elementor-element-d270347.elementor-column > .elementor-widget-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: #fff;
    width: 11.5%;
    top: 6%;
    border-radius: 50px;
}
.elementor-3191 .elementor-element.elementor-element-ac2f896 {
    padding: 0px;
    position: relative;
    display: inline-block;
}
.elementor-element.elementor-element-ac2f896.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: #fff;
    width: 17%;
    top: 30%;
    border-radius: 50px;
}
.elementor-element.elementor-element-ac2f896.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background: #fff;
    width: 12%;
    top: 26%;
    border-radius: 50px;
}
.elementor-element.elementor-element-e1d260f.elementor-position-top.elementor-widget.elementor-widget-image-box, .elementor-element.elementor-element-372cc61.elementor-position-top.elementor-widget.elementor-widget-image-box, .elementor-element.elementor-element-db6dbd4.elementor-position-top.elementor-widget.elementor-widget-image-box {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    cursor: default;
}
.elementor-element.elementor-element-e1d260f.elementor-position-top.elementor-widget.elementor-widget-image-box:hover, .elementor-element.elementor-element-372cc61.elementor-position-top.elementor-widget.elementor-widget-image-box:hover, .elementor-element.elementor-element-db6dbd4.elementor-position-top.elementor-widget.elementor-widget-image-box:hover{
	    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(180, 0, 110, 0.3);
}
span#input_1_1_3_container{
	padding:0px;
}
input#input_1_1_3, input#input_1_3, input#input_1_4, input#input_1_5, textarea#input_1_6 {
    border: 0px !important;
    background: #F3F3FA !important;
    border-radius: 8px !important;
}
.gform_wrapper.gravity-theme .gfield_label {
    border: 0px;
    font-size: 20px;
    font-weight: 600;
    color: #181a20;
    font-family: 'Playfair Display';
}
input#gform_submit_button_1{
	    width: 100%;
    background: #ae1757;
    border: 0px;
    color: #fff;
    border-radius: 8px;
    font-size: 25px;
    font-family: 'Poppins';
}
.gform_wrapper.gravity-theme .gfield textarea.large {
    height: 200px !important;
}
.elementor-element.elementor-element-4c1969d.elementor-shape-rounded.elementor-grid-0.e-grid-align-center.elementor-widget.elementor-widget-social-icons .elementor-social-icons-wrapper.elementor-grid {
    display: flex;
    justify-content: space-evenly;
}
.elementor-39 .elementor-element.elementor-element-04c9178 {
    box-shadow: none !important;
}
.elementor-39 .elementor-element.elementor-element-c62c7b9 .elementor-widget-wrap.elementor-element-populated{
	box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.09);
}
input#input_2_7, input#input_2_9, input#input_2_10, input#input_2_11, textarea#input_2_12{
	background: #F3F3FA !important;
    border-radius: 8px !important;
	border-color: #828282;
    border: 1px solid;
}
.page-id-39 .gform_wrapper.gravity-theme .gfield textarea.large {
    height: 150px !important;
}
input#gform_submit_button_2{
	width: 100%;
    background: #ae1757;
    border: 0px;
    color: #fff;
    border-radius: 25px;
    font-size: 20px;
    font-family: 'Poppins';
}
.elementor-element.elementor-element-ea37c1f.elementor-position-top.elementor-widget.elementor-widget-image-box,.elementor-element.elementor-element-f287a83.elementor-position-top.elementor-widget.elementor-widget-image-box,.elementor-element.elementor-element-df16118.elementor-position-top.elementor-widget.elementor-widget-image-box{
	background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    box-sizing: border-box;
    cursor: default;
}
.elementor-element.elementor-element-ea37c1f.elementor-position-top.elementor-widget.elementor-widget-image-box:hover,.elementor-element.elementor-element-f287a83.elementor-position-top.elementor-widget.elementor-widget-image-box:hover,.elementor-element.elementor-element-df16118.elementor-position-top.elementor-widget.elementor-widget-image-box:hover{
	transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(180, 0, 110, 0.3);
}
@media screen and (min-width:320px) and (max-width:767px){
	ul.mm-listview{
		top: 120px;
    	position: absolute;
	}
}
h2.property-title {
    height: 100%;
    min-height: 55px;
}
span.prefix-text.additional-text {
    display: none;
}