/*
 Theme Name:   Art Division Child theme
 Theme URI:    https://artdivision.co.uk
 Description:  A child theme for the Art Division Parent Theme
 Author:       Art Division
 Author URI:   https://artdivision.co.uk
 Template:     art-division2
 Version:      1.0.0
*/

/* Add your custom CSS below */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

html {
	scroll-behavior: smooth !important;
	scroll-padding-top: 180px;
}
/* Variables */
:root {
	--medium-grey: rgb(243 240 238);
	--titles: var(--primary);
	--text: var(--primary);
}
/* Typography */
body {
	font-family: 'Lato', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'EB Garamond', serif;
	text-transform: none;
	font-weight: normal;
	letter-spacing: normal;
}
@media (min-width: 992px) {
	h1 {
		font-size: 48px;
	}
	h2 {
		font-size: 48px;
	}
	h3 {
		font-size: 34px;
	}
	h4 {
		/* font-size: 34px; */
	}
	h5 {
		/* font-size: 34px; */
	}
	h6 {
		/* font-size: 34px; */
	}
	.home-page h1 {
		font-size: 72px;
	}
	#main-slide .slider-content p {
		font-size: 28px;
	}
}
p,
li,
dt,
dd,
blockquote p {
	font-size: 20px;
	line-height: 1.5;
	font-weight: normal;
	letter-spacing: normal;
	color: var(--text);
	text-wrap: pretty;
}
a {
	color: var(--highlight);
}
.overlay2::before {
	background-color: rgba(0, 0, 0, 0.4);
}
/* Homepage */
.slider-content-wrap {
	max-width: 780px;
	margin-left: 15px;
	margin-right: 15px;
	padding: 15px;
	background-color: rgba(64, 54, 61, 0.83);
}
@media (min-width: 992px) {
	.slider-content-wrap {
		padding: 60px;
	}
}
@media (min-width: 992px) {
	#main-slide .slider-content {
		max-width: 1540px;
		margin: 0 auto;
	}
	.slider-content-wrap h1 {
		text-align: left;
	}
	#main-slide .slider-content-wrap p {
		margin-left: 0;
		text-align: left;
	}
	.slider-content-wrap .hero-module-actions,
	.slider-content-wrap .art-btn-group {
		margin-left: 0;
	}
}
/* Navigation */
a.nav-link:is(:hover, :focus) {
	color: var(--highlight);
}
i.nav-link:is(:hover, :focus) {
	color: var(--highlight);
}
/* Contact Us */
.contact-bg .art-btn-group .art-btn.art-btn:first-child {
	color: var(--primary);
	background-color: var(--medium-grey);
}
.contact-bg .art-btn-group .art-btn.art-btn:first-child:is(:hover, :focus) {
	color: white;
}
/* Buttons */
.slider-content-wrap .art-btn.art-btn {
	color: white;
	border: 2px solid transparent;
	background-color: transparent;
}
.slider-content-wrap .art-btn-group .art-btn:first-child {
	border-color: white;
}
.slider-content-wrap .art-btn-group .art-btn:is(:hover, :active) {
	color: var(--secondary);
	border-color: var(--btn-secondary-bg-colour-hover);
}
.slider-content-wrap .art-btn-group .art-btn:is(:hover, :active)::before {
	background-color: white;
}
.nav-buttons .art-btn.art-btn {
	color: var(--btn-secondary-txt-colour);
	background-color: var(--btn-secondary-bg-colour);
}
.nav-buttons .art-btn.art-btn:is(:hover, :active) {
	color: var(--btn-secondary-txt-colour-hover);
}
.nav-buttons .art-btn.art-btn:is(:hover, :active)::before {
	background-color: var(--btn-secondary-bg-colour-hover);
}
/* Property Archive */
.property-label.property-label {
	color: var(--secondary);
	background: var(--highlight);
}
.property-label.property-label-under-offer,
.property-label.property-label-sold-stc,
.property-label.property-label-let,
.property-label.property-label-let-agreed,
.property-label.property-label-sold {
	color: white;
	background-color: var(--secondary);
}
/* Property Single */
.single_property_block :is(h2, h3, h4, h5, h6) {
	font-family: 'Lato', sans-serif;
}
.expert_agent .agent_photo img {
	width: 100%;
	height: auto;
	min-width: 120px;
	max-width: 260px;
	max-height: 100%;
}
.narrow-modern-cta-content .single-property-content-cta.art-btn-group.art-btn-group .art-btn.art-btn-icon {
	text-transform: uppercase;
	color: var(--btn-primary-txt-colour);
	background-color: var(--btn-primary-bg-colour);
	text-align: center;
	border: 2px solid var(--btn-primary-txt-colour);
	padding: 20px;
	font-size: 18px;
	box-sizing: border-box;
	display: inline-block;
	transition: 0.4s ease-out;
	position: relative;
	z-index: 2;
}
.narrow-modern-cta-content .single-property-content-cta.art-btn-group.art-btn-group .art-btn.art-btn-icon:before {
	border-radius: var(--radius);
	transition: 0.5s all ease;
	position: absolute;
	top: 0;
	left: 50%;
	right: 50%;
	bottom: 0;
	opacity: 0;
	content: '';
	background-color: var(--btn-primary-bg-colour-hover);
	z-index: -1;
}
.narrow-modern-cta-content .single-property-content-cta.art-btn-group.art-btn-group .art-btn.art-btn-icon:is(:hover, :focus) {
	color: var(--btn-primary-txt-colour-hover);
}
.narrow-modern-cta-content .single-property-content-cta.art-btn-group.art-btn-group .art-btn.art-btn-icon:is(:hover, :focus):before {
	transition: 0.5s all ease;
	left: 0;
	right: 0;
	opacity: 1;
}
.back-to-search-link a {
	color: var(--primary);
}
.back-to-search-link a:is(:hover, :active) {
	color: #00bd92;
}
/* Footer */
.footer-top {
	display: none;
}
.footer-middle h3.widget-title {
	color: var(--highlight);
	font-size: 24px;
}
.footer-middle,
.footer-area p,
.footer-middle ul li a,
.footer-middle .textwidget p,
.footer-middle .textwidget p a,
.footer-middle dd {
	color: white;
}
@media (min-width: 992px) {
	.footer-middle h3.widget-title {
		margin-bottom: 0;
	}
}
.footer-middle {
	padding-bottom: 40px;
}
.footer-bottom,
.footer-bottom p,
.footer-bottom a {
	color: white;
}
.footer ul li a,
.footer .textwidget p,
.footer .textwidget p a {
	font-size: 20px;
}
.footer-middle a:hover,
.footer-middle a:focus {
	color: var(--highlight);
}
.footer-bottom,
.footer-bottom p,
.footer-bottom a {
	color: var(--primary);
}
.icon-pentagon:hover,
.icon-pentagon:focus {
	color: var(--secondary);
}
.art-block-social-link a > span:first-child {
	color: white;
	background: none;
}
.art-block-social-link a:hover > span:first-child,
.art-block-social-link a:focus > span:first-child {
	background: transparent;
	border-color: transparent;
	color: var(--highlight);
}
ul.art-block-social-links {
	position: relative;
	left: -10px;
}
/* Property Card Images */
.grid-img-home img {
	-o-object-position: top right;
	object-position: top right;
}
.grid-img img {
	-o-object-position: top right;
	object-position: top right;
}
/* Testimonials */
.testimonial-slide .testimonial-content h3.name {
	font-family: 'Lato', sans-serif;
}
.testimonial-slide .testimonial-content h3.name span {
	font-size: inherit;
}
/* Logo */
body:is(
		.page-id-16111,
		.page-id-17852,
		.page-id-17855,
		.page-id-307,
		.page-template-page-valuation-two-boxes,
		.page-template-page-centered-form,
		.page-template-page-estateagents,
		.page-template-page-sideimage,
		.page-template-page-documents
	)
	.nav-logo-image-mobile {
	display: none;
}
body:is(
		.page-id-16111,
		.page-id-17852,
		.page-id-17855,
		.page-id-307,
		.page-template-page-valuation-two-boxes,
		.page-template-page-centered-form,
		.page-template-page-estateagents,
		.page-template-page-sideimage,
		.page-template-page-documents
	)
	.nav-logo-image-mobile--fixed {
	display: inline-block;
}
@media (min-width: 992px) {
	body:is(
			.page-id-16111,
			.page-id-17852,
			.page-id-17855,
			.page-id-307,
			.page-template-page-valuation-two-boxes,
			.page-template-page-centered-form,
			.page-template-page-estateagents,
			.page-template-page-sideimage,
			.page-template-page-documents
		)
		.nav-logo-image,
	body:is(
			.page-id-16111,
			.page-id-17852,
			.page-id-17855,
			.page-id-307,
			.page-template-page-valuation-two-boxes,
			.page-template-page-centered-form,
			.page-template-page-estateagents,
			.page-template-page-sideimage,
			.page-template-page-documents
		)
		.nav-logo-image-mobile--fixed {
		display: none;
	}
	body:is(
			.page-id-16111,
			.page-id-17852,
			.page-id-17855,
			.page-id-307,
			.page-template-page-valuation-two-boxes,
			.page-template-page-centered-form,
			.page-template-page-estateagents,
			.page-template-page-sideimage,
			.page-template-page-documents
		)
		.nav-logo-image--fixed {
		display: inline-block;
	}
}
.art-form-two .gform_submission_error {
	font-size: 16px;
}
.contact-six-content p a,
.office-card-telephone {
	font-size: 20px;
	color: var(--secondary);
}
.grid-content .feature-info h4 {
	font-family: 'Lato', sans-serif;
}
.grid-content-inner .property-single-description {
	font-family: 'Lato', sans-serif;
}
.grid-content h5 {
	font-family: 'Lato', sans-serif;
}
.property-excerpt p {
	font-size: 16px;
	font-family: 'Lato', sans-serif;
}
a.property-valuation-link {
	color: var(--primary);
}
.hero-module {
	height: 700px;
}
@media (min-width: 992px) {
	.hero-module {
		height: 500px;
	}
}

.top-section-media-wrapper li,
.top-section-media-wrapper li a {
	color: var(--titles);
}

.top-section-media-wrapper li {
	padding: 6px 8px;
	border: 2px solid transparent;
}
.top-section-media li:not(.item):hover,
.top-section-media li:not(.item):focus {
	/* border: 2px solid var(--secondary); */
	background-color: var(--highlight);
}
.top-section-3 .narrow-modern-gallery-modal .owl-carousel .owl-nav button.owl-next,
.top-section-3 .narrow-modern-gallery-modal .owl-carousel .owl-nav button.owl-prev {
	background: none;
}
.single_property_content h3 {
	font-size: 20px;
	padding-left: 10px;
}
.property-label-shape {
	display: none;
}
@media (max-width: 767px) {
	.grid-img img {
		height: auto;
	}
	.grid-view .card-layout-2 .property-archive-price {
		top: -210px;
	}
}
.fas.fa-heart {
	color: var(--highlight);
	font-weight: 900 !important;
}

.grid-view .grid-content-inner .property-excerpt {
	display: none;
}
.grid-content .feature-info h4 {
	height: auto;
	margin-bottom: 9px;
}
.filter-properties-department {
	display: none;
}
@media (max-width: 767px) {
	.page-inner-sales-section {
		padding-bottom: 0;
	}
}
/* Homepage height fix */
section#home {
	max-height: 960px;
	height: 100dvh;
	min-height: 500px;
}
#main-slide {
	height: 100%;
}
.ts-flex-slider .flexSlideshow {
	height: 100%;
}
/* @media (max-width: 992px) {
	.hero-module {
		height: 100dvh;
	}
} */
@media (max-width: 992px) {
	section#home {
		max-height: 700px;
	}
	#main-slide .slides img {
		max-height: 700px;
	}
	.slider-content-wrap {
		padding: 20px 15px 30px 15px;
	}
}
.home-scroll-hero {
	z-index: 2;
	width: 100%;
	position: fixed;
	text-align: center;
	color: white;
	font-size: 38px;
	bottom: 20px;
	cursor: pointer;
}

.grid-property-list--show-more .grid-property-list-item {
	/* opacity: 0;  */
	/* Start with items hidden */
	transition: opacity 0.5s ease-in-out; /* Smooth transition */
}

.grid-property-list--show-more .grid-property-list-item.show {
	opacity: 1; /* Make the items visible */
}

.parallax h3 {
	font-size: 34px;
}

.contact-six-content p a,
.office-card-telephone {
	color: white;
}

.office-details-wrapper button.art-btn.art-btn.agent-contact-btn {
	color: var(--primary);
	background-color: var(--medium-grey);
}

.office-details-wrapper button.art-btn.art-btn.agent-contact-btn:hover {
	color: white;
}

.office-details-wrapper button.art-btn.art-btn.agent-contact-btn.art-btn-dark {
	color: var(--btn-secondary-txt-colour);
	background-color: var(--btn-secondary-bg-colour);
}

.office-details-wrapper button.art-btn.art-btn.agent-contact-btn.art-btn-dark:before {
	color: var(--btn-secondary-txt-colour);
	background-color: var(--btn-secondary-bg-colour-hover);
}
@media (max-width: 767px) {
	.slide-single-property.slide-single-property img,
	.single_wrapper {
		margin-top: 0;
	}
}
@media (max-width: 991px) {
	.rep-stats-wrapper {
		font-size: 64px;
	}
}
.pd-top .rep-stats-title {
	margin-top: 0;
	margin-bottom: 15px;
}
.rep-stats {
	padding: 20px 17px;
}
.rep-stats-text {
	font-size: 19px;
}
.testimonial-two-circle-img {
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
	background-color: transparent;
}
.flag::after {
	font-size: 15px;
}

/* For the carousel wrapper */
/* .owl-carousel,
.owl-carousel .owl-stage-outer {
	touch-action: pan-x; 
	overscroll-behavior: contain; 
} */

.art-block-social-links {
	margin-top: 20px;
}
.art-block-social-link a > span:first-child {
	color: #40363d;
	background: #03f2bb;
}
.art-block-social-link a:hover > span:first-child,
.art-block-social-link a:focus > span:first-child {
	background: transparent;
	border-color: #03f2bb;
	color: var(--highlight);
}
ul.art-block-social-links {
	position: relative;
	left: 0;
}
/* Gravity Forms - Submit Button Fix */
.gform_wrapper.gravity-theme button[type='submit'] {
	color: var(--btn-secondary-txt-colour);
	background: var(--btn-secondary-bg-colour);
	padding: 14px 40px;
	outline: unset;
	border: unset;
	text-transform: uppercase;
	font-size: 18px;
	transition: 0.25s ease;
}
.gform_wrapper.gravity-theme button[type='submit']:hover {
	color: var(--btn-secondary-txt-colour-hover);
	background: var(--btn-secondary-bg-colour-hover);
	transition: 0.25s ease;
}
.gform_heading {
	margin-bottom: 25px;
}
.page-id-334 .gform_heading {
	display: none;
	margin: 0;
}
.page-id-334 .art-form-centered-container {
	max-width: 750px;
}
.art-form-centered-container button[type='submit'] {
	margin: 0 auto;
}
p.form-privacy-statement {
	margin-bottom: 0;
}

/* 
* Gravity Forms - Hide Anti-Spam Honeypot Field 
*/
.gfield.gfield--type-honeypot {
	display: none !important;
}
.art-into-txt .art-module-multi-content-container:nth-child(2) {
	margin-top: 0;
}
h2 {
	margin-top: 0;
	margin-bottom: 0;
}
.testimonial .testimonial-img-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}
.testimonial .testimonial-img-wrapper img {
	width: 75px;
	height: 75px;
	border-radius: 50%;
}
/* .home-scroll-hero {
	display: none !important;
} */
/* @media (max-width: 991px) {
	.home-scroll {
		display: none !important;
	}
} */
#main-slide .slider-content {
	margin-top: 60px;
}
@media (max-width: 767px) {
	.single-property .properties-for-sale .owl-nav button.owl-prev {
		margin-left: 0;
	}
}
#clients {
	padding: 0;
}
.owl-carousel-footer-logos .owl-nav {
	display: none !important;
}
@media (max-width: 767px) {
	.single-property .properties-for-sale .owl-nav {
		top: calc(50% - 100px);
	}
	.narrow-modern-cta {
		display: none;
	}
}
@media (min-width: 350px) {
	.narrow-modern-calculators button,
	.single-property-content-cta .art-btn {
		min-width: auto;
	}
}
.contact-six-content p a {
	color: var(--secondary);
}
.contact-six-content p a:is(:hover, :active) {
	color: var(--secondary);
	text-decoration: underline;
}
.hero-module {
	position: relative;
	height: 100dvh;
	max-height: 700px;
}
.home-scroll-hero {
	position: absolute;
}
@media (min-height: 800px) {
	section.hero-module .home-scroll-hero {
		display: none;
	}
}
.home-scroll-hero .pulse {
	transition: pulse;
}
.pulse {
	animation: pulse 1s infinite;
	animation-timing-function: linear;
}
.page-template body {
	margin-top: 0;
}
section.pd-top.pd-bottom.testimonials-page-two.list-section {
	padding-top: 120px;
}
ul.nav-icons {
	padding-left: 0;
}
.contact-four.contact-four {
	min-height: 100%;
}
.contact-four-wrapper.contact-four-wrapper {
	padding-top: 40px;
	padding-bottom: 80px;
}
.contact-four-container.contact-four-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}
.contact-four-content {
	width: 100%;
}
@media (min-width: 992px) {
	.contact-four-content {
		width: auto;
	}
}
.office-card-telephone {
	color: var(--secondary);
}

.contact-four-content h2 {
	margin-top: 0px;
	font-size: 26px;
	font-weight: 500;
	margin-bottom: 20px;
}
.extra-content.content-module-content h1 {
	margin-bottom: 20px;
}
.extra-content .contact-us-img img {
	width: 200px;
	height: 200px;
	object-fit: cover;
	border-radius: 50%;
	margin-bottom: 20px;
}
.extra-content .contact-us-image img {
	width: 100%;
	height: auto;
	margin: 0;
}
.contact-us-extra-content-image .narrow {
	/* margin: 0; */
}
@media (min-width: 992px) {
	.contact-us-extra-content-image {
		display: none;
	}
	.contact-us-image {
		display: none;
	}
}
.single_property_content ul.arrow li:before {
	color: #40363d;
	font-weight: 900;
	margin-left: -18px;
}
.title-box-d {
	background: #f3f0ee;
	padding: 20px;
}
.single_property_content li {
	margin: 0;
	font-size: 18px;
	padding-left: 15px;
	text-wrap: auto;
}
.page-template-page-content .content-text h2,
.page-template-page-content .art-module-multi-content-txt h2 {
	text-align: left;
	margin-bottom: 20px;
}
@media (max-width: 991px) {
	.page-template-page-content .content-text p:first-child {
		margin-top: 30px;
	}
	.art-module-multi-content-container {
		gap: 0;
	}
}
.page-template-page-testimonials-two {
	margin-top: 0;
}
.page-template-page-testimonials-two .top-nav {
	height: 110px;
	background-color: transparent;
	box-shadow: none;
}

.page-template-page-testimonials-two .top-nav-scrolled {
	height: 110px;
	background-color: White;
	box-shadow: 0px 4px 6px 0px rgb(0 0 0 / 10%);
}
#back-to-top {
	display: none !important;
}
/* Property Data */
.art-marketing-data-section .art-marketing-data-prices-by-type__stat-context,
.art-marketing-data-section.art-marketing-data-sales__stat-context {
	font-size: 1em;
}
.art-marketing-data-section p.art-marketing-data-source {
	font-size: 1em;
}
.art-marketing-data-section dt.art-marketing-data-sales__label,
.art-marketing-data-section dt.art-marketing-data-sales-by-type__type,
.art-marketing-data-section .art-marketing-data-lettings-by-type__type {
	font-size: 2rem;
}
.art-marketing-data-section .art-marketing-data-sales-by-type__amount {
	font-size: 3.2rem;
}
@media (min-width: 992px) {
	.art-marketing-data-section
		.art-marketing-data-sales__stats
		dl.art-marketing-data-sales__stat-group--average
		dd.art-marketing-data-sales__value {
		font-size: 3.2rem;
	}
}
@media (min-width: 992px) {
	.art-marketing-data-section .art-marketing-data-sales__value-primary {
		font-size: 3.2rem;
	}
}
.art-marketing-data-section .art-marketing-data-sales-by-type__meta {
	font-size: 1.7rem;
}
dd.art-marketing-data-sales__value {
	font-family: 'ED Garamond', serif;
}
.art-marketing-data-sales__context {
	font-family: 'Lato', sans-serif;
}
.art-marketing-data-sales-by-type__amount {
	font-family: 'ED Garamond', serif;
}
.art-marketing-data-section
	.art-marketing-data-sales__stats
	dl.art-marketing-data-sales__stat-group--average
	dd.art-marketing-data-sales__value {
	font-size: 3rem;
}
.art-marketing-data-section span.art-marketing-data-sales__floor-area-item {
	font-size: 1.7rem;
}
.art-marketing-data-section .art-marketing-data-lettings-by-type__label,
.art-marketing-data-lettings-by-type__meta {
	font-size: 1.7rem;
}
.art-container {
	padding: 0 15px;
	margin: 0 auto;
	max-width: 1540px;
}
p.art-marketing-data-source {
	text-align: left;
	margin: 8px auto 0 !important;
	max-width: 1540px !important;
}
@media (max-width: 991px) {
	p.art-marketing-data-source {
		padding: 0 15px;
	}
}
.art-txt-l {
	text-align: left;
}
.art-txt-l :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
	margin-left: 0;
}
.art-txt-c {
	text-align: center;
}
.art-txt-c :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
	margin-left: auto;
	margin-right: auto;
}
.art-txt-r {
	text-align: right;
}
.art-txt-r :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
	margin-right: 0;
}
@media (min-width: 768px) {
	.art-txt-t-l {
		text-align: left;
	}
	.art-txt-t-l :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
		margin-left: 0;
	}
	.art-txt-t-c {
		text-align: center;
	}
	.art-txt-t-c :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
		margin-left: auto;
		margin-right: auto;
	}
	.art-txt-t-r {
		text-align: right;
	}
	.art-txt-t-r :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
		margin-right: 0;
	}
}
@media (min-width: 992px) {
	.art-txt-d-l {
		text-align: left;
	}
	.art-txt-d-l :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
		margin-left: 0;
	}
	.art-txt-d-c {
		text-align: center;
	}
	.art-txt-d-c :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
		margin-left: auto;
		margin-right: auto;
	}
	.art-txt-d-r {
		text-align: right;
	}
	.art-txt-d-r :is(h1, h2, h3, h4, h5, h6, p, .art-btn-group, .art-header, .art-custom-property-search) {
		margin-right: 0;
	}
}

/* Google Reviews Icon - Homepage */
.art-google-reviews--icon {
	margin-top: 20px;
	margin-bottom: -10px;
	width: 100%;

	/* Desktop */
	@media (min-width: 992px) {
		margin-top: 20px;
		margin-bottom: -20px;
		width: max-content;
	}
}
.art-google-reviews--icon img {
	width: 60%;

	/* Desktop */
	@media (min-width: 992px) {
		width: 100%;
	}
}

/* Elfsight Section (Slider) */
.elfsight-reviews-section .art-btn {
	margin-top: 40px;
}

/* Elfsight Section (Grid) */
.elfsight-reviews-section--grid .art-module-multi-content.align-left {
	margin-top: unset;

	/* Desktop */
	@media (min-width: 992px) {
		margin-top: -140px;
	}
}

/* Testimonials Page */
.testimonials-page-two:has(.reviews-tab.active) {
	background-color: white;
	transition: background-color 0.4s ease;
}
.testimonials-page-two:has(.testimonials-tab.active) {
	background-color: var(--medium-grey);
	transition: background-color 0.4s ease;
}
/* Custom Tabs */
.testimonial-tabs-container {
	display: flex;
	justify-content: center;
	margin-bottom: 50px;
}
.testimonial-tabs-nav {
	position: relative;
	display: inline-flex;
	background-color: #f4f4f4;
	border-radius: 0;
	padding: 5px;
	border: 1px solid #e1e1e1;
}
.tab-slider {
	position: absolute;
	top: 5px;
	bottom: 5px;
	left: 5px;
	width: 0;
	background-color: var(--btn-primary-bg-colour);
	border-radius: 0;
	z-index: 1;
	transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.tab-link {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 30px;
	background: transparent;
	border: none;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	color: rgb(64 54 61 / 50%);
	border-radius: 0;
	transition: color 0.3s ease;
	outline: none;
}
.tab-link svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
	transition: fill 0.3s ease;
}
.tab-link i {
	font-size: 18px;
	color: inherit;
	transition: color 0.3s ease;
}
.tab-link:hover {
	color: #111111;
}
.tab-link.active {
	color: #ffffff;
}

/* Show the first property photos before Owl Carousel initialises, so they still paint while WP Rocket delays the slider JS */
.top-section-3-carousel.owl-carousel:not(.owl-loaded) {
	display: flex;
	gap: 4px;
	overflow: hidden;
	padding: 0;
	margin: 0;
}
.top-section-3-carousel.owl-carousel:not(.owl-loaded) > .item {
	flex: 0 0 calc((100% - 8px) / 3);
	list-style: none;
}
.top-section-3-carousel.owl-carousel:not(.owl-loaded) > .item img,
.owl-carousel-mobile.owl-carousel:not(.owl-loaded) > .item img {
	width: 100%;
	object-fit: cover;
	filter: none;
}
.owl-carousel-mobile.owl-carousel:not(.owl-loaded) {
	display: block;
	padding: 0;
	margin: 0;
}
.owl-carousel-mobile.owl-carousel:not(.owl-loaded) > .item {
	list-style: none;
}
.owl-carousel-mobile.owl-carousel:not(.owl-loaded) > .item:not(:first-child) {
	display: none;
}
@media (max-width: 1199px) {
	.top-section-3-carousel.owl-carousel:not(.owl-loaded) > .item {
		flex-basis: calc((100% - 4px) / 2);
	}
}

/* Recently Sold Properties: the module heading is promoted to an H1 in functions.php; keep its H2 styling */
body.page-template-default.page-id-16111 .properties-for-sale .text-center > h1 {
	margin-top: 0;
	margin-bottom: 0;
}
@media (max-width: 767px) {
	body.page-template-default.page-id-16111 .properties-for-sale .text-center > h1 {
		font-size: 30px;
		line-height: 1.25;
	}
}

@media screen and (max-width: 767px) {
	/* Remove padding around the video */
	.fancybox-container .fancybox-slide--video {
		padding: 0 !important;
	}

	/* Make the video container fill the screen */
	.fancybox-container .fancybox-slide--video .fancybox-content {
		width: 100vw !important;
		height: 100vh !important;
		height: 100dvh !important;
		max-width: 100vw !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
		margin: 0 !important;
	}

	/* Make the Vimeo iframe fill its container */
	.fancybox-container .fancybox-slide--video .fancybox-iframe {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		border: 0 !important;
	}
}

.fancybox-button--close {
	background: #03f2bb;
}
.fancybox-button--close svg path {
	fill: var(--primary);
}
