/* Zgody CRM w formularzach CF7 (iam / Pulse LP) */

.form .cf7 .accept.oh-clauses,
.form .cf7 .oh-clauses {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 25px 0 30px 30px;
	padding: 10px 0;
	text-align: justify;
	font-size: 12px;
	line-height: 16px;
}

.form .cf7 .oh-clauses .oh-clause-item {
	display: block;
	margin: 0;
	padding: 0;
}

.form .cf7 .oh-clauses label {
	position: relative;
	display: block;
	padding-bottom: 0;
	cursor: pointer;
	margin: 0;
}

.form .cf7 .oh-clauses input[type="checkbox"] {
	position: absolute;
	top: 0;
	left: -30px;
	width: fit-content;
	height: auto;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	border: none !important;
	padding: 4px 0 !important;
	background: transparent;
	cursor: pointer;
}

.form .cf7 .oh-clauses input[type="checkbox"]:before {
	content: "\2713";
	font-size: 20px;
	color: transparent !important;
	background: transparent;
	display: block;
	width: 16px;
	height: 16px;
	position: relative;
	top: -1px;
}

.form .cf7 .oh-clauses .wpcf7-list-item {
	margin: 0;
}

.form .cf7 .oh-clause-item--required .zgoda-text::after {
	content: " *";
}

.form .cf7 .oh-clauses-admin-notice,
.form .cf7 .oh-clauses-required-legend,
.form .cf7 .oh-clauses-error {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 16px;
	text-align: justify;
}

.form .cf7 .oh-clauses-required-legend {
	font-weight: 600;
}

.form .cf7 .oh-clauses-error {
	color: #d63638;
}

.form .cf7 .oh-clauses-privacy-link {
	text-decoration: underline;
}

.block-contact-black .form .cf7 .oh-clauses {
	color: #fefefe;
}

.block-contact-black .form .cf7 .oh-clauses input[type="checkbox"]:before {
	border: 1px solid #fffeff;
}

.block-contact-black .form .cf7 .oh-clauses input[type="checkbox"]:checked:before {
	color: #fffeff !important;
}

.block-contact-black .form .cf7 .oh-clauses-admin-notice a,
.block-contact-black .form .cf7 .oh-clauses-privacy-link {
	color: #f8f7f5;
}

.block-contact-light .form .cf7 .oh-clauses {
	color: #b7ae9f;
}

.block-contact-light .form .cf7 .oh-clauses input[type="checkbox"]:before {
	border: 1px solid #b7ae9f !important;
}

.block-contact-light .form .cf7 .oh-clauses input[type="checkbox"]:checked:before {
	color: #b7ae9f !important;
}

.block-contact-light .form .cf7 .oh-clauses-admin-notice a,
.block-contact-light .form .cf7 .oh-clauses-privacy-link {
	color: #3d4040;
}

.form .cf7 .oh-clauses .wpcf7-not-valid-tip {
	margin-top: 6px;
}
