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

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

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

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

<?php } else { ?>

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

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

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

<?php } ?>