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

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-calendar--<?php echo $theme; ?> {
		<?php if ( forminator_array_value_exists( $properties, 'cform-calendar-font-family' ) ) { ?>
			<?php if ( $properties['cform-calendar-font-family'] != 'custom' && !empty( $properties['cform-calendar-font-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-calendar-font-family'] ?>;
			<?php } else if ( $properties['cform-calendar-font-family'] == 'custom' && !empty( $properties['cform-calendar-custom-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-calendar-custom-family'] ?>;
			<?php } else { ?>
				font-family: inherit;
			<?php } ?>
		<?php } else { ?>
			font-family: inherit;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-calendar--<?php echo $theme; ?> {
		font-family: inherit;
	}

<?php } ?>