/*
Theme Name: Parkside Group Child
Description: Parkside Group custom child theme for Hello Elementor.
Template: hello-elementor
Version: 2.0.1
Text Domain: hello-elementor-child
*/

/* Property panels */
.property-panel-collapsed {
	display: none !important;
	max-height: 1px;
	overflow: hidden;
	opacity: 0;
}

.property-panel-open {
	display: flex !important;
	max-height: 10000px;
	overflow: visible;
	opacity: 1;
	transition: max-height 520ms cubic-bezier(.22, 1, .36, 1), opacity 320ms ease;
}

.property-panel-closing {
	display: flex !important;
	max-height: 10000px;
	overflow: hidden;
	opacity: 1;
	transition: max-height 360ms ease, opacity 260ms ease;
}

.property-panel-closing.property-panel-close-start {
	max-height: 0;
	opacity: 0;
}

#property-details-expanded:not(.property-panel-open):not(.property-panel-closing),
#neighbourhood-details-expanded:not(.property-panel-open):not(.property-panel-closing),
#gallery-details-expanded:not(.property-panel-open):not(.property-panel-closing) {
	display: none !important;
	max-height: 1px;
	overflow: hidden;
	opacity: 0;
}

/* Property gallery */
.property-gallery__feature-row {
	display: grid;
	grid-template-columns: 3fr 2fr;
	grid-template-rows: 1fr;
	aspect-ratio: 5 / 2;
	gap: 2px;
	align-items: stretch;
	margin-bottom: 2px;
}

.property-gallery__feature-row--right {
	grid-template-columns: 2fr 3fr;
}

.property-gallery__feature-row > .property-gallery__item--hero {
	height: 100%;
	aspect-ratio: auto;
}

.property-gallery__side-column {
	display: grid;
	grid-template-rows: repeat(2, minmax(0, 1fr));
	height: 100%;
	min-height: 0;
	gap: 2px;
}

.property-gallery__square-row,
.property-gallery__half-row {
	display: grid;
	gap: 2px;
	margin: 0 0 2px;
}

.property-gallery__square-row {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.property-gallery__half-row {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.property-gallery__item {
	display: block !important;
	height: 100%;
	overflow: hidden;
	position: relative;
	min-height: 0;
}

.property-gallery__item > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
	transform-origin: center center;
	transition: transform 500ms cubic-bezier(.22, 1, .36, 1);
	will-change: transform;
}

.property-gallery__item:hover img {
	transform: scale(1.025);
}

#gallery-image-0,
#gallery-image-1,
#gallery-image-2,
#gallery-image-3 {
	transform: none !important;
	overflow: hidden !important;
}

#gallery-image-0 img,
#gallery-image-1 img,
#gallery-image-2 img,
#gallery-image-3 img {
	transform: scale(1) !important;
	transform-origin: center center;
	transition: transform 500ms ease-in-out !important;
	will-change: transform;
	backface-visibility: hidden;
}

#gallery-image-0:hover img,
#gallery-image-0:focus-within img,
#gallery-image-1:hover img,
#gallery-image-1:focus-within img,
#gallery-image-2:hover img,
#gallery-image-2:focus-within img,
#gallery-image-3:hover img,
#gallery-image-3:focus-within img {
	transform: scale(1.012) !important;
}

.property-gallery__item--side {
	aspect-ratio: auto;
	min-height: 0;
}

.property-gallery__item--square,
.property-gallery__item--half {
	aspect-ratio: 1;
}

.property-gallery__item--wide {
	display: block;
	aspect-ratio: 2 / 1;
	margin: 0 0 2px;
}

.property-gallery > :last-child {
	margin-bottom: 0;
}

/* Property lightbox */
#property-gallery-lightbox {
	align-items: center;
	background: rgba(0, 0, 0, .92);
	display: none;
	inset: 0;
	justify-content: center;
	position: fixed;
	z-index: 99999;
}

#property-gallery-lightbox.is-open {
	display: flex;
}

.property-gallery-lightbox__image {
	max-height: 90vh;
	max-width: 86vw;
	object-fit: contain;
}

#property-gallery-lightbox button {
	background: transparent;
	border: 0;
	color: #fff;
	cursor: pointer;
	font-size: 42px;
	line-height: 1;
	padding: 18px;
	position: absolute;
}

.property-gallery-lightbox__close {
	right: 18px;
	top: 18px;
}

.property-gallery-lightbox__previous {
	left: 18px;
}

.property-gallery-lightbox__next {
	right: 18px;
}

/* Featured case studies */
#menu {
	display: flex;
	justify-content: center;
	transition: background-color .35s ease, border-color .35s ease, justify-content .35s ease, transform .45s ease;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	transform: translateY(-100%);
}

#menu.is-scroll-visible {
	transform: translateY(0);
}

#menu-expanded,
#homepage-menu-expanded {
	display: flex;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	max-height: 0;
	height: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	overflow: hidden;
	transform-origin: top center;
	z-index: 0;
	transition: max-height 1.2s cubic-bezier(.22, 1, .36, 1), opacity .7s ease, visibility 0s linear 1.2s;
}

#menu:hover > #menu-expanded,
#menu:hover > #homepage-menu-expanded {
	max-height: 600px;
	height: auto;
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto;
	transition: max-height 1.2s cubic-bezier(.22, 1, .36, 1), height 1.2s cubic-bezier(.22, 1, .36, 1), opacity .7s ease, visibility 0s;
	z-index: 2;
}

@keyframes homepageMenuDrop {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}





@keyframes parksideSticky {
	from {
		opacity: 0;
		transform: translateY(-12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.featured-case-studies {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: dense;
	gap: 9px;
	margin: 0;
	padding: 0;
	width: 100%;
}

.featured-case-studies-pair {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.featured-case-studies-tile,
.featured-case-studies-hero {
	background: #fff;
	box-sizing: border-box;
	position: relative;
	overflow: hidden;
}

.featured-case-studies-tile {
	aspect-ratio: 1 / 1;
	min-height: 260px;
	color: #252525;
	display: block;
	align-self: start;
	min-width: 0;
}

.featured-case-studies-tile > .featured-case-studies-tile-inner {
	align-items: center;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 9px;
	justify-content: center;
	min-height: 100%;
	text-align: center;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding: 36px !important;
}

.featured-case-studies-title,
.featured-case-studies-meta-heading {
	color: #252525;
	font-family: Mulish, sans-serif;
	font-weight: 200;
	line-height: 1.2;
	margin: 0;
	text-decoration: none;
}

.featured-case-studies-title {
	font-size: 21px;
}

.featured-case-studies-meta-heading {
	font-size: 18px;
}

.featured-case-studies-button {
	margin-top: 9px;
}

.featured-case-studies-mobile-list {
	display: none;
}

.featured-case-studies-icon {
	width: min(16.6667%, 90px);
	max-width: 90px;
	height: auto;
}

.featured-case-studies-hero {
	grid-column: span 2;
	align-self: stretch;
	height: 100%;
	min-height: 0;
	aspect-ratio: auto;
	min-width: 0;
	width: auto;
}

.featured-case-studies-hero img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 100%;
	display: block;
	object-fit: cover;
	opacity: 1;
	transition: opacity 300ms ease;
}

.featured-case-studies-hero img.is-fading {
	opacity: 0;
}

@media (max-width: 1100px) {
	.featured-case-studies {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.featured-case-studies-hero {
		grid-column: span 1;
		aspect-ratio: 1 / 1;
		height: auto;
	}
}

@media (max-width: 767px) {
	.property-gallery__feature-row,
	.property-gallery__feature-row--right {
		grid-template-columns: 1fr;
		aspect-ratio: auto;
	}

	.property-gallery__feature-row > .property-gallery__item--hero {
		height: auto;
		aspect-ratio: 2 / 1;
	}

	.property-gallery__side-column {
		height: auto;
	}

	.property-gallery-lightbox__image {
		max-width: 88vw;
	}
}

@media (max-width: 640px) {
	.featured-case-studies {
		display: none;
	}

	.featured-case-studies-mobile-list {
		display: flex;
		flex-direction: column;
		gap: 9px;
		width: 100%;
	}

	.featured-case-studies-mobile-list .featured-case-studies-pair {
		display: flex;
		flex-direction: column;
		gap: 9px;
		width: 100%;
	}

	.featured-case-studies-mobile-image {
		display: block;
		aspect-ratio: 1 / 1;
		min-height: 220px;
		order: -1;
	}

	.featured-case-studies-mobile-image img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.featured-case-studies-tile {
		aspect-ratio: auto;
		width: 100%;
		height: auto;
		min-height: 0;
	}

	.featured-case-studies-tile-inner {
		height: auto;
		min-height: 0;
	}

}

@media (prefers-reduced-motion: reduce) {
	.property-panel-open,
	.property-panel-closing,
	.property-gallery__item > img,
	#case-study-hero-img img,
	.listing-detail-card-nav,
	.listings-map .leaflet-marker-icon {
		transition: none;
	}
}

#listings-container, #large-tile-navigation {
	overflow: hidden;
}

#listings-container {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#listings-container .elementor-widget-shortcode,
#listings-container .elementor-shortcode,
#listings-container .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	flex: 1 1 100% !important;
	align-self: stretch !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#listings-container > .e-con-inner,
#listings-container .elementor-widget-container {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	display: block !important;
	text-align: left !important;
}

.listing-tiles {
	display: flex !important;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: flex-start;
	flex: 1 1 100%;
	width: 100% !important;
	gap: 2px;
}

.listing-tile {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-end;
	flex: 1 1 400px;
	min-width: 400px;
	width: auto;
	min-height: 600px;
	border: 0;
	box-shadow: 0 18px 18px -9px rgba(0, 0, 0, 0.5);
	overflow: hidden;
	text-decoration: none;
	cursor: pointer;
	transition: box-shadow 0.2s ease;
}

.listing-tile:hover {
	box-shadow: 0 6px 9px 3px rgba(0, 0, 0, 0.5);
}

.listing-tile-image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: bottom center;
	z-index: 0;
}

.listing-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
	z-index: 1;
	transition: background-color 0.3s ease;
	pointer-events: none;
}

.listing-tile:hover::before {
	background-color: rgba(0, 0, 0, 0.45);
}

.featured-product-title,
.featured-product-meta {
	color: #FFFFFF;
	margin: 0;
	text-align: center;
}

.featured-product {
	position: relative;
	z-index: 2;
	max-height: 0;
	opacity: 0;
	transform: translateY(15px);
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.33);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 0 36px;
	transition:
		max-height 0.6s ease,
		opacity 0.4s ease,
		transform 0.4s ease;
}

.product-tile:hover .featured-product,
.listing-tile:hover .featured-product {
	max-height: 1000px;
	opacity: 1;
	transform: translateY(0);
	padding: 36px;
}

.listing-product {
	position: absolute;
	inset: 0;
	z-index: 3;
	bottom: 60px;
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 9px;
	justify-content: center;
	padding: 36px;
	box-sizing: border-box;
	background-color: rgba(0, 0, 0, 0.33);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

.listing-tile:hover .listing-product {
	opacity: 1;
	pointer-events: auto;
}

.listing-product-title {
	color: #FFFFFF;
	font-weight: 300;
	letter-spacing: 2px;
	text-transform: capitalize;
	margin: 0;
	text-align: center;
}

.listing-product-address {
	margin: 0;
	text-align: center;
	font-family: Mulish, sans-serif;
	font-size: 18px;
	font-weight: 100;
}

.listing-product-address a {
	color: #FFFFFF;
	text-decoration: none;
}

.listing-product-address a:hover {
	color: #FFE376;
}

.listing-product-button {
	align-self: center;
	margin-top: 27px;
	padding: 9px 18px;
	color: #252525;
	background-color: #FFFFFF;
	border: 1px solid #141414;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.listing-product-button:hover {
	background-color: #141414;
	color: #FFFFFF;
}

.listing-tile .category-tile {
	position: relative;
	z-index: 4;
	width: 100%;
	margin: 0;
	padding: 18px;
	box-sizing: border-box;
	background-color: #00000082;
	color: #FFFFFF;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 16px;
	border-top: 2px solid #FFFFFF;
}

.product-tile:hover .category-tile,
.listing-tile:hover .category-tile {
	background-color: #000000;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.latest-properties-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	align-items: center;
	text-align: center;
}

.latest-property-item {
	margin: 0;
}

.latest-property-link {
	font-family: "Mulish", sans-serif;
	font-size: 18px;
	font-weight: 100;
	color: #FFFFFF;
	line-height: 21px;
	text-decoration: none;
}

.latest-property-link:hover {
	color: #957d1a;
}

.agents-list {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.agent-name-row {
	display: flex;
	align-items: left;
	justify-content: left;
	gap: 9px;
}

.agent-name,
.agent-subtitle {
	margin: 0;
	text-align: left;
	font-weight: 100;
	padding-bottom:4px;
}

.agent-name-row:hover .agent-email-link,
.agent-phone:hover {
	color: #957d1a;
}

.agent-email-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #252525;
	line-height: 1;
	text-decoration: none;
}

.agent-email-link .agent-name {
	color: inherit;
}

.agent-email-link:hover {
	color: #957d1a;
}

.agent-contact-icon {
    display: inline-block;
    width: 18px;
    height: 27px;
    vertical-align: top;
    padding-bottom: 4px;
}

.agent-subtitle {
	font-size: 14px;
}

.agent-phone-icon {
	color: #ffffff;
}

.agent-phone {
	color: #ffffff;
	padding-right: 9px;
}

.agent-phone-link {
	color: inherit;
	text-decoration: none;
}

.agent-phone:hover .agent-phone-icon {
	color: #957d1a;
}

.listings-map {
	width: 100%;
	height: 100%;
	min-height: 400px;
}

.elementor-widget-shortcode:has(.listings-map),
.elementor-widget-shortcode:has(.listings-map) .elementor-widget-container,
.elementor-shortcode:has(.listings-map) {
	width: 100%;
	height: 100%;
	display: flex;
}

.listing-detail-cards {
	display: flex;
	flex-direction: column;
	gap: 9px;
}

.listing-detail-card-row {
	display: flex;
}

.listing-detail-card-text {
	flex: 0 0 33.33%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 18px;
	background: #fff;
	text-align: center;
}

.listing-detail-card-icon {
	width: 36px;
	height: auto;
}

.listings-map .parkside-map-squirrel {
	transition: filter 0.25s ease;
}

.listings-map .parkside-map-squirrel.is-card-hovered {
	filter: brightness(0) saturate(100%) invert(53%) sepia(18%) saturate(1020%) hue-rotate(4deg) brightness(89%) contrast(91%);
}

.listing-detail-card-text h3.listing-detail-card-title {
	margin: 0;
	color: #252525;
	font-family: Mulish, sans-serif;
	font-weight: 200;
	font-size: 18px !important;
}

.listing-detail-card-text p.listing-detail-card-address {
	margin: 0;
	color: #252525;
	font-family: Mulish, sans-serif;
	font-size: 14px !important;
}

.listing-detail-card-button {
	margin-top: 9px;
	padding: 4px 9px;
	border: 1px solid #141414;
	color: #252525;
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.listing-detail-card-button:hover {
	background-color: #141414;
	color: #FFFFFF;
}

.listing-detail-card-image {
	position: relative;
	flex: 0 0 66.66%;
	aspect-ratio: 4 / 2;
	background-size: cover;
	background-position: center;
}

.listing-detail-card-nav {
	position: absolute;
	bottom: 9px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0;
	padding: 0;
	width: auto;
	height: 27px;
	color: #FFFFFF;
	font-family: Mulish, sans-serif;
	font-size: 12px;
	font-weight: 100;
	line-height: 27px;
	letter-spacing: 0;
	cursor: pointer;
}

.listing-detail-card-nav--prev {
	left: 9px;
	display: none;
}

.listing-detail-card-nav--next {
	right: 9px;
}

.listing-detail-card-nav:hover {
	color: #957d1a;
}

@media (max-width: 767px) {
	.listing-detail-card-row {
		flex-direction: column;
	}

	.listing-detail-card-text,
	.listing-detail-card-image {
		flex: 1 1 100%;
		width: 100%;
	}

	.listing-detail-card-image {
		order: -1;
		aspect-ratio: 4 / 2;
	}

	#map-card-container {
		height: auto !important;
		min-height: 0 !important;
		flex-direction: column;
	}

	#map-container {
		height: 70vh !important;
		min-height: 400px;
		flex: 0 0 70vh;
		width: 100%;
		position: relative;
    z-index: 1;
	}

	#card-container {
		height: auto !important;
		max-height: none;
		overflow: visible;
		width: 100%;
	}
}

#map-card-container {
	height: 80vh;
	min-height: 0;
}

#map-container,
#card-container {
	height: 100%;
	min-height: 0;
}

#map-container {
	flex: 1 1 50%;
}

#card-container {
	flex: 1 1 50%;
	overflow-y: auto;
}

@media (max-width: 1100px) {
	#map-card-container {
		height: auto;
		flex-direction: column;
	}

	#map-container {
		width: 100%;
		height: 70vh;
		flex: 0 0 70vh;
	}

	#card-container {
		width: 100%;
		height: auto;
		overflow: visible;
	}

}