<?php if ( forminator_array_value_exists( $properties, 'form-font-family' ) ) { ?>

	.forminator-ui.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--bold .forminator-button-submit,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--bold .forminator-button-submit {
		<?php if ( forminator_array_value_exists( $properties, 'cform-button-font-size' ) ) { ?>
			font-size: <?php echo $properties['cform-button-font-size'] ?>px;
		<?php } else { ?>
			font-size: 14px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-button-font-family' ) ) { ?>
			<?php if ( $properties['cform-button-font-family'] != 'custom' && !empty( $properties['cform-button-font-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-button-font-family'] ?>;
			<?php } else if ( $properties['cform-button-font-family'] == 'custom' && !empty( $properties['cform-button-custom-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-button-custom-family'] ?>;
			<?php } else { ?>
				font-family: inherit;
			<?php } ?>
		<?php } else { ?>
			font-family: inherit;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-button-font-weight' ) ) { ?>
			font-weight: <?php echo $properties['cform-button-font-weight'] ?>;
		<?php } else { ?>
			font-weight: 500;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--bold .forminator-button-submit,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--bold .forminator-button-submit {
		font-size: 14px;
		font-family: inherit;
		font-weight: 500;
	}

<?php } ?>