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

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-button-next {
		<?php if ( forminator_array_value_exists( $properties, 'cform-pagination-buttons-font-size' ) ) { ?>
			font-size: <?php echo $properties['cform-pagination-buttons-font-size'] ?>px;
		<?php } else { ?>
			font-size: 14px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-pagination-buttons-font-family' ) ) { ?>
			<?php if ( $properties['cform-pagination-buttons-font-family'] != 'custom' && !empty( $properties['cform-pagination-buttons-font-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-pagination-buttons-font-family'] ?>;
			<?php } else if ( $properties['cform-pagination-buttons-font-family'] == 'custom' && !empty( $properties['cform-pagination-buttons-custom-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-pagination-buttons-custom-family'] ?>;
			<?php } else { ?>
				font-family: inherit;
			<?php } ?>
		<?php } else { ?>
			font-family: inherit;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-pagination-buttons-font-weight' ) ) { ?>
			<?php forminator_echo_font_weight( $properties, 'cform-pagination-buttons-font-weight' ); ?>
		<?php } else { ?>
			font-weight: 500;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-button-next {
		font-size: 14px;
		font-family: inherit;
		font-weight: 500;
	}

<?php } ?>