<?php
 
// =============================================================================
// FUNCTIONS/GLOBAL/ADMIN/CUSTOMIZER/OUTPUT/GRAVITY-FORMS.PHP
// -----------------------------------------------------------------------------
// Global CSS output for Gravity Forms.
// =============================================================================

// =============================================================================
// TABLE OF CONTENTS
// -----------------------------------------------------------------------------
//   01. Base Styles
// =============================================================================

?>

/* Base Styles
// ========================================================================== */

<?php if ( X_GRAVITY_FORMS_IS_ACTIVE ) : ?>

  body .gform_wrapper .gfield_required {
    color: <?php echo $x_site_link_color; ?>;
  }

  body .gform_wrapper h2.gsection_title,
  body .gform_wrapper h3.gform_title,
  body .gform_wrapper .top_label .gfield_label,
  body .gform_wrapper .left_label .gfield_label,
  body .gform_wrapper .right_label .gfield_label {
    font-weight: <?php echo $x_headings_font_weight; ?>;
  }

  body .gform_wrapper h2.gsection_title {
    letter-spacing: <?php echo $x_h2_letter_spacing . 'em !important'; ?>;
  }

  body .gform_wrapper h3.gform_title {
    letter-spacing: <?php echo $x_h3_letter_spacing . 'em !important'; ?>;
  }

  body .gform_wrapper .top_label .gfield_label,
  body .gform_wrapper .left_label .gfield_label,
  body .gform_wrapper .right_label .gfield_label {
    color: <?php echo $x_headings_font_color; ?>;
  }

  body .gform_wrapper .validation_message {
    font-weight: <?php echo $x_body_font_weight; ?>;
  }

<?php endif; ?>