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

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

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-error,
	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-error p,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-error,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .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 } ?>
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-success,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-success {
		<?php if ( forminator_array_value_exists( $properties, 'success_background' ) && !empty( $properties['success_background'] ) ) { ?>
			background-color: <?php echo $properties['success_background'] ?>;
		<?php } else { ?>
			background-color: #BCEEE6;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'success_border' ) && !empty( $properties['success_border'] ) ) { ?>
			box-shadow: inset 2px 0 0 0 <?php echo $properties['success_border'] ?>;
			-moz-box-shadow: inset 2px 0 0 0 <?php echo $properties['success_border'] ?>;
			-webkit-box-shadow: inset 2px 0 0 0 <?php echo $properties['success_border'] ?>;
		<?php } else { ?>
			box-shadow: inset 2px 0 0 0 #1ABCA1;
			-moz-box-shadow: inset 2px 0 0 0 #1ABCA1;
			-webkit-box-shadow: inset 2px 0 0 0 #1ABCA1;
		<?php } ?>
	}

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

<?php } else { ?>

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-error,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-error {
		background-color: #F9E4E8;
		box-shadow: inset 2px 0 0 0 #E04562;
		-moz-box-shadow: inset 2px 0 0 0 #E04562;
		-webkit-box-shadow: inset 2px 0 0 0 #E04562;
	}

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

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-success,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-response-message.forminator-success {
		background-color: #BCEEE6;
		box-shadow: inset 2px 0 0 0 #1ABCA1;
		-moz-box-shadow: inset 2px 0 0 0 #1ABCA1;
		-webkit-box-shadow: inset 2px 0 0 0 #1ABCA1;
	}

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

<?php } ?>