/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
	
.go-left {
	width: 100%;
	padding: 0 1em;	
}

.go-left h2 {
	text-align: left;
}

.go-left .product_image_container {
	text-align: center;
}
 
.go-right {
	width: 100%;
	padding: 0 1em;			
}

@media only screen and (min-width: 768px) {
	.row p, .row span, .row .address {
		font-size: 110%
	}
	
	.go-left {
		/*
		width: 50%;
		float: left;
		*/
		width: 60%;
    	margin: 0 auto;
	}

	.go-left h2 {
		text-align: center;
	}
	
	.go-left .product_image_container {
		/*text-align: left;*/
	}
	
	.go-right {
		width: 50%;
		float: right;
	}
}

.logo_container {
	text-align: center;
}

.form-success {
	padding: 1em 0;
	margin-bottom: 1em;
	font-size: 90%;
	text-align: center;
	border: 1px solid #666666;
	background-color: #eeffdd;
}
	
.form-error {
	padding: 1em 0;
	margin-bottom: 1em;
	font-size: 90%;
	text-align: center;
	border: 1px solid #666666;
	background-color: #ffeeed;
}

.contact {
	padding: 0 0 0.5em 0;
}

.contact.header {
	padding: 0;
	text-align: center;
}

.contact textarea {
	height: 6em;
}

.contact input, .contact textarea {
	width: 100%;	
}

#google_map {
	width: 100%; 
	height: 400px
}

.address {
	padding-bottom: 0.4em;
}

.address strong {
	width: 10em;
	display: inline-block;
}

#locations_table {
	width: 100%;
	border: 0;
}

#locations_table tr:nth-of-type(odd) {
    background-color: #eef1fb;
}

#locations_table tr:nth-of-type(even) {
    background-color: #ffffff;
}

#locations_table td {
	width: 50%;
	border: 0;
}

#locations_table td:nth-of-type(odd) {
    border-bottom: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

#locations_table td:nth-of-type(even) {
    border-bottom: 1px solid #ddd;
}

#locations_table thead td:first-child {
	border: 0;
	background-color: #ffffff;
}

#locations_table h2 {
	color: #333333;
	margin-top: 22px;
    margin-bottom: 22px;
}

#locations_table img {
	height: 50px;
}

#locations_table h4 {
	color: #333333;
	font-weight: bold;
}

/* RealEstateLot staging — suburb page layout improvements */

@media only screen and (min-width: 768px) {
    .go-left {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        float: none;
        box-sizing: border-box;
    }
}

.go-left,
.go-right {
    box-sizing: border-box;
}

.go-left p,
.go-left h1,
.go-left h2,
.go-left h3 {
    max-width: 100%;
}

.go-left .product_image_container img {
    max-width: 100%;
    height: auto;
}

.rel-suburb-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.rel-suburb-page section {
    margin-bottom: 35px;
}

/* RealEstateLot — correct generated page layout */

.wp-block-post-content .row {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.wp-block-post-content .row > .go-left {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

/* RealEstateLot — professional suburb page content width */

.wp-block-post-content .row {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.wp-block-post-content .row > .go-left {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
}

@media (max-width: 767px) {
    .wp-block-post-content .row {
        width: 100% !important;
    }

    .wp-block-post-content .row > .go-left {
        padding: 0 15px !important;
    }
}


/* RealEstateLot — Property appraisal page design */

.rel-suburb-page {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    box-sizing: border-box;
}

.rel-hero {
    padding: 25px 0 35px;
}

.rel-hero h1 {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    margin-bottom: 20px;
}

.rel-appraisal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 45px;
    align-items: start;
    margin: 30px 0 55px;
}

.rel-appraisal-info {
    min-width: 0;
}

.rel-appraisal-info img {
    max-width: 100%;
    height: auto;
}

.rel-appraisal-form {
    min-width: 0;
    padding: 25px;
    background: #f5f7fa;
    border: 1px solid #e0e5eb;
    border-radius: 10px;
}

.rel-appraisal-form h2 {
    font-size: 26px;
    margin-top: 0;
}

.rel-appraisal-form input,
.rel-appraisal-form textarea {
    max-width: 100%;
    box-sizing: border-box;
}

.rel-location {
    margin: 40px 0;
}

@media (max-width: 800px) {
    .rel-appraisal-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .rel-appraisal-form {
        padding: 20px;
    }
}

/* RealEstateLot — wider appraisal form fields */

.rel-appraisal-form .wpforms-container {
    width: 100%;
    max-width: 100%;
}

.rel-appraisal-form .wpforms-field,
.rel-appraisal-form .wpforms-field-container {
    width: 100%;
    max-width: 100%;
}

.rel-appraisal-form input[type="text"],
.rel-appraisal-form input[type="email"],
.rel-appraisal-form input[type="tel"],
.rel-appraisal-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}


/* RealEstateLot — appraisal form typography */

.rel-appraisal-form h2 {
    font-size: 24px;
    line-height: 1.3;
}

.rel-appraisal-form > p {
    font-size: 16px;
    line-height: 1.5;
}

.rel-appraisal-form .wpforms-field-label {
    font-size: 15px !important;
    line-height: 1.4;
}

.rel-appraisal-form .wpforms-field-label-inline {
    font-size: 13px !important;
    line-height: 1.5;
    overflow-wrap: normal;
    word-break: normal;
}

.rel-appraisal-form input,
.rel-appraisal-form textarea {
    font-size: 16px !important;
}

.rel-appraisal-form .rel-privacy-notice,
.rel-appraisal-form .rel-privacy-notice a {
    font-size: 13px !important;
    line-height: 1.5;
}

.rel-appraisal-form .wpforms-submit {
    font-size: 16px !important;
}

.rel-hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    align-items: center;
}

.rel-hero-content {
    min-width: 0;
}

.rel-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 800px) {
    .rel-hero-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Hide the empty Email field in suburb location details */
.rel-location .address:has(> strong) {
    /* Other labels remain visible */
}

.rel-location .address:has(> strong):has(+ .address) {
    /* Reserved for location row styling */
}

.rel-location .address:has(> strong:first-child) {
    /* No change to other fields */
}

.rel-location .address:has(> strong) {
    /* Email is handled below */
}

.rel-location .address:has(> strong) {
    /* Placeholder */
}
