%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom405686/wp-content/plugins/bbpowerpack/modules/pp-formidable-form/includes/
Upload File :
Create Path :
Current File : /dom405686/wp-content/plugins/bbpowerpack/modules/pp-formidable-form/includes/frontend.css.php

/**
* $module An instance of your module class.
* $id The module's ID.
* $settings The module's settings.
*/
<?php
// Form Border - Settings
FLBuilderCSS::border_field_rule( array(
	'settings' 		=> $settings,
	'setting_name' 	=> 'form_border_group',
	'selector' 		=> ".fl-node-$id .pp-ff-content",
) );
// Form Padding
FLBuilderCSS::dimension_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'form_padding',
	'selector' 		=> ".fl-node-$id .pp-ff-content",
	'unit'			=> 'px',
	'props'			=> array(
		'padding-top' 		=> 'form_padding_top',
		'padding-right' 	=> 'form_padding_right',
		'padding-bottom' 	=> 'form_padding_bottom',
		'padding-left' 		=> 'form_padding_left',
	),
) );
// Section Padding
FLBuilderCSS::dimension_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'section_field_padding',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms .frm-show-form  .frm_section_heading h3",
	'unit'			=> 'px',
	'props'			=> array(
		'padding-top' 		=> 'section_field_padding_top',
		'padding-right' 	=> 'section_field_padding_right',
		'padding-bottom' 	=> 'section_field_padding_bottom',
		'padding-left' 		=> 'section_field_padding_left',
	),
) );
// Section Padding
FLBuilderCSS::dimension_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'input_field_padding',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms .form-field input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
						.fl-node-$id .pp-ff-content .frm_forms .form-field select,
						.fl-node-$id .pp-ff-content .frm_forms .form-field textarea",
	'unit'			=> 'px',
	'props'			=> array(
		'padding-top' 		=> 'input_field_padding_top',
		'padding-right' 	=> 'input_field_padding_right',
		'padding-bottom' 	=> 'input_field_padding_bottom',
		'padding-left' 		=> 'input_field_padding_left',
	),
) );
// Button Padding
FLBuilderCSS::dimension_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'button_padding',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms input[type=submit],
						.fl-node-$id .pp-ff-content .frm_forms input[type=button]:not([data-page]),
						.fl-node-$id .pp-ff-content .frm_forms input[type=reset],
						.fl-node-$id .pp-ff-content .frm_forms .frm_submit button",
	'unit'			=> 'px',
	'props'			=> array(
		'padding-top' 		=> 'button_padding_top',
		'padding-right' 	=> 'button_padding_right',
		'padding-bottom' 	=> 'button_padding_bottom',
		'padding-left' 		=> 'button_padding_left',
	),
) );
// Button Border - Settings
FLBuilderCSS::border_field_rule( array(
	'settings' 		=> $settings,
	'setting_name' 	=> 'button_border_group',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms input[type=submit],
						.fl-node-$id .pp-ff-content .frm_forms input[type=button]:not([data-page]),
						.fl-node-$id .pp-ff-content .frm_forms input[type=reset],
						.fl-node-$id .pp-ff-content .frm_forms .frm_submit button",
) );

// Form Title Typography
FLBuilderCSS::typography_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'title_typography',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms h3.frm_form_title,
						.fl-node-$id .pp-ff-content .pp-form-title",
) );
// Form Description Typography
FLBuilderCSS::typography_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'description_typography',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms .frm_form_title + div.frm_description p,
						.fl-node-$id .pp-ff-content .pp-form-description",
) );
// Form Label Typography
FLBuilderCSS::typography_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'label_typography',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms label.frm_primary_label, 
						.fl-node-$id .pp-ff-content .frm_forms .form-field.frm_third div.frm_description,
						.fl-node-$id .pp-ff-content .frm_forms label,
						.fl-node-$id .pp-ff-content .frm_forms .frm_form_field.frm_html_container",
) );
// Form Input Typography
FLBuilderCSS::typography_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'input_typography',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms .form-field input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
						.fl-node-$id .pp-ff-content .frm_forms .form-field select,
						.fl-node-$id .pp-ff-content .frm_forms .form-field textarea",
) );
// Custom Description Font Size
FLBuilderCSS::responsive_rule( array(
	'settings'		=> $settings,
	'setting_name'	=> 'input_desc_font_size',
	'selector'		=> ".fl-node-$id .pp-ff-content .frm_forms .form-field input + .frm_description,
						.fl-node-$id .pp-ff-content .frm_forms .form-field select + .frm_description",
	'prop'			=> 'font-size',
	'unit'			=> 'px',
) );
// Custom Line Height Font Size
FLBuilderCSS::responsive_rule( array(
	'settings'		=> $settings,
	'setting_name'	=> 'input_desc_line_height',
	'selector'		=> ".fl-node-$id .pp-ff-content .frm_forms .form-field input + .frm_description,
						.fl-node-$id .pp-ff-content .frm_forms .form-field select + .frm_description",
	'prop'			=> 'line-height',
) );
// Button Typography
FLBuilderCSS::typography_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'button_typography',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms input[type=submit],
						.fl-node-$id .pp-ff-content .frm_forms input[type=button]:not([data-page]),
						.fl-node-$id .pp-ff-content .frm_forms input[type=reset],
						.fl-node-$id .pp-ff-content .frm_forms .frm_submit button",
) );
// Section Field Typography
FLBuilderCSS::typography_field_rule( array(
	'settings'		=> $settings,
	'setting_name' 	=> 'section_field_typography',
	'selector' 		=> ".fl-node-$id .pp-ff-content .frm_forms .frm-show-form  .frm_section_heading h3",
) );
// Validation Error Font Size
FLBuilderCSS::responsive_rule( array(
	'settings'		=> $settings,
	'setting_name'	=> 'validation_error_font_size',
	'selector'		=> ".fl-node-$id .frm_forms .frm_error_style",
	'prop'			=> 'font-size',
	'unit'			=> 'px',
) );
// Success Message Font Size
FLBuilderCSS::responsive_rule( array(
	'settings'		=> $settings,
	'setting_name'	=> 'success_message_font_size',
	'selector'		=> ".fl-node-$id .frm_forms .frm_message p",
	'prop'			=> 'font-size',
	'unit'			=> 'px',
) );
?>

.fl-node-<?php echo $id; ?> .pp-ff-content {
	background-color: <?php echo $settings->form_bg_color ? pp_get_color_value( $settings->form_bg_color ) : 'transparent'; ?>;
	<?php if( $settings->form_bg_image ) { ?>
	background-image: url('<?php echo $settings->form_bg_image_src; ?>');
	<?php } ?>
	<?php if( $settings->form_bg_size ) { ?>
	background-size: <?php echo $settings->form_bg_size; ?>;
	<?php } ?>
	<?php if( $settings->form_bg_repeat ) { ?>
	background-repeat: <?php echo $settings->form_bg_repeat; ?>;
	<?php } ?>
	max-width: <?php echo $settings->form_max_width; ?>%;
}

<?php if( $settings->form_bg_image && $settings->form_bg_type == 'image' ) { ?>
.fl-node-<?php echo $id; ?> .pp-ff-content:before {
	content: "";
	display: block;
	position: absolute;;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: <?php echo ( $settings->form_bg_overlay ) ? pp_get_color_value( $settings->form_bg_overlay ) : 'transparent'; ?>;
}
<?php } ?>

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm-show-form  .frm_section_heading h3 {
	<?php if( $settings->section_field_margin['top'] >= 0 ) { ?>
	margin-top: <?php echo $settings->section_field_margin['top']; ?>px;
	<?php } ?>
	<?php if( $settings->section_field_margin['bottom'] >= 0 ) { ?>
	margin-bottom: <?php echo $settings->section_field_margin['bottom']; ?>px;
	<?php } ?>
	border-width: 0;
	<?php if( $settings->section_field_border_width >= 0 && $settings->section_field_border_style != 'none' ) { ?>
	<?php echo $settings->section_field_border_position; ?>-width: <?php echo $settings->section_field_border_width; ?>px;
	<?php } ?>
	<?php if( $settings->section_field_border_color ) { ?>
	border-color: #<?php echo $settings->section_field_border_color; ?>;
	<?php } ?>
	<?php if( $settings->section_field_border_style ) { ?>
	border-style: <?php echo $settings->section_field_border_style; ?>;
	<?php } ?>
	background-color: <?php echo ( $settings->section_field_bg_color ) ? pp_get_color_value( $settings->section_field_bg_color ) : 'transparent'; ?>;
	<?php if( $settings->section_field_color ) { ?>
	color: #<?php echo $settings->section_field_color; ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_icon_font {
	<?php if( $settings->section_field_color ) { ?>
	color: #<?php echo $settings->section_field_color; ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field {
	list-style-type: none !important;
	<?php if( $settings->input_field_margin >= 0 ) { ?>
	margin-bottom: <?php echo $settings->input_field_margin; ?>px;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms h3.frm_form_title,
.fl-node-<?php echo $id; ?> .pp-ff-content .pp-form-title {
	<?php if( $settings->title_color ) { ?>
	color: #<?php echo $settings->title_color; ?>;
	<?php } ?>
	display: <?php echo ($settings->title_field == 'false') ? 'none' : 'block'; ?>;
	<?php if( $settings->title_margin['top'] >= 0 ) { ?>
	margin-top: <?php echo $settings->title_margin['top']; ?>px;
	<?php } ?>
	<?php if( $settings->title_margin['bottom'] >= 0 ) { ?>
	margin-bottom: <?php echo $settings->title_margin['bottom']; ?>px;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .pp-form-title {
	display: <?php echo ($settings->form_custom_title_desc == 'yes') ? 'block' : 'none'; ?>;
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms h3.frm_form_title {
	<?php if( $settings->form_custom_title_desc == 'yes' ) { ?>
	display: none;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_form_title + div.frm_description p,
.fl-node-<?php echo $id; ?> .pp-ff-content .pp-form-description {
	<?php if( $settings->description_color ) { ?>
	color: #<?php echo $settings->description_color; ?>;
	<?php } ?>
	display: <?php echo ($settings->description_field == 'false') ? 'none' : 'block'; ?>;
	<?php if( $settings->description_margin['top'] >= 0 ) { ?>
	margin-top: <?php echo $settings->description_margin['top']; ?>px;
	<?php } ?>
	<?php if( $settings->description_margin['bottom'] >= 0 ) { ?>
	margin-bottom: <?php echo $settings->description_margin['bottom']; ?>px;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content.pp-form-description {
	display: <?php echo ($settings->form_custom_title_desc == 'yes') ? 'block' : 'none'; ?>;
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_form_title + div.frm_description {
	<?php if( $settings->form_custom_title_desc == 'yes' ) { ?>
	display: none;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms label.frm_primary_label {
	<?php if( $settings->form_label_color ) { ?>
		color: #<?php echo $settings->form_label_color; ?>;
	<?php } ?>
	<?php if( $settings->display_labels ) { ?>
		display: <?php echo $settings->display_labels; ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field.frm_third div.frm_description,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms label,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_form_field.frm_html_container {
	<?php if( $settings->form_label_color ) { ?>
		color: #<?php echo $settings->form_label_color; ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input + .frm_description,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select + .frm_description {
	<?php if( $settings->input_desc_color ) { ?>
	color: #<?php echo $settings->input_desc_color; ?>;
	<?php } ?>
	<?php if( isset( $settings->label_typography['font_family'] ) && 'Default' != $settings->label_typography['font_family'] ) { ?>		
		font-family: <?php echo $settings->label_typography['font_family']; ?>;
		font-weight: <?php echo $settings->label_typography['font_weight']; ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea {
	<?php if( $settings->input_field_text_color ) { ?>
	color: #<?php echo $settings->input_field_text_color; ?>;
	<?php } ?>
	background-color: <?php echo $settings->input_field_bg_color ? pp_get_color_value( $settings->input_field_bg_color ) : 'transparent'; ?>;
	border-width: 0;
	border-color: <?php echo $settings->input_field_border_color ? '#' . $settings->input_field_border_color : 'transparent'; ?>;
	<?php if( $settings->input_field_border_radius >= 0 ) { ?>
	border-radius: <?php echo $settings->input_field_border_radius; ?>px;
	-moz-border-radius: <?php echo $settings->input_field_border_radius; ?>px;
	-webkit-border-radius: <?php echo $settings->input_field_border_radius; ?>px;
	-ms-border-radius: <?php echo $settings->input_field_border_radius; ?>px;
	-o-border-radius: <?php echo $settings->input_field_border_radius; ?>px;
	<?php } ?>
	<?php if( $settings->input_field_border_width >= 0 ) { ?>
	<?php echo $settings->input_field_border_position; ?>-width: <?php echo $settings->input_field_border_width; ?>px;
	<?php } ?>
	<?php echo ($settings->input_field_width == 'true') ? 'width: 100% !important;' : ''; ?>
	<?php if( $settings->input_field_box_shadow == 'yes' ) { ?>
		box-shadow: <?php echo ($settings->input_shadow_direction == 'inset') ? $settings->input_shadow_direction : ''; ?> 0 0 10px #<?php echo $settings->input_shadow_color; ?>;
		-moz-box-shadow: <?php echo ($settings->input_shadow_direction == 'inset') ? $settings->input_shadow_direction : ''; ?> 0 0 10px #<?php echo $settings->input_shadow_color; ?>;
		-webkit-box-shadow: <?php echo ($settings->input_shadow_direction == 'inset') ? $settings->input_shadow_direction : ''; ?> 0 0 10px #<?php echo $settings->input_shadow_color; ?>;
		-ms-box-shadow: <?php echo ($settings->input_shadow_direction == 'inset') ? $settings->input_shadow_direction : ''; ?> 0 0 10px #<?php echo $settings->input_shadow_color; ?>;
		-o-box-shadow: <?php echo ($settings->input_shadow_direction == 'inset') ? $settings->input_shadow_direction : ''; ?> 0 0 10px #<?php echo $settings->input_shadow_color; ?>;
	<?php } else { ?>
		box-shadow: none;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_dropzone {
	background-color: <?php echo $settings->input_field_bg_color ? pp_get_color_value( $settings->input_field_bg_color ) : 'transparent'; ?>;
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']),
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select {
	<?php if( $settings->input_field_height ) { ?>
	height: <?php echo $settings->input_field_height; ?>px;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea {
	<?php if( $settings->input_textarea_height ) { ?>
	height: <?php echo $settings->input_textarea_height; ?>px;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select {
	<?php if ( '' !== $settings->input_field_margin && $settings->input_field_margin >= 0 ) { ?>
	margin-bottom: <?php echo ( $settings->input_field_margin * 40 ) / 100 ?>px;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input::-webkit-input-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input:-moz-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input::-moz-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input:-ms-input-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select::-webkit-input-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select:-moz-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select::-moz-placeholder {
	<?php if( $settings->input_placeholder_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select:-ms-input-placeholder {
	<?php if( $settings->input_placeholder_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea::-webkit-input-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea:-moz-placeholder {
	<?php if( $settings->input_placeholder_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea::-moz-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea:-ms-input-placeholder {
	<?php if( $settings->input_placeholder_color && $settings->input_placeholder_display == 'block' ) { ?>
		color: <?php echo pp_get_color_value( $settings->input_placeholder_color ); ?>;
	<?php } else { ?>
		color: transparent;
		opacity: 0;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field input:not([type='radio']):not([type='checkbox']):not([type='submit']):not([type='button']):not([type='image']):not([type='file']):focus,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field select:focus,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .form-field textarea:focus {
	border-color: <?php echo $settings->input_field_focus_color ? '#' . $settings->input_field_focus_color : 'transparent'; ?>;
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_submit {
	<?php if( $settings->button_alignment ) { ?>
	text-align: <?php echo $settings->button_alignment; ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms input[type=submit],
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms input[type=button]:not([data-page]),
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms input[type=reset],
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_submit button {
	<?php if( isset( $settings->button_text_color_default ) && ! empty( $settings->button_text_color_default ) ) { ?>
		color: <?php echo pp_get_color_value( $settings->button_text_color_default ); ?>;
	<?php } ?>
	<?php if( isset( $settings->button_bg_color_default ) && ! empty( $settings->button_bg_color_default ) ) { ?>
		background: <?php echo pp_get_color_value( $settings->button_bg_color_default ); ?>;
	<?php } ?>
	<?php if( $settings->button_width == 'true' ) { ?>width: 100%; <?php } ?>
}

.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms input[type=submit]:hover,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms input[type=button]:not([data-page]):hover,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms input[type=reset]:hover,
.fl-node-<?php echo $id; ?> .pp-ff-content .frm_forms .frm_submit button:hover {
	<?php if( isset( $settings->button_text_color_hover ) && ! empty( $settings->button_text_color_hover ) ) { ?>
		color: <?php echo pp_get_color_value( $settings->button_text_color_hover ); ?>;
	<?php } ?>
	<?php if( isset( $settings->button_bg_color_hover ) && ! empty( $settings->button_bg_color_hover ) ) { ?>
		background: <?php echo pp_get_color_value( $settings->button_bg_color_hover ); ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .frm_forms .frm_error_style {
	<?php if( $settings->validation_error ) { ?>
		display: <?php echo $settings->validation_error; ?> !important;
	<?php } ?>
	<?php if( $settings->validation_error_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->validation_error_color ); ?>;
	<?php } ?>
	border-color: <?php echo $settings->validation_error_border_color ? '#' . $settings->validation_error_border_color : 'transparent'; ?>;
	background-color: <?php echo $settings->validation_error_bg_color ? pp_get_color_value( $settings->validation_error_bg_color ) : 'transparent'; ?>
}

.fl-node-<?php echo $id; ?> .frm_forms .frm_error {
	<?php if( $settings->validation_message ) { ?>
		display: <?php echo $settings->validation_message; ?>;
	<?php } ?>
	<?php if( $settings->validation_message_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->validation_message_color ); ?>;
	<?php } ?>
}

.fl-node-<?php echo $id; ?> .frm_forms .frm_message {
	<?php if( $settings->success_message_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->success_message_color ); ?>;
	<?php } ?>
	border-color: <?php echo $settings->success_message_border_color ? '#' . $settings->success_message_border_color : 'transparent'; ?>;
	background-color: <?php echo $settings->success_message_bg_color ? pp_get_color_value( $settings->success_message_bg_color ) : 'transparent'; ?>
}
.fl-node-<?php echo $id; ?> .frm_forms .frm_message p {
	<?php if( $settings->success_message_color ) { ?>
		color: <?php echo pp_get_color_value( $settings->success_message_color ); ?>;
	<?php } ?>
}

Zerion Mini Shell 1.0