/* Hide bundle limit and used so far on member page */
#idAccountTotalContainer,
#idParticipantsCountContainer {
  display: none;
}

/* Hide "bundle" number on sign-up page */
#id_Content_Custom .levelBundle {
  display: none;
}
/* Remove the padding from the hidden bundle line */
#id_Content_Custom span.textLine.typeInstruction:has(.levelBundle) {
  padding-top: 0;
}

/* Reduce the padding between membership level description lines */
#id_Content_Custom span.textLine.typeInstruction {
  padding-top: 8px;
}

/* Add padding between membership levels */
#id_Content_Custom .fieldItem {
    padding-bottom: 16px;
}

/*Changed the bullet point color */
::marker {
    color: #adb5bd;
}

/*changed color of avatar and search bar */
.WaGadgetSiteSearch.searchStyle003 .searchBoxButton:hover 
{
    background: #018877;
}

/*
#id_m6MyAwa_loginLink
{
    background-color: #018877;
    color:#ffffff;
}
*/

.WaGadgetLoginForm.LoginFormStyle001 .loginContainer.authenticated.loginContainer.authenticated .loginLink {
    background-color: #018877;
    color:#ffffff;
}

.WaGadgetLoginForm.LoginFormStyle001 .loginContainer.loginContainer .loginLink{
    background-color: #39545C;
    color:#8d8d8d;
}

.WaGadgetSiteSearch.searchStyle003 .searchBoxButton 
{
    background: #018877!important;
}
/*changed color of Navigation Buttons */
a.stylizedButton.buttonStyle002
{
    background: #39545C;
    color: #ffffff;
}
a.stylizedButton.buttonStyle010
{
    background: #018877;
    background-color: #018877;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    font-size: 16px;
}
a.stylizedButton.buttonStyle011
{
    background: #C5D433;
    background-color: #C5D433;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}
a.stylizedButton.buttonStyle012
{
    background: #DF6C27;
    background-color: #DF6C27;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}
a.stylizedButton.buttonStyle013
{
    background: #A03B16;
    background-color: #A03B16;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

a.stylizedButton.buttonStyle014
{
    background: #e9edee;
    background-color: #e9edee;
    border: none;
    color: #000;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

a.stylizedButton.buttonStyle014:hover
{
    background: #e9edee;
    background-color: #e9edee;
    border: none;
    color: #000;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    opacity: 0.6
}

a.stylizedButton.buttonStyle015
{
    background: #e9edee;
    background-color: #e9edee;
    border: none;
    color: #000;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
}

a.stylizedButton.buttonStyle015:hover
{
    background: #e9edee;
    background-color: #e9edee;
    border: none;
    color: #000;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    opacity: 0.6;
}

/* Change the vertical bar on side bar menu */
.WaGadgetCustomMenu.menuStyle004 .orientationVertical {
    border-left: 4px solid #39545C;
}
/* Change the vertical bar on side bar menu upcoming events section */
.WaGadgetUpcomingEvents.upcomingEventsStyle002 ul li, .WaGadgetUpcomingEvents.upcomingEventsStyle005 ul li 
{
    padding: 8px 0 8px 16px;
    border-left: 4px solid #39545C;
}
/*Blog Title Color Change */
#\31 3037515 > div > div.boxContainer > div > div > div > div > div > div > div > div > div > div > div.boxHeaderOuterContainer > div.boxHeaderContainer > div > div > div > div > div > div > div > div > div > div > h4 > a
{
    color:#018877!important;
}
/* Change Blog Submit Button Color */
.WaGadgetBlogStateList #idAddNewPostButtonContainer input[type=submit] 
{
    background: #018877!important;
}
/*Calendar Color Updates */

.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar .eventDivItem:hover a, .WaGadgetEventsStateCalendar .monthViewType .EventListCalendar .eventContainerHover a 
{
    color: #fff;
}
.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td>div 
{
    border-left: 2px solid #018877;
}
.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar .eventDivItem:hover, .WaGadgetEventsStateCalendar .monthViewType .EventListCalendar .eventContainerHover 
{
    background: #999999;
}
.WaGadgetEventsStateCalendar .monthViewType .EventListCalendar td>div 
{
    background: #999999;
    color: #fff;
}
/*Remove Membership Status and Hide Add Bundle Member Button */
div#idMemberStatusContainer 
{
    visibility: collapse;
}
#FunctionalBlock1_ctl00_ctl00_groupAccountSummary_addNewMemberButton,
#idSectionGroupAccountContainer .actionButtonContainer:has(> #FunctionalBlock1_ctl00_ctl00_groupAccountSummary_addNewMemberButton)
{
    display: none;
}
/*Remove social log in buttons from authorization screen */
.WaGadgetAuthorizationRequired .openAuthFormContainer 
{
display: none !important;
} 
/*Remove social login buttons from profile screen */
#socialLoginContainer, #idSocialLoginContainer 
{
	display: none !important;
}
/* Remove Member Photo Album link from profile */
#FunctionalBlock1_ctl00_ctl00_photoGalleryTabLabel
{
    visibility: collapse;
}

/* ==========================================================================
   Edit Profile UX/UI & Mobile Enhancements
   ========================================================================== */

/* Keep focused controls clear of the sticky bottom bar on mobile */
@media (max-width: 767px) {
  html {
    scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer {
  max-width: 44rem;
}

/* 1. Collapse Wild Apricot's empty repeater spacer rows and empty Bundle summary */
.WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldContainer[id=""]:not(.simpleTextContainer):not(:has(input, select, textarea, a, img)),
.WaGadgetContactProfileStateMain #idMemberProfileContainer #idSectionGroupAccountContainer:not(:has(.fieldContainer:not(#idAccountTotalContainer, #idParticipantsCountContainer))),
.WaGadgetContactProfileStateMain #idMemberProfileContainer #idCaptionGroupAccountContainer:has(+ #idSectionGroupAccountContainer:not(:has(.fieldContainer:not(#idAccountTotalContainer, #idParticipantsCountContainer)))) {
  display: none;
}

/* 2. Compact vertical rhythm (Gestalt proximity: tight label/hint, clear gap between fields) */
.WaGadgetContactProfileStateMain #idMemberProfileContainer .sectionOuterContainer {
  margin: 0 0 1rem;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldContainer,
.WaGadgetContactProfileStateMain #idMemberProfileContainer .standAloneGroupContainer {
  margin: 0 0 0.75rem;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table .left,
.WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table .right {
  padding-bottom: 0.25rem;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer .typeInstruction {
  width: auto;
  max-width: 100%;
  padding: 0.25rem 0 0;
  line-height: 1.35;
}

/* 3. High-contrast, compact section headers (replaces 40px/24px empty margins) */
.WaGadgetContactProfileStateMain #idMemberProfileContainer .captionOuterContainer {
  margin: 1.5rem 0 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f2f6f7;
  border-left: 4px solid #018877;
  border-radius: 2px;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer .captionOuterContainer .captionContainer .fieldBody {
  float: none;
  width: 100%;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer .captionOuterContainer .captionContainer .fieldBody h4 {
  font-style: normal;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.3;
  color: #175d68;
  text-wrap: balance;
}

/* 4. Fluid inputs, 3:1 border contrast, 16px floor, and accessible focus */
.WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="text"],
.WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="password"],
.WaGadgetContactProfileStateMain #idMemberProfileContainer select,
.WaGadgetContactProfileStateMain #idMemberProfileContainer textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-block-size: 44px;
  padding: 0.5rem 0.75rem;
  font: inherit;
  font-size: max(1rem, 1em);
  border: 1px solid #767676;
  border-radius: 4px;
  accent-color: #018877;
}

/* Prevent combined.css :focus 2px border / 1px padding shift */
.WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="text"]:focus,
.WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="password"]:focus,
.WaGadgetContactProfileStateMain #idMemberProfileContainer select:focus,
.WaGadgetContactProfileStateMain #idMemberProfileContainer textarea:focus {
  border: 1px solid #018877;
  padding: 0.5rem 0.75rem;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="checkbox"],
.WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="radio"] {
  accent-color: #018877;
  inline-size: 1.125rem;
  block-size: 1.125rem;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer :is(input, select, textarea, button, a):focus-visible {
  outline: 3px solid #018877;
  outline-offset: 2px;
}

/* Bigger tap targets for radio & checkbox lists */
.WaGadgetContactProfileStateMain #idMemberProfileContainer .groupContainer .fieldItem {
  padding-block: 0.25rem;
}

.WaGadgetContactProfileStateMain #idMemberProfileContainer .groupContainer .fieldItem label {
  display: inline-flex;
  align-items: center;
  min-block-size: 36px;
  cursor: pointer;
}

@media (pointer: coarse) {
  .WaGadgetContactProfileStateMain #idMemberProfileContainer input[type="text"],
  .WaGadgetContactProfileStateMain #idMemberProfileContainer select,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .groupContainer .fieldItem label {
    min-block-size: 48px;
  }
}

/* 5. Stack labels above inputs at <= 767px for mobile & small-tablet ergonomics */
@media screen and (max-width: 767px) {
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table tbody,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table tr,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table td.left,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > table td.right,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > .fieldLabel,
  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer > .fieldBody {
    display: block;
    float: none;
    width: 100%;
    padding: 0;
    text-align: left;
  }

  .WaGadgetContactProfileStateMain #idMemberProfileContainer .fieldSubContainer .fieldLabel {
    margin-bottom: 0.25rem;
    font-size: 0.9375rem;
  }

  /* Responsive profile tabs */
  .WaGadgetContactProfile .memberDetailsTabsOuterContainer ul.memberDetailsTabMenu {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .WaGadgetContactProfile .memberDetailsTabsOuterContainer ul.memberDetailsTabMenu li {
    margin: 0;
  }

  /* Sticky bottom Save/Cancel bar on mobile */
  .WaGadgetContactProfile #idBottomButtonsContainer {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin: 1rem 0 0;
    padding: 0.75rem 0 max(0.75rem, env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #c1c1c1;
  }

  .WaGadgetContactProfile #idBottomButtonsContainer .left {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    float: none;
    width: 100%;
  }

  .WaGadgetContactProfile #idBottomButtonsContainer input.typeButton,
  .WaGadgetContactProfile #idBottomButtonsContainer input[type="submit"] {
    flex: 1 1 8rem;
    min-block-size: 48px;
    margin: 0;
    float: none;
  }
}
