@each $name, $color in $cms_theme_colors{
	.cms-form-text-{
		&#{$name}{
			color: $color;
		}
	}
	.cms-form-field-label-{
		&#{$name}{
			label,
			.label{
				color: $color;
			}
		}
	}
	.cms-form-field-placeholder-{
		&#{$name}{
			.cms-placeholder,
			select,
			input::placeholder, 
			textarea::placeholder {
			    color: $color;
			}
			input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not(.select2-search__field),
			textarea, select,
			.select2-container.select2-container--default .select2-selection,
			.cms-placeholder{
				&:hover,
			    &:focus, 
			    &:active{
					color: $color;
				}
			}
		}
	}
	.cms-form-field-border-{
		&#{$name}{
			input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not(.select2-search__field),
			textarea, select,
			.select2-container.select2-container--default .select2-selection,
			.cms-placeholder{
				@include box-shadow(0 0 0 2px $color inset);
				//color: $color;
				&:hover{
					//color: $color;
				}
			}
			.wpcf7 .wpcf7-list-item input[type="checkbox"] + .wpcf7-list-item-label:before, 
			.wpcf7 .wpcf7-list-item input[type="radio"] + .wpcf7-list-item-label:before{
				border-color: $color;
			}
		}
	}
	// Custom checkbox/Radia label color
	.cms-form-field-checkbo-radio-label-{
		&#{$name}{
			.wpcf7-list-item-label{
				color: $color;
			}
		}
	}
}