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

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slide {
		<?php if ( forminator_array_value_exists( $properties, 'slider-track' ) && !empty( $properties['slider-track'] ) ) { ?>
			background-color: <?php echo $properties['slider-track'] ?>;
		<?php } else { ?>
			background-color: #DDD;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'slider-track-border' ) && !empty( $properties['slider-track-border'] ) ) { ?>
			border-color: <?php echo $properties['slider-track-border'] ?>;
		<?php } else { ?>
			border-color: transparent;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-range {
		<?php if ( forminator_array_value_exists( $properties, 'slider-track-fill' ) && !empty( $properties['slider-track-fill'] ) ) { ?>
			background-color: <?php echo $properties['slider-track-fill'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-handle {
		<?php if ( forminator_array_value_exists( $properties, 'slider-handle' ) && !empty( $properties['slider-handle'] ) ) { ?>
			background-color: <?php echo $properties['slider-handle'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
	}

	<!-- Hover colors -->
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slide:hover {
		<?php if ( forminator_array_value_exists( $properties, 'slider-track-hover' ) && !empty( $properties['slider-track-hover'] ) ) { ?>
			background-color: <?php echo $properties['slider-track-hover'] ?>;
		<?php } else { ?>
			background-color: #DDD;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'slider-track-border-hover' ) && !empty( $properties['slider-track-border-hover'] ) ) { ?>
			border-color: <?php echo $properties['slider-track-border-hover'] ?>;
		<?php } else { ?>
			border-color: transparent;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slide:hover .ui-slider-range {
		<?php if ( forminator_array_value_exists( $properties, 'slider-track-fill-hover' ) && !empty( $properties['slider-track-fill-hover'] ) ) { ?>
			background-color: <?php echo $properties['slider-track-fill-hover'] ?>;
		<?php } else { ?>
			background-color: #17A8E3;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-handle:hover {
		<?php if ( forminator_array_value_exists( $properties, 'slider-handle-hover' ) && !empty( $properties['slider-handle-hover'] ) ) { ?>
			background-color: <?php echo $properties['slider-handle-hover'] ?>;
		<?php } else { ?>
			background-color: #1289ba;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-handle:focus {
		<?php if ( forminator_array_value_exists( $properties, 'slider-handle-drag' ) && !empty( $properties['slider-handle-drag'] ) ) { ?>
			background-color: <?php echo $properties['slider-handle-drag'] ?>;
		<?php } else { ?>
			background-color: #1289ba;
		<?php } ?>
	}

	<!-- Disabled colors -->
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider.forminator-disabled .forminator-slide {
		background-color: #DDD;
		border-color: transparent;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider.forminator-disabled .ui-slider-range {
		background-color: #DDD;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider.forminator-disabled .ui-slider-handle {
		background: #aaa;
	}

	<!-- Slider values colors -->
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slider-amount {
		<?php if ( forminator_array_value_exists( $properties, 'slider-selected-value' ) && !empty( $properties['slider-selected-value'] ) ) { ?>
			color: <?php echo $properties['slider-selected-value'] ?>;
		<?php } else { ?>
			color: #333;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slider-limit {
		<?php if ( forminator_array_value_exists( $properties, 'slider-steps-value' ) && !empty( $properties['slider-steps-value'] ) ) { ?>
			color: <?php echo $properties['slider-steps-value'] ?>;
		<?php } else { ?>
			color: #888;
		<?php } ?>
	}

<?php } else { ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slide,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slide:hover {
		background-color: #DDD;
		border-color: transparent;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-range,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-handle,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slide:hover .ui-slider-range{
		background-color: #17A8E3;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-handle:hover,
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .ui-slider-handle:focus {
		background-color: #1289ba;
	}

	<!-- Disabled colors -->
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider.forminator-disabled .forminator-slide {
		background-color: #DDD;
		border-color: transparent;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider.forminator-disabled .ui-slider-range {
		background-color: #DDD;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider.forminator-disabled .ui-slider-handle {
		background-color: #aaa;
	}

	<!-- Slider values colors -->
	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slider-amount {
		color: #333;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-slider .forminator-slider-limit {
		color: #888;
	}

<?php } ?>