/*

Theme Name: RE/MAX Search (child theme)
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: remax-search-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* CUSTOM EDITS FOR THIS WEBSITE */

.form-picture img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: top;	
}

/* GLOBAL EDITS - ALSO USED FOR INDIVIDUAL SALES PERSON WEBSITE */
/* equalize height of cards */
@media (min-width: 768px) {
	.property-loop .properties.type-properties,
	.property-card,
	.property-info-container {
		height: 100%;
	}

	.property-featured-image img {
		object-fit: cover;
		aspect-ratio: 3/2;
	}

	.property-button-know-more {
		margin-top: auto;
	}
} 

/* styles for property-gallery-widget.php */
#gallery-custom .gallery-item {
	overflow: hidden;
	border-radius: 10px;
}
#gallery-custom  .gallery-item img {
    margin: 0;
    width: 100%;
    transform: scale(1);
	transition: 0.3s all linear;
}
#gallery-custom .gallery-item img:hover {
    transform: scale(1.1);
}
#gallery-custom .gallery-item:not(:first-child) {
	display: none;
}

/* fix lightbox arrows */
@media only screen and (max-width: 1024px) {
    .elementor-lightbox .elementor-swiper-button-next, .elementor-lightbox .elementor-swiper-button-prev {
        display: inline-flex !important;
    }
	.dialog-type-lightbox .dialog-widget-content {
    	width: 100% !important;
		left: 0px !important;
	}
	.elementor-lightbox .elementor-lightbox-item {
		padding: 60px 0px 20px 0px !important;
	}
}