/* Login button */
.WaGadgetLoginButton .loginLink, .WaGadgetLoginForm .loginLink {
    background: #ffffff !important;
    color: #1E6F9C !important;
}
/* Login button on hover */
.WaGadgetLoginButton .loginLink:hover, .WaGadgetLoginForm .loginLink:hover {
    background: #1E6F9C !important;
}
/* Logout button */
.WaGadgetLoginButton .authenticated .loginLink, .WaGadgetLoginForm .authenticated .loginLink {
    background: 0 !important;
    color: #1E6F9C !important;
}
/* Logout button on hover */
.WaGadgetLoginButton .authenticated .loginLink:hover, .WaGadgetLoginButton .authenticated .loginLink.hover, .WaGadgetLoginForm .authenticated .loginLink:hover, .WaGadgetLoginForm .authenticated .loginLink.hover {
    background: #1E6F9C !important;
    color: white !important;
}
/* Custom styling for buttonStyle007 */
a.stylizedButton.buttonStyle007 {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state for buttonStyle007 */
a.stylizedButton.buttonStyle007:hover {
    background-color: #154c6c !important; /* Slightly darker shade for the hover effect */
    color: #ffffff !important;
}
/* Custom styling for buttonStyle003 */
a.stylizedButton.buttonStyle003 {
    background-color: #86C7B4 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state for buttonStyle003 */
a.stylizedButton.buttonStyle003:hover {
    background-color: #6db09d !important; /* Slightly darker shade for hover effect */
    color: #ffffff !important;
}
/* Custom styling for event registration buttons */
input.registerButton, 
button.registerButton, 
a.registerButton {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state for event registration buttons */
input.registerButton:hover, 
button.registerButton:hover, 
a.registerButton:hover {
    background-color: #154c6c !important; /* Slightly darker hover shade */
    color: #ffffff !important;
}
/* Custom styling for buttonStyle002 */
a.stylizedButton.buttonStyle002 {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state for buttonStyle002 */
a.stylizedButton.buttonStyle002:hover {
    background-color: #0a7494 !important; /* Slightly darker shade for the hover effect */
    color: #ffffff !important;
}
/* Custom styling for .nextButton.button elements */
.nextButton.button, 
input.nextButton.button {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state for .nextButton.button elements */
.nextButton.button:hover, 
input.nextButton.button:hover {
    background-color: #154c6c !important; /* Slightly darker shade for the hover effect */
    color: #ffffff !important;
}
/* Target the specific donation cancel button by its ID */
#FunctionalBlock1_ctl00_donation_ctl00_stepTemplate_cancel,
input[name*="donation"][name*="cancel"].nextButton {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_donation_ctl00_stepTemplate_cancel:hover,
input[name*="donation"][name*="cancel"].nextButton:hover {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Target the specific membership application Next button by its ID and class */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_next,
input[name*="memberApplicationMain"][name*="next"].nextButton {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_next:hover,
input[name*="memberApplicationMain"][name*="next"].nextButton:hover {
    background-color: #0a7494 !important; /* Slightly darker shade for hover */
    color: #ffffff !important;
}
/* Target the membership application cancel button by its ID and attributes */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_cancel,
input[name*="memberApplicationMain"][name*="cancel"].nextButton {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_cancel:hover,
input[name*="memberApplicationMain"][name*="cancel"].nextButton:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the membership application Back button by its ID and attributes */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_prev,
input[name*="memberApplicationMain"][name*="prev"].nextButton {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_prev:hover,
input[name*="memberApplicationMain"][name*="prev"].nextButton:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the membership application Login button by its ID and attributes */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_memberExistsMessage_loginButton2,
input[name*="memberApplicationMain"][name*="loginButton2"].button {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_memberExistsMessage_loginButton2:hover,
input[name*="memberApplicationMain"][name*="loginButton2"].button:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the forgot password button by its ID and attributes */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_memberExistsMessage_forgotPasswordButton,
input[name*="memberApplicationMain"][name*="forgotPasswordButton"].button {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_memberExistsMessage_forgotPasswordButton:hover,
input[name*="memberApplicationMain"][name*="forgotPasswordButton"].button:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the Submit Request button by its ID and class */
#ctl00_ContentArea_btnSubmitRequest,
input.typeButton[name*="btnSubmitRequest"] {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#ctl00_ContentArea_btnSubmitRequest:hover,
input.typeButton[name*="btnSubmitRequest"]:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the Set New Password button by its ID and name */
#ctl00_ContentArea_SubmitBtn,
input[name*="ContentArea$SubmitBtn"] {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#ctl00_ContentArea_SubmitBtn:hover,
input[name*="ContentArea$SubmitBtn"]:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the Continue button in both disabled and active states */
#ctl00_ContentArea_submitButton,
input[name="submitButton"][id="ctl00_ContentArea_submitButton"] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state when active */
#ctl00_ContentArea_submitButton:hover:not(:disabled),
input[name="submitButton"]:hover:not(:disabled) {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Force Continue button color in normal and disabled states */
#ctl00_ContentArea_submitButton,
input#ctl00_ContentArea_submitButton[type="submit"],
input#ctl00_ContentArea_submitButton[disabled] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
    -webkit-appearance: none !important; /* Overrides browser-specific default button styling */
    appearance: none !important;
    opacity: 0.7 !important; /* Slight fade when disabled so users know it's inactive, but keeps your blue */
}

/* Hover state only when not disabled */
#ctl00_ContentArea_submitButton:hover:not(:disabled) {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Target the Cancel / View site as public visitor button by its ID and name */
#ctl00_ContentArea_cancelButton,
input[name="cancelButton"] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#ctl00_ContentArea_cancelButton:hover,
input[name="cancelButton"]:hover {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Target the Pay with Card button by its ID and classes */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_paymentMethodsShared_btnPayWithCard,
input.payment-action-button[name*="btnPayWithCard"] {
    background-color: #0D91B7 !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_paymentMethodsShared_btnPayWithCard:hover,
input.payment-action-button[name*="btnPayWithCard"]:hover {
    background-color: #0a7494 !important;
    color: #ffffff !important;
}
/* Target the event registration Next button by its ID and class */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_next,
input.nextButton[name*="eventPageViewBase"][name*="next"] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_next:hover,
input.nextButton[name*="eventPageViewBase"][name*="next"]:hover {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Target the event registration Cancel button by its ID and classes */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_cancel,
input.nextButton[name*="eventPageViewBase"][name*="cancel"] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_cancel:hover,
input.nextButton[name*="eventPageViewBase"][name*="cancel"]:hover {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Target the event registration Back button by its ID and classes */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_prev,
input.nextButton[name*="eventPageViewBase"][name*="prev"] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#FunctionalBlock1_ctl00_eventPageViewBase_ctl00_ctl00_stepTemplate_prev:hover,
input.nextButton[name*="eventPageViewBase"][name*="prev"]:hover {
    background-color: #154c6c !important;
    color: #ffffff !important;
}
/* Target the main Log in button by its ID and class */
#ctl00_ContentArea_loginViewControl_loginControl_Login,
input.loginButton[name*="loginControl$Login"] {
    background-color: #1E6F9C !important;
    color: #ffffff !important;
    border: none !important;
}

/* Hover state */
#ctl00_ContentArea_loginViewControl_loginControl_Login:hover,
input.loginButton[name*="loginControl$Login"]:hover {
    background-color: #154c6c !important;
    color: #ffffff !important;
}