/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

:root {
    --primary-clr: #1B3E56;
    --secondary-clr: #F2B655;
    --bg-clr-1: #DD6562;
    --bg-clr-2: #FFDFCF;
    --bg-clr-3: #FFF8F3;
}

body {
    color: var(--primary-clr);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-clr);
    font-weight: 700;
    text-transform: uppercase;
}

h1 {
    font-size: 45px;
    line-height: 1.083;
}

h2 {
    font-size: 35px;
    line-height: 1.1;
}

h2.brxe-heading.bricks-type-lead:before {
    content: url(/wp-content/uploads/2022/11/heading-line.png);
    display: block;
    line-height: 0;
    margin-bottom: 50px;
}

h3 {
    font-size: 25px;
}

h4 {
    font-size: 20px;
    line-height: 1.2;
}
ul.wp-block-list,
p {
    font-size: 16px;
    line-height: 1.35;
    margin: 0 0 1em;
}

.brxe-post-content h2:first-child,
.brxe-post-content h3:first-child,
.brxe-post-content h4:first-child,
.brxe-post-content h5:first-child,
.brxe-post-content h6:first-child {
    margin-top: 0;
}

.brxe-post-content h2 {
    margin-block: 4rem 1rem;
}

.brxe-post-content h3,
.brxe-post-content h4 {
    margin-block: 3rem 1.5rem;
}

.wp-block-quote {
    font-family: inherit;
}

.wp-block-quote cite {
    font-size: 16px;
}

.wp-block-quote.is-style-default {
    background-image: url(/wp-content/uploads/2023/01/blockquote-line.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position: top left;
    padding-left: 40px;
    border-left: 0;
}

@media (min-width: 768px) {
    p {
        font-size: 18px;
    }

    h1 {
        font-size: 50px;
    }

    h2 {
        font-size: 40px;
    }

    h3 {
        font-size: 30px;
    }

    h4 {
        font-size: 25px;
    }

}

@media (min-width: 1280px) {
    .wp-block-quote p {
        font-size: 30px;
        line-height: 1.33;
    }

    .wp-block-quote.is-style-default {
        padding-left: 60px;
    }

    .wp-block-quote cite {
        font-size: 18px;
    }
}

@media (min-width: 1441px) {

    h1.brxe-heading.bricks-type-hero,
    h2.brxe-heading.bricks-type-hero {
        font-size: 60px;
    }

    h2.brxe-heading.bricks-type-lead {
        font-size: 50px;
    }
	ul.wp-block-list,
    p {
        font-size: 20px;
    }
}

.brxe-text {
    font-size: 20px;
}

.brxe-text p {
    font-size: inherit;
}

.bricks-color-danger {
    color: var(--bg-clr-1);
}

.bricks-color-secondary {
    color: var(--secondary-clr);
}

/* .bricks-button */
.bricks-button {
    min-width: 278px;
    font-size: 20px;
    line-height: 1;
    padding: 11px 20px 12px;
    font-weight: 700;
    transition: all .2s ease;
    border: 2px solid;
}

.bricks-button.outline.bricks-color-primary {
    border-color: var(--primary-clr);
    color: var(--primary-clr);
}

.bricks-button.outline.bricks-color-primary:hover {
    background-color: var(--primary-clr);
    color: var(--bg-clr-2);
}

.bricks-button.outline.bricks-color-info {
    border-color: var(--bg-clr-2);
    color: var(--bg-clr-2);
}

.bricks-button.outline.bricks-color-info:hover {
    background-color: var(--bg-clr-2);
    color: var(--primary-clr);
}

.bricks-button.bricks-background-primary {
    border-color: var(--primary-clr);
    background-color: var(--primary-clr);
    color: var(--bg-clr-2);
}

.bricks-button:hover,
.bricks-button.bricks-background-primary:hover {
    background-color: var(--bg-clr-2);
    color: var(--primary-clr);
}

/* Header */
.home #brx-header.sticky.on-scroll {
    position: fixed;
}

.home .brxe-section {
    transition: all .2s ease;
}

.home #brx-header:not(.scrolling)>.brxe-section {
/*     background-color: transparent; */
}

#brx-header.scrolling>.brxe-section>.brxe-container {
    padding-block: 20px;
    transition: all .2s ease;
}

#brx-header.scrolling .bricks-site-logo {
    max-height: 80px;
    transition: all .2s ease;
}

/* Gravity Form */
.gform_required_legend {
    display: none;
}

.gform_wrapper.gravity-theme {
    color: var(--primary-clr);
}

.gform_wrapper.gravity-theme .gform-body .gform_fields {
    grid-column-gap: 3%;
    grid-row-gap: 28px;
}

.gform_wrapper.gravity-theme .gfield .gfield_label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary-clr);
    line-height: 1.25;
}

.gform_wrapper.gravity-theme .ginput_container input,
.gform_wrapper.gravity-theme .ginput_container select,
.gform_wrapper.gravity-theme .ginput_container textarea {
    border: 2px solid var(--primary-clr);
    font-size: 16px !important;
    line-height: 1.2;
    padding: 8px 18px !important;
    min-height: 48px;
    background-color: transparent;
    color: var(--primary-clr);
}

.gform_wrapper.gravity-theme .gfield .ginput_container textarea.medium {
    height: 149px;
}

@media (min-width: 1024px) {
    .gform_wrapper.gravity-theme .gfield .gfield_label {
        font-size: 16px;
    }

    .gform_wrapper.gravity-theme .ginput_container input,
    .gform_wrapper.gravity-theme .ginput_container select,
    .gform_wrapper.gravity-theme .ginput_container textarea {
        font-size: 20px !important;
        min-height: 62px;
    }
}

.gform_wrapper.gravity-theme .ginput_container input[type="checkbox"] {
    display: inline-block;
    width: 25px;
    height: 25px;
    position: relative;
    line-height: 1;
    min-height: 0;
    flex-shrink: 0;
}

.gform_wrapper.gravity-theme .ginput_container input[type="checkbox"]:after {
    content: '';
    display: inline-flex;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-clr);
    position: absolute;
    left: 0;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.gform_wrapper.gravity-theme .consent-reversed {
    display: flex;
    flex-direction: column-reverse;
}

.gform_wrapper.gravity-theme .ginput_container_consent {
    display: flex;
}

.gform_wrapper.gravity-theme .ginput_container_consent input[type="checkbox"] {
    margin-right: 20px;
}

.gform_wrapper.gravity-theme .ginput_container_consent .gfield_consent_label {
    font-size: 16px;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--primary-clr);
    line-height: 1.25;
}


.gform_wrapper.gravity-theme .gfield .field_description_below .gfield_consent_description,
.gform_wrapper.gravity-theme .gfield .gfield_consent_description {
    line-height: 1.31;
    font-size: 14px !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 18px !important;
    border: 0 !important;
    overflow-y: auto !important;
}

@media (min-width: 1441px) {

    .gform_wrapper.gravity-theme .gfield .field_description_below .gfield_consent_description,
    .gform_wrapper.gravity-theme .gfield .gfield_consent_description {
        font-size: 16px !important;
    }

    .gform_wrapper.gravity-theme .ginput_container_consent .gfield_consent_label {
        font-size: 18px;
        line-height: 1.4;
    }
}

.gform_wrapper.gravity-theme .gform_footer button,
.gform_wrapper.gravity-theme .gform_footer input,
.gform_wrapper.gravity-theme .gform_page_footer button,
.gform_wrapper.gravity-theme .gform_page_footer input {
    min-width: 278px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    background-color: var(--primary-clr);
    color: var(--bg-clr-2);
    border: 2px solid var(--primary-clr);
    min-height: 47px;
    transition: all .2s ease;
}

.gform_wrapper.gravity-theme .gform_footer button:hover,
.gform_wrapper.gravity-theme .gform_footer input:hover,
.gform_wrapper.gravity-theme .gform_page_footer button:hover,
.gform_wrapper.gravity-theme .gform_page_footer input:hover {
    background-color: var(--bg-clr-2);
    color: var(--primary-clr);
}


.gform_wrapper.gravity-theme .gform_footer,
.gform_wrapper.gravity-theme .gform_page_footer {
    justify-content: center;
    margin-top: 44px !important;
}

.gform_wrapper .gfield_validation_message,
.gform_wrapper .validation_message {
    display: none;
}

.gform_wrapper .gfield_error [aria-invalid=true] {
    border-color: #c02b0a !important;
}

/* 
*   Land Style
*/

.land-listing-wrapper {
    position: relative;
}

.land-listing-wrapper a.button {
    font-size: 16px;
    line-height: 1.25;
    text-transform: uppercase;
    border: 1px solid #1B3E56;
    padding: 10px;
    display: inline-block;
    background-color: #fff;
}

.land-listing-wrapper .land-view a.button:hover,
.land-listing-wrapper .land-view a.button.active {
    color: #fff;
    background-color: #1B3E56;
}

.land-listing-wrapper .filter-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;

}

.land-sort {
    display: flex;
    width: max-content;
    white-space: nowrap;
    align-items: center;
    margin-left: auto;
}

.land-sort .label {
    margin-right: 16px;
}

.land-sort select {
    background-image: url("images/arrow-red.svg");
    background-size: 18px auto;
    background-position: calc(100% - 8px) center;
    padding-left: 8px;
    padding-right: 38px;
    border: 0;
    outline: none;
    width: auto;
}

.land-view {
    display: flex;
    margin-left: 50px;
}

.land-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px 30px;
}

.land-post {
    display: flex;
    flex-direction: column;
}

.land-post .image-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1B3E56;
    width: 100%;
    height: 190px;
}

.land-post .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.land-post .image-wrap.default img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.land-post .image-wrap .land--lot{
    text-align: center;
    font-weight: bold;
    background: url(images/lot-graphic.png) no-repeat bottom center;
    padding-bottom: 20px;
    line-height: 1;
}
.land-post .image-wrap .land--lot .lot-label {
    color: var(--secondary-clr);
    font-size: 40px;
    display: block;
}
.land-post .image-wrap .land--lot .lot-number{
    font-size: 50px;    
    color: #FFF;
}

.land-post .content {
    padding: 25px 40px 30px;
    border: 1px solid #1b3e56;
    display: flex;
    flex-wrap: wrap;
}

.land-post .name,
.land-post .price {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.land-post .name {
    width: 60%;
    padding-right: 10px;
}

.land-post .price {
    width: 40%;
    text-align: right;
    white-space: nowrap;
}

.land-post .address {
/*    margin-top: 20px;*/
    margin-left : auto;
    font-size: 20px;
    line-height: 1.35;
}

.land-post .address .label {
    font-weight: 700;
}

.land-post .address span {
    display: block;
}

.land-post a.button {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background-color: #1b3e56;
}

.land-detail {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #1B3E56;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.land-detail .detail span {
    display: block;
}

.land-detail .detail span.label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.land-detail .detail span.value {
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.land-detail .detail.status span.value {
    font-weight: 700;
}

.land-detail .detail.status span.value.on_hold {
    color: #F2B655;
}

.land-detail .detail.status span.value.sold {
    color: #DD6562;
}

@media(max-width: 1440px) {
    .land-listing-wrapper .filter-section .land-amount {
        font-size: 30px;
    }

    .land-post .content {
        padding: 25px 20px 30px;
    }
}

@media(max-width: 1200px) {
    .land-listing-wrapper .filter-section .land-amount {
        font-size: 30px;
    }

    .land-posts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 25px;
    }

    .land-post .content {
        padding: 25px 20px 30px;
    }
}

@media(max-width: 991px) {
    .land-listing-wrapper .filter-section {
        flex-wrap: wrap;
    }

    .land-sort {
        width: 100%;
        order: 3;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .land-view {
        margin-left: auto;
    }
}

@media(max-width: 767px) {
    .land-listing-wrapper .filter-section {
        justify-content: center;
    }

    .land-posts {
        grid-template-columns: 1fr;
    }

    .land-view {
        margin: 10px auto 0;
    }

    .land-sort {
        justify-content: center;
    }
}

/* Land map */
.land-listing-wrapper.land-map-view .listing-section{
    max-height: 1040px;
    overflow-y: auto;
}
.land-listing-wrapper.land-map-view .land-posts {
    display: block;
}

.land-listing-wrapper.land-map-view .land-posts .land-post:not(:last-child) {
    margin-bottom: 27px;
}

.land-listing-wrapper.land-map-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}

.land-listing-wrapper.land-map-view .land-post .address {
    width: 100%;
}

.land-listing-wrapper.land-map-view .land-post a.button {
    display: inline-block;
    width: calc(50% - 20px);
    padding: 10px;
}

.land-listing-wrapper.land-map-view .land-post a.button:not(:first-of-type) {
    margin-left: 40px;
}

.land-listing-wrapper.land-map-view .land-detail {
    display: flex;
    flex-wrap: nowrap;
}

.land-listing-wrapper.land-map-view .land-detail .detail:not(:last-child) {
    margin-right: auto;
}

.land-listing-pagination {
    margin-top: 60px;
    text-align: center;
    font-size: 16px;
}

.land-listing-pagination nav.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.land-listing-pagination span.page-numbers.current {
    font-weight: 700;
}

.land-listing-pagination .pagination .page-numbers:not(:last-child) {
    margin-right: 15px;
}

.land-listing-pagination .pagination .page-numbers.prev,
.land-listing-pagination .pagination .page-numbers.next {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.land-listing-pagination .pagination .page-numbers.prev::before,
.land-listing-pagination .pagination .page-numbers.next::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.land-listing-pagination .pagination .page-numbers.prev::before {
    background-image: url("images/prev-page.svg");
}

.land-listing-pagination .pagination .page-numbers.next::before {
    background-image: url("images/next-page.svg");
}

.land-map {
    position: relative;
}

.land-listing-wrapper.land-map-view .land-view {
    position: absolute;
    top: 10px;
    left: 10px;
    margin-left: 0;
    z-index: 1;
}

.land-map .map-wrapper {
    min-height: 400px;
    height: 100%;
}

.land-map .gm-style .gm-style-iw-c,
.land-map .gm-style .gm-style-iw-d {
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: initial !important;
}

.land-map .gm-style .gm-style-iw-c button {
    filter: brightness(0) invert(1);
}

.land-map-info {
    width: 260px;
    text-align: center;
    color: #1B3E56;
}

.land-map-info .label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.land-map-info .value {
    font-size: 20px;
    font-weight: 400;
}

.land-map-info .info-heading {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 20px;
    background-color: #1B3E56;
    color: #FFF;
}

.land-map-info .info-heading span.yellow {
    color: #F2B655;
}

.land-map-info .info-content {
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
}

.land-map-info .info-price {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
    width: 100%;
    white-space: nowrap;
}

.land-map-info .info-lot-size,
.land-map-info .info-frontage {
    width: 50%;
    border-top: 1px solid #1B3E56;
    border-bottom: 1px solid #1B3E56;
    padding: 10px;
}

.land-map-info .info-lot-size .label,
.land-map-info .info-frontage .label {
    margin-bottom: 10px;
}

.land-map-info .info-lot-size {
    border-right: 1px solid #1B3E56;
}

.land-map-info .info-status {
    width: 100%;
    margin-top: 16px;
    display: flex;
    align-items: center;
}

.land-map-info .info-status .value {
    font-weight: 700;
    margin-left: 16px;
}

.land-map-info .info-status.on_hold .value {
    color: #F2B655;
}

.land-map-info .info-status.sold .value {
    color: #DD6562;
}

@media(min-width: 768px) {
    .land-listing-wrapper.land-map-view .land-post {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .land-listing-wrapper.land-map-view .land-post {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .land-listing-wrapper.land-map-view .land-post .image-wrap {
        width: 35%;
        height: inherit;
    }

    .land-listing-wrapper.land-map-view .land-post .content {
        width: 65%;
    }
}

@media(max-width: 1440px) {
    .land-listing-wrapper.land-map-view {
        grid-gap: 30px;
    }

    .land-listing-wrapper.land-map-view .land-post a.button {
        width: calc(50% - 10px);
    }

    .land-listing-wrapper.land-map-view .land-post a.button:not(:first-of-type) {
        margin-left: 20px;
    }
}

@media(max-width: 1279px) {
    .land-detail .detail span.label {
        font-size: 14px;
    }

    .land-detail .detail span.value {
        font-size: 16px;
    }

    .land-listing-wrapper.land-map-view .land-detail .detail:not(:last-child) {
        margin-right: 10px;
    }
}

@media(max-width: 991px) {
    .land-listing-wrapper.land-map-view {
        display: flex !important;
        flex-direction: column-reverse;
    }

    .land-listing-pagination {
        margin-top: 30px;
    }

    .land-listing-wrapper.land-map-view .land-sort {
        width: auto;
    }
}

@media(max-width: 767px) {
    .land-listing-wrapper.land-map-view .land-sort {
        width: 100%;
    }
}

/* 
*   House Style
*/

.house-listing-wrapper {
    position: relative;
}

.house-listing-wrapper a.button {
    font-size: 16px;
    line-height: 1.25;
    text-transform: uppercase;
    border: 1px solid #1B3E56;
    padding: 10px;
    display: inline-block;
    background-color: #fff;
}

.house-listing-wrapper .house-view a.button:hover,
.house-listing-wrapper .house-view a.button.active {
    color: #fff;
    background-color: #1B3E56;
}

.house-listing-wrapper .filter-section {
    display: flex;
    align-items: center;
    margin-bottom: 40px;

}

.house-sort {
    display: flex;
    width: max-content;
    white-space: nowrap;
    align-items: center;
    margin-left: auto;
}

.house-sort .label {
    margin-right: 16px;
}

.house-sort select {
    background-image: url("images/arrow-red.svg");
    background-size: 18px auto;
    background-position: calc(100% - 8px) center;
    padding-left: 8px;
    padding-right: 38px;
    border: 0;
    outline: none;
    width: auto;
}

.house-view {
    display: flex;
    margin-left: 50px;
}

.house-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px 30px;
}

.house-post {
    display: flex;
    flex-direction: column;
}

.house-post .image-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1B3E56;
    width: 100%;
    height: 190px;
}

.house-post .image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.house-post .content {
    padding: 25px 40px 30px;
    border: 1px solid #1b3e56;
    display: flex;
    flex-wrap: wrap;
}

.house-post .name,
.house-post .price {
    font-size: 25px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
}

.house-post .name {
    width: 60%;
    padding-right: 10px;
}

.house-post .price {
    width: 40%;
    text-align: right;
    white-space: nowrap;
}

.house-post .address {
    margin-top: 20px;
    font-size: 20px;
    line-height: 1.35;
    width: 50%;
}

.house-post .address .label {
    font-weight: 700;
}

.house-post .address span {
    display: block;
}

.house-rooms {
    margin-top: 20px;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.house-rooms .room:not(:last-child) {
    margin-right: 10px;
}

.house-rooms .room span {
    display: block;
    text-align: center;
}

.house-rooms .room span.icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.house-post a.button {
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    background-color: #1b3e56;
}

.house-detail {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #1B3E56;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
}

.house-detail .detail span {
    display: block;
}

.house-detail .detail span.label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
}

.house-detail .detail span.value {
    font-size: 20px;
    font-weight: 400;
    white-space: nowrap;
}

.house-detail .detail.status span.value {
    font-weight: 700;
}

.house-detail .detail.status span.value.on_hold {
    color: #F2B655;
}

.house-detail .detail.status span.value.sold {
    color: #DD6562;
}

@media(max-width: 1440px) {
    .house-listing-wrapper .filter-section .house-amount {
        font-size: 30px;
    }

    .house-post .content {
        padding: 25px 20px 30px;
    }
}

@media(max-width: 1200px) {
    .house-listing-wrapper .filter-section .house-amount {
        font-size: 30px;
    }

    .house-posts {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 25px;
    }

    .house-post .content {
        padding: 25px 20px 30px;
    }
}

@media(max-width: 991px) {
    .house-listing-wrapper .filter-section {
        flex-wrap: wrap;
    }

    .house-sort {
        width: 100%;
        order: 3;
        justify-content: flex-end;
        margin-top: 10px;
    }

    .house-view {
        margin-left: auto;
    }
}

@media(max-width: 767px) {
    .house-listing-wrapper .filter-section {
        justify-content: center;
    }

    .house-listing-wrapper .filter-section .house-amount {
        text-align: center;
    }

    .house-posts {
        grid-template-columns: 1fr;
    }

    .house-view {
        margin: 10px auto 0;
    }

    .house-sort {
        justify-content: center;
    }
}

/* House map */

.house-listing-wrapper.house-map-view .house-posts {
    display: block;
}

.house-listing-wrapper.house-map-view .house-posts .house-post:not(:last-child) {
    margin-bottom: 27px;
}

.house-listing-wrapper.house-map-view {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}

.house-listing-wrapper.house-map-view .house-post .address {
    width: 50%;
}

.house-listing-wrapper.house-map-view .house-post a.button {
    display: inline-block;
    width: calc(50% - 20px);
    padding: 10px;
}

.house-listing-wrapper.house-map-view .house-post a.button:not(:first-of-type) {
    margin-left: 40px;
}

.house-listing-wrapper.house-map-view .house-detail {
    display: flex;
    flex-wrap: nowrap;
}

.house-listing-wrapper.house-map-view .house-detail .detail:not(:last-child) {
    margin-right: auto;
}

.house-listing-pagination {
    margin-top: 60px;
    text-align: center;
    font-size: 16px;
}

.house-listing-pagination nav.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.house-listing-pagination span.page-numbers.current {
    font-weight: 700;
}

.house-listing-pagination .pagination .page-numbers:not(:last-child) {
    margin-right: 15px;
}

.house-listing-pagination .pagination .page-numbers.prev,
.house-listing-pagination .pagination .page-numbers.next {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    overflow: hidden;
}

.house-listing-pagination .pagination .page-numbers.prev::before,
.house-listing-pagination .pagination .page-numbers.next::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.house-listing-pagination .pagination .page-numbers.prev::before {
    background-image: url("images/prev-page.svg");
}

.house-listing-pagination .pagination .page-numbers.next::before {
    background-image: url("images/next-page.svg");
}

.house-map {
    position: relative;
}

.house-listing-wrapper.house-map-view .house-view {
    position: absolute;
    top: 10px;
    left: 10px;
    margin-left: 0;
    z-index: 1;
}

.house-map .map-wrapper {
    min-height: 400px;
    height: 100%;
}

.house-map .gm-style .gm-style-iw-c,
.house-map .gm-style .gm-style-iw-d {
    padding: 0 !important;
    border-radius: 0 !important;
    overflow: initial !important;
}

.house-map .gm-style .gm-style-iw-c button {
    filter: brightness(0) invert(1);
}

.house-map-info {
    width: 260px;
    text-align: center;
    color: #1B3E56;
}

.house-map-info .label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
}

.house-map-info .value {
    font-size: 20px;
    font-weight: 400;
}

.house-map-info .info-heading {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 20px;
    background-color: #1B3E56;
    color: #FFF;
}

.house-map-info .info-heading span.yellow {
    color: #F2B655;
}

.house-map-info .info-content {
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
}

.house-map-info .info-price {
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 16px;
    width: 100%;
    white-space: nowrap;
}

.house-map-info .info-lot-size,
.house-map-info .info-frontage {
    width: 50%;
    border-top: 1px solid #1B3E56;
    border-bottom: 1px solid #1B3E56;
    padding: 10px;
}

.house-map-info .info-lot-size .label,
.house-map-info .info-frontage .label {
    margin-bottom: 10px;
}

.house-map-info .info-lot-size {
    border-right: 1px solid #1B3E56;
}

.house-map-info .info-status {
    width: 100%;
    margin-top: 16px;
    display: flex;
    align-items: center;
}

.house-map-info .info-status .value {
    font-weight: 700;
    margin-left: 16px;
}

.house-map-info .info-status.on_hold .value {
    color: #F2B655;
}

.house-map-info .info-status.sold .value {
    color: #DD6562;
}

@media(min-width: 768px) {
    .house-listing-wrapper.house-map-view .house-post {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .house-listing-wrapper.house-map-view .house-post {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .house-listing-wrapper.house-map-view .house-post .image-wrap {
        width: 35%;
        height: inherit;
    }

    .house-listing-wrapper.house-map-view .house-post .content {
        width: 65%;
    }
}

@media(max-width: 1440px) {
    .house-listing-wrapper.house-map-view {
        grid-gap: 30px;
    }

    .house-listing-wrapper.house-map-view .house-post a.button {
        width: calc(50% - 10px);
    }

    .house-listing-wrapper.house-map-view .house-post a.button:not(:first-of-type) {
        margin-left: 20px;
    }
}

@media(max-width: 1279px) {
    .house-detail .detail span.label {
        font-size: 14px;
    }

    .house-detail .detail span.value {
        font-size: 16px;
    }

    .house-listing-wrapper.house-map-view .house-detail {
        flex-wrap: wrap;
    }

    .house-listing-wrapper.house-map-view .house-detail .detail:not(:last-child) {
        margin-right: 10px;
    }
}

@media(max-width: 991px) {
    .house-listing-wrapper.house-map-view {
        display: flex !important;
        flex-direction: column-reverse;
    }

    .house-listing-pagination {
        margin-top: 30px;
    }

    .house-listing-wrapper.house-map-view .house-sort {
        width: auto;
    }
}

@media(max-width: 767px) {
    .house-listing-wrapper.house-map-view .house-sort {
        width: 100%;
    }

}

@media(max-width: 400px) {
    .house-listing-wrapper.house-map-view .house-detail .detail:not(:last-child) {
        margin-right: 0;
    }

    .house-listing-wrapper.house-map-view .house-detail .detail {
        width: calc(50% - 5px);
    }
}

#land-house-enquire-popup {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background-color: rgba(27, 62, 86, 0.62);
    opacity: 0;
    visibility: hidden;
    z-index: 9999999;
}

#land-house-enquire-popup.open {
    opacity: 1;
    visibility: visible;
}

#land-house-enquire-popup #enquire-form {
    overflow-y: scroll;
    max-height: calc(100vh - 120px);
}

#land-house-enquire-popup #enquire-form>.brxe-container {
    padding-top: 60px;
}

@media (min-width: 992px) {
    #land-house-enquire-popup h2:not(.gform_submission_error) {
        font-size: 50px;
    }
}

#land-house-enquire-popup h4 {
    margin: 10px 0 40px;
}

#land-house-enquire-popup .gform_wrapper.gravity-theme .gfield .gfield_label {
    margin-bottom: 0;
}

#land-house-enquire-popup .gform_wrapper.gravity-theme .ginput_container input:not([type=checkbox]),
#land-house-enquire-popup .gform_wrapper.gravity-theme .ginput_container select,
#land-house-enquire-popup .gform_wrapper.gravity-theme .ginput_container textarea {
    min-height: 50px;
}

#land-house-enquire-popup .gform_wrapper.gravity-theme .gform-body .gform_fields {
    grid-row-gap: 20px;
}

#land-house-enquire-popup .gform_wrapper.gravity-theme .gform_footer,
#land-house-enquire-popup .gform_wrapper.gravity-theme .gform_page_footer {
    margin-top: 34px;
}

#land-house-enquire-popup #close-enquire-popup {
    cursor: pointer;
}

.map-wrapper .gmnoprint {
	display: none!important;
}