/* Change Password submit buttons */
.generalFieldsContainer .fieldSubContainer input.typeButton, .generalFieldsContainer .fieldSubContainer input[type=submit] {
    background: #0068A5;
}
.generalFieldsContainer .fieldSubContainer input.typeButton:hover, 
.generalFieldsContainer .fieldSubContainer input[type=submit]:hover {
    background: #008CDB; 
}
/* Contact Profile - Edit profile button */
.WaGadgetContactProfile .topButtonsOuterContainer input.typeButton {
    background: #0068a5;
}
.WaGadgetContactProfile .topButtonsOuterContainer input.typeButton:hover {
    background: #47A9E6;
}
/* Button Style 4 */
a.buttonStyle004, a:link.buttonStyle004 {
    border: none;
}
/* EXHIBITORS PAGE > DIAMOND EXHIBITOR PACKAGE Store Item. Center the main gadget container itself on the page */
#id_MAtemb4 {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Center the inner list structure */
#id_MAtemb4 .OnlineStoreCatalog_list {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
}

/* Force all inner elements (image, link text, price) to stack and align dead center */
#id_MAtemb4 .OnlineStoreCatalog_list_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

/* Ensure the image container does not pull to the left */
#id_MAtemb4 .OnlineStoreCatalog_list_item_img {
    display: block;
    margin: 0 auto 10px auto;
}

/* Style adjustment for the product text link to display beautifully centered */
#id_MAtemb4 .OnlineStoreCatalog_list_item_link {
    display: block;
    margin: 0 auto 5px auto;
    text-align: center;
}
/* EXHIBITORS PAGE > PREMIUM EXHIBITOR PACKAGE Store Item. Center the main gadget container itself on the page */
#id_qNVGxYe {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Center the inner list structure */
#id_qNVGxYe .OnlineStoreCatalog_list {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
}

/* Force all inner elements (image, link text, price) to stack and align dead center */
#id_qNVGxYe .OnlineStoreCatalog_list_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

/* Ensure the image container does not pull to the left */
#id_qNVGxYe .OnlineStoreCatalog_list_item_img {
    display: block;
    margin: 0 auto 10px auto;
}

/* Style adjustment for the product text link to display beautifully centered */
#id_qNVGxYe .OnlineStoreCatalog_list_item_link {
    display: block;
    margin: 0 auto 5px auto;
    text-align: center;
}
/* EXHIBITORS PAGE > ELITE EXHIBITOR PACKAGE Store Item. Center the main gadget container itself on the page */
#id_97DqscO {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
}

/* Center the inner list structure */
#id_97DqscO .OnlineStoreCatalog_list {
    padding: 0;
    margin: 0 auto;
    list-style: none;
    display: flex;
    justify-content: center;
}

/* Force all inner elements (image, link text, price) to stack and align dead center */
#id_97DqscO .OnlineStoreCatalog_list_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

/* Ensure the image container does not pull to the left */
#id_97DqscO .OnlineStoreCatalog_list_item_img {
    display: block;
    margin: 0 auto 10px auto;
}

/* Style adjustment for the product text link to display beautifully centered */
#id_97DqscO .OnlineStoreCatalog_list_item_link {
    display: block;
    margin: 0 auto 5px auto;
    text-align: center;
}
/* Member Public Profile - Send Message Button */
.WaGadgetMemberPublicProfileStateMain .profileHeaderContainer input.typeButton {
    background: #0068A5;
}
.WaGadgetMemberPublicProfileStateMain .profileHeaderContainer input.typeButton:hover {
    background: #47A9E6;
}
/* Membership Level Change - Cancel and Next Buttons */
.navigationOuterContainer input.nextButton, 
.navigationOuterContainer input.typeButton, 
.navigationOuterContainer input[type=submit] {
    background: #0068A5;
}
.navigationOuterContainer input.nextButton:hover, 
.navigationOuterContainer input.typeButton:hover, 
.navigationOuterContainer input[type=submit]:hover {
    background: #47A9E6;
}
/* Online Store Checkout - Continue Button */
.WaGadgetOnlineStoreCartCheckout .storeCartControlNav_right input {
    background: #0068A5;
}    
.WaGadgetOnlineStoreCartCheckout .storeCartControlNav_right input:hover {
    background: #47A9E6;
}
/* Online Store checkout - Billing Details title */
.WaGadgetOnlineStoreCartCheckout .storeCartContent h2 {
    color: #0068A5;
}
/* Online Store Product - Add to Cart button */
.WaGadgetOnlineStoreProduct .OnlineStoreProduct_aside .OnlineStoreButton .OnlineStoreProduct_addToCartButton {
    background: #0068A5;
}
.WaGadgetOnlineStoreProduct .OnlineStoreProduct_aside .OnlineStoreButton .OnlineStoreProduct_addToCartButton:hover {
    background: #47A9E6;
}
/* Terms Of Use - Continue Button */
.WaGadgetTermsOfUse .login-role-actions input[type='submit'][disabled=''] {
    background: #0068A5;
}
/* Terms Of Use - Cancel Button */
.WaGadgetTermsOfUse .login-role-actions input[type='submit'] {
    background: #0068A5;
}
.WaGadgetTermsOfUse .login-role-actions input[type='submit']:hover {
    background: #47A9E6;
}
/* Unsubscribe From Emails - Submit & Cancel Buttons */
input#ctl00_ContentArea_ConfirmBtn {
    background-color: #0068A5;
}
input#ctl00_ContentArea_ConfirmBtn:hover {
    background-color: #47A9E6;
}
input#ctl00_ContentArea_CancelBtn {
    background-color: #0068A5;
}
input#ctl00_ContentArea_CancelBtn:hover {
    background-color: #47A9E6;
}
/* Mobile Bar */
.WaGadgetMobilePanel .mobilePanel {
    position: relative;
    height: 50px;
    background: #0068A5;
    color: white;
}
/* Mobile Hamburger Button */
.WaGadgetMobilePanel .mobilePanel .mobilePanelButton:hover {
    background: #47A9E6;
    color: white;
}
/* Mobile Hamburger Menu Background color*/
.WaGadgetMobilePanel .mobilePanel .menuInner ul{
background: #0068A5 !important;
color : #ffffff !important;
}
/* Mobile Menu - Items Colour */
.WaGadgetMobilePanel .mobilePanel .menuInner ul ul li>.item>a {
    color: #ffffff;
}
/* Mobile Panel Login Gadget */
.WaGadgetMobilePanel .mobilePanel .loginInner {
    background: #0068A5;
    border-top: 1px solid #0068A5;
    color: white;
}
.WaGadgetMobilePanel .mobilePanel .mobilePanelButton.active {
    background: none;
    color: white;
}
.WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm .loginAction input.loginButton {
    background: #ffffff;
    color:#0068A5;
}
.WaGadgetMobilePanel .mobilePanel .loginInner .loginContainerForm .loginAction input.loginButton:hover {
    background: #47A9E6;
    color:#ffffff;
}
/* Blog - remove author, date, time */
.boxInfoContainer h5
{ display: none;}
/* Recent Blog - hide author, date, time */
/* Recent Blog Posts - hide author, date, time */
.WaGadgetRecentBlogPosts.recentBlogPostsStyle001 ul li .date, .WaGadgetRecentBlogPosts.recentBlogPostsStyle001 ul li .author {
    display: none !important;
}
/* TOP LOGO Responsive mobile scaling */
@media screen and (max-width: 767px) {
    #id_FkVtfxN img {
        width: 180px !important; /* Adjust this number to make it bigger or smaller on mobile */
        height: auto !important; /* Maintains the correct aspect ratio so it doesn't warp */
    }
/* BOTTOM LOGO Responsive mobile scaling */
@media screen and (max-width: 767px) {
    #id_SYoEK3D img {
        width: 150px !important; /* Adjust this number to dial in the perfect mobile size */
        height: auto !important; /* Maintains the correct aspect ratio */
    }
}
}
/* Container to group all 3 buttons closely together and align them to the RIGHT on desktop */
.tloma-btn-centered-container {
    display: flex;
    justify-content: flex-end; /* Aligns the entire group to the right side on desktop */
    align-items: center;       /* Vertically aligns them */
    width: 100%;
    margin: 20px auto;
    gap: 15px; /* Spacing between the buttons */
}

/* Base button properties to override WildApricot defaults */
.tloma-btn {
    display: inline-block;
    padding: 8px 20px !important; /* Exactly 10px top padding */
    color: #ffffff !important;      /* Text color is ffffff */
    text-decoration: none !important;
    font-weight: bold !important;
    text-align: center !important;
    border-radius: 0px !important;  /* Sharp square corners */
    white-space: nowrap !important; /* Sizes perfectly to text length */
    transition: background-color 0.3s ease;
}

/* Blue Buttons: Business Partners & Contact */
.tloma-btn-blue {
    background-color: #0068A5 !important;
}
.tloma-btn-blue:hover {
    background-color: #C31B2A !important;
}

/* Red Button: Member Login */
.tloma-btn-red {
    background-color: #C31B2A !important;
}
.tloma-btn-red:hover {
    background-color: #0068A5 !important;
}

/* Mobile Breaking Point */
@media screen and (max-width: 767px) {
    /* Completely hides the Member Login button on mobile layouts */
    .tloma-hide-on-mobile {
        display: none !important;
    }
    
    /* Overrides the desktop alignment to bring the remaining buttons back to the center on mobile */
    .tloma-btn-centered-container {
        justify-content: center !important;
    }
}
/* Center the search bar gadget on mobile screens */
@media screen and (max-width: 767px) {
    /* Targets the main container to add 30px space at the bottom */
    #id_GyE9VJl {
        padding-bottom: 15px !important;
    }

    #id_GyE9VJl .searchBoxOuter.alignRight {
        text-align: center !important;
        float: none !important;
    }

    #id_GyE9VJl .searchBox {
        display: inline-block !important;
        float: none !important;
        margin: 0 auto !important;
    }

    #id_GyE9VJl .generalSearchBox {
        display: flex !important;
        justify-content: center !important;
    }
}
/* Hide WildApricot Powered By footer globally */
.zoneWAbranding, 
#idFooterPoweredByContainer {
  display: none !important;
}
/* Desktop Blog Title Styling */
.WaGadgetBlogStateList ul.boxesList li.boxesListItem .boxHeaderOuterContainer h4.boxHeaderTitle,
.WaGadgetBlogStateList ul.boxesList li.boxesListItem .boxHeaderOuterContainer h4.boxHeaderTitle a {
  font-size: 28px !important; 
  font-weight: bold !important;
  line-height: 1.2 !important;
  white-space: normal !important; /* Forces the text to wrap to a new line */
  word-wrap: break-word !important; 
}

/* Mobile Blog Title Styling */
@media (max-width: 767px) {
  .WaGadgetBlogStateList ul.boxesList li.boxesListItem .boxHeaderOuterContainer h4.boxHeaderTitle,
  .WaGadgetBlogStateList ul.boxesList li.boxesListItem .boxHeaderOuterContainer h4.boxHeaderTitle a {
    font-size: 20px !important; /* Shrinks the text size on mobile */
  }
}
.camera_wrap {
    background: transparent !important;
}
/* Custom styling for the Member & Business Partner Login button */
a.loginLink {
    text-transform: none !important; /* Stops the theme from forcing uppercase */
    font-weight: bold !important;
    background-color: #C31B2A !important;
    color: #FFFFFF !important; /* Ensures the text is white and readable */
    text-decoration: none !important; /* Removes any default underline */
    padding: 10px 20px; /* Optional: adjusts the button size */
    display: inline-block;
    border: none !important;
    transition: background-color 0.3s ease; /* Adds a smooth fade effect */
}

/* Hover state */
a.loginLink:hover {
    background-color: #0068A5 !important;
    color: #FFFFFF !important;
}
/* Center the native Login Gadget on mobile screens only */
@media (max-width: 767px) {
    .WaGadgetLoginButton {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .WaGadgetLoginButton a.loginLink {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* Prevents membership level instruction text from spilling over the edge */
.fieldSubContainer .typeInstruction {
    white-space: normal !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    display: block !important;
    padding-right: 10px; /* Adds a small buffer before the edge of the screen */
}
/* Main Login Button on the Authorization Required Page */
.WaGadgetAuthorizationRequired .loginPageTable input.loginButton {
  background-color: #0068A5;
}

.WaGadgetAuthorizationRequired .loginPageTable input.loginButton:hover {
  background-color: #C31B2A;
}
/* Header Search Centered on mobile screens */
@media (max-width: 767px) {
    #id_SdJt8Pw {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }
}
/* EVENTS CALENDAR section title */
.WaGadgetEventsStateCalendar .sectionTitle {
    color: #0068A5 !important;
}
/* EVENTS CALENDAR View Switcher Buttons (Mobile Only) */
@media (max-width: 767px) {
    .WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*=Button] a, 
    .WaGadgetEventsStateCalendar #idViewSwitchersTable div[id*=Button] span {
        background-color: #0068A5 !important;
        color: #ffffff !important; 
    }
}
/* BP OPPORTUNITIES PAGE - store catalog display */
#id_Yjba9JE .OnlineStoreCatalog_list {
    padding: 20px !important;
    background-color: #ffffff !important;
}
#id_r9noIHr .OnlineStoreCatalog_list {
    padding: 20px !important;
    background-color: #ffffff !important;
}
#id_i2lYRED .OnlineStoreCatalog_list {
    padding: 20px !important;
    background-color: #ffffff !important;
}