/* Child Theme - Custom CSS File for Buyers to Modify */

/* Agent page "Progress & Stats": the three chart columns sat in one non-wrapping row,
   so on phones the third column ran off the right edge and made the page scroll sideways.
   Let the columns wrap on small screens. */
@media (max-width: 767px) {
	.stats-charts-wrap .stats-wrapper {
		flex-wrap: wrap;
	}
	.stats-charts-wrap .stats-wrapper .tax-stats {
		flex: 1 1 100%;
		margin-bottom: 20px;
	}
}

/* Agent "Send Message" form: the site's custom CSS hides every label in the form
   (the fields use placeholders), which also hid the validation messages, so pressing
   Send with empty or wrong fields gave no feedback. Show the error messages again. */
.agent-form .error-container label.error {
	display: block !important;
	color: #e74c3c;
	font-size: 13px;
	line-height: 1.5;
	padding: 2px 20px;
}
.agent-form .error-container:not(:empty) {
	padding: 8px 0;
}

/* Favorites page (child template templates/favorites.php): two cards per row on
   tablets and desktops, one per row on phones. */
@media (min-width: 768px) {
	.rh-child-favorites .rh_prop_card {
		width: 50%;
	}
}
.rh-child-favorites-empty {
	margin: 10px 0 30px;
}
