Skip to content

Move individual to their respective group#450

Merged
tarunnjoshi merged 2 commits intodevelopfrom
add-individual-to-groups
Nov 15, 2024
Merged

Move individual to their respective group#450
tarunnjoshi merged 2 commits intodevelopfrom
add-individual-to-groups

Conversation

@tarunnjoshi
Copy link
Copy Markdown
Member

@tarunnjoshi tarunnjoshi commented Nov 14, 2024

Move individual to their respective group for contribution page

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced enhanced event handling for chapter group assignments related to contributions.
    • Added a method to assign chapter groups when a contribution is created.
  • Bug Fixes

    • Improved error handling for chapter group retrieval based on state ID.
  • Style

    • Adjusted styling for buttons and form elements to improve layout and responsiveness.
    • Enhanced media queries for better display on various screen sizes.

These updates enhance user experience and streamline contribution processing within the Goonj CRM.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Nov 14, 2024

Walkthrough

The changes in this pull request primarily enhance the functionality of the CollectionCampService class in the Civi namespace by introducing new event handling capabilities and improving chapter group assignments related to contributions. Additionally, there are significant updates to the styling in the main.scss and style.css files, focusing on layout adjustments, responsiveness, and visual consistency across various components.

Changes

File Path Change Summary
wp-content/civi-extensions/goonjcustom/Civi/CollectionCampService.php - Added method: assignChapterGroupToIndividualForContribution for handling contributions.
- Updated method: assignChapterGroupToIndividual to streamline group assignment logic.
- Added private method: getChapterGroupForState for retrieving chapter groups based on state ID.
wp-content/themes/goonj-crm/assets/styles/main.scss - Adjusted styles for .wp-block-gb-action-button and .wp-block-gb-goonj-blocks for improved layout and responsiveness.
- Modified media queries for better display on various screen sizes.
wp-content/themes/goonj-crm/style.css - Extensive modifications to form styles, including layout changes and responsive design adjustments.
- Standardized input field styles and button appearances for consistency.

Possibly related PRs

Suggested reviewers

  • pokhiii: Suggested for review due to familiarity with the CollectionCampService class.

Poem

In the land of code where changes bloom,
New methods sprout, dispelling the gloom.
Contributions now find their rightful place,
As styles dance with a responsive grace.
From classes to buttons, all align,
A harmonious update, oh how divine! 🌼✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Outside diff range and nitpick comments (3)
wp-content/themes/goonj-crm/assets/styles/main.scss (1)

507-507: Consider adjusting the padding for better usability.

The reduction in padding for .wp-block-gb-action-button might compromise the button's usability on mobile devices by reducing the clickable area. While maintaining a sleek design is important, ensuring that interactive elements are easily clickable on all devices is crucial.

wp-content/civi-extensions/goonjcustom/Civi/CollectionCampService.php (2)

Line range hint 309-331: Enhance error handling in getChapterGroupForState method

The method getChapterGroupForState logs a message when no chapter group is found for a state ID and attempts to retrieve a fallback group. However, if no fallback group is found, it doesn't handle the case where $stateContactGroup remains NULL, which could lead to unexpected behavior.

Consider adding error handling to manage the scenario when neither a chapter group nor a fallback group is available. This will prevent potential NULL reference errors.

Apply this diff to address the issue:

@@ -319,6 +319,10 @@
           \Civi::log()->info('Assigning fallback chapter contact group: ' . $stateContactGroup['title']);
         }
 
+        if (!$stateContactGroup) {
+          \Civi::log()->error('No fallback chapter contact group found.');
+          return NULL;
+        }
 
         return $stateContactGroup ? $stateContactGroup['id'] : NULL;
       }

52-52: Maintain consistency in event subscription ordering

The new event handler assignChapterGroupToIndividualForContribution is added to the &hook_civicrm_post array at line 52. Ensure that the ordering of event handlers considers dependencies between methods. If assignChapterGroupToIndividualForContribution depends on any prior methods, adjust the order accordingly for correct execution.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 701562c and cc0fda1.

📒 Files selected for processing (3)
  • wp-content/civi-extensions/goonjcustom/Civi/CollectionCampService.php (4 hunks)
  • wp-content/themes/goonj-crm/assets/styles/main.scss (1 hunks)
  • wp-content/themes/goonj-crm/style.css (1 hunks)
🧰 Additional context used
🪛 Biome
wp-content/themes/goonj-crm/style.css

[error] 15-15: Unexpected shorthand property background after background-image

(lint/suspicious/noShorthandPropertyOverrides)


[error] 15-15: Unexpected shorthand property text-decoration after text-decoration-thickness

(lint/suspicious/noShorthandPropertyOverrides)

🔇 Additional comments (2)
wp-content/themes/goonj-crm/assets/styles/main.scss (1)

507-507: Good adjustments to responsiveness!

The modifications within the media queries, particularly for .wp-block-gb-goonj-blocks, .container, and .wp-block-gb-table, are well-thought-out. These changes enhance the layout's adaptability across different screen sizes, improving the overall user experience by ensuring that elements are appropriately scaled and spaced.

wp-content/civi-extensions/goonjcustom/Civi/CollectionCampService.php (1)

9-9: Unnecessary import if not used

The use Civi\Api4\Address; statement is added at line 9. Verify that all imported classes are utilized in the code. Unused imports can clutter the codebase and may lead to confusion.

If the Address class is indeed used in the new methods, this import is appropriate. Otherwise, consider removing it.

Text Domain: goonj-crm
Tags: non-profit, crm, coloredcow
*/#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset legend{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item{display:grid !important;border-top:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content{margin-left:0 !important;gap:30px;align-items:center}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content input,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content input{border:1px solid rgba(0,0,0,.3) !important;border-radius:4px !important;padding:7px !important;background-image:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .label,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .label,#crm-main-content-wrapper form .crm-contribution-main-form-block fieldset legend{text-align:justify !important;width:50% !important;font-family:"Open Sans",sans-serif !important;line-height:16px !important;padding-left:0 !important}#crm-main-content-wrapper form .crm-contribution-main-form-block fieldset .payment_processor-section .label label{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile{display:block !important;margin-top:0 !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div{width:100% !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content div a{background-image:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content div a span{border-left:none !important;background-image:none !important;background:#fff !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content div a span b{top:9px !important;left:0px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content label{font-family:"Open Sans",sans-serif !important;line-height:16px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content .crm-form-radio{max-width:22px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #crm-submit-buttons button{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:14px;line-height:16px}#crm-main-content-wrapper form .crm-contribution-main-form-block #crm-submit-buttons button{height:45px;width:100%;background-color:#d64631 !important;border:none;border-radius:4px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #crm-submit-buttons button i{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #billing-payment-block{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset div .content div a .select2-chosen{padding-top:10px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset div .content div a abbr{top:22px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset>div:nth-last-child(-n+2){display:none}@media(min-width: 375px)and (max-width: 768px){#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div .label{text-align:justify !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div .content{margin-left:0 !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div{width:85vw !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content input{margin-right:20px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content div span label{float:inline-start !important}}.select2-drop ul li div{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:14px;line-height:16px}#crm-container .crm-title{display:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset legend{display:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset .header-dark{width:100% !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group.billing_name_address-group{display:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div .content{margin-left:0 !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block #thankyou_text p{place-self:center !important;margin-bottom:50px}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .help .bold p,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .header-dark,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .display-block,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .crm-section div{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:14px;line-height:16px;margin-left:0 !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .help div{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:12px;line-height:16px}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div{margin:12px !important;padding:11px 3px 10px 0px !important;margin-left:0px !important;width:100% !important;margin-bottom:-18px !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div .label label{font-weight:600 !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .header-dark{padding-left:6px !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset{border-top:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset>div:nth-last-child(-n+2){display:none !important}@media(min-width: 375px)and (max-width: 768px){#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div{padding:5px 113px 0px 0px !important;flex:none !important;margin:1px !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset .header-dark{width:57% !important}}#crm-container .crm-public-footer{display:none !important}.w-16{width:16px !important}.h-16{height:16px !important}.min-h-16{min-height:16px}.max-h-16{max-height:16px}.min-w-16{min-width:16px}.max-w-16{max-width:16px}.w-25{width:25px !important}.h-25{height:25px !important}.min-h-25{min-height:25px}.max-h-25{max-height:25px}.min-w-25{min-width:25px}.max-w-25{max-width:25px}.w-50{width:50px !important}.h-50{height:50px !important}.min-h-50{min-height:50px}.max-h-50{max-height:50px}.min-w-50{min-width:50px}.max-w-50{max-width:50px}.w-60{width:60px !important}.h-60{height:60px !important}.min-h-60{min-height:60px}.max-h-60{max-height:60px}.min-w-60{min-width:60px}.max-w-60{max-width:60px}.w-75{width:75px !important}.h-75{height:75px !important}.min-h-75{min-height:75px}.max-h-75{max-height:75px}.min-w-75{min-width:75px}.max-w-75{max-width:75px}.w-95{width:95px !important}.h-95{height:95px !important}.min-h-95{min-height:95px}.max-h-95{max-height:95px}.min-w-95{min-width:95px}.max-w-95{max-width:95px}.w-100{width:100px !important}.h-100{height:100px !important}.min-h-100{min-height:100px}.max-h-100{max-height:100px}.min-w-100{min-width:100px}.max-w-100{max-width:100px}.w-140{width:140px !important}.h-140{height:140px !important}.min-h-140{min-height:140px}.max-h-140{max-height:140px}.min-w-140{min-width:140px}.max-w-140{max-width:140px}.w-150{width:150px !important}.h-150{height:150px !important}.min-h-150{min-height:150px}.max-h-150{max-height:150px}.min-w-150{min-width:150px}.max-w-150{max-width:150px}.w-200{width:200px !important}.h-200{height:200px !important}.min-h-200{min-height:200px}.max-h-200{max-height:200px}.min-w-200{min-width:200px}.max-w-200{max-width:200px}.w-520{width:520px !important}.h-520{height:520px !important}.min-h-520{min-height:520px}.max-h-520{max-height:520px}.min-w-520{min-width:520px}.max-w-520{max-width:520px}.w-550{width:550px !important}.h-550{height:550px !important}.min-h-550{min-height:550px}.max-h-550{max-height:550px}.min-w-550{min-width:550px}.max-w-550{max-width:550px}.w-25p{width:25% !important}.h-25p{height:25% !important}.min-h-25p{min-height:25%}.max-h-25p{max-height:25%}.min-w-25p{min-width:25%}.max-w-25p{max-width:25%}.w-50p{width:50% !important}.h-50p{height:50% !important}.min-h-50p{min-height:50%}.max-h-50p{max-height:50%}.min-w-50p{min-width:50%}.max-w-50p{max-width:50%}.w-75p{width:75% !important}.h-75p{height:75% !important}.min-h-75p{min-height:75%}.max-h-75p{max-height:75%}.min-w-75p{min-width:75%}.max-w-75p{max-width:75%}.w-100p{width:100% !important}.h-100p{height:100% !important}.min-h-100p{min-height:100%}.max-h-100p{max-height:100%}.min-w-100p{min-width:100%}.max-w-100p{max-width:100%}.fz-14{font-size:14px !important}.fz-16{font-size:16px !important}.fz-20{font-size:20px !important}.fw-400{font-weight:400 !important}.fw-600{font-weight:600 !important}.mr-0{margin-right:0px !important}.ml-0{margin-left:0px !important}.mt-0{margin-top:0px !important}.mb-0{margin-bottom:0px !important}.pr-0{padding-right:0px !important}.pl-0{padding-left:0px !important}.pt-0{padding-top:0px !important}.pb-0{padding-bottom:0px !important}.mr-2{margin-right:2px !important}.ml-2{margin-left:2px !important}.mt-2{margin-top:2px !important}.mb-2{margin-bottom:2px !important}.pr-2{padding-right:2px !important}.pl-2{padding-left:2px !important}.pt-2{padding-top:2px !important}.pb-2{padding-bottom:2px !important}.mr-6{margin-right:6px !important}.ml-6{margin-left:6px !important}.mt-6{margin-top:6px !important}.mb-6{margin-bottom:6px !important}.pr-6{padding-right:6px !important}.pl-6{padding-left:6px !important}.pt-6{padding-top:6px !important}.pb-6{padding-bottom:6px !important}.mr-11{margin-right:11px !important}.ml-11{margin-left:11px !important}.mt-11{margin-top:11px !important}.mb-11{margin-bottom:11px !important}.pr-11{padding-right:11px !important}.pl-11{padding-left:11px !important}.pt-11{padding-top:11px !important}.pb-11{padding-bottom:11px !important}.mr-12{margin-right:12px !important}.ml-12{margin-left:12px !important}.mt-12{margin-top:12px !important}.mb-12{margin-bottom:12px !important}.pr-12{padding-right:12px !important}.pl-12{padding-left:12px !important}.pt-12{padding-top:12px !important}.pb-12{padding-bottom:12px !important}.mr-15{margin-right:15px !important}.ml-15{margin-left:15px !important}.mt-15{margin-top:15px !important}.mb-15{margin-bottom:15px !important}.pr-15{padding-right:15px !important}.pl-15{padding-left:15px !important}.pt-15{padding-top:15px !important}.pb-15{padding-bottom:15px !important}.mr-24{margin-right:24px !important}.ml-24{margin-left:24px !important}.mt-24{margin-top:24px !important}.mb-24{margin-bottom:24px !important}.pr-24{padding-right:24px !important}.pl-24{padding-left:24px !important}.pt-24{padding-top:24px !important}.pb-24{padding-bottom:24px !important}.mr-25{margin-right:25px !important}.ml-25{margin-left:25px !important}.mt-25{margin-top:25px !important}.mb-25{margin-bottom:25px !important}.pr-25{padding-right:25px !important}.pl-25{padding-left:25px !important}.pt-25{padding-top:25px !important}.pb-25{padding-bottom:25px !important}.mr-27{margin-right:27px !important}.ml-27{margin-left:27px !important}.mt-27{margin-top:27px !important}.mb-27{margin-bottom:27px !important}.pr-27{padding-right:27px !important}.pl-27{padding-left:27px !important}.pt-27{padding-top:27px !important}.pb-27{padding-bottom:27px !important}.mr-30{margin-right:30px !important}.ml-30{margin-left:30px !important}.mt-30{margin-top:30px !important}.mb-30{margin-bottom:30px !important}.pr-30{padding-right:30px !important}.pl-30{padding-left:30px !important}.pt-30{padding-top:30px !important}.pb-30{padding-bottom:30px !important}.mr-36{margin-right:36px !important}.ml-36{margin-left:36px !important}.mt-36{margin-top:36px !important}.mb-36{margin-bottom:36px !important}.pr-36{padding-right:36px !important}.pl-36{padding-left:36px !important}.pt-36{padding-top:36px !important}.pb-36{padding-bottom:36px !important}a{color:#d64631;cursor:pointer}body p{font-family:Open Sans;font-size:12px;font-weight:400;line-height:16px;letter-spacing:-0.02em}.has-login-form{display:flex;justify-content:center;padding:15px}.has-login-form form{width:-webkit-fill-available}.has-login-form form p{display:grid}.login-remember{display:flex !important;align-items:center}.login-remember label{display:flex !important;align-items:center}form input{height:29px !important;border:1px solid rgba(0,0,0,.3) !important;border-radius:4px !important;flex:1;padding:8px 12px;border-radius:4px;font-size:16px}.error{color:red !important;font-size:12px;margin-bottom:10px}.button-primary{background:#d64631 !important;color:#fff;border:none !important;height:45px !important;cursor:pointer}.button-primary:active{background:#80271a !important}.wp-form-block-group{padding-left:24px;padding-right:24px;font-family:Open Sans}.form-heading{font-size:16px;font-weight:600;line-height:21.79px;padding-top:24px}.form-description{font-size:16px;font-weight:400;line-height:21.79px;margin-top:5px}.select2-drop.select2-drop-active.crm-container{border-color:rgba(0,0,0,.3) !important}.crm-container{padding:24px;background-color:#fff !important}.crm-container .crm-profile{border:none;padding:10px 0;margin:30px 0;display:flex;flex-wrap:wrap}.crm-container .form-item{margin-bottom:15px;flex:1;display:flex;flex-direction:column}.crm-container .form-item label{font-size:14px}.crm-container .form-item label span.crm-marker{color:red}.crm-container .content{display:flex}.crm-container input{flex:1;padding:8px 12px;border-radius:4px;font-size:16px;box-shadow:none !important}.crm-container .select2-container .select2-choice{box-shadow:none !important;-webkit-box-shadow:none !important}.crm-container .select2-search-choice-close{top:9px !important}.crm-container .select2-search-choice-close::before{color:#000 !important}.crm-container .form-control{min-height:45px;border:1px solid rgba(0,0,0,.3) !important;border-radius:4px !important;box-shadow:none !important}.crm-container .select2-container-multi>.select2-choices{min-height:43px !important;box-shadow:none !important;padding-bottom:10px}.crm-container .crm-af-field>.form-group{margin-bottom:0px !important}.crm-container .select2-chosen,.crm-container .select2-arrow{padding-top:7px !important;color:#000 !important}.crm-container .select2-choices,.crm-container ::before{padding-top:8px !important}.crm-container .af-field-type-hidden{display:none !important}.crm-container .btn-primary{background:#d64631 !important;width:100%;height:45px !important;margin-top:45px !important}.crm-container .btn-primary:active{background:#80271a !important}.crm-container .crm-af-field-label{color:#000 !important;font-family:Open Sans;font-size:12px;font-weight:400 !important;line-height:16.34px;letter-spacing:-0.02em;text-align:left}.crm-container .select2-drop-active,.crm-container .select2-search>input{border-color:rgba(195,184,184,.3) !important;padding:10px}.crm-container .select2-container-multi .select2-choices{min-height:45px}.crm-container .select2-search-choice{padding:8px 25px 8px 8px !important;border:1px solid rgba(0,0,0,.3) !important}.crm-container .select2-default>.select2-chosen{color:#a59f9f !important}.crm-container .af-field-type-hidden{display:none}.crm-container .select2-container .select2-choice{min-height:45px !important}.crm-container fieldset .af-layout-cols{display:block !important;flex-wrap:nowrap !important}.crm-container .crm-af-field,.crm-container af-field{margin-bottom:10px !important}.crm-container .af-field-type-email,.crm-container .af-field-type-text{width:100% !important}.d-grid{display:grid}.wp-form-block-group .wp-block-group.w-lg-520.has-global-padding.is-layout-constrained{margin-left:0 !important}.font-sans{font-family:"Open Sans",sans-serif !important}.mobile-margins-l24-r30{margin-left:24px !important;margin-right:30px !important;margin-bottom:30px !important}.mobile-margin-left-30{margin-left:30px !important}.border-none{border:none !important}.text-decoration-none{text-decoration:none !important}.text-white{color:#fff !important}.text-light-red{color:#d64631 !important}.bg-white{background-color:#fff !important}.red-border{border:1px solid #d64631 !important}.br-4{border-radius:4px}.m-auto{margin:auto !important}.contact-info{font-size:16px;margin-bottom:24px}.contact-item{display:flex;align-items:center;margin-bottom:16px}.contact-item .icon{margin-right:10px;width:20px;height:16px}.contact-link{text-decoration-thickness:1px;text-underline-offset:4px;text-decoration:underline;color:#d64631}#bootstrap-theme .btn-primary{border-radius:4px !important}.required-indicator{color:#d64631 !important}.errorMessage{color:#d64631;margin-top:2px;font-size:.875rem;font-family:"Open Sans",sans-serif}.input-error{border-color:#d64631 !important}#bootstrap-theme input[type=radio],#bootstrap-theme input[type=checkbox]{margin-top:0 !important}.crm-af-field.ng-scope .ng-binding.ng-scope{margin-right:30px !important}.af-container .af-container .af-text{margin-left:10px !important}[af-fieldset=Individual1] .af-title,[af-fieldset=Individual2] .af-title,[af-fieldset=Individual3] .af-title,[af-fieldset=Individual4] .af-title,[af-fieldset=Individual5] .af-title{font-weight:400;font-size:16px !important;margin-left:10px;text-transform:uppercase;padding-top:20px !important;color:#000 !important}.align-items-center{align-items:center}.d-flex{display:flex}.justify-content-center{justify-content:center}.volunteer-button-container{display:flex;justify-content:center;align-items:center}.wp-block-gb-slots-wrapper .wp-block-gb-slots-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:20px;font-family:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-slot-box{border:1px solid #ccc;padding:10px;text-align:center;font-family:inherit;font-size:inherit;line-height:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-slot-day{font-size:1.2em;font-weight:bold;font-family:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-slot-date,.wp-block-gb-slots-wrapper .wp-block-gb-slot-time{margin:5px 0;font-family:inherit;font-size:inherit;line-height:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-action-button{display:inline-block;padding:8px 16px;background-color:#cf2e2e;color:#fff;text-decoration:none;border-radius:5px;cursor:pointer;transition:background-color .3s ease;font-family:inherit;font-size:inherit;line-height:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-action-button:hover{background-color:#a52727}.wp-block-gb-slots-wrapper .wp-block-gb-action-button.disabled{background-color:#ccc;color:#666;cursor:not-allowed}.wp-block-gb-slots-wrapper .wp-block-gb-action-button.disabled:hover{background-color:#ccc}@media(max-width: 768px){.wp-block-gb-slots-wrapper .wp-block-gb-slots-grid{grid-template-columns:1fr}}.volunteer-button-link{border-style:none;border-width:0px;border-radius:5px}.font-family{font-family:"Open Sans",sans-serif}.border-radius{border-radius:4px}.header-text{line-height:24px !important}.subheader-text{line-height:22px !important}.wp-block-gb-goonj-blocks{flex-wrap:nowrap !important}.wp-block-gb-action-button{padding:16px 11px !important;font-size:15px !important}@media(min-width: 375px)and (max-width: 768px){.wp-block-gb-goonj-blocks{width:90% !important;gap:5px !important;justify-content:center !important;flex-wrap:wrap !important}.container{max-width:86%}.wp-block-gb-goonj-blocks .wp-block-gb-action-button{padding:16px 12px !important;display:block;width:100%;text-align:center;margin-bottom:10px}.wp-block-gb-table{max-width:75%}}@media(min-width: 768px){.w-md-16{width:16px !important}.h-md-16{height:16px !important}.min-h-md-16{min-height:16px}.max-h-md-16{max-height:16px}.min-w-md-16{min-width:16px}.max-w-md-16{max-width:16px}.w-md-25{width:25px !important}.h-md-25{height:25px !important}.min-h-md-25{min-height:25px}.max-h-md-25{max-height:25px}.min-w-md-25{min-width:25px}.max-w-md-25{max-width:25px}.w-md-50{width:50px !important}.h-md-50{height:50px !important}.min-h-md-50{min-height:50px}.max-h-md-50{max-height:50px}.min-w-md-50{min-width:50px}.max-w-md-50{max-width:50px}.w-md-60{width:60px !important}.h-md-60{height:60px !important}.min-h-md-60{min-height:60px}.max-h-md-60{max-height:60px}.min-w-md-60{min-width:60px}.max-w-md-60{max-width:60px}.w-md-75{width:75px !important}.h-md-75{height:75px !important}.min-h-md-75{min-height:75px}.max-h-md-75{max-height:75px}.min-w-md-75{min-width:75px}.max-w-md-75{max-width:75px}.w-md-95{width:95px !important}.h-md-95{height:95px !important}.min-h-md-95{min-height:95px}.max-h-md-95{max-height:95px}.min-w-md-95{min-width:95px}.max-w-md-95{max-width:95px}.w-md-100{width:100px !important}.h-md-100{height:100px !important}.min-h-md-100{min-height:100px}.max-h-md-100{max-height:100px}.min-w-md-100{min-width:100px}.max-w-md-100{max-width:100px}.w-md-140{width:140px !important}.h-md-140{height:140px !important}.min-h-md-140{min-height:140px}.max-h-md-140{max-height:140px}.min-w-md-140{min-width:140px}.max-w-md-140{max-width:140px}.w-md-150{width:150px !important}.h-md-150{height:150px !important}.min-h-md-150{min-height:150px}.max-h-md-150{max-height:150px}.min-w-md-150{min-width:150px}.max-w-md-150{max-width:150px}.w-md-200{width:200px !important}.h-md-200{height:200px !important}.min-h-md-200{min-height:200px}.max-h-md-200{max-height:200px}.min-w-md-200{min-width:200px}.max-w-md-200{max-width:200px}.w-md-520{width:520px !important}.h-md-520{height:520px !important}.min-h-md-520{min-height:520px}.max-h-md-520{max-height:520px}.min-w-md-520{min-width:520px}.max-w-md-520{max-width:520px}.w-md-550{width:550px !important}.h-md-550{height:550px !important}.min-h-md-550{min-height:550px}.max-h-md-550{max-height:550px}.min-w-md-550{min-width:550px}.max-w-md-550{max-width:550px}.w-md-25p{width:25% !important}.h-md-25p{height:25% !important}.min-h-md-25p{min-height:25%}.max-h-md-25p{max-height:25%}.min-w-md-25p{min-width:25%}.max-w-md-25p{max-width:25%}.w-md-50p{width:50% !important}.h-md-50p{height:50% !important}.min-h-md-50p{min-height:50%}.max-h-md-50p{max-height:50%}.min-w-md-50p{min-width:50%}.max-w-md-50p{max-width:50%}.w-md-75p{width:75% !important}.h-md-75p{height:75% !important}.min-h-md-75p{min-height:75%}.max-h-md-75p{max-height:75%}.min-w-md-75p{min-width:75%}.max-w-md-75p{max-width:75%}.w-md-100p{width:100% !important}.h-md-100p{height:100% !important}.min-h-md-100p{min-height:100%}.max-h-md-100p{max-height:100%}.min-w-md-100p{min-width:100%}.max-w-md-100p{max-width:100%}.ml-md-0{margin-left:0px !important}.mr-md-0{margin-right:0px !important}.ml-md-2{margin-left:2px !important}.mr-md-2{margin-right:2px !important}.ml-md-6{margin-left:6px !important}.mr-md-6{margin-right:6px !important}.ml-md-11{margin-left:11px !important}.mr-md-11{margin-right:11px !important}.ml-md-12{margin-left:12px !important}.mr-md-12{margin-right:12px !important}.ml-md-15{margin-left:15px !important}.mr-md-15{margin-right:15px !important}.ml-md-24{margin-left:24px !important}.mr-md-24{margin-right:24px !important}.ml-md-25{margin-left:25px !important}.mr-md-25{margin-right:25px !important}.ml-md-27{margin-left:27px !important}.mr-md-27{margin-right:27px !important}.ml-md-30{margin-left:30px !important}.mr-md-30{margin-right:30px !important}.ml-md-36{margin-left:36px !important}.mr-md-36{margin-right:36px !important}.crm-container{padding:24px}.crm-container .form-item{margin-right:15px}}@media(min-width: 1024px){.w-lg-16{width:16px !important}.h-lg-16{height:16px !important}.min-h-lg-16{min-height:16px}.max-h-lg-16{max-height:16px}.min-w-lg-16{min-width:16px}.max-w-lg-16{max-width:16px}.w-lg-25{width:25px !important}.h-lg-25{height:25px !important}.min-h-lg-25{min-height:25px}.max-h-lg-25{max-height:25px}.min-w-lg-25{min-width:25px}.max-w-lg-25{max-width:25px}.w-lg-50{width:50px !important}.h-lg-50{height:50px !important}.min-h-lg-50{min-height:50px}.max-h-lg-50{max-height:50px}.min-w-lg-50{min-width:50px}.max-w-lg-50{max-width:50px}.w-lg-60{width:60px !important}.h-lg-60{height:60px !important}.min-h-lg-60{min-height:60px}.max-h-lg-60{max-height:60px}.min-w-lg-60{min-width:60px}.max-w-lg-60{max-width:60px}.w-lg-75{width:75px !important}.h-lg-75{height:75px !important}.min-h-lg-75{min-height:75px}.max-h-lg-75{max-height:75px}.min-w-lg-75{min-width:75px}.max-w-lg-75{max-width:75px}.w-lg-95{width:95px !important}.h-lg-95{height:95px !important}.min-h-lg-95{min-height:95px}.max-h-lg-95{max-height:95px}.min-w-lg-95{min-width:95px}.max-w-lg-95{max-width:95px}.w-lg-100{width:100px !important}.h-lg-100{height:100px !important}.min-h-lg-100{min-height:100px}.max-h-lg-100{max-height:100px}.min-w-lg-100{min-width:100px}.max-w-lg-100{max-width:100px}.w-lg-140{width:140px !important}.h-lg-140{height:140px !important}.min-h-lg-140{min-height:140px}.max-h-lg-140{max-height:140px}.min-w-lg-140{min-width:140px}.max-w-lg-140{max-width:140px}.w-lg-150{width:150px !important}.h-lg-150{height:150px !important}.min-h-lg-150{min-height:150px}.max-h-lg-150{max-height:150px}.min-w-lg-150{min-width:150px}.max-w-lg-150{max-width:150px}.w-lg-200{width:200px !important}.h-lg-200{height:200px !important}.min-h-lg-200{min-height:200px}.max-h-lg-200{max-height:200px}.min-w-lg-200{min-width:200px}.max-w-lg-200{max-width:200px}.w-lg-520{width:520px !important}.h-lg-520{height:520px !important}.min-h-lg-520{min-height:520px}.max-h-lg-520{max-height:520px}.min-w-lg-520{min-width:520px}.max-w-lg-520{max-width:520px}.w-lg-550{width:550px !important}.h-lg-550{height:550px !important}.min-h-lg-550{min-height:550px}.max-h-lg-550{max-height:550px}.min-w-lg-550{min-width:550px}.max-w-lg-550{max-width:550px}.w-lg-25p{width:25% !important}.h-lg-25p{height:25% !important}.min-h-lg-25p{min-height:25%}.max-h-lg-25p{max-height:25%}.min-w-lg-25p{min-width:25%}.max-w-lg-25p{max-width:25%}.w-lg-50p{width:50% !important}.h-lg-50p{height:50% !important}.min-h-lg-50p{min-height:50%}.max-h-lg-50p{max-height:50%}.min-w-lg-50p{min-width:50%}.max-w-lg-50p{max-width:50%}.w-lg-75p{width:75% !important}.h-lg-75p{height:75% !important}.min-h-lg-75p{min-height:75%}.max-h-lg-75p{max-height:75%}.min-w-lg-75p{min-width:75%}.max-w-lg-75p{max-width:75%}.w-lg-100p{width:100% !important}.h-lg-100p{height:100% !important}.min-h-lg-100p{min-height:100%}.max-h-lg-100p{max-height:100%}.min-w-lg-100p{min-width:100%}.max-w-lg-100p{max-width:100%}body p{font-size:16px;line-height:21.79px;letter-spacing:-0.02em}.wp-block-loginout{width:520px;margin-left:auto;margin-right:auto}.error{font-size:14px}.wp-block-post-template-is-layout-flow{max-width:750px !important}.form-heading,.form-description{margin:0px !important;max-width:100% !important}.wp-block-group-is-layout-constrained{margin-right:0px !important;margin-left:0px !important;max-width:100% !important}.crm-container{width:720px !important;padding:15px}.crm-container af-form{margin-left:auto;margin-right:auto}.crm-container .select2-container .select2-choice abbr{top:10px !important}.crm-container .crm-af-field-label{font-size:16px;font-weight:400 !important;line-height:21px}.crm-container .error{font-size:14px}.crm-container .af-container:not(:has(.af-container)){display:flex !important;flex-wrap:wrap !important}.crm-container .af-container af-field{flex:1 1 33% !important;box-sizing:border-box !important;padding:10px !important}.crm-container .af-field-type-email>.crm-af-field,.crm-container div[af-join]>af-field{padding-bottom:0px !important}.crm-container .af-field-type-email>.crm-af-field>.crm-af-field,.crm-container div[af-join]>af-field>.crm-af-field{padding-right:10px !important;padding-left:10px !important}.crm-container .af-container.af-layout-inline>*{margin-right:0px !important}.crm-container .crm-af-field,.crm-container af-field{margin-bottom:0px !important}.crm-container .btn-primary{margin-left:10px !important;margin-right:10px !important}.crm-container fieldset .af-layout-cols{display:flex !important;flex-wrap:wrap !important}}@media(min-width: 1200px){.w-xl-16{width:16px !important}.h-xl-16{height:16px !important}.min-h-xl-16{min-height:16px}.max-h-xl-16{max-height:16px}.min-w-xl-16{min-width:16px}.max-w-xl-16{max-width:16px}.w-xl-25{width:25px !important}.h-xl-25{height:25px !important}.min-h-xl-25{min-height:25px}.max-h-xl-25{max-height:25px}.min-w-xl-25{min-width:25px}.max-w-xl-25{max-width:25px}.w-xl-50{width:50px !important}.h-xl-50{height:50px !important}.min-h-xl-50{min-height:50px}.max-h-xl-50{max-height:50px}.min-w-xl-50{min-width:50px}.max-w-xl-50{max-width:50px}.w-xl-60{width:60px !important}.h-xl-60{height:60px !important}.min-h-xl-60{min-height:60px}.max-h-xl-60{max-height:60px}.min-w-xl-60{min-width:60px}.max-w-xl-60{max-width:60px}.w-xl-75{width:75px !important}.h-xl-75{height:75px !important}.min-h-xl-75{min-height:75px}.max-h-xl-75{max-height:75px}.min-w-xl-75{min-width:75px}.max-w-xl-75{max-width:75px}.w-xl-95{width:95px !important}.h-xl-95{height:95px !important}.min-h-xl-95{min-height:95px}.max-h-xl-95{max-height:95px}.min-w-xl-95{min-width:95px}.max-w-xl-95{max-width:95px}.w-xl-100{width:100px !important}.h-xl-100{height:100px !important}.min-h-xl-100{min-height:100px}.max-h-xl-100{max-height:100px}.min-w-xl-100{min-width:100px}.max-w-xl-100{max-width:100px}.w-xl-140{width:140px !important}.h-xl-140{height:140px !important}.min-h-xl-140{min-height:140px}.max-h-xl-140{max-height:140px}.min-w-xl-140{min-width:140px}.max-w-xl-140{max-width:140px}.w-xl-150{width:150px !important}.h-xl-150{height:150px !important}.min-h-xl-150{min-height:150px}.max-h-xl-150{max-height:150px}.min-w-xl-150{min-width:150px}.max-w-xl-150{max-width:150px}.w-xl-200{width:200px !important}.h-xl-200{height:200px !important}.min-h-xl-200{min-height:200px}.max-h-xl-200{max-height:200px}.min-w-xl-200{min-width:200px}.max-w-xl-200{max-width:200px}.w-xl-520{width:520px !important}.h-xl-520{height:520px !important}.min-h-xl-520{min-height:520px}.max-h-xl-520{max-height:520px}.min-w-xl-520{min-width:520px}.max-w-xl-520{max-width:520px}.w-xl-550{width:550px !important}.h-xl-550{height:550px !important}.min-h-xl-550{min-height:550px}.max-h-xl-550{max-height:550px}.min-w-xl-550{min-width:550px}.max-w-xl-550{max-width:550px}.w-xl-25p{width:25% !important}.h-xl-25p{height:25% !important}.min-h-xl-25p{min-height:25%}.max-h-xl-25p{max-height:25%}.min-w-xl-25p{min-width:25%}.max-w-xl-25p{max-width:25%}.w-xl-50p{width:50% !important}.h-xl-50p{height:50% !important}.min-h-xl-50p{min-height:50%}.max-h-xl-50p{max-height:50%}.min-w-xl-50p{min-width:50%}.max-w-xl-50p{max-width:50%}.w-xl-75p{width:75% !important}.h-xl-75p{height:75% !important}.min-h-xl-75p{min-height:75%}.max-h-xl-75p{max-height:75%}.min-w-xl-75p{min-width:75%}.max-w-xl-75p{max-width:75%}.w-xl-100p{width:100% !important}.h-xl-100p{height:100% !important}.min-h-xl-100p{min-height:100%}.max-h-xl-100p{max-height:100%}.min-w-xl-100p{min-width:100%}.max-w-xl-100p{max-width:100%}}
*/#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset legend{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item{display:grid !important;border-top:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content{margin-left:0 !important;gap:30px;align-items:center}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content input,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content input{border:1px solid rgba(0,0,0,.3) !important;border-radius:4px !important;padding:7px !important;background-image:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .label,#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .label,#crm-main-content-wrapper form .crm-contribution-main-form-block fieldset legend{text-align:justify !important;width:50% !important;font-family:"Open Sans",sans-serif !important;line-height:16px !important;padding-left:0 !important}#crm-main-content-wrapper form .crm-contribution-main-form-block fieldset .payment_processor-section .label label{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile{display:block !important;margin-top:0 !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div{width:100% !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content div a{background-image:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content div a span{border-left:none !important;background-image:none !important;background:#fff !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content div a span b{top:9px !important;left:0px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content label{font-family:"Open Sans",sans-serif !important;line-height:16px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .content .crm-form-radio{max-width:22px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #crm-submit-buttons button{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:14px;line-height:16px}#crm-main-content-wrapper form .crm-contribution-main-form-block #crm-submit-buttons button{height:45px;width:100%;background-color:#d64631 !important;border:none;border-radius:4px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #crm-submit-buttons button i{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #billing-payment-block{display:none !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset div .content div a .select2-chosen{padding-top:10px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset div .content div a abbr{top:22px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item fieldset>div:nth-last-child(-n+2){display:none}@media(min-width: 375px)and (max-width: 768px){#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div .label{text-align:justify !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div .content{margin-left:0 !important}#crm-main-content-wrapper form .crm-contribution-main-form-block .crm-public-form-item .crm-profile div{width:85vw !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content input{margin-right:20px !important}#crm-main-content-wrapper form .crm-contribution-main-form-block #priceset-div .crm-section .crm-section .content div span label{float:inline-start !important}}.select2-drop ul li div{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:14px;line-height:16px}#crm-container .crm-title{display:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset legend{display:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset .header-dark{width:100% !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group.billing_name_address-group{display:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div .content{margin-left:0 !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block #thankyou_text p{place-self:center !important;margin-bottom:50px}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .help .bold p,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .header-dark,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .display-block,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div,#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .crm-section div{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:14px;line-height:16px;margin-left:0 !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .help div{font-weight:400;font-family:"Open Sans",sans-serif !important;font-size:12px;line-height:16px}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div{margin:12px !important;padding:11px 3px 10px 0px !important;margin-left:0px !important;width:100% !important;margin-bottom:-18px !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div .label label{font-weight:600 !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block .crm-group .header-dark{padding-left:6px !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset{border-top:none !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset>div:nth-last-child(-n+2){display:none !important}@media(min-width: 375px)and (max-width: 768px){#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset div{padding:5px 113px 0px 0px !important;flex:none !important;margin:1px !important}#crm-main-content-wrapper form .crm-contribution-thankyou-form-block fieldset fieldset .header-dark{width:57% !important}}#crm-container .crm-public-footer{display:none !important}.w-16{width:16px !important}.h-16{height:16px !important}.min-h-16{min-height:16px}.max-h-16{max-height:16px}.min-w-16{min-width:16px}.max-w-16{max-width:16px}.w-25{width:25px !important}.h-25{height:25px !important}.min-h-25{min-height:25px}.max-h-25{max-height:25px}.min-w-25{min-width:25px}.max-w-25{max-width:25px}.w-50{width:50px !important}.h-50{height:50px !important}.min-h-50{min-height:50px}.max-h-50{max-height:50px}.min-w-50{min-width:50px}.max-w-50{max-width:50px}.w-60{width:60px !important}.h-60{height:60px !important}.min-h-60{min-height:60px}.max-h-60{max-height:60px}.min-w-60{min-width:60px}.max-w-60{max-width:60px}.w-75{width:75px !important}.h-75{height:75px !important}.min-h-75{min-height:75px}.max-h-75{max-height:75px}.min-w-75{min-width:75px}.max-w-75{max-width:75px}.w-95{width:95px !important}.h-95{height:95px !important}.min-h-95{min-height:95px}.max-h-95{max-height:95px}.min-w-95{min-width:95px}.max-w-95{max-width:95px}.w-100{width:100px !important}.h-100{height:100px !important}.min-h-100{min-height:100px}.max-h-100{max-height:100px}.min-w-100{min-width:100px}.max-w-100{max-width:100px}.w-140{width:140px !important}.h-140{height:140px !important}.min-h-140{min-height:140px}.max-h-140{max-height:140px}.min-w-140{min-width:140px}.max-w-140{max-width:140px}.w-150{width:150px !important}.h-150{height:150px !important}.min-h-150{min-height:150px}.max-h-150{max-height:150px}.min-w-150{min-width:150px}.max-w-150{max-width:150px}.w-200{width:200px !important}.h-200{height:200px !important}.min-h-200{min-height:200px}.max-h-200{max-height:200px}.min-w-200{min-width:200px}.max-w-200{max-width:200px}.w-520{width:520px !important}.h-520{height:520px !important}.min-h-520{min-height:520px}.max-h-520{max-height:520px}.min-w-520{min-width:520px}.max-w-520{max-width:520px}.w-550{width:550px !important}.h-550{height:550px !important}.min-h-550{min-height:550px}.max-h-550{max-height:550px}.min-w-550{min-width:550px}.max-w-550{max-width:550px}.w-25p{width:25% !important}.h-25p{height:25% !important}.min-h-25p{min-height:25%}.max-h-25p{max-height:25%}.min-w-25p{min-width:25%}.max-w-25p{max-width:25%}.w-50p{width:50% !important}.h-50p{height:50% !important}.min-h-50p{min-height:50%}.max-h-50p{max-height:50%}.min-w-50p{min-width:50%}.max-w-50p{max-width:50%}.w-75p{width:75% !important}.h-75p{height:75% !important}.min-h-75p{min-height:75%}.max-h-75p{max-height:75%}.min-w-75p{min-width:75%}.max-w-75p{max-width:75%}.w-100p{width:100% !important}.h-100p{height:100% !important}.min-h-100p{min-height:100%}.max-h-100p{max-height:100%}.min-w-100p{min-width:100%}.max-w-100p{max-width:100%}.fz-14{font-size:14px !important}.fz-16{font-size:16px !important}.fz-20{font-size:20px !important}.fw-400{font-weight:400 !important}.fw-600{font-weight:600 !important}.mr-0{margin-right:0px !important}.ml-0{margin-left:0px !important}.mt-0{margin-top:0px !important}.mb-0{margin-bottom:0px !important}.pr-0{padding-right:0px !important}.pl-0{padding-left:0px !important}.pt-0{padding-top:0px !important}.pb-0{padding-bottom:0px !important}.mr-2{margin-right:2px !important}.ml-2{margin-left:2px !important}.mt-2{margin-top:2px !important}.mb-2{margin-bottom:2px !important}.pr-2{padding-right:2px !important}.pl-2{padding-left:2px !important}.pt-2{padding-top:2px !important}.pb-2{padding-bottom:2px !important}.mr-6{margin-right:6px !important}.ml-6{margin-left:6px !important}.mt-6{margin-top:6px !important}.mb-6{margin-bottom:6px !important}.pr-6{padding-right:6px !important}.pl-6{padding-left:6px !important}.pt-6{padding-top:6px !important}.pb-6{padding-bottom:6px !important}.mr-11{margin-right:11px !important}.ml-11{margin-left:11px !important}.mt-11{margin-top:11px !important}.mb-11{margin-bottom:11px !important}.pr-11{padding-right:11px !important}.pl-11{padding-left:11px !important}.pt-11{padding-top:11px !important}.pb-11{padding-bottom:11px !important}.mr-12{margin-right:12px !important}.ml-12{margin-left:12px !important}.mt-12{margin-top:12px !important}.mb-12{margin-bottom:12px !important}.pr-12{padding-right:12px !important}.pl-12{padding-left:12px !important}.pt-12{padding-top:12px !important}.pb-12{padding-bottom:12px !important}.mr-15{margin-right:15px !important}.ml-15{margin-left:15px !important}.mt-15{margin-top:15px !important}.mb-15{margin-bottom:15px !important}.pr-15{padding-right:15px !important}.pl-15{padding-left:15px !important}.pt-15{padding-top:15px !important}.pb-15{padding-bottom:15px !important}.mr-24{margin-right:24px !important}.ml-24{margin-left:24px !important}.mt-24{margin-top:24px !important}.mb-24{margin-bottom:24px !important}.pr-24{padding-right:24px !important}.pl-24{padding-left:24px !important}.pt-24{padding-top:24px !important}.pb-24{padding-bottom:24px !important}.mr-25{margin-right:25px !important}.ml-25{margin-left:25px !important}.mt-25{margin-top:25px !important}.mb-25{margin-bottom:25px !important}.pr-25{padding-right:25px !important}.pl-25{padding-left:25px !important}.pt-25{padding-top:25px !important}.pb-25{padding-bottom:25px !important}.mr-27{margin-right:27px !important}.ml-27{margin-left:27px !important}.mt-27{margin-top:27px !important}.mb-27{margin-bottom:27px !important}.pr-27{padding-right:27px !important}.pl-27{padding-left:27px !important}.pt-27{padding-top:27px !important}.pb-27{padding-bottom:27px !important}.mr-30{margin-right:30px !important}.ml-30{margin-left:30px !important}.mt-30{margin-top:30px !important}.mb-30{margin-bottom:30px !important}.pr-30{padding-right:30px !important}.pl-30{padding-left:30px !important}.pt-30{padding-top:30px !important}.pb-30{padding-bottom:30px !important}.mr-36{margin-right:36px !important}.ml-36{margin-left:36px !important}.mt-36{margin-top:36px !important}.mb-36{margin-bottom:36px !important}.pr-36{padding-right:36px !important}.pl-36{padding-left:36px !important}.pt-36{padding-top:36px !important}.pb-36{padding-bottom:36px !important}a{color:#d64631;cursor:pointer}body p{font-family:Open Sans;font-size:12px;font-weight:400;line-height:16px;letter-spacing:-0.02em}.has-login-form{display:flex;justify-content:center;padding:15px}.has-login-form form{width:-webkit-fill-available}.has-login-form form p{display:grid}.login-remember{display:flex !important;align-items:center}.login-remember label{display:flex !important;align-items:center}form input{height:29px !important;border:1px solid rgba(0,0,0,.3) !important;border-radius:4px !important;flex:1;padding:8px 12px;border-radius:4px;font-size:16px}.error{color:red !important;font-size:12px;margin-bottom:10px}.button-primary{background:#d64631 !important;color:#fff;border:none !important;height:45px !important;cursor:pointer}.button-primary:active{background:#80271a !important}.wp-form-block-group{padding-left:24px;padding-right:24px;font-family:Open Sans}.form-heading{font-size:16px;font-weight:600;line-height:21.79px;padding-top:24px}.form-description{font-size:16px;font-weight:400;line-height:21.79px;margin-top:5px}.select2-drop.select2-drop-active.crm-container{border-color:rgba(0,0,0,.3) !important}.crm-container{padding:24px;background-color:#fff !important}.crm-container .crm-profile{border:none;padding:10px 0;margin:30px 0;display:flex;flex-wrap:wrap}.crm-container .form-item{margin-bottom:15px;flex:1;display:flex;flex-direction:column}.crm-container .form-item label{font-size:14px}.crm-container .form-item label span.crm-marker{color:red}.crm-container .content{display:flex}.crm-container input{flex:1;padding:8px 12px;border-radius:4px;font-size:16px;box-shadow:none !important}.crm-container .select2-container .select2-choice{box-shadow:none !important;-webkit-box-shadow:none !important}.crm-container .select2-search-choice-close{top:9px !important}.crm-container .select2-search-choice-close::before{color:#000 !important}.crm-container .form-control{min-height:45px;border:1px solid rgba(0,0,0,.3) !important;border-radius:4px !important;box-shadow:none !important}.crm-container .select2-container-multi>.select2-choices{min-height:43px !important;box-shadow:none !important;padding-bottom:10px}.crm-container .crm-af-field>.form-group{margin-bottom:0px !important}.crm-container .select2-chosen,.crm-container .select2-arrow{padding-top:7px !important;color:#000 !important}.crm-container .select2-choices,.crm-container ::before{padding-top:8px !important}.crm-container .af-field-type-hidden{display:none !important}.crm-container .btn-primary{background:#d64631 !important;width:100%;height:45px !important;margin-top:45px !important}.crm-container .btn-primary:active{background:#80271a !important}.crm-container .crm-af-field-label{color:#000 !important;font-family:Open Sans;font-size:12px;font-weight:400 !important;line-height:16.34px;letter-spacing:-0.02em;text-align:left}.crm-container .select2-drop-active,.crm-container .select2-search>input{border-color:rgba(195,184,184,.3) !important;padding:10px}.crm-container .select2-container-multi .select2-choices{min-height:45px}.crm-container .select2-search-choice{padding:8px 25px 8px 8px !important;border:1px solid rgba(0,0,0,.3) !important}.crm-container .select2-default>.select2-chosen{color:#a59f9f !important}.crm-container .af-field-type-hidden{display:none}.crm-container .select2-container .select2-choice{min-height:45px !important}.crm-container fieldset .af-layout-cols{display:block !important;flex-wrap:nowrap !important}.crm-container .crm-af-field,.crm-container af-field{margin-bottom:10px !important}.crm-container .af-field-type-email,.crm-container .af-field-type-text{width:100% !important}.d-grid{display:grid}.wp-form-block-group .wp-block-group.w-lg-520.has-global-padding.is-layout-constrained{margin-left:0 !important}.font-sans{font-family:"Open Sans",sans-serif !important}.mobile-margins-l24-r30{margin-left:24px !important;margin-right:30px !important;margin-bottom:30px !important}.mobile-margin-left-30{margin-left:30px !important}.border-none{border:none !important}.text-decoration-none{text-decoration:none !important}.text-white{color:#fff !important}.text-light-red{color:#d64631 !important}.bg-white{background-color:#fff !important}.red-border{border:1px solid #d64631 !important}.br-4{border-radius:4px}.m-auto{margin:auto !important}.contact-info{font-size:16px;margin-bottom:24px}.contact-item{display:flex;align-items:center;margin-bottom:16px}.contact-item .icon{margin-right:10px;width:20px;height:16px}.contact-link{text-decoration-thickness:1px;text-underline-offset:4px;text-decoration:underline;color:#d64631}#bootstrap-theme .btn-primary{border-radius:4px !important}.required-indicator{color:#d64631 !important}.errorMessage{color:#d64631;margin-top:2px;font-size:.875rem;font-family:"Open Sans",sans-serif}.input-error{border-color:#d64631 !important}#bootstrap-theme input[type=radio],#bootstrap-theme input[type=checkbox]{margin-top:0 !important}.crm-af-field.ng-scope .ng-binding.ng-scope{margin-right:30px !important}.af-container .af-container .af-text{margin-left:10px !important}[af-fieldset=Individual1] .af-title,[af-fieldset=Individual2] .af-title,[af-fieldset=Individual3] .af-title,[af-fieldset=Individual4] .af-title,[af-fieldset=Individual5] .af-title{font-weight:400;font-size:16px !important;margin-left:10px;text-transform:uppercase;padding-top:20px !important;color:#000 !important}.align-items-center{align-items:center}.d-flex{display:flex}.justify-content-center{justify-content:center}.volunteer-button-container{display:flex;justify-content:center;align-items:center}.wp-block-gb-slots-wrapper .wp-block-gb-slots-grid{display:grid;grid-template-columns:repeat(4, 1fr);gap:20px;font-family:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-slot-box{border:1px solid #ccc;padding:10px;text-align:center;font-family:inherit;font-size:inherit;line-height:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-slot-day{font-size:1.2em;font-weight:bold;font-family:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-slot-date,.wp-block-gb-slots-wrapper .wp-block-gb-slot-time{margin:5px 0;font-family:inherit;font-size:inherit;line-height:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-action-button{display:inline-block;padding:8px 16px;background-color:#cf2e2e;color:#fff;text-decoration:none;border-radius:5px;cursor:pointer;transition:background-color .3s ease;font-family:inherit;font-size:inherit;line-height:inherit}.wp-block-gb-slots-wrapper .wp-block-gb-action-button:hover{background-color:#a52727}.wp-block-gb-slots-wrapper .wp-block-gb-action-button.disabled{background-color:#ccc;color:#666;cursor:not-allowed}.wp-block-gb-slots-wrapper .wp-block-gb-action-button.disabled:hover{background-color:#ccc}@media(max-width: 768px){.wp-block-gb-slots-wrapper .wp-block-gb-slots-grid{grid-template-columns:1fr}}.volunteer-button-link{border-style:none;border-width:0px;border-radius:5px}.font-family{font-family:"Open Sans",sans-serif}.border-radius{border-radius:4px}.header-text{line-height:24px !important}.subheader-text{line-height:22px !important}.wp-block-gb-goonj-blocks{flex-wrap:nowrap !important}.wp-block-gb-action-button{padding:14px 5px !important;font-size:15px !important}@media(min-width: 375px)and (max-width: 768px){.wp-block-gb-goonj-blocks{width:90% !important;gap:5px !important;justify-content:center !important;flex-wrap:wrap !important}.container{max-width:86%}.wp-block-gb-goonj-blocks .wp-block-gb-action-button{padding:16px 12px !important;display:block;width:100%;text-align:center;margin-bottom:10px}.wp-block-gb-table{max-width:75%}}@media(min-width: 768px){.w-md-16{width:16px !important}.h-md-16{height:16px !important}.min-h-md-16{min-height:16px}.max-h-md-16{max-height:16px}.min-w-md-16{min-width:16px}.max-w-md-16{max-width:16px}.w-md-25{width:25px !important}.h-md-25{height:25px !important}.min-h-md-25{min-height:25px}.max-h-md-25{max-height:25px}.min-w-md-25{min-width:25px}.max-w-md-25{max-width:25px}.w-md-50{width:50px !important}.h-md-50{height:50px !important}.min-h-md-50{min-height:50px}.max-h-md-50{max-height:50px}.min-w-md-50{min-width:50px}.max-w-md-50{max-width:50px}.w-md-60{width:60px !important}.h-md-60{height:60px !important}.min-h-md-60{min-height:60px}.max-h-md-60{max-height:60px}.min-w-md-60{min-width:60px}.max-w-md-60{max-width:60px}.w-md-75{width:75px !important}.h-md-75{height:75px !important}.min-h-md-75{min-height:75px}.max-h-md-75{max-height:75px}.min-w-md-75{min-width:75px}.max-w-md-75{max-width:75px}.w-md-95{width:95px !important}.h-md-95{height:95px !important}.min-h-md-95{min-height:95px}.max-h-md-95{max-height:95px}.min-w-md-95{min-width:95px}.max-w-md-95{max-width:95px}.w-md-100{width:100px !important}.h-md-100{height:100px !important}.min-h-md-100{min-height:100px}.max-h-md-100{max-height:100px}.min-w-md-100{min-width:100px}.max-w-md-100{max-width:100px}.w-md-140{width:140px !important}.h-md-140{height:140px !important}.min-h-md-140{min-height:140px}.max-h-md-140{max-height:140px}.min-w-md-140{min-width:140px}.max-w-md-140{max-width:140px}.w-md-150{width:150px !important}.h-md-150{height:150px !important}.min-h-md-150{min-height:150px}.max-h-md-150{max-height:150px}.min-w-md-150{min-width:150px}.max-w-md-150{max-width:150px}.w-md-200{width:200px !important}.h-md-200{height:200px !important}.min-h-md-200{min-height:200px}.max-h-md-200{max-height:200px}.min-w-md-200{min-width:200px}.max-w-md-200{max-width:200px}.w-md-520{width:520px !important}.h-md-520{height:520px !important}.min-h-md-520{min-height:520px}.max-h-md-520{max-height:520px}.min-w-md-520{min-width:520px}.max-w-md-520{max-width:520px}.w-md-550{width:550px !important}.h-md-550{height:550px !important}.min-h-md-550{min-height:550px}.max-h-md-550{max-height:550px}.min-w-md-550{min-width:550px}.max-w-md-550{max-width:550px}.w-md-25p{width:25% !important}.h-md-25p{height:25% !important}.min-h-md-25p{min-height:25%}.max-h-md-25p{max-height:25%}.min-w-md-25p{min-width:25%}.max-w-md-25p{max-width:25%}.w-md-50p{width:50% !important}.h-md-50p{height:50% !important}.min-h-md-50p{min-height:50%}.max-h-md-50p{max-height:50%}.min-w-md-50p{min-width:50%}.max-w-md-50p{max-width:50%}.w-md-75p{width:75% !important}.h-md-75p{height:75% !important}.min-h-md-75p{min-height:75%}.max-h-md-75p{max-height:75%}.min-w-md-75p{min-width:75%}.max-w-md-75p{max-width:75%}.w-md-100p{width:100% !important}.h-md-100p{height:100% !important}.min-h-md-100p{min-height:100%}.max-h-md-100p{max-height:100%}.min-w-md-100p{min-width:100%}.max-w-md-100p{max-width:100%}.ml-md-0{margin-left:0px !important}.mr-md-0{margin-right:0px !important}.ml-md-2{margin-left:2px !important}.mr-md-2{margin-right:2px !important}.ml-md-6{margin-left:6px !important}.mr-md-6{margin-right:6px !important}.ml-md-11{margin-left:11px !important}.mr-md-11{margin-right:11px !important}.ml-md-12{margin-left:12px !important}.mr-md-12{margin-right:12px !important}.ml-md-15{margin-left:15px !important}.mr-md-15{margin-right:15px !important}.ml-md-24{margin-left:24px !important}.mr-md-24{margin-right:24px !important}.ml-md-25{margin-left:25px !important}.mr-md-25{margin-right:25px !important}.ml-md-27{margin-left:27px !important}.mr-md-27{margin-right:27px !important}.ml-md-30{margin-left:30px !important}.mr-md-30{margin-right:30px !important}.ml-md-36{margin-left:36px !important}.mr-md-36{margin-right:36px !important}.crm-container{padding:24px}.crm-container .form-item{margin-right:15px}}@media(min-width: 1024px){.w-lg-16{width:16px !important}.h-lg-16{height:16px !important}.min-h-lg-16{min-height:16px}.max-h-lg-16{max-height:16px}.min-w-lg-16{min-width:16px}.max-w-lg-16{max-width:16px}.w-lg-25{width:25px !important}.h-lg-25{height:25px !important}.min-h-lg-25{min-height:25px}.max-h-lg-25{max-height:25px}.min-w-lg-25{min-width:25px}.max-w-lg-25{max-width:25px}.w-lg-50{width:50px !important}.h-lg-50{height:50px !important}.min-h-lg-50{min-height:50px}.max-h-lg-50{max-height:50px}.min-w-lg-50{min-width:50px}.max-w-lg-50{max-width:50px}.w-lg-60{width:60px !important}.h-lg-60{height:60px !important}.min-h-lg-60{min-height:60px}.max-h-lg-60{max-height:60px}.min-w-lg-60{min-width:60px}.max-w-lg-60{max-width:60px}.w-lg-75{width:75px !important}.h-lg-75{height:75px !important}.min-h-lg-75{min-height:75px}.max-h-lg-75{max-height:75px}.min-w-lg-75{min-width:75px}.max-w-lg-75{max-width:75px}.w-lg-95{width:95px !important}.h-lg-95{height:95px !important}.min-h-lg-95{min-height:95px}.max-h-lg-95{max-height:95px}.min-w-lg-95{min-width:95px}.max-w-lg-95{max-width:95px}.w-lg-100{width:100px !important}.h-lg-100{height:100px !important}.min-h-lg-100{min-height:100px}.max-h-lg-100{max-height:100px}.min-w-lg-100{min-width:100px}.max-w-lg-100{max-width:100px}.w-lg-140{width:140px !important}.h-lg-140{height:140px !important}.min-h-lg-140{min-height:140px}.max-h-lg-140{max-height:140px}.min-w-lg-140{min-width:140px}.max-w-lg-140{max-width:140px}.w-lg-150{width:150px !important}.h-lg-150{height:150px !important}.min-h-lg-150{min-height:150px}.max-h-lg-150{max-height:150px}.min-w-lg-150{min-width:150px}.max-w-lg-150{max-width:150px}.w-lg-200{width:200px !important}.h-lg-200{height:200px !important}.min-h-lg-200{min-height:200px}.max-h-lg-200{max-height:200px}.min-w-lg-200{min-width:200px}.max-w-lg-200{max-width:200px}.w-lg-520{width:520px !important}.h-lg-520{height:520px !important}.min-h-lg-520{min-height:520px}.max-h-lg-520{max-height:520px}.min-w-lg-520{min-width:520px}.max-w-lg-520{max-width:520px}.w-lg-550{width:550px !important}.h-lg-550{height:550px !important}.min-h-lg-550{min-height:550px}.max-h-lg-550{max-height:550px}.min-w-lg-550{min-width:550px}.max-w-lg-550{max-width:550px}.w-lg-25p{width:25% !important}.h-lg-25p{height:25% !important}.min-h-lg-25p{min-height:25%}.max-h-lg-25p{max-height:25%}.min-w-lg-25p{min-width:25%}.max-w-lg-25p{max-width:25%}.w-lg-50p{width:50% !important}.h-lg-50p{height:50% !important}.min-h-lg-50p{min-height:50%}.max-h-lg-50p{max-height:50%}.min-w-lg-50p{min-width:50%}.max-w-lg-50p{max-width:50%}.w-lg-75p{width:75% !important}.h-lg-75p{height:75% !important}.min-h-lg-75p{min-height:75%}.max-h-lg-75p{max-height:75%}.min-w-lg-75p{min-width:75%}.max-w-lg-75p{max-width:75%}.w-lg-100p{width:100% !important}.h-lg-100p{height:100% !important}.min-h-lg-100p{min-height:100%}.max-h-lg-100p{max-height:100%}.min-w-lg-100p{min-width:100%}.max-w-lg-100p{max-width:100%}body p{font-size:16px;line-height:21.79px;letter-spacing:-0.02em}.wp-block-loginout{width:520px;margin-left:auto;margin-right:auto}.error{font-size:14px}.wp-block-post-template-is-layout-flow{max-width:750px !important}.form-heading,.form-description{margin:0px !important;max-width:100% !important}.wp-block-group-is-layout-constrained{margin-right:0px !important;margin-left:0px !important;max-width:100% !important}.crm-container{width:720px !important;padding:15px}.crm-container af-form{margin-left:auto;margin-right:auto}.crm-container .select2-container .select2-choice abbr{top:10px !important}.crm-container .crm-af-field-label{font-size:16px;font-weight:400 !important;line-height:21px}.crm-container .error{font-size:14px}.crm-container .af-container:not(:has(.af-container)){display:flex !important;flex-wrap:wrap !important}.crm-container .af-container af-field{flex:1 1 33% !important;box-sizing:border-box !important;padding:10px !important}.crm-container .af-field-type-email>.crm-af-field,.crm-container div[af-join]>af-field{padding-bottom:0px !important}.crm-container .af-field-type-email>.crm-af-field>.crm-af-field,.crm-container div[af-join]>af-field>.crm-af-field{padding-right:10px !important;padding-left:10px !important}.crm-container .af-container.af-layout-inline>*{margin-right:0px !important}.crm-container .crm-af-field,.crm-container af-field{margin-bottom:0px !important}.crm-container .btn-primary{margin-left:10px !important;margin-right:10px !important}.crm-container fieldset .af-layout-cols{display:flex !important;flex-wrap:wrap !important}}@media(min-width: 1200px){.w-xl-16{width:16px !important}.h-xl-16{height:16px !important}.min-h-xl-16{min-height:16px}.max-h-xl-16{max-height:16px}.min-w-xl-16{min-width:16px}.max-w-xl-16{max-width:16px}.w-xl-25{width:25px !important}.h-xl-25{height:25px !important}.min-h-xl-25{min-height:25px}.max-h-xl-25{max-height:25px}.min-w-xl-25{min-width:25px}.max-w-xl-25{max-width:25px}.w-xl-50{width:50px !important}.h-xl-50{height:50px !important}.min-h-xl-50{min-height:50px}.max-h-xl-50{max-height:50px}.min-w-xl-50{min-width:50px}.max-w-xl-50{max-width:50px}.w-xl-60{width:60px !important}.h-xl-60{height:60px !important}.min-h-xl-60{min-height:60px}.max-h-xl-60{max-height:60px}.min-w-xl-60{min-width:60px}.max-w-xl-60{max-width:60px}.w-xl-75{width:75px !important}.h-xl-75{height:75px !important}.min-h-xl-75{min-height:75px}.max-h-xl-75{max-height:75px}.min-w-xl-75{min-width:75px}.max-w-xl-75{max-width:75px}.w-xl-95{width:95px !important}.h-xl-95{height:95px !important}.min-h-xl-95{min-height:95px}.max-h-xl-95{max-height:95px}.min-w-xl-95{min-width:95px}.max-w-xl-95{max-width:95px}.w-xl-100{width:100px !important}.h-xl-100{height:100px !important}.min-h-xl-100{min-height:100px}.max-h-xl-100{max-height:100px}.min-w-xl-100{min-width:100px}.max-w-xl-100{max-width:100px}.w-xl-140{width:140px !important}.h-xl-140{height:140px !important}.min-h-xl-140{min-height:140px}.max-h-xl-140{max-height:140px}.min-w-xl-140{min-width:140px}.max-w-xl-140{max-width:140px}.w-xl-150{width:150px !important}.h-xl-150{height:150px !important}.min-h-xl-150{min-height:150px}.max-h-xl-150{max-height:150px}.min-w-xl-150{min-width:150px}.max-w-xl-150{max-width:150px}.w-xl-200{width:200px !important}.h-xl-200{height:200px !important}.min-h-xl-200{min-height:200px}.max-h-xl-200{max-height:200px}.min-w-xl-200{min-width:200px}.max-w-xl-200{max-width:200px}.w-xl-520{width:520px !important}.h-xl-520{height:520px !important}.min-h-xl-520{min-height:520px}.max-h-xl-520{max-height:520px}.min-w-xl-520{min-width:520px}.max-w-xl-520{max-width:520px}.w-xl-550{width:550px !important}.h-xl-550{height:550px !important}.min-h-xl-550{min-height:550px}.max-h-xl-550{max-height:550px}.min-w-xl-550{min-width:550px}.max-w-xl-550{max-width:550px}.w-xl-25p{width:25% !important}.h-xl-25p{height:25% !important}.min-h-xl-25p{min-height:25%}.max-h-xl-25p{max-height:25%}.min-w-xl-25p{min-width:25%}.max-w-xl-25p{max-width:25%}.w-xl-50p{width:50% !important}.h-xl-50p{height:50% !important}.min-h-xl-50p{min-height:50%}.max-h-xl-50p{max-height:50%}.min-w-xl-50p{min-width:50%}.max-w-xl-50p{max-width:50%}.w-xl-75p{width:75% !important}.h-xl-75p{height:75% !important}.min-h-xl-75p{min-height:75%}.max-h-xl-75p{max-height:75%}.min-w-xl-75p{min-width:75%}.max-w-xl-75p{max-width:75%}.w-xl-100p{width:100% !important}.h-xl-100p{height:100% !important}.min-h-xl-100p{min-height:100%}.max-h-xl-100p{max-height:100%}.min-w-xl-100p{min-width:100%}.max-w-xl-100p{max-width:100%}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Potential issue with shorthand property overrides

The static analysis tool flagged potential issues with shorthand property overrides for background and text-decoration. These properties might be unintentionally overridden by other shorthand declarations, which could lead to unexpected visual results.

Here's a suggestion to address this:

- background-image:none !important;
+ background: none !important; /* Ensures no shorthand property overrides */
- text-decoration:none !important;
+ text-decoration: none !important; /* Ensures no shorthand property overrides */

Please verify and adjust accordingly to ensure the intended styles are applied without conflicts.

Committable suggestion skipped: line range outside the PR's diff.

🧰 Tools
🪛 Biome

[error] 15-15: Unexpected shorthand property background after background-image

(lint/suspicious/noShorthandPropertyOverrides)


[error] 15-15: Unexpected shorthand property text-decoration after text-decoration-thickness

(lint/suspicious/noShorthandPropertyOverrides)

Comment on lines +260 to +269
$groupId = self::getChapterGroupForState($objectRef->state_province_id);

if ($groupId) {
GroupContact::create(FALSE)
->addValue('contact_id', self::$individualId)
->addValue('group_id', $groupId)
->addValue('status', 'Added')
->execute();
}
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Refactor duplicate code in chapter group assignment methods

The methods assignChapterGroupToIndividual (lines 260-269) and assignChapterGroupToIndividualForContribution (lines 271-305) contain similar logic for assigning chapter groups to individuals based on state IDs. To adhere to the DRY (Don't Repeat Yourself) principle and improve maintainability, consider extracting the shared code into a separate private method.

Also applies to: 271-305

Comment on lines +279 to +281
if (self::$individualId !== $objectRef->contact_id || !$objectRef->contact_id) {
return FALSE;
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Incorrect usage of self::$individualId in contribution assignment

In assignChapterGroupToIndividualForContribution, the variable self::$individualId may not be set or may not correspond to the contact associated with the contribution. This could lead to incorrect assignment of the chapter group to the wrong individual. Instead, use $contactId, which is obtained from $objectRef->contact_id.

Apply this diff to fix the issue:

@@ -279,7 +279,7 @@
 
-        if (self::$individualId !== $objectRef->contact_id || !$objectRef->contact_id) {
+        if (!$objectRef->contact_id) {
           return FALSE;
         }
 
@@ -298,4 +298,4 @@
               ->addValue('contact_id', self::$individualId)
+              ->addValue('contact_id', $contactId)
               ->addValue('group_id', $groupId)
               ->addValue('status', 'Added')

Also applies to: 298-301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants