/*
Theme Name: CrossFit Railbirds
Theme URI: https://crossfitrailbirds.com/
Description: Custom theme for CrossFit Railbirds, Kingsport, TN. Page templates are generated from the design; forms use Gravity Forms.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: railbirds
*/

[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
#rb-form { scroll-margin-top: 24px; }

/* Gravity Forms, styled to match the site */
.rb-gf .gform_wrapper, .rb-gf .gform-theme--orbital {
  --gf-color-primary: #c62828;
  --gf-color-primary-rgb: 198, 40, 40;
  --gf-color-primary-darker: #a51f1f;
  --gf-color-in-ctrl-primary: #1d3557;
  --gf-ctrl-border-color: #8a94a3;
  --gf-radius: 4px;
  --gf-font-size-primary: 16px;
  --gf-ctrl-label-color-primary: #15181e;
  font-family: 'Open Sans', Arial, sans-serif;
}
.rb-gf .gform_wrapper.gravity-theme .gfield_label, .rb-gf .gform-theme--orbital .gform-field-label { font-weight: 600; font-size: 15px; }
.rb-gf .gsection { border-bottom: 1px solid #e5e7eb; padding-bottom: 8px; margin-top: 18px; }
.rb-gf .gsection_title { font-family: Oswald, Arial, sans-serif; font-weight: 700; font-size: 26px; text-transform: uppercase; margin: 0; }
.rb-gf .gform_footer input[type=submit], .rb-gf .gform_footer button, .rb-gf .gform-theme--orbital .gform_footer .gform_button {
  width: 100%; min-height: 60px; background: #c62828 !important; color: #fff !important; border: 0; border-radius: 4px;
  font-family: Oswald, Arial, sans-serif !important; font-size: 21px !important; letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
}
.rb-waiver { height: 400px; overflow-y: auto; border: 1px solid #8a94a3; border-radius: 8px; padding: 24px; background: #fafafa; font-size: 14px; line-height: 1.65; color: #1f2937; }
.rb-waiver h4 { margin: 4px 0 12px; font-family: Oswald, Arial, sans-serif; font-weight: 600; font-size: 19px; text-transform: uppercase; color: #15181e; }
.rb-waiver p { margin: 0 0 12px; }
.rb-guardian { border: 2px solid #1d3557; border-radius: 8px; padding: 18px; font-size: 14px; color: #1f2937; }
.rb-guardian strong { display: block; font-family: Oswald, Arial, sans-serif; font-size: 20px; text-transform: uppercase; color: #1d3557; margin-bottom: 8px; }
.rb-signature input { font-family: Caveat, cursive; font-size: 30px !important; color: #1d3557; }
.rb-form-missing { background: #e8eef5; color: #1d3557; border-radius: 8px; padding: 16px 18px; }
/* forms on dark backgrounds (homepage booking, contact newsletter) */
#book .rb-gf, #book .rb-gf label, #book .rb-gf .gfield_label, #book .rb-gf .gform-field-label { color: #ffffff; }
