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

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-dropdown--bold .select2-search .select2-search__field {
		<?php if ( forminator_array_value_exists( $properties, 'cform-input-font-size' ) ) { ?>
			font-size: <?php echo $properties['cform-input-font-size'] ?>px;
		<?php } else { ?>
			font-size: 16px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-input-font-family' ) ) { ?>
			<?php if ( $properties['cform-input-font-family'] != 'custom' && !empty( $properties['cform-input-font-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-input-font-family'] ?>;
			<?php } else if ( $properties['cform-input-font-family'] == 'custom' && !empty( $properties['cform-input-custom-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-input-custom-family'] ?>;
			<?php } else { ?>
				font-family: inherit;
			<?php } ?>
		<?php } else { ?>
			font-family: inherit;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-input-font-weight' ) ) { ?>
			font-weight: <?php echo $properties['cform-input-font-weight'] ?>;
		<?php } else { ?>
			font-weight: 400;
		<?php } ?>
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-dropdown--bold .select2-results .select2-results__options .select2-results__option {
		<?php if ( forminator_array_value_exists( $properties, 'cform-dropdown-font-size' ) ) { ?>
			font-size: <?php echo $properties['cform-dropdown-font-size'] ?>px;
		<?php } else { ?>
			font-size: 16px;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-dropdown-font-family' ) ) { ?>
			<?php if ( $properties['cform-dropdown-font-family'] != 'custom' && !empty( $properties['cform-dropdown-font-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-dropdown-font-family'] ?>;
			<?php } else if ( $properties['cform-dropdown-font-family'] == 'custom' && !empty( $properties['cform-dropdown-custom-family'] ) ) { ?>
				font-family: <?php echo $properties['cform-dropdown-custom-family'] ?>;
			<?php } else { ?>
				font-family: inherit;
			<?php } ?>
		<?php } else { ?>
			font-family: inherit;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'cform-dropdown-font-weight' ) ) { ?>
			font-weight: <?php echo $properties['cform-dropdown-font-weight'] ?>;
		<?php } else { ?>
			font-weight: 400;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-dropdown--bold .select2-search .select2-search__field {
		font-size: 16px;
		font-family: inherit;
		font-weight: 400;
	}

	.forminator-custom-form-<?php echo $properties['form_id'] ?>.forminator-dropdown--bold .select2-results .select2-results__options .select2-results__option {
		font-size: 16px;
		font-family: inherit;
		font-weight: 400;
	}

<?php } ?>