/* Login button */
.WaGadgetLoginButton .loginLink, .WaGadgetLoginForm .loginLink {
    background: #FFF200 !important;
    color: rgb(38, 108, 120) !important;
}

/* Login button on hover */
.WaGadgetLoginButton .loginLink:hover, .WaGadgetLoginForm .loginLink:hover {
    background: #FFF200 !important;
}

/* Logout button */
.WaGadgetLoginButton .authenticated .loginLink, .WaGadgetLoginForm .authenticated .loginLink {
    background: 0 !important;
    color: #FFF200 !important;
}

/* Logout button on hover */
.WaGadgetLoginButton .authenticated .loginLink:hover, .WaGadgetLoginButton .authenticated .loginLink.hover, .WaGadgetLoginForm .authenticated .loginLink:hover, .WaGadgetLoginForm .authenticated .loginLink.hover {
    background: #FFF200 !important;
    color: rgb(38, 108, 120) !important;
}

/* Optional: Target the container inside the placeholder if needed */
.WaPlaceHolder > .zoneInner {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}


/* Change button background to green */
.wa-button, 
input[type="submit"], 
input[type="button"], 
button {
    background-color: #266C78 !important; /* A standard green hex code */
    border-color: #266C78 !important;
    color: #ffffff !important; /* Keeps the text white */
}

/* Change button color when hovered */
.wa-button:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover, 
button:hover {
    background-color: #218838 !important; /* A slightly darker green for the hover effect */
    border-color: #1e7e34 !important;
}

/* Change Date and Location color in Upcoming Events gadget */
.wa-upcoming-events-gadget .eventLocation, 
.wa-upcoming-events-gadget .eventDate {
    color: #000000 !important; /* Replace #000000 with your preferred hex code */
}

/* Code to change page width START */
.WaPlaceHolder {
    max-width: 1400px; 
}
/* Code to change page width END */

/* Targets the Grants header gadget on the home page and forces rounded edges */
#id_AmCXvDH, 
#id_AmCXvDH .idGContainer, 
#id_AmCXvDH .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Targets the Become a Member header gadget on the home page and forces rounded edges */
#id_O5iClM1, 
#id_O5iClM1 .idGContainer, 
#id_O5iClM1 .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Targets the Grants subheader content gadget on the home page and forces rounded edges */
#id_3vbezaq, 
#id_3vbezaq .idGContainer, 
#id_3vbezaq .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Targets the Special Events header gadget on the home page and forces rounded edges */
#id_LIdsaGW, 
#id_LIdsaGW .idGContainer, 
#id_LIdsaGW .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Targets the Register content gadget on the Cool Breeze Ride page and forces rounded edges */
#id_UuZckOg, 
#id_UuZckOg .idGContainer, 
#id_UuZckOg .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Targets the Website content gadget on the Cool Breeze Ride page and forces rounded edges */
#id_xgcCaYM, 
#id_xgcCaYM .idGContainer, 
#id_xgcCaYM .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Targets the Merchandise content gadget on the Cool Breeze Ride page and forces rounded edges */
#id_ECruD7f, 
#id_ECruD7f .idGContainer, 
#id_ECruD7f .idGContainer .gadgetOuterWrapper {
    border-radius: 8px !important;
    overflow: hidden !important;
}
/* Change link color for Privacy Policy in footer */
#id_dClJEop a {
    color: #7BCDC8 !important; /* Replace with your hex color code */
}
/* Change link color for Become a Member in footer */
#id_p3NrgUr a {
    color: #7BCDC8 !important; /* Replace with your hex color code */
}
/* Change link color for Contact Us in footer */
#id_Oip23gj a {
    color: #7BCDC8 !important; /* Replace with your hex color code */
}

/* Force tight container blocks for the Upcoming Events listings */
.WaGadgetUpcomingEvents,
.WaGadgetUpcomingEvents * {
    margin-bottom: 2px !important;
    padding-bottom: 2px !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
}

/* Handle actual text elements and paragraph breaks specifically */
.WaGadgetUpcomingEvents p, 
.WaGadgetForumUpdates p,
.WaGadgetUpcomingEvents li, 
.WaGadgetForumUpdates li,
.WaGadgetUpcomingEvents td, 
.WaGadgetForumUpdates td {
    margin: 15px 0 !important;
    padding: 2px 0 !important;
    line-height: 1.2 !important;
}

/* Remove the entire left-hand schedule list block */
div[class*="EventSchedule"],
td[class*="EventSchedule"],
.waEventDetailsSchedule,
.eventDetailsSessionListContainer {
    display: none !important;
}

/* Force the description block to take up the full available width */
div[class*="EventDescription"],
td[class*="EventDescription"],
.waEventDetailsDescription {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
}