/* Remove Extra details */
.fieldContainer.textFieldContainer .fieldSubContainer.singleStringContainer table td.right .fieldBody input.subjectTextBox,
.fieldContainer.textFieldContainer .fieldSubContainer.singleStringContainer table td.right .fieldBody input.typeText,
.fieldContainer.textFieldContainer .fieldSubContainer.singleStringContainer table td.right .fieldBody input[type=text] {
  color: white;
}

/* Principal Member */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl00_levelView_recurring,
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl00_levelView_group {
  display: none;
}

/* Associate Member */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl01_levelView_group,
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl01_levelView_recurring {
  display: none;
}

/* Trade Member */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl02_levelView_group,
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl02_levelView_recurring {
  display: none;
}

/* Enthusiast Member */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl03_levelView_group,
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl03_levelView_recurring {
  display: none;
}

/* New Level */
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl04_levelView_group,
#FunctionalBlock1_ctl00_memberApplicationMain_ctl00_stepTemplate_levelListView_membershipLevelsRepeater_ctl04_levelView_recurring {
  display: none;
}

/* Mobile menu */
.WaGadgetMenuHorizontal.menuStyle002 .menuInner.mobileView .item a {
  color: #ffffff !important;
}

.WaGadgetMenuHorizontal.menuStyle002 .menuInner.mobileView ul.firstLevel {
  background-color: #333333 !important;
}

.WaGadgetMenuHorizontal.menuStyle002 .menuInner.mobileView ul li.sel > .item > a {
  color: #221e1f !important;
  background-color: #f2740c !important;
}

/* Hide authorization/social login options */
.WaGadgetAuthorizationRequired .openAuthFormContainer {
  display: none !important;
}

#socialLoginContainer,
#idSocialLoginContainer {
  display: none;
}

/* TDSA homepage refresh draft - page 18108 */
#PAGEID_18108 {
  background-color: #221e1f !important;
}

/* Keep header, logo, hero image, nav, and social icons original */
#PAGEID_18108 .zoneHeader,
#PAGEID_18108 .zoneHeader *,
#PAGEID_18108 .WaPlaceHolderHeader,
#PAGEID_18108 .WaPlaceHolderHeader *,
#PAGEID_18108 .WaGadgetMenuHorizontal,
#PAGEID_18108 .WaGadgetMenuHorizontal *,
#PAGEID_18108 .WaGadgetSocialProfile,
#PAGEID_18108 .WaGadgetSocialProfile * {
  background-color: transparent !important;
  color: #ffffff !important;
}

/* Default dark-section text */
#PAGEID_18108 p,
#PAGEID_18108 li,
#PAGEID_18108 span {
  color: #d8d1c8 !important;
}

#PAGEID_18108 h1,
#PAGEID_18108 h2,
#PAGEID_18108 h3,
#PAGEID_18108 h4 {
  color: #f2740c !important;
}

/* Turn actual content gadgets into cream cards */
#PAGEID_18108 .WaGadgetContent {
  background-color: #f7f3ea !important;
  color: #2b2522 !important;
  padding: 24px 28px !important;
}

/* Do not cream-card menus, featured members, social/nav areas, login, or image sections */
#PAGEID_18108 .WaGadgetMenuHorizontal .WaGadgetContent,
#PAGEID_18108 .WaGadgetFeaturedMember .WaGadgetContent,
#PAGEID_18108 .WaGadgetMemberDirectory .WaGadgetContent,
#PAGEID_18108 .WaGadgetSocialProfile .WaGadgetContent,
#PAGEID_18108 .WaGadgetNavigationLinks .WaGadgetContent,
#PAGEID_18108 .WaGadgetLoginButton .WaGadgetContent,
#PAGEID_18108 .WaGadgetContent:has(img) {
  background-color: transparent !important;
  padding: 0 !important;
}

/* Keep featured members on dark background */
#PAGEID_18108 .WaGadgetFeaturedMember,
#PAGEID_18108 .WaGadgetFeaturedMember *,
#PAGEID_18108 .WaGadgetMemberDirectory,
#PAGEID_18108 .WaGadgetMemberDirectory *,
#PAGEID_18108 .membersTable,
#PAGEID_18108 .membersTable *,
#PAGEID_18108 .memberDirectory,
#PAGEID_18108 .memberDirectory * {
  background-color: transparent !important;
}

/* Cream-card text */
#PAGEID_18108 .WaGadgetContent h1,
#PAGEID_18108 .WaGadgetContent h2,
#PAGEID_18108 .WaGadgetContent h3,
#PAGEID_18108 .WaGadgetContent h4 {
  color: #4a1f14 !important;
}

#PAGEID_18108 .WaGadgetContent p,
#PAGEID_18108 .WaGadgetContent li,
#PAGEID_18108 .WaGadgetContent span {
  color: #2b2522 !important;
}

/* Keep text near images readable on dark background */
#PAGEID_18108 .WaGadgetContent:has(img) h1,
#PAGEID_18108 .WaGadgetContent:has(img) h2,
#PAGEID_18108 .WaGadgetContent:has(img) h3,
#PAGEID_18108 .WaGadgetContent:has(img) h4,
#PAGEID_18108 .WaGadgetContent:has(img) p,
#PAGEID_18108 .WaGadgetContent:has(img) span,
#PAGEID_18108 .WaGadgetContent:has(img) li {
  color: #d8d1c8 !important;
}

/* Links */
#PAGEID_18108 a {
  color: #f2740c !important;
}

#PAGEID_18108 .WaGadgetContent a {
  color: #8a3b1f !important;
}

#PAGEID_18108 .WaGadgetContent:has(img) a {
  color: #f2740c !important;
}

/* Buttons */
#PAGEID_18108 input[type="button"],
#PAGEID_18108 input[type="submit"],
#PAGEID_18108 .buttonStyle001,
#PAGEID_18108 .WaGadgetButton a,
#PAGEID_18108 a.stylizedButton {
  background-color: #8a3b1f !important;
  color: #ffffff !important;
}

/* Remove accidental blank cream separators */
#PAGEID_18108 .WaGadgetContent:empty,
#PAGEID_18108 .gadgetStyleNone:empty {
  display: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* Social feed section */
#PAGEID_18108 .tdsa-social-feed {
  background-color: transparent !important;
  color: #d8d1c8 !important;
  text-align: center !important;
  margin: 40px auto !important;
  padding: 0 !important;
}

#PAGEID_18108 .tdsa-social-feed h2 {
  color: #f2740c !important;
  font-size: 32px !important;
  margin-bottom: 24px !important;
}

#PAGEID_18108 .tdsa-social-feed p {
  color: #d8d1c8 !important;
}

/* Page template footer/contact block */
#PAGEID_18108 .zoneFooter .WaGadgetContent,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent,
#PAGEID_18108 .footer .WaGadgetContent,
#PAGEID_18108 .pageFooter .WaGadgetContent,
#PAGEID_18108 .footerContent .WaGadgetContent {
  background-color: #f7f3ea !important;
  color: #2b2522 !important;
  padding: 24px 28px !important;
}

#PAGEID_18108 .zoneFooter .WaGadgetContent *,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent *,
#PAGEID_18108 .footer .WaGadgetContent *,
#PAGEID_18108 .pageFooter .WaGadgetContent *,
#PAGEID_18108 .footerContent .WaGadgetContent * {
  color: #2b2522 !important;
}

#PAGEID_18108 .zoneFooter .WaGadgetContent h1,
#PAGEID_18108 .zoneFooter .WaGadgetContent h2,
#PAGEID_18108 .zoneFooter .WaGadgetContent h3,
#PAGEID_18108 .zoneFooter .WaGadgetContent h4,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent h1,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent h2,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent h3,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent h4 {
  color: #4a1f14 !important;
}

#PAGEID_18108 .zoneFooter .WaGadgetContent a,
#PAGEID_18108 .WaPlaceHolderFooter .WaGadgetContent a,
#PAGEID_18108 .footer .WaGadgetContent a,
#PAGEID_18108 .pageFooter .WaGadgetContent a,
#PAGEID_18108 .footerContent .WaGadgetContent a {
  color: #8a3b1f !important;
}
/* Final contact/footer fix - target the actual contact card */
#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) {
  background-color: #f7f3ea !important;
  color: #2b2522 !important;
}

#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) *,
#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) [style] {
  color: #2b2522 !important;
}

#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) h1,
#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) h2,
#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) h3,
#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) h4 {
  color: #4a1f14 !important;
}

#PAGEID_18108 .WaGadgetContent:has(a[href*="texasdistilledspirits.org"]) a {
  color: #8a3b1f !important;
}