
/* GENERAL */

.back-to-properties a {
    font-size: 0.9em;
}

.price:has( .commercial-rent ) .commercial-price:before {
    content: "Price: ";
}
.price:has( .commercial-price ) .commercial-rent:before {
    content: "Rent: ";
}

.gm-style-mtc button {
    border-radius: 0;
}

/* PROPERTY LISTING PAGE */

/* -- Left Column -- */

.propertyhive.single-property .features {
    margin-bottom: 2em;
}
.propertyhive.single-property .entry-summary .property_meta {
    background-color: #f1f1f1;
    padding: 1em 1.5em;
    border: 1px solid #bababa;
}
.propertyhive.single-property .entry-summary .property_meta ul {
    margin: 0;
    list-style: none;
    padding: 0;
}
.propertyhive.single-property .entry-summary .property_meta ul li > span {
    font-weight: 600;
}

.propertyhive.single-property .property_actions {
    border-bottom: none;
    padding-bottom: 1.25em;
}
.propertyhive.single-property .property_actions ul {
    gap: 1em;
}
.propertyhive.single-property .property_actions ul li {
    padding: 0;
    margin: 0;
}
.propertyhive.single-property .property_actions ul li a {
    border: 2px solid #bababa;
    background: #FFF;
    /* color: #418e35; */
    padding: 0.5em 1.5em;
    font-weight: 600;
    border-radius: 50px;
    margin: 0;
}
.propertyhive.single-property .property_actions ul li.action-make-enquiry a {
    background-color: #418e35;
    border-color: #418e35;
    color: #fff;
}
.propertyhive.single-property .property_actions ul li.action-make-enquiry a:before {
    background-image: url(../images/icons/message-white.svg);
}

.propertyhive.single-property .entry-summary .sale-type {
    background-color: #f1f1f1;
    font-weight: bold;
    color: #418e35;
    display: inline-block;
    padding: 0.5em 1em;
    margin-bottom: 1em;
}


.propertyhive .property_address {
    margin-bottom: 1em;
}
.propertyhive .property_address ul {
    margin: 0;
    padding: 0;
    font-size: 1.1em;
    font-weight: 100;
}

.propertyhive.single-property .entry-summary .sale-type,
.propertyhive.single-property .entry-summary .floor-area,
.propertyhive.single-property .entry-summary .price {
    font-size: 1.1em;
    line-height: 1.6;
}
.propertyhive.single-property .entry-summary .price {
    font-weight: 600;
}
@media (max-width: 767.98px) {
    .propertyhive.single-property .entry-summary .sale-type,
    .propertyhive.single-property .entry-summary .floor-area,
    .propertyhive.single-property .entry-summary .price {
        font-size: 1.2em;
    }
    .propertyhive .property_address ul {
        font-size: 1.3em;
    }
}
@media (max-width: 479.98px) {
    .propertyhive.single-property .property_actions ul {
        flex-direction: column;
    }
    .propertyhive.single-property .property_actions ul li {
        width: 100%;
    }
    .propertyhive.single-property .property_actions ul li a {
        justify-content: center;
    }
}


/* -- Right Column -- */

.propertyhive.single-property .viewing-enquire-area {
    container-name: enquire-area;
    container-type: inline-size;

    padding: 2em;
}
.propertyhive.single-property .viewing-enquire-area .office-name {
    font-weight: bold;
}
.assigned-team-members {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    margin-top: 2em;
}
@container enquire-area (width > 26em) {
    .assigned-team-members {
        grid-template-columns: 1fr 1fr;
    }
}
.assigned-team-members p {
    font-weight: bold;
    font-size: 1.1em;
    margin: 0.5em 0 0;
}
.assigned-team-members span {
    display: block;
}
.assigned-team-members .img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    max-width: 300px;
}
.assigned-team-members .img-wrap img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* -- Enquire Form -- */

.property-enquiry-form {
    container-name: enquire-form-area;
    container-type: inline-size;
}
.property-enquiry-form section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1em;
}
@container enquire-form-area (width > 440px) {
    .property-enquiry-form section {
        grid-template-columns: 1fr 1fr;
    }
}
.property-enquiry-form section > * {
    grid-column: 1 / -1;
}
.property-enquiry-form section > .control-email_address,
.property-enquiry-form section > .control-telephone_number,
.property-enquiry-form section > .control-viewing-date,
.property-enquiry-form section > .control-viewing-time {
    grid-column: auto;
}


/* -- Listings Page -- */

.post-type-archive-property ul.properties li.type-property {
    position: relative;
}
.propertyhive ul.properties li .thumbnail img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    aspect-ratio: 2 / 1.5;
}
.post-type-archive-property ul.properties li.type-property .property-type {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #fff;
    padding: 0.5em 1em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8em;
    line-height: 1.2;
    border-radius: 1em;
    color: #444;
}
.post-type-archive-property ul.properties li.type-property .property-type:empty {
    display: none;
}  
.post-type-archive-property ul.properties li.type-property .details .upper-details {
    padding-bottom: 1em;
}
.post-type-archive-property ul.properties li.type-property .details .upper-details h3 {
    margin: 0;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details {
    flex-direction: column;
    align-items: stretch;
    flex-grow: 1;
    border: none;
    padding: 0;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .availability {
    position: absolute;
    top: 0;
    left: 0;
    background: #418e35;
    color: #fff;
    padding: 0.4em 1em 0.4em 0.8em;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.8em;
    line-height: 1.2;
    border-bottom-right-radius: 0.8em;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .availability:empty {
    display: none;
}  
.post-type-archive-property ul.properties li.type-property .details .lower-details .sale-type span {
    background-color: #f1f1f1;
    display: inline-block;
    padding: 0.2em 0.8em;
    font-weight: 600;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    color: #418e35;
}
.post-type-archive-property.secondary-bg ul.properties li.type-property .details .lower-details .sale-type span {
    background-color: #fff;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .price {
    text-align: left;
    font-weight: 600;
    color: #418e35;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .price span {
    font-weight: inherit;
    display: inline-block;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .summary {
    font-size: 0.8em;
    line-height: 1.4;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .actions {
    padding-top: 1em;
    margin-top: auto;
}
.post-type-archive-property ul.properties li.type-property .details .lower-details .button {
    width: 100%;
    text-align: center;
    margin: 0;
}


.post-type-archive-property .propertyhive-featured-properties-shortcode ul.properties li.type-property.featured {
    background-color: transparent;
}
.post-type-archive-property .propertyhive-featured-properties-shortcode ul.properties li.type-property.featured .details {
    border-color: transparent;
}


.post-type-archive-property ul.properties li.type-property.featured .thumbnail a:before {
    background-color: #444;
    border-radius: 0 0 0.8em 0;
    font-weight: bold;
}
.post-type-archive-property ul.properties li.type-property.featured .details .lower-details .availability {
    top: 3em;
    border-top-right-radius: 0.8em;
}




/* SEARCH */

.results-count-order {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1em;
    border-top: none;
}
.results-count-order .propertyhive-ordering {
    max-width: 270px;
}
@media (max-width: 529.98px) {
    .results-count-order .propertyhive-result-count {
        width: 100%;
        text-align: center;
    }
    .results-count-order .propertyhive-ordering {
        margin-right: auto;
        margin-top: 0;
    }
}
@media (min-width: 530px) {
    .results-count-order {
        grid-template-columns: 1fr 1fr;
    }
}

.results-count-order > div:has( + div.half-map-view ),
.results-count-order div.half-list-view {
    display: none;
}
.results-count-order .propertyhive-ordering {
    margin-left: auto;
}
.results-count-order .propertyhive-map-canvas-wrapper {
    margin-top: 0;
    height: 360px;
}

.search-form-area {
    background-color: #f1f1f1;
    width: 100%;
    padding: 1em 1.5em;
    margin-bottom: 1em;

    grid-column: 1 / -1;
    grid-row: 2 / 3;
}
.property-search-form {
    gap: 1em;
}
.property-search-form:after {
    content: none;
}
.property-search-form .control {
    display: flex;
    flex-direction: column;
    padding: 0;
}
.property-search-form .location-filter {
    padding: 0;
    margin: 0;
    gap: 1em;
}
.property-search-form .location-filter .control-address_keyword .current-location {
    top: 0 !important;
    bottom: 0 !important;
    align-items: flex-end;
}
.property-search-form .location-filter .control-address_keyword .current-location a {
    padding: 0.6em 0;
    height: calc(100% - 0.3em - 1.6em);
}
.property-search-form input[type=submit] {
    margin-top: auto;
}
.results-count-order .propertyhive-result-count {
    padding-left: 0;
}

.results-count-order .half-map-view {
    grid-row: 1 / 2;
    grid-column: 1 / -1;
    width: 100%;
    float: none;
}

#commercial_property_type {
    max-width: 170px;
}

@media (max-width: 1270px) {
    .property-search-form .location-splitter {
        padding-bottom: 0;
    }
}
@media (max-width: 600px) {
    .search-form-area {
        padding: 1em 1em;
    }
    .property-search-form .submit-splitter {
        padding-bottom: 0em;
    }
}


.fancybox-slide--html .fancybox-close-small:hover {
    color: #fff;
}

.propertyhive-map-canvas-wrapper .properties-map-popup {
    width: 152px;
}
.propertyhive-map-canvas-wrapper .properties-map-popup .properties .property .image {
    width: 100%;
}
.propertyhive-map-canvas-wrapper .properties-map-popup .properties .property .image a {
    aspect-ratio: 1 / 0.6;
    display: block;
    overflow: hidden;
}
.propertyhive-map-canvas-wrapper .properties-map-popup .properties .property .image a img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.propertyhive-map-canvas-wrapper .properties-map-popup .properties .property .details {
    width: 100%;
}

.shortlisted-title-box {
    background-color: #f1f1f1;
    width: 100%;
    padding: 1.5em;
    margin-bottom: 1em;
    grid-column: 1 / -1;
    grid-row: 2 / 3;
}
.shortlisted-title-box h3 {
    margin: 0 0 0.5em;
}
.shortlisted-title-box a {
    font-size: 0.9em;
    margin-bottom: 0;
}

.shortlist-view-box {
    order: 999;
    grid-column: 1 / -1;
    width: 100%;
    text-align: center;
    margin-top: 1em;
}
.shortlist-view-box a {
    font-size: 0.9em;
    margin-bottom: 0;
}


	
/** Pagination */
.propertyhive-pagination {
    width: 100%;
    margin: 1em 0 3em;
    text-align: center;
}
.propertyhive-pagination span,
.propertyhive-pagination a {
    display: inline-block;
    background: #418e35;
    color: #FFF;
    line-height: 40px;
    padding: 0 1em;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all .5s;
}
.propertyhive-pagination a:hover {
    background: #1f4419;
}

.propertyhive-pagination span {
    background: #1f4419;
    color: #FFF;
}

	