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

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back {
		<?php if ( forminator_array_value_exists( $properties, 'button-submit-background-static' ) && !empty( $properties['button-submit-background-static'] ) ) { ?>
			background-color: <?php echo $properties['button-submit-background-static'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'button-submit-color-static' ) && !empty( $properties['button-submit-color-static'] ) ) { ?>
			color: <?php echo $properties['button-submit-color-static'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:hover,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:hover {
		<?php if ( forminator_array_value_exists( $properties, 'button-submit-background-hover' ) && !empty( $properties['button-submit-background-hover'] ) ) { ?>
			background-color: <?php echo $properties['button-submit-background-hover'] ?>;
		<?php } else { ?>
			background-color: #008FCA;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'button-submit-color-hover' ) && !empty( $properties['button-submit-color-hover'] ) ) { ?>
			color: <?php echo $properties['button-submit-color-hover'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:active,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:active {
		<?php if ( forminator_array_value_exists( $properties, 'button-submit-background-active' ) && !empty( $properties['button-submit-background-active'] ) ) { ?>
			background-color: <?php echo $properties['button-submit-background-active'] ?>;
		<?php } else { ?>
			background-color: #008FCA;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'button-submit-color-active' ) && !empty( $properties['button-submit-color-active'] ) ) { ?>
			color: <?php echo $properties['button-submit-color-active'] ?>;
		<?php } else { ?>
			color: #FFFFFF;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back {
		background-color: #17A8E3;
		color: #FFFFFF;
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:hover,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:hover {
		background-color: #008FCA;
		color: #FFFFFF;
	}

	.forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:active,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-poll-<?php echo $properties['form_id'] ?>.forminator-design--material .forminator-button-back:active {
		background-color: #008FCA;
		color: #FFFFFF;
	}

<?php } ?>