<?php if ( forminator_array_value_exists( $properties, 'poll-colors' ) ) { ?>

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

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-image {
			<?php if ( forminator_array_value_exists( $properties, 'image-border-static' ) && !empty( $properties['image-border-static'] ) ) { ?>
				border-color: <?php echo $properties['image-border-static'] ?>;
			<?php } else { ?>
				border-color: #777771;
			<?php } ?>
			<?php if ( forminator_array_value_exists( $properties, 'image-background-static' ) && !empty( $properties['image-background-static'] ) ) { ?>
				background-color: <?php echo $properties['image-background-static'] ?>;
			<?php } else { ?>
				background-color: #EDEDED;
			<?php } ?>
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet {
		<?php if ( forminator_array_value_exists( $properties, 'inputbo' ) && !empty( $properties['inputbo'] ) ) { ?>
			border-color: <?php echo $properties['inputbo'] ?>;
		<?php } else { ?>
			border-color: #777771;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'inputbg' ) && !empty( $properties['inputbg'] ) ) { ?>
			background-color: <?php echo $properties['inputbg'] ?>;
		<?php } else { ?>
			background-color: #EDEDED;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet:before {
		<?php if ( forminator_array_value_exists( $properties, 'radio_dot' ) && !empty( $properties['radio_dot'] ) ) { ?>
			background-color: <?php echo $properties['radio_dot'] ?>;
		<?php } else { ?>
			background-color: #097BAA;
		<?php } ?>
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked + .forminator-radio-bullet {
		<?php if ( forminator_array_value_exists( $properties, 'inputbo_active' ) && !empty( $properties['inputbo_active'] ) ) { ?>
			border-color: <?php echo $properties['inputbo_active'] ?>;
		<?php } else { ?>
			border-color: #097BAA;
		<?php } ?>
		<?php if ( forminator_array_value_exists( $properties, 'inputbg_active' ) && !empty( $properties['inputbg_active'] ) ) { ?>
			background-color: <?php echo $properties['inputbg_active'] ?>;
		<?php } else { ?>
			background-color: #EDEDED;
		<?php } ?>
	}

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio:hover .forminator-radio-image {
			<?php if ( forminator_array_value_exists( $properties, 'image-border-hover' ) && !empty( $properties['image-border-hover'] ) ) { ?>
				border-color: <?php echo $properties['image-border-hover'] ?>;
			<?php } else { ?>
				border-color: #097BAA;
			<?php } ?>
			<?php if ( forminator_array_value_exists( $properties, 'image-background-hover' ) && !empty( $properties['image-background-hover'] ) ) { ?>
				background-color: <?php echo $properties['image-background-hover'] ?>;
			<?php } else { ?>
				background-color: #E1F6FF;
			<?php } ?>
		}
	<?php } ?>

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked ~ .forminator-radio-image {
			<?php if ( forminator_array_value_exists( $properties, 'image-border-checked' ) && !empty( $properties['image-border-checked'] ) ) { ?>
				border-color: <?php echo $properties['image-border-checked'] ?>;
			<?php } else { ?>
				border-color: #097BAA;
			<?php } ?>
			<?php if ( forminator_array_value_exists( $properties, 'image-background-checked' ) && !empty( $properties['image-background-checked'] ) ) { ?>
				background-color: <?php echo $properties['image-background-checked'] ?>;
			<?php } else { ?>
				background-color: #E1F6FF;
			<?php } ?>
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-has_error .forminator-radio .forminator-radio-bullet {
		<?php if ( forminator_array_value_exists( $properties, 'radio-border-error' ) && !empty( $properties['radio-border-error'] ) ) { ?>
			border-color: <?php echo $properties['radio-border-error'] ?>;
		<?php } else { ?>
			border-color: #E51919;
		<?php } ?>
	}

<?php } else { ?>

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

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet,
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-image {
			border-color: #777771;
			background-color: #EDEDED;
		}
	<?php } else { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet {
			border-color: #777771;
			background-color: #EDEDED;
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio .forminator-radio-bullet:before {
		background-color: #097BAA;
	}

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked + .forminator-radio-bullet {
		border-color: #097BAA;
		background-color: #EDEDED;
	}

	<?php if ( isset( $properties['enable_images'] ) && $properties['enable_images'] == '1' ) { ?>
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio:hover .forminator-radio-image,
		.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-radio input:checked ~ .forminator-radio-image {
			border-color: #097BAA;
			background-color: #E1F6FF;
		}
	<?php } ?>

	.forminator-ui#forminator-module-<?php echo $properties['form_id'] ?>.forminator-design--<?php echo $theme; ?> .forminator-has_error .forminator-radio .forminator-radio-bullet {
		border-color: #E51919;
	}

<?php } ?>