/*--------------------------------------------------------
BRICKS THEME OVERRIDES
--------------------------------------------------------*/
.post-content .alignwide {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: var(--wp--style--global--wide-size);
}

.post-content .alignfull {
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
}

.brx-popup {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--style--root--padding-right);
}

.brx-popup-content {
  max-width: 600px !important;
}

/*--------------------------------------------------------
TYPOGRAPHY
--------------------------------------------------------*/
html {
    font-size: 62.5%;
}

h2.wp-block-heading:first-child,
h3.wp-block-heading:first-child,
h4.wp-block-heading:first-child,
h5.wp-block-heading:first-child,
h6.wp-block-heading:first-child {
    margin-top: 0;
}

a:hover {
    text-decoration: underline;
}

/*--------------------------------------------------------
COLOURS
--------------------------------------------------------*/
:root {
    --os-primary-h: 279;
    --os-primary-s: 68%;
    --os-primary-l: 19%;
    --os-primary: hsl(var(--os-primary-h) var(--os-primary-s) var(--os-primary-l));
    --os-primary-light: hsl(var(--os-primary-h) var(--os-primary-s) calc(var(--os-primary-l) * 1.6));
    --os-primary-ultra-light: hsl(var(--os-primary-h) var(--os-primary-s) calc(var(--os-primary-l) * 5));
    --os-primary-dark: hsl(var(--os-primary-h) var(--os-primary-s) calc(var(--os-primary-l) * 0.5));
    --os-primary-ultra-dark: hsl(var(--os-primary-h) var(--os-primary-s) calc(var(--os-primary-l) * 0.25));
    --os-primary-hover: hsl(var(--os-primary-h) var(--os-primary-s) calc(var(--os-primary-l) * 1.5));
    --os-secondary-h: 183;
    --os-secondary-s: 100%;
    --os-secondary-l: 34%;
    --os-secondary: hsl(var(--os-secondary-h) var(--os-secondary-s) var(--os-secondary-l));
    --os-secondary-light: hsl(var(--os-secondary-h) var(--os-secondary-s) calc(var(--os-secondary-l) * 1.2));
    --os-secondary-ultra-light: hsl(var(--os-secondary-h) var(--os-secondary-s) calc(var(--os-secondary-l) * 1.4));
    --os-secondary-dark: hsl(var(--os-secondary-h) var(--os-secondary-s) calc(var(--os-secondary-l) * 0.5));
    --os-secondary-ultra-dark: hsl(var(--os-secondary-h) var(--os-secondary-s) calc(var(--os-secondary-l) * 0.25));
    --os-secondary-hover: hsl(var(--os-secondary-h) var(--os-secondary-s) calc(var(--os-secondary-l) * 1.5));
    --os-base-h: 233;
    --os-base-s: 25%;
    --os-base-l: 41%;
    --os-base: hsl(var(--os-base-h) var(--os-base-s) var(--os-base-l));
    --os-base-light: hsl(var(--os-base-h) var(--os-base-s) calc(var(--os-base-l) * 1.5));
    --os-base-ultra-light: hsl(var(--os-base-h) var(--os-base-s) calc(var(--os-base-l) * 2));
    --os-base-dark: hsl(var(--os-base-h) var(--os-base-s) calc(var(--os-base-l) * 0.5));
    --os-base-ultra-dark: hsl(var(--os-base-h) var(--os-base-s) calc(var(--os-base-l) * 0.25));
    --os-base-hover: hsl(var(--os-base-h) var(--os-base-s) calc(var(--os-base-l) * 1.5));
    --os-text-h: 273;
    --os-text-s: 100%;
    --os-text-l: 15%;
    --os-text: hsl(var(--os-text-h) var(--os-text-s) var(--os-text-l));
    --os-text-light: hsl(var(--os-text-h) var(--os-text-s) calc(var(--os-text-l) * 1.5));
    --os-text-ultra-light: hsl(var(--os-text-h) var(--os-text-s) calc(var(--os-text-l) * 2));
    --os-text-dark: hsl(var(--os-text-h) var(--os-text-s) calc(var(--os-text-l) * 0.5));
    --os-text-ultra-dark: hsl(var(--os-text-h) var(--os-text-s) calc(var(--os-text-l) * 0.25));
    --os-bgtint: #d4eef4;
}

/*--------------------------------------------------------
CORNERS
--------------------------------------------------------*/
:root {
    --os-radius-l: clamp(2.4rem, 0.765vw + 2.155rem, 3.2rem);
    --os-radius-m: clamp(1.8rem, 0.574vw + 1.616rem, 2.4rem);
    --os-radius-s: clamp(0.8rem, 0.765vw + 0.555rem, 1.6rem);
}

/*--------------------------------------------------------
ANIMATION & EFFECTS
--------------------------------------------------------*/
:root {
    --os-transition: 0.3s;
}

:root {
    --os-box-shadow-l: 0.5rem 0.5rem 3rem rgba(0, 0, 0, 0.2);
}

/* CLICKABLE PARENT */
.os-clickable-parent:not(a) {
    position: static;
}

.os-clickable-parent:not(a) a {
    position: static;
}

.os-clickable-parent:not(a)>a::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer !important;
    display: flex;
    z-index: 2;
}

a.os-clickable-parent {
    position: static;
}

a.os-clickable-parent::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer !important;
    display: flex;
}


/* MODALS */
.os-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--os-base-trans-80);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: var(--os-section-padding);
}

.os-modal__inner {
    position: relative;
    background-color: white;
    border-radius: var(--os-space-xl) 0 var(--os-space-xl) 0;
    width: 100%;
    max-width: 960px;
    max-height: 100%;
    padding: var(--os-space-xl);
}

.os-modal__close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--wp--preset--color--brand-red);
    background: none;
    font-size: 36px;
    transition: var(--os-transition);
}

.os-modal__close:hover {
    color: var(--wp--preset--color--brand-red-hover);
}


/* SCRIPTLESS SOCIAL SHARING */
.scriptlesssocialsharing {
    margin-top: 12px !important;
}

.scriptlesssocialsharing .button {
    border-radius: 1.6rem 0 1.6rem 0 !important;
    margin-right: 1rem !important;
    transition: 0.3s;
}

.scriptlesssocialsharing .button:hover {
    transform: translateY(-5px);
}

/*General block styling*/
.page-title,
.brxe-post-title {
    font-size: 3.6rem;
    margin-bottom: var(--wp--preset--spacing--m-small);
    margin-top: var(--wp--preset--spacing--medium);
}

div#container {
    max-width: 100%;
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

div#content {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}


/*Property Hive Styling*/
.propertyhive #container .propertyhive-ordering,
.propertyhive #container .propertyhive-result-count {
    padding: 0 10px;
}

.propertyhive #container .propertyhive-result-count {
    margin-top: 16px;
}

.propertyhive #container .title-container h1 {
    margin-bottom: 48px;
}

.propertyhive #container .property,
.propertyhive #container .results-container {
    margin-bottom: 30px;
}

.propertyhive #content form.property-search-form div.control.control-department {
    display: none;
}



.propertyhive #content form.property-search-form label {
    margin-right: 0.5rem;
}

.action-epc a,
.action-make-enquiry a,
.propertyhive #content form.property-search-form input[type='submit'] {
    border-radius: 4px;
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    padding: 12px 24px;
    text-decoration: none;
    background: #403078;
    color: #ffffff;
    border: 2px solid #403078;
}

.propertyhive #content form.property-search-form input[type='submit']:hover {
    color: #403078;
    background: #ffffff;
    transition: 0.5s ease-in-out;
}

.propertyhive-pagination {
    font-size: 20px;
    text-align: center;
}

.propertyhive-pagination ul li {
    padding-right: 5px;
}

.button-container {
    text-align: right;
}

@media screen and (max-width: 640px) {

    .propertyhive ul.properties li .details,
    .propertyhive ul.properties li .thumbnail {
        float: none;
        width: 100%;
    }

    .button-container {
        text-align: left;
    }

    .propertyhive ul.properties li .details {
        padding: 0 10px;
    }

    .propertyhive #content .searchform-container {
        padding-top: 16px;
    }

    .propertyhive .property-search-form {
        padding-top: 10px;
        display: block;
    }

    .propertyhive #content form.property-search-form div {
        float: none;
    }

    .propertyhive #container .title-container h1 {
        text-align: center;
    }
}

.single-property .row .property_title.entry-title {
    padding-bottom: 32px;
    border-bottom: 1px solid #000000;
}

.property_actions {
    text-align: left;
}

.property_meta {
    text-align: left;
}

.property_actions ul,
.property_meta ul {
    padding-left: 0;
}

.property_actions ul li,
.property_meta ul li {
    text-decoration: none;
    display: inline-block;
    padding-right: 1rem;
}

.property_meta ul li span {
    font-weight: bold;
}

.property-enquiry-form #enquirySuccess {
    text-align: center;
    color: green;
    padding: 16px;
}

.property-enquiry-form #enquiryValidation {
    text-align: center;
    color: red;
    padding: 16px;
}

.property-enquiry-form .control {
    margin-bottom: 10px;
}

.property-enquiry-form .control label:not(.control-disclaimer) {
    width: 25%;
}

.property-enquiry-form .control.control-telephone_number label {
    font-size: 0;
}

.property-enquiry-form .control.control-telephone_number label:before {
    content: "Phone *";
    font-weight: bold;
    font-size: 16px;
}

.property-enquiry-form textarea,
.property-enquiry-form input:not([type=submit]):not([type=checkbox]) {
    width: 60%;
}

.property-enquiry-form input[type=submit] {
    font-weight: 700;
    line-height: 18px;
    padding: 12px 24px;
    text-decoration: none;
    background: #403078;
    color: #ffffff;
    border: 2px solid #403078;
    margin: 10px 0;
    float: right;
}

@media screen and (max-width: 640px) {
    .container {
        padding: 0;
    }

    .container .row {
        margin: 0 !important;
    }
}

.properties .property .details .button:hover {
    border: 1px solid #0d97a0;
    border-radius: 10px;
    color: #ffffff;
    background: #19a3ac;
}

.properties .property .details .button {
    font-weight: 700;
    border: 1px solid #add1d4;
    border-radius: 10px;
    padding: 15px 30px;
    color: #403078;
    background: #b9dde0;
    transition: 0.5s ease-in-out;
}

.actions {
    margin-top: 15px;
}


.details {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--xx-small);
}

.propertyhive #container .property,
.propertyhive #container .results-container {
    padding-top: var(--wp--preset--spacing--small);
    padding-bottom: var(--wp--preset--spacing--small);
}

.property-search-form {
    background-color: #badde0;
    padding: var(--wp--preset--spacing--x-small);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.property-search-form .control {
    flex: 1;
    /* Ensure all controls take equal space */
    box-sizing: border-box;
}

.control select {
    border-color: var(--os-primary-ultra-light);
}

.property-search-form input[type='submit'] {
    flex: 0 0 auto;
    /* Take natural width */
    font-weight: 700;
    line-height: 18px;
    padding: 12px 24px;
    text-decoration: none;
    background: #403078;
    color: #ffffff;
    border: 2px solid #403078;
    transition: 0.5s ease-in-out;
    cursor: pointer;
}

.property-search-form input[type='submit']:hover {
    color: #403078;
    background: #ffffff;
}

.property-search-form .control label {
    display: block;
    margin-bottom: 0.5rem;
}

.property-search-form input {
    margin: 0 !important;
}


.property-search-form label {
    color: black;
}

.propertyhive ul.properties li .thumbnail img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.property-search-form {
    display: flex !important;
    align-items: end;
    justify-content: space-between;
}


@media (max-width:767px) {
    .properties li {
        flex-direction: column;
        display: flex;
    }

    .properties li .thumbnail,
    .details {
        width: 100% !important;
        text-align: center;
        transition: 0.3s;
    }

    .property-search-form {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .property-search-form input {
        align-self: start;
        margin-left: 10px !important;
    }

}



/*Form styling*/
legend { color: #3c1053; border-bottom: 1px solid #00a3ad; width: 100%;}

.form .form-control:hover, .form input[type=text]:hover, .form input[type=email]:hover, .form textarea:hover { background-color: #b8dde1; }

.form .gform_button {
  border-width: 1px;
  border-color: black !important;
  padding: 8px 16px;
  border-radius: 4px;
}

.form .gform_button:hover {
  background-color: lightgrey;
}

/* Custom Content Styles */
.blog__container h2.wp-block-heading {
        margin-top: var(--wp--preset--spacing--large);
}
.blog__container h2.wp-block-heading:first-child {
        margin-top: 0;
}
.blog__container h3.wp-block-heading {
        margin-top: var(--wp--preset--spacing--small);
        margin-bottom: var(--wp--preset--spacing--x-small);
        font-size: var(--wp--preset--font-size--large);
}
.blog__container h3.wp-block-heading:first-child {
        margin-top: 0;
}
.blog__container h4.wp-block-heading {
        margin-top: var(--wp--preset--spacing--small);
        margin-bottom: var(--wp--preset--spacing--xx-small);
        font-size: var(--wp--preset--font-size--medium-large);
}
.blog__container h4.wp-block-heading:first-child {
        margin-top: 0;
}
.blog__container ul.wp-block-list {

	gap: 1rem;
}
.wp-block-group.blog-box-primary-light {
    padding: var(--wp--preset--spacing--medium);
	margin-top: var(--wp--preset--spacing--large);
	margin-bottom: var(--wp--preset--spacing--large);
    background-color: var(--os-primary-ultra-light);
}


.grecaptcha-badge {
    visibility: revert !important;
    z-index: 999;
}