/* 
Theme Name: Simmons & Sons Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
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: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

body {
	overscroll-behavior: none;
	background-color: #FFF;
}

#main.site-main {
	max-width: 1488px;
	margin: 0 auto;
}

.leaflet-container {
	z-index: 10;
}

#people.horizontal {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	grid-gap: 20px;
}

#people.vertical {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	grid-gap: 20px;
}

#people.horizontal .person {
	display: flex;
}

#people.vertical .person {
	border: 0 solid #69727d;
	border-radius: 3px;
	min-height: 100%;
	overflow: hidden;
}

#people.horizontal .person-image {
	height: 120px;
	width: 120px;
}

#people.vertical .person-image img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	object-position: center;
}

#people.horizontal .person-image img {
	aspect-ratio: 1/1;
	object-fit: cover;
	object-position: center;
	height: 120px;
}

#people.horizontal .person-contact {

}

.person-contact p {
	margin: 0;
}

.person-contact h2.person-name {
	font-size: 24px;
	font-weight: bolder;
	text-align: center;
}

#people.horizontal .person-contact {
	margin-left: 5px;
}

#people.horizontal .person-contact h2.person-name {
	text-align: left;
	padding: 0;
}


.person-contact span.person-qual {
	font-size: 12px;
}

/* CSS FOR PROPERTY SEARCH RESULTS PAGE */

.properties-grid {
	clear: both;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	grid-gap: 20px;

	& .details {
		background-color: #F7F7F7;
		text-transform: uppercase;
		text-align: center;

		& h3 > a {
			display: block;
			white-space: nowrap;
			font-weight: 400;
			color: #13284c;
			font-size: 22px;
			overflow: hidden;
			text-overflow: ellipsis;
		}

		& .actions > a {
			border: 2px solid #13284c;
			background-color: inherit;
			color: #13284c;
		}

	}
}

.property_actions li {
	width: 100%;
}

.property_actions li a {
	width: 100%;
	color: #13284c;
	text-transform: uppercase;
	font-weight: 400;
	font-size: 1.41575em;
	padding: 10px;
	display: block;
	text-align: center;
	border: 2px solid #13284c;
	background-color: inherit;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.property_actions li a:hover {
	background-color: #13284c;
	color: #FFF;
}

@media(min-width: 1024px) {
	#property-main {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-evenly;
	}

	#property-main #property-images {
		width: 75%;
		display: inline-block;
	}

	#property-main .summary {
		width: 25%;
		display: inline-block;
	}

}

.property-main:after {
	clear: both;
}

.rooms {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin-bottom: 20px;
}

.rooms .room {
	font-size: 30px;
	font-weight: 400;
	color: #13284c;
}

.recent-properties {
	display: flex;
	gap: 20px;
}
.property-item {
	width: 100%;
}
.property-thumb img {
	width: 100%;
	height: auto;
}
.property-title {
	margin-top: 10px;
}

.recent-properties-swiper {
	width: 100%;
	position: relative;
}
.recent-properties-swiper .swiper-slide {
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	background: #fff;
	padding: 15px;
}
.property-thumb img {
	width: 100%;
	height: auto;
}

selector.elementor-sticky--effects{ background-color: rgba(19,40,76,1) !important }
selector{ transition: background-color 0.5s ease !important; }  selector.elementor-sticky--effects >.elementor-container{ min-height: 80px; }  selector > .elementor-container{ transition: min-height 1s ease !important; }
