<?php if ( forminator_array_value_exists( $properties, 'cform-color-settings' ) ) { ?>

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'input-placeholder' ) && !empty( $properties['input-placeholder'] ) ) { ?>
			color: <?php echo $properties['input-placeholder'] ?>;
		<?php } else { ?>
			color: #888888;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label:not([class*="forminator-floating-"]) {
		<?php if ( forminator_array_value_exists( $properties, 'cform-label-color' ) && !empty( $properties['cform-label-color'] ) ) { ?>
			color: <?php echo $properties['cform-label-color'] ?>;
		<?php } else { ?>
			color: #777771;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label:not([class*="forminator-floating-"]) .forminator-required {
		<?php if ( forminator_array_value_exists( $properties, 'cform-asterisk-color' ) && !empty( $properties['cform-asterisk-color'] ) ) { ?>
			color: <?php echo $properties['cform-asterisk-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'cform-label-color' ) && !empty( $properties['cform-label-color'] ) ) { ?>
			color: <?php echo $properties['cform-label-color'] ?>;
		<?php } else { ?>
			color: #777771;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'input-border-active' ) && !empty( $properties['input-border-active'] ) ) { ?>
			color: <?php echo $properties['input-border-active'] ?>;
		<?php } else { ?>
			color: #17A8E3;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"],
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] {
		<?php if ( forminator_array_value_exists( $properties, 'label-validation-color' ) && !empty( $properties['label-validation-color'] ) ) { ?>
			color: <?php echo $properties['label-validation-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled .forminator-label[class*="forminator-floating-"] .forminator-required,
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-label[class*="forminator-floating-"] .forminator-required {
		<?php if ( forminator_array_value_exists( $properties, 'cform-asterisk-color' ) && !empty( $properties['cform-asterisk-color'] ) ) { ?>
			color: <?php echo $properties['cform-asterisk-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required,
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required {
		<?php if ( forminator_array_value_exists( $properties, 'label-validation-color' ) && !empty( $properties['label-validation-color'] ) ) { ?>
			color: <?php echo $properties['label-validation-color'] ?>;
		<?php } else { ?>
			color: #E04562;
		<?php } ?>
	}

<?php } else { ?>

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label[class*="forminator-floating-"] {
		color: #888888;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label:not([class*="forminator-floating-"]) {
		color: #777771;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-label:not([class*="forminator-floating-"]) .forminator-required {
		color: #E04562;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled .forminator-label[class*="forminator-floating-"] {
		color: #777771;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-label[class*="forminator-floating-"] {
		color: #17A8E3;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"],
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] {
		color: #E04562;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled .forminator-label[class*="forminator-floating-"] .forminator-required,
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active .forminator-label[class*="forminator-floating-"] .forminator-required {
		color: #E04562;
	}

	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_filled.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required,
	#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-is_active.forminator-has_error .forminator-label[class*="forminator-floating-"] .forminator-required {
		color: #E04562;
	}

<?php } ?>