/* 
Theme Name: Hello 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 */

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
p:last-child {
  margin-bottom: 0;
}
.elementor-widget-off-canvas {
	--e-off-canvas-animation-duration: 300ms;
}
.elementor-icon {
	vertical-align:middle;
}
.elementor-icon-wrapper {
	line-height: 0;
}
.elementor-widget-image a {
	width: 100%;
}
ol:has(+ p), 
ul:has(+ p),
p:has(+ ul),
p:has(+ ol) {
  margin-bottom: 12px !important;
}
.plainLink a {
	color: inherit;
	text-decoration: none;
}
.plainLink a:hover,
.plainLink a:focus {
	color: inherit;
	text-decoration: none;
}
.brandLink a {
    color: var(--e-global-color-46ce80d);
    text-decoration: none;
}
.brandLink a:hover,
.brandLink a:focus {
    text-decoration: underline;
}
.buttonTwo .elementor-button {
	color: var(--e-global-color-primary) !important;
	background-color: var(--e-global-color-202f614) !important;
	border-color: var(--e-global-color-ca320cf) !important;
}
.buttonTwo .elementor-button:hover,
.buttonTwo .elementor-button:focus {
	color: var(--e-global-color-82e8cab) !important;
	background-color: var(--e-global-color-202f614) !important;
	border-color: var(--e-global-color-ca320cf) !important;
}
.buttonThree .elementor-button {
    padding: 0 !important;
    color: var(--e-global-color-primary) !important;
	background-color: var(--e-global-color-202f614) !important;
	border: 0 !important;
}
.buttonThree .elementor-button:hover,
.buttonThree .elementor-button:focus {
    color: var(--e-global-color-82e8cab) !important;
}
.buttonThree .elementor-button .elementor-button-icon {
    transition: transform 250ms ease-in-out;
    font-size: 16px;
}
.buttonThree .elementor-button:hover .elementor-button-icon {
    transform: translateX(2px);
}

/* PH Calculator buttons */
.mortgage-calculator button,
.stamp-duty-calculator button,
.rental-yield-calculator button,
.rental-affordability-calculator button {
	margin-top: 10px;
}

/* Property Single Post Template CTAs */
.elementor-widget-property-brochures-link a {
    width: 100%;
    border-radius: 100px;
    padding: 12px 24px !important;
    color: var(--e-global-color-primary) !important;
    border: 1px solid var(--e-global-color-ca320cf) !important;
    transition: all .3s;
}
.elementor-widget-property-brochures-link a:hover,
.elementor-widget-property-brochures-link a:focus {
    color: var(--e-global-color-82e8cab) !important;
}

.elementor-widget-property-enquiry-form-link a {
    display: block;
    width: 100%;
    border-radius: 100px;
    padding: 12px 24px !important;
    color: var(--e-global-color-accent);
    background-color: var(--e-global-color-46ce80d);
    border: 1px solid var(--e-global-color-46ce80d) !important;
    transition: all .3s;
}
.elementor-widget-property-enquiry-form-link a:hover,
.elementor-widget-property-enquiry-form-link a:focus {
    color: var(--e-global-color-e90646a) !important;
}

.elementor-widget-property-tabbed-details .elementor-tab-mobile-title,
.elementor-widget-property-tabbed-details .elementor-tab-content {
    padding: 20px;
}

/* Square image */

.squareImg img {
    aspect-ratio: 1 / 1;
}

/* Mobile media styles */
@media (max-width: 767px) {
	.squareImgMobile img {
		aspect-ratio: 1 / 1;
	}
}
/* Hide property stat if no value given */
.propertyStatParent:not(:has(.propertyStatChild)) {
  display: none;
}

/* Property single post template image gallery */
.flexslider {
    margin: 0 0 20px;
    background: none;
    border: none;
}
.flexslider img {
	border-radius: 0;
}
#carousel > div > ul > li {
    margin-right: 20px !important;
}
#slider.flexslider {
    height: 80vh;
}

#slider.flexslider .flex-viewport,
#slider.flexslider ul.slides,
#slider.flexslider ul.slides li,
#slider.flexslider ul.slides li a,
#slider.flexslider ul.slides li picture {
    height: 100% !important;
}

#slider.flexslider ul.slides li img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Single blog post */
.elementor-widget-theme-post-content ul, .elementor-widget-theme-post-content ol {
	margin-bottom: 14px !important;
}
.elementor-widget-theme-post-content h2 {
	margin-top: 32px;
	font-size: 38px;
	line-height: 42px;
}
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4,
.elementor-widget-theme-post-content h5,
.elementor-widget-theme-post-content h6 {
	margin-top: 24px;
}
.elementor-widget-theme-post-content img {
	width: 100% !important;
}
:where(figure) {
    margin: 32px 0 !important;
}

/* Property search bar */
.property-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
    align-items: flex-end;
}
.property-search-form .control {
    padding: 0 !important;
}
.property-search-form .control:not(.control-department) {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.property-search-form input[type="text"] {
    padding: 12px !important;
    margin: 0 !important;
    background-color: var(--e-global-color-accent) !important;
}
.property-search-form select,
.propertyhive-ordering select,
[class$="-calculator"] select {
    appearance: none;
    background: var(--e-global-color-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px top 20px / 10px;
    border-radius: 4px;
    border: 1px solid var(--e-global-color-ca320cf);
    display: block;
    width: 100%;
    padding: 12px;
    margin: 0;
    box-sizing: border-box;
	color: var(--e-global-color-primary) !important;
  	-webkit-text-fill-color: var(--e-global-color-primary) !important;
}
.property-search-form.clear::after {
    display: none;
}
.property-search-form .control-department {
    width: 100%;
    flex: 0 0 100%;
    display: inline-flex;
    gap: 20px;
    margin-bottom: 20px;
}
.property-search-form .control-department input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.property-search-form .control-department label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 18px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 0 0 auto;
    box-sizing: border-box;
    border-radius: 100px;
	border: 1px solid var(--e-global-color-ca320cf);
	color: var(--e-global-color-82e8cab);
}
.property-search-form .control-department label:has(input[type="radio"]:checked) {
  	background-color: var(--e-global-color-accent);
	color: var(--e-global-color-primary);
}
@media (max-width: 1024px) {
    .property-search-form {
        flex-direction: column;
        gap: 0;
    }
    .property-search-form .control-department {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        margin-bottom: 20px !important;
    }
    .property-search-form .control:not(.control-department) {
        width: 100%;
        flex: 0 0 auto;
        margin-bottom: 20px;
    }
    .property-search-form .control-department label {
        flex: 1;
        text-align: center;
    }
    .property-search-form input[type="submit"] {
        width: 100%;
        margin-top: 20px;
    }
}
@media (max-width: 767px) {
	#slider.flexslider {
    	height: 100vw;
	}
}
.fancybox-button--arrow_right,
.fancybox-button--arrow_left,
.fancybox-button--close {
	border: none !important;
	border-radius: 0 !important;
}
.fancybox-button--close {
	display: none !important;
	
}
.fancybox-caption__body {
    display: none;
}