/* shared form styling */

/* Contact Form 7
***************************************/

.form-section .breadcrumb {
	margin-bottom: 75px;
}

.form-section .breadcrumb .breadcrumb__list .breadcrumb__item {
	font-size: 14px;
}

.form-section .breadcrumb .breadcrumb__list .breadcrumb__item::before {
	margin: 0 2px;
	font-size: 14px;
}

.form-section .breadcrumb .breadcrumb__list .breadcrumb__item .breadcrumb__link {
	font-size: 14px;
}

.form-section .form-section__note {
	margin-bottom: 50px;
}

.form-section .form-section__note--owner span {
	display: block;
	margin-bottom: 30px;
	font-weight: bold;
}

.form-section .form-section__note--must_agree {
	display: block;
	width: 70%;
	padding: 30px 30px 50px 30px;
	margin-bottom: 0;
	background: #f5f5f5;
	box-sizing: border-box;
}

.form-section .form-section__note--must_agree .wrapper {
	display: flex;
	align-items: center;
	margin-top: 20px;
}

.form-section .form-section__note--must_agree .wrapper .must_agree {
	width: 20px;
	height: 20px;
}

.form-section .form-section__note--must_agree .wrapper .must_agree_mgt {
	width: 100%;
	margin-left: 10px;
}

.form-section .form-section__note--must_agree .wrapper .must_agree_mgt span {
	padding: 0;
	background: none;
	color: #2b2b2b;
	font-size: 14px;
}

.form-section .form-section__rule {
	text-align: center;
}

.button-section {
	margin-bottom: 25px;
}

.button-section--form {
	width: 100%;
	max-width: 500px;
	margin: 0 auto 25px;
}

.screen-reader-response[role='alert'] {
	display: none;
	padding: 50px;
	margin-bottom: 50px;
	background-color: #efefef;
}

.item-container__label {
	margin-bottom: 5px;
}

.wpcf7-response-output {
	padding: 50px;
	margin-bottom: 50px;
	background-color: #efefef;
}

.wpcf7-not-valid-tip {
	color: #ff0000;
}

.wpcf7-display-none {
	display: none;
}

.wpcf7-form .vertical-controls .col {
	display: flex;
	flex-direction: row;
	width: 100%;
	margin-bottom: 30px;
}

.wpcf7-form .vertical-controls .col--mb100 {
	margin-bottom: 100px;
}

.wpcf7-form .vertical-controls .col label {
	display: block;
	width: 30%;
	line-height: 40px;
}

.wpcf7-form .vertical-controls .col label span {
	background: #1b1b1b;
	color: #fff;
	margin-right: 10px;
	font-size: 12px;
	padding: 5px;
}

.wpcf7-form .vertical-controls .col .wpcf7-form-control-wrap {
	display: block;
	width: 70%;
	line-height: 40px;
}

.wpcf7-form .vertical-controls .col .ui-radio-tabs {
	display: block;
	width: 70%;
}

.wpcf7-form .notice {
	margin-bottom: 30px;
	padding: 30px;
	background-color: #efefef;
}

.wpcf7-form h4 {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
}

.wpcf7-form .item-container {
	display: block;
	margin-bottom: 30px;
}

.wpcf7-form .wpcf7-text {
	border: solid 1px #ccc;
	border-radius: 10px;
	width: 100%;
	height: 50px;
	line-height: 50px;
	background-color: #fff;
}

.wpcf7-form .wpcf7-textarea {
	border: solid 1px #ccc;
	border-radius: 10px;
	width: 100%;
	height: 150px;
	line-height: 50px;
	box-sizing: border-box;
	padding: 3px 15px;
	background-color: #fff;
	border-radius: 10px;
}

.wpcf7-form .wpcf7-textarea.owner-textarea-d,
.wpcf7-form .wpcf7-textarea.owner-textarea-m {
	height: auto;
	line-height: 150%;
	padding: 15px;
	resize: vertical;
}

.wpcf7-form .vertical-controls .col [data-name='contact_owner_details'],
.wpcf7-form .vertical-controls .col [data-name='contact_owner_name_of_property'] {
	line-height: 140%;
}

.wpcf7-form .textarea-with-help {
	width: 70%;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wpcf7-form .textarea-with-help>p {
	width: 100%;
	margin: 0;
}

.wpcf7-form .textarea-with-help .wpcf7-form-control-wrap {
	width: 100%;
}

.wpcf7-form .form-help-text {
	background: #f7f7f7;
	border-left: 3px solid #b8a86f;
	padding: 12px 16px;
	font-size: 13px;
	line-height: 1.7;
	color: #555;
}

.wpcf7-form .form-help-text strong {
	color: #333;
	font-weight: 600;
}

.wpcf7-form .wpcf7-text::-webkit-input-placeholder {
	font-weight: normal;
}

.wpcf7-form .wpcf7-text:-ms-input-placeholder {
	font-weight: normal;
}

.wpcf7-form .wpcf7-text:-moz-placeholder {
	font-weight: normal;
}

.wpcf7-form .wpcf7-text::-moz-placeholder {
	font-weight: normal;
}

@media screen and (max-width: 767px) {
	.wpcf7-form .wpcf7-textarea.owner-textarea-d {
		height: 90px;
	}

	.wpcf7-form .wpcf7-textarea.owner-textarea-m {
		height: 280px;
	}

	.wpcf7-form .textarea-with-help {
		width: 100%;
	}
}

@media screen and (max-width: 500px) {
	.wpcf7-form .wpcf7-textarea.owner-textarea-d {
		height: 130px;
	}

	.wpcf7-form .wpcf7-textarea.owner-textarea-m {
		height: 300px;
	}
}

.wpcf7-form .wpcf7-select {
	border: solid 1px #ccc;
	border-radius: 10px;
	width: 100%;
	height: 50px;
	line-height: 50px;
	background-color: #fff;
}

.wpcf7-form .wpcf7-radio {
	display: flex;
	flex-direction: column;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item {
	display: flex;
	flex-direction: row;
}

.wpcf7-form .wpcf7-radio .wpcf7-list-item input[type='radio'] {
	height: 40px;
}

.wpcf7-list-item {
	display: inline-block;
	margin-right: 30px;
}

.wpcf7-list-item input[type='checkbox'] {
	margin-right: 5px;
}

.contact-radio .wpcf7-radio {
	flex-direction: row;
}

.wpcf7-list-item input[type='radio'] {
	margin-right: 5px;
}

.wpcf7-form .vertical-controls .col .wpcf7-form-control-wrap.contact_owner_inquiry_content {
	width: 100%;
}

.wpcf7-form .vertical-controls .col>p {
	display: flex;
	flex-direction: row;
}

/* <p> contains an input wrap (text/email/tel inputs) — full width with label 30% + input 70% inside */
.wpcf7-form .vertical-controls .col>p:has(.wpcf7-form-control-wrap) {
	width: 100%;
}

/* <p> contains only a label (radio/checkbox/textarea/agreement sections) — 30% column */
.wpcf7-form .vertical-controls .col>p:not(:has(.wpcf7-form-control-wrap)) {
	width: 30%;
}

.wpcf7-form .vertical-controls .col>p:not(:has(.wpcf7-form-control-wrap)) label {
	width: 100%;
}

.wpcf7-form .vertical-controls .col>.form-section__note {
	width: 70%;
}

.wpcf7-form .vertical-controls .col .form-section__note--must_agree .wrapper p {
	display: flex;
	align-items: center;
	width: 100%;
}

.wpcf7-form .vertical-controls.vertical-controls--am .col .ui-radio-tabs.ui-radio-tabs--am p .wpcf7-form-control-wrap {
	width: 100%;
}

.screen-reader-response {
	display: none;
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	width: 30px;
	height: 30px;
	border: 5px solid #fff;
	border-bottom-color: transparent;
	border-radius: 50%;
	display: inline-block;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
	position: absolute;
	top: 10px;
	left: 10px;
}

.im-account .col:first-child>p {
	width: 30%;
}

.im-account .col:first-child>p label {
	width: 100%;
}

.wpcf7-response-output {
	display: none;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.sent .wpcf7-response-output {
	display: block;
}

.submitting .wpcf7-spinner {
	visibility: visible;
}

@media screen and (max-width: 767px) {
	.wpcf7-form .vertical-controls .col {
		flex-direction: column;
	}

	.wpcf7-form .vertical-controls .col label {
		width: 100%;
	}

	.wpcf7-form .vertical-controls .col .wpcf7-form-control-wrap {
		display: block;
		width: 100%;
	}

	.wpcf7-form .vertical-controls .col .wpcf7-form-control-wrap input[type='file'] {
		padding: 15px;
		border-radius: 10px;
		color: #2e6cff;
		background-color: #efefef;
	}

	.wpcf7-form .wpcf7-list-item {
		display: block;
		margin-bottom: 10px;
	}

	.form-section__rule {
		margin-bottom: 40px;
	}

	.contact-radio .wpcf7-radio {
		flex-direction: column;
	}

	/* Mobile = single column. Match the same selectors as desktop (including
	   the :has() / :not(:has()) variants) so specificity ties and the later
	   media-query rule wins. Without this, desktop's :has() rules (0,4,1)
	   beat a plain .col>p rule (0,3,1) and labels stay stuck at 30%. */
	.wpcf7-form .vertical-controls .col>p,
	.wpcf7-form .vertical-controls .col>p:has(.wpcf7-form-control-wrap),
	.wpcf7-form .vertical-controls .col>p:not(:has(.wpcf7-form-control-wrap)) {
		flex-direction: column;
		width: 100%;
	}

	.wpcf7-form .vertical-controls .col>p:not(:has(.wpcf7-form-control-wrap)) label {
		width: 100%;
	}

	.wpcf7-form .vertical-controls .col>.form-section__note {
		width: 100%;
	}
}
/* SalesForce form
***************************************/
.p-fp__breadcrumbs--download {
	width: 80%;
	margin: 0 auto;
	padding: 0 20px;
}

.breadcrumbs--titleless {
	padding-top: 120px;
	margin-bottom: 50px !important;
}

.breadcrumbs--titleless .breadcrumb {
	margin-bottom: 50px !important;
}

.form-section--salesforce {
	width: 80%;
	margin: 0 auto;
	padding: 0 20px 100px;
}

.form-section--salesforce-contact {
	width: 100%;
	max-width: 840px;
}

.form-section--salesforce .form-block {
	display: flex;
	flex-direction: row;
	margin-bottom: 30px;
}

.form-section--salesforce .form-block--mb {
	margin-bottom: 100px;
}

.form-section--salesforce .form-block--column {
	flex-direction: column;
}

.form-section--salesforce .form-block--column .form-block__item-name {
	width: 100%;
	margin-top: 20px;
	margin-bottom: 50px;
	line-height: 2;
}

.form-section--salesforce .form-block--column .form-block__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	width: 100%;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__img {
	margin-bottom: 30px;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__img img {
	width: 100%;
}

.form-section--salesforce .form-block--column .form-block__item h3 {
	margin-bottom: 30px;
	font-size: 16px;
	font-weight: bold;
	line-height: 2;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__txt {
	line-height: 1.6;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox {
	width: 33.33%;
	margin-bottom: 50px;
	padding: 0 15px;
	display: flex;
	flex-direction: column;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox h3 {
	margin-bottom: 20px;
	font-size: 18px;
	font-weight: bold;
	line-height: 1.6;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox h3 a {
	color: #1b1b1b;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox .form-block__txt {
	margin-bottom: 32px;
	color: #2b2b2b;
	flex: 1 0;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox .button {
	height: 50px;
}

.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox .button a {
	background: #2e6cff;
	color: #fff;
	font-size: 16px;
	font-weight: bold;
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.form-block__item--col p {
	width: 100%;
}

.form-section--salesforce .form-block__item-name {
	display: block;
	width: 30%;
	line-height: 50px;
}

.form-section--salesforce .form-block__item-name span {
	background-color: #000;
	color: #fff;
	padding: 5px 10px;
	font-size: 12px;
	font-weight: bold;
	margin-right: 10px;
}

.form-section--salesforce .form-block__item {
	width: 70%;
}

.form-section--salesforce .form-block__item--point {
	font-size: 12px;
	color: #666666;
	margin-top: 10px;
}

.form-section--salesforce .form-block__checkbox {
	display: block;
	line-height: 50px;
}

.form-section--salesforce .form-block input {
	border: solid 1px #ccc;
	border-radius: 10px;
	background-color: #fff;
	height: 50px;
	line-height: 50px;
}

.form-section--salesforce .form-block input[type='checkbox'] {
	vertical-align: middle;
}

.form-section--salesforce .form-block input[type='radio'] {
	height: 1em;
}

.form-section--salesforce .form-block input[type='submit'],
.form-section--salesforce .form-block button {
	display: block;
	border-radius: 100em;
	width: 50%;
	height: 40px;
	margin: 25px auto 0;
	color: #fff;
	line-height: 40px;
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	overflow: hidden;
	text-decoration: none;
	transition: all 0.2s ease 0s;
	background-color: #2e6cff;
	border: none;
}

.form-section--salesforce .form-block input[type='submit']:hover,
.form-section--salesforce .form-block button:hover {
	opacity: 0.8;
}

.form-section--salesforce .form-block textarea {
	border: solid 1px #ccc;
	border-radius: 10px;
	height: 100px;
	background-color: #fff;
	padding: 10px;
}

.form-section--salesforce .form-block--hidden {
	display: none;
}

.form-section--salesforce .form-block--privacy {
	font-size: 14px;
	text-align: center;
}

.form-section--salesforce .form-block--privacy a {
	color: #2e6cff;
	margin-right: 5px;
}

.form-section--salesforce-half {
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

.form-section--salesforce-half .form-block {
	margin-bottom: 20px;
}

.form-section--salesforce-half .form-block--column .form-block__item-name {
	width: 100%;
	margin-top: 5px;
	margin-bottom: 15px;
	line-height: 2;
}

.form-section__note {
	margin-bottom: 50px;
}

.form-section--salesforce .form-section__note {
	font-size: 16px;
	line-height: 2;
	font-weight: bold;
}

.form-section--salesforce .form-section__iframe iframe {
	min-height: 1100px;
}

.form-section--salesforce-event .form-block input[type='submit'] {
	padding: 0;
	margin: 0;
	width: 100%;
	height: 50px;
	line-height: 50px;
	font-size: 16px;
}

.form-section--salesforce-event .form-block input[type='submit']:hover {
	background: linear-gradient(45deg,
			#3bade3 0%,
			#576fe6 25%,
			#9844b7 51%,
			#ff357f 100%);
	opacity: 0.8;
}

.form-section--salesforce.event-content {
	padding-bottom: 0;
}

.form-section--salesforce .form-block__agree {
	margin: 0;
	padding: 50px 0 0;
	justify-content: center;
}

@media screen and (max-width: 767px) {
	.p-fp__breadcrumbs--download {
		width: 100%;
	}

	.form-section .form-section__note--must_agree {
		width: 100%;
		padding: 20px 20px 30px 20px;
	}

	.form-section--salesforce {
		width: 100%;
	}

	.form-section--salesforce .form-block {
		flex-direction: column;
		margin-bottom: 30px;
	}

	.form-section--salesforce .form-block--mb {
		margin-bottom: 50px;
	}

	.form-section--salesforce .form-block--column .form-block__item-name {
		margin-top: 10px;
		margin-bottom: 30px;
	}

	.form-section--salesforce .form-block--column .form-block__item {
		width: calc(100% - 40px);
		margin: 0 auto;
		flex-direction: column;
	}

	.form-section--salesforce .form-block--column .form-block__item .form-block__img {
		margin-bottom: 20px;
	}

	.form-section--salesforce .form-block--column .form-block__item h3 {
		margin-bottom: 20px;
	}

	.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox {
		width: 100%;
		margin-top: 30px;
	}

	.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox:first-of-type,
	.form-section--salesforce .form-block--column .form-block__item .form-block__checkbox.form-block__checkbox--cta {
		margin-top: 0;
	}

	.form-section--salesforce .form-block__item-name {
		width: 100%;
	}

	.form-section--salesforce .form-block__item {
		width: 100%;
	}

	.form-section--salesforce .form-block input[type='submit'],
	.form-section--salesforce .form-block button {
		width: 100%;
	}

	.form-block__item--col p {
		width: 100%;
	}
}

/* Modal → moved to css/modal.css (wp-modal / wp-lightbox)
