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

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-error-message {
		<?php if ( forminator_array_value_exists( $properties, 'basic-cform-validation-font-size' ) ) { ?>
			font-size: <?php echo $properties['basic-cform-validation-font-size'] ?>px;
		<?php } else { ?>
			font-size: 12px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-cform-validation-font-family' ) ) { ?>
			<?php if ( $properties['basic-cform-validation-font-family'] != 'custom' && !empty( $properties['basic-cform-validation-font-family'] ) ) { ?>
				font-family: <?php echo $properties['basic-cform-validation-font-family'] ?>;
			<?php } else if ( $properties['basic-cform-validation-font-family'] == 'custom' && !empty( $properties['basic-cform-validation-custom-family'] ) ) { ?>
				font-family: <?php echo $properties['basic-cform-validation-custom-family'] ?>;
			<?php } ?>
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'basic-cform-validation-font-weight' ) ) { ?>
			<?php forminator_echo_font_weight( $properties, 'basic-cform-validation-font-weight' ); ?>
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-error-message {
		font-size: 12px;
	}

<?php } ?>