<?php if ( forminator_array_value_exists( $properties, 'poll-colors' ) ) { ?>

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error {
		<?php if ( forminator_array_value_exists( $properties, 'error_border' ) && !empty( $properties['error_border'] ) ) { ?>
			box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-moz-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-webkit-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
		<?php } else { ?>
			box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-moz-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-webkit-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		<?php } ?>
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:hover,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:focus,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:active {
		<?php if ( forminator_array_value_exists( $properties, 'error_border' ) && !empty( $properties['error_border'] ) ) { ?>
			box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-moz-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-webkit-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
		<?php } else { ?>
			box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-moz-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-webkit-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		<?php } ?>
	}

	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:hover,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:focus,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:active {
		<?php if ( forminator_array_value_exists( $properties, 'error_border' ) && !empty( $properties['error_border'] ) ) { ?>
			box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-moz-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-webkit-box-shadow: inset 4px 0 0 0 <?php echo $properties['error_border'] ?>, 1px 1px 4px 0 rgba(0,0,0,0.3);
		<?php } else { ?>
			box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-moz-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
			-webkit-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		<?php } ?>
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error p {
		<?php if ( forminator_array_value_exists( $properties, 'error_text' ) && !empty( $properties['error_text'] ) ) { ?>
			color: <?php echo $properties['error_text'] ?>;
		<?php } else { ?>
			color: #333333;
		<?php } ?>
	}

	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error p {
		<?php if ( forminator_array_value_exists( $properties, 'error_text' ) && !empty( $properties['error_text'] ) ) { ?>
			color: <?php echo $properties['error_text'] ?>;
		<?php } else { ?>
			color: #333333;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error {
		box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		-moz-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		-webkit-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:hover,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:focus,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:active {
		box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		-moz-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		-webkit-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
	}

	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:hover,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:focus,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error:active {
		box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		-moz-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
		-webkit-box-shadow: inset 4px 0 0 0 #E04562, 1px 1px 4px 0 rgba(0,0,0,0.3);
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error p {
		color: #333333;
	}

	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-response-message.forminator-error p {
		color: #333333;
	}

<?php } ?>