/* 
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 */

p:last-child {
  margin-bottom: 0;
}
.removeMargin p {
    margin-block-end: 0 !important;
}
ul, ol {
	margin-bottom: 24px;
}
.elementor-widget-text-editor a,  .elementor-widget-theme-post-content a {
    color: var(--e-global-color-text);
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 5px !important;
}
.elementor-widget-text-editor a:hover,
.elementor-widget-text-editor a:focus,
.elementor-widget-theme-post-content a:hover,
.elementor-widget-theme-post-content a:hover {
    text-decoration: none !important;
	color: var(--e-global-color-accent);
}
.plainLink a {
	color: inherit !important;
	text-decoration: none !important;
}
.plainLink a:hover {
	color: inherit !important;
	text-decoration: none !important;
}
.plainLink a:focus {
	color: inherit !important;
	text-decoration: none !important;
}
.elementor-icon {
vertical-align:middle;
}
.elementor-icon-wrapper {
line-height: 0;
}
.elementor-widget-image a
{
width: 100%;
}
.elementor-widget-off-canvas {
--e-off-canvas-animation-duration: 300ms;
}
.elementor-widget-bathrooms, 
.elementor-widget-bedrooms, 
.elementor-widget-reception-rooms, 
.elementor-widget-council-tax-band,
.back-to-search a {
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Hero image slant */
.heroImage img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: polygon(9% 0%, 100% 0%, 100% 100%, 0% 100%);
}
@media (max-width: 1024px) {
	.heroImage img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: none;
}
}

/* Button Styles */

.buttonTwo .elementor-button {
    color: var(--e-global-color-primary);
    border-color: var(--e-global-color-41a7406);
    background-color: var(--e-global-color-a9a3b34);
}
.buttonTwo .elementor-button:hover, .buttonTwo .elementor-button:focus {
	color: var(--e-global-color-primary);
    border-color: var(--e-global-color-41a7406);
    background-color: var( --e-global-color-b36ab51 );
}

.buttonThree .elementor-button {
    padding: 0;
    color: var(--e-global-color-primary);
    background-color: transparent;
    border: none;
}
.buttonThree .elementor-button:hover, .buttonThree .elementor-button:focus {
	color: var(--e-global-color-primary);
    background-color: transparent;
    border: none;
}
.buttonThree .elementor-button .elementor-button-icon {
    transition: transform 250ms ease-in-out;
    fill: var(--e-global-color-primary);
    font-size: 10px;
}
.buttonThree .elementor-button:hover .elementor-button-icon {
    transform: translateX(2px);
}
.buttonThree .elementor-button-content-wrapper {
    gap: 8px;
}

/* Property search bar */
.property-search-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 20px;
}

.property-search-form .control {
  padding: 0 !important;
}

.property-search-form.clear::after {
  display: none;
}

.property-search-form .control-department {
  width: 100%;
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.property-search-form .control-department label {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: var(--e-global-typography-accent-font-size);
  font-weight: 400;
  padding-bottom: 15px;
  color: var(--e-global-color-81fdbb4);
  transition: color 0.2s ease;
}

.property-search-form .control-department input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.property-search-form .control-department label::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--e-global-color-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.property-search-form .control-department label:has(input[type="radio"]:checked) {
  color: var(--e-global-color-primary);
}

.property-search-form .control-department label:has(input[type="radio"]:checked)::after {
  opacity: 1;
}

.property-search-form .control:not(.control-department) {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.property-search-form .control[style*="display: table-cell"] {
  display: flex !important;
}

.property-search-form select,
.propertyhive-ordering select,
[class$="-calculator"] select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  padding: 6px 28px 20px 0;
  background: transparent 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 4px top 16px / 10px;
  border: none;
  border-bottom: 1px solid var(--e-global-color-81fdbb4);
  border-radius: 0;
  color: var(--e-global-color-primary);
  font-size: var(--e-global-typography-text-font-size);
  opacity: 0.8;
  cursor: pointer;
  outline: none;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.property-search-form select:hover,
.property-search-form select:focus {
  opacity: 1;
  border-color: var(--e-global-color-primary);
}

.property-search-form input[type="submit"] {
  flex: 0 0 auto;
  align-self: flex-end;
}

@media (max-width: 767px) {
  .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: 24px !important;
    margin-bottom: 40px !important;
  }

  .property-search-form .control:not(.control-department) {
    width: 100%;
    flex: 0 0 auto;
    margin-bottom: 40px;
  }

  .property-search-form input[type="submit"] {
    width: 100%;
  }
}
/* Custom carousel pagination */
.customCarousel .swiper-pagination.swiper-pagination-bullets {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.customCarousel .swiper-pagination-bullet {
    width: 4px !important;
    height: 20px !important;
    margin: 0 !important;
    border-radius: 0;
    background-color: #ffffff !important;
    opacity: 1;

    transition:
        height 0.35s cubic-bezier(.4,0,.2,1),
        background-color 0.25s ease;
}

.customCarousel .swiper-pagination-bullet:hover,
.customCarousel .swiper-pagination-bullet-active {
    height: 30px !important;
    background-color: var(--e-global-color-text) !important;
}
/* 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-family: var(--e-global-typography-fcb0f43-font-family), Sans-serif;
    font-size: var(--e-global-typography-fcb0f43-font-size);
    font-weight: var(--e-global-typography-fcb0f43-font-weight);
    line-height: var(--e-global-typography-fcb0f43-line-height);
}
.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 single post template image gallery */
.flexslider {
    margin: 0;
    background: none;
    border: none;
}
/* Back to search */
.back-to-search svg {
  width: 10px;
  height: 10px;
  fill: var(--e-global-color-81fdbb4);
}
/* Property Hive calculators */
[class$="-calculator"] label, .property-enquiry-form label {
    margin-bottom: 6px;
    display: block;
}
[class$="-calculator"] input[type="text"], .property-enquiry-form input {
    margin-bottom: 20px;
}
[class$="-calculator"] button, .property-enquiry-form input[type="submit"], .property-enquiry-form button {
    margin: 20px 0;
}
/* Property image gallery */
.fancybox-button--arrow_right,
.fancybox-button--arrow_left {
	border: none !important;
}
.fancybox-toolbar button svg,
.fancybox-button--close svg {
    width: 24px;
    height: 24px;
    display: block; /* ensures proper alignment */
    color: white;
}
.fancybox-content button, .fancybox-content button:hover, .fancybox-content button:focus, .fancybox-toolbar button, .fancybox-toolbar button:hover, .fancybox-toolbar button:focus {
	background-color: transparent;
	border: none;
	color: var(--e-global-color-primary);
}
.fancybox-toolbar button,
.fancybox-button--close {
    display: flex !important;
    align-items: center !important;    /* vertical centering */
    justify-content: center !important; /* horizontal centering */
    padding: 0 !important;              /* remove default button padding */
}
/* Elementor menu padding */
.sub-menu li {
    padding: 10px 10px 5px 10px !important;
}
/* Trust Index widget */
.elementor-widget-trustindex-addon {
    max-width: 100%;
    overflow-x: hidden !important;
}