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

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

<?php } else { ?>

	.forminator-ui.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-label,
	.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-design--default .forminator-label {
		font-size: 12px;
		font-family: inherit;
		font-weight: 700;
	}

<?php } ?>