/* Code to change page width START */
.zoneInner, .zoneWrap, .zoneInner >
.WaPlaceHolder { max-width: 1400px; }
/* Code to change page width END */



span.postedByLink
{
  display: none
}


.itemAuthor
{
  display: none;
}

HTML > BODY
{
  background: white;
}

a,
a:visited {
color: #660066
}

a:hover {
color: #000;
}


.cnLoginBoxAreaContainer a { color: #fffff;}


.nivoSlider {
    width:600px !important;
    height:267px !important;
}

.WaGadgetMemberDirectoryStateList .memberDirectoryOuterContainer .memberDirectoryContainer .memberDirectory {
    font-size: 14px;
}


<!-- Styles for my first specific scrolling content -->
#logoParade {
width: 628px;
height: 75px;
position: relative;#e6e6e6;
}

#logoParade div.scrollableArea a {
display: block;
float: left;
padding-left: 30px;
}

<!-- Styles for my second specific scrolling content -->
#logoParade2 {
width: 628px;
height: 75px;
position: relative;
}

#logoParade2 div.scrollableArea a {
display: block;
float: left;
padding-left: 30px;
}

ul.dropdown li span {
    background: none repeat scroll 0 0 #e6e6e6;
  color: #aaa;
    font-size: 24px;
}

.WaGadgetBlog .boxBodyInfoOuterContainer h5 .postedByLabel, .WaGadgetBlog .boxBodyInfoOuterContainer h5 .postedByLink {
visibility: hidden;
}


.WaGadgetBlogStateList UL.boxesList LI.boxesListItem .boxHeaderOuterContainer .boxHeaderContainer h4 a {
    color: #303030;
font-size: 24px;
font-family: 'helvetica';
}

.WaGadgetBlogStateList UL.boxesList LI.boxesListItem .boxHeaderOuterContainer .boxHeaderContainer {
    background: none repeat scroll 0 0 #e6e6e6;

}

.WaGadgetBlogStateList UL.boxesList LI.boxesListItem .boxBodyOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer {
    background: none repeat scroll 0 0 #fff;

}


WaGadgetCustomMenu.gadgetStyle002 li a,.WaGadgetNavigationLinks.gadgetStyle002 li a {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: white;
    font-family: "roboto condensed";
    font-weight: normal;
    padding: 100px;
    padding-left: 20px;
    display: inline-block;
    text-transform: capitalize;
}

.gadgetStyle001 .gadgetStyleBody, .gadgetStyle002 .gadgetStyleBody, .gadgetStyle003 .gadgetStyleBody {
    background-color: white
    
}


.WaGadgetCustomMenu.gadgetStyle002 li:after,.WaGadgetNavigationLinks.gadgetStyle002 li:after {
    content: "";
    }

.WaGadgetCustomMenu.gadgetStyle002 li:nth-child(4n+1) a,.WaGadgetNavigationLinks.gadgetStyle002 li:nth-child(4n+1) a {
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    color: #000000;
    text-transform: capitalize;
    font-weight: 1500;
    font-size: 18px;
}

.WaGadgetCustomMenu.gadgetStyle002 li:nth-child(4n+2) a,.WaGadgetNavigationLinks.gadgetStyle002 li:nth-child(4n+2) a {
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    color: #000000;
    text-transform: capitalize;
    font-weight: 1500;
    font-size: 18px;
   }

.WaGadgetCustomMenu.gadgetStyle002 li:nth-child(4n+3) a,.WaGadgetNavigationLinks.gadgetStyle002 li:nth-child(4n+3) a {
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    color: #000000;
    text-transform: capitalize;
    font-weight: 1500;
    font-size: 18px;
}

.WaGadgetCustomMenu.gadgetStyle002 li:nth-child(4n+4) a,.WaGadgetNavigationLinks.gadgetStyle002 li:nth-child(4n+4) a {
    background-color: #ffffff;
    padding-left: 40px;
    padding-right: 40px;
    color: #000000;
    text-transform: capitalize;
    font-weight: 1500;
    font-size: 18px;
   }

.WaGadgetCustomMenu.gadgetStyle003 li a,.WaGadgetNavigationLinks.gadgetStyle003 li a {
    font-family: 'roboto condensed';
    text-transform: none;
    font-size: 17px!important;
    font-weight: 400!important;
    color: #275148
}

.WaGadgetBlogStateList UL.boxesList LI.boxesListItem .boxBodyOuterContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxInfoContainer h5 {
    font-size: 24px;
}


/* image replacement */
    .graphic, #prevBtn, #nextBtn, #slider1prev, #slider1next{
        margin:0;
        padding:0;
        display:block;
        overflow:hidden;
        text-indent:-8000px;
        }

ul.dropdown ul li a span {
     font-size: 1.9em;
}

ul.dropdown ul li span {
background: none repeat scroll 0 0 #e6e6e6;
font-size: 1.9em;
}

.footerContentHolder {
    background-color: #f9a11a;
}

.footerContent a:link,
.footerContent a:visited{
color:#fffff;
}

a.stylizedButton.buttonStyle001 {
text-transform: capitalize;
}

a.stylizedButton.buttonStyle002 {
background: #660066;
text-transform: capitalize;
}

a.stylizedButton.buttonStyle002:hover {
background: #009fbd; 
}

a.stylizedButton.buttonStyle003 {
text-transform: capitalize;
}


#PAGEID_1068257 .artBoxContainerType-gadgetStyle003 .artBoxGeneralInnerContainer .artBoxTitleContainer .artBoxTitleInnerContainer .b2 {background-image: none;background-color: #660066;}

#PAGEID_1068257 .artBoxContainerType-gadgetStyle003 .artBoxGeneralInnerContainer .artBoxContentInnerContainer .artBoxInner .moduleItem .itemTitleContainer a.itemTitle {color: #660066;}

#PAGEID_1068257 .artBoxContainerType-gadgetStyle003 .artBoxGeneralInnerContainer .artBoxContentInnerContainer .artBoxInner .moduleItem .itemTitleContainer a.itemTitle:hover {color: #660066;}



/*Wild Apricot legacy styles for compatibility with version 5.0. Begin.*/
ul.dropdown li.selected > div > span {
    color: aaaaa;
}

#idFooterContentHolder { background: #660066; }

/*Wild Apricot legacy styles for compatibility with version 5.0. End.*/

.WaGadgetMenuHorizontal .menuInner ul.firstLevel {
background: white;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel>li>.item>a {
text-transform: capitalize;
text-shadow: 0px 0px #FF0000;
color: #660066;
font-size: 20px
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel>li>.item:hover>a,
.WaGadgetMenuHorizontal .menuInner ul.firstLevel>li.sel>.item>a {
color: #999;
}

.WaGadgetMenuHorizontal .menuInner ul.firstLevel>li.dir>.item>a>span:after {
 width: 0; 
  height: 0; 
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid #660066;
border-radius: 0;
background: transparent;
position: absolute;
margin-left: 4px;
margin-top: 1px;
}

.WaGadgetMenuHorizontal .menuInner ul ul li>.item>a {
background: #e6e6e6;
color:#660066;
font-size: 18px
}

.WaGadgetMenuHorizontal .menuInner ul ul li>.item:hover>a {
background: #660066;
}

.WaGadgetMenuHorizontal .menuInner ul ul li.sel>.item>a {
color: #999;
}

[class*="EditableArea"] h1, #idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer h1,
[class*="EditableArea"] h1.pageTitle, #idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer h1.pageTitle {
color: #303030;
font-size: 30px;
font-family: 'helvetica';
text-transform: none;
}

[class*="EditableArea"] h2, #idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer h2 {
color: #303030;
font-family: 'helvetica';
text-transform: none;
font-size: 18px;
}

[class*="EditableArea"] h3, #idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer h3 {
color: #660066;
font-family: 'helvetica';
text-transform: none;
font-size: 18px;
}

[class*="EditableArea"] h4, #idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer h4 {
color: #000;
font-family: 'helvetica';
text-transform: none;
font-size: 18px;
}

[class*="EditableArea"] h5, #idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer h5 {
color: #FFF;
font-family: 'helvetica';
text-transform: none;
font-size: 12px;
}


.WaGadgetEventsStateList h3.sectionTitle {
color: #000;
font-size: 20px;
font-family: 'helvetica', sans-serif;
}


.WaGadgetEventsStateList .boxOuterContainer .boxHeaderOuterContainer .boxHeaderContainer h4.boxHeaderTitle {
background: #fffff;
padding: 10px 10px;
}

.WaGadgetEventsStateList .boxOuterContainer .boxHeaderOuterContainer .boxHeaderContainer h4.boxHeaderTitle a {
color: #333333;
font-size: 22px;
font-family: 'helvetica';
text-transform: none;
}

.WaGadgetEventsStateList .boxOuterContainer .boxHeaderOuterContainer .boxHeaderContainer h4.boxHeaderTitle a:hover {
color: #f9a11a;
}

#idFooterPoweredByWA {
font-size: 8px;
}

.WaGadgetAuthorizationRequired .loginPageTable #idSubmitBox #idLoginButtonBox span input.loginButton {
background: #660066;
}

.WaGadgetEventsStateCalendar h3 {
color: #000;
}

.WaGadgetEventsStateCalendar .EventListCalendar td>div {
background: #660066;
}

.WaGadgetBlogStateList #idAddNewPostButtonContainer input[type=submit] {
background: #660066;
}

.pagerOuterContainer .linkCurrent {
background: #660066;
}

.pagerOuterContainer a:visited,
.pagerOuterContainer a {
color: #660066;
}

p {
font-size: 14px;
}

.gadgetStyle001 .gadgetStyleTitle h4, .gadgetStyle002 .gadgetStyleTitle h4, .gadgetStyle003 .gadgetStyleTitle h4,
.WaGadgetBlog .blogEntryOuterContainer .boxHeaderOuterContainer .boxHeaderContainer h4.boxHeaderTitle,
.WaGadgetEventsStateDetails .pageTitleOuterContainer .pageTitleContainer h1.pageTitle {
color: #333333;
text-transform: capitalize;
font-weight: bold;
font-size: 20px;
font-family: 'helvetica';
}

.WaGadgetEventsStateList .boxOuterContainer .boxBodyOuterContainer .boxBodyContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxActionContainer input.typeButton {
background: #660066; 
}

.WaGadgetEvents .boxInfoContainer ul.boxInfo li {
font-size: 14px;
}

.WaGadgetEvents .boxInfoContainer ul.boxInfo li {
font-weight: bold;
}

.WaGadgetEvents .boxInfoContainer ul.boxInfo li {
text-align: left;
}

.WaGadgetEventsStateList .boxOuterContainer .boxBodyOuterContainer .boxBodyContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxActionContainer input.typeButton:hover {
background: 494949; 
}

.WaGadgetEventsStateDetails .pageTitleOuterContainer .pageTitleContainer h1.pageTitle {
text-transform: none;
}

.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .registrationInfoContainer ul.registrationInfo li label strong {
font-size: 15px;
}

.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .registrationInfoContainer ul.registrationInfo li div {
font-size: 14px;
}

#idDropdownScrollableContentContainer_idEditorToolbar_BlockStyles_FormattingDropdown_Dropdown_ScrollablePanelContainer {
element.style {
background: #303030; 
}
}

.WaGadgetEventsStateDetails .boxOuterContainer .boxBodyContainer .boxBodyInfoOuterContainer .boxBodyInfoContainer .boxActionContainer input.typeButton {
background: #303030; 
}
.video-container {
	position:relative;
	padding-bottom:56.25%;
	padding-top:30px;
	height:0;
	overflow:hidden;
}

.video-container iframe, .video-container object, .video-container embed {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

element.style {
}

/* AuSAE 2026 header. Paste below the existing Wild Apricot CSS. */
/* The selectors are scoped to the IDs on the new page-template header. */
/* Font-face rules can be pasted after the site's existing CSS rules. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/poppins/v24/pxiEyp8kv8JHgFVrJJfecg.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLGT9Z1xlFQ.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/poppins/v24/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2") format("woff2");
}

/* Override the site's 1400px cap for this header only. */
.zoneHeaderOuter:has(#header-topbar-section) .zoneWrap,
.zoneHeaderOuter:has(#header-topbar-section) .zoneInner,
.zoneHeaderOuter:has(#header-topbar-section) .zoneInner > #header-section {
  max-width: 1440px;
}

#header-topbar-section,
#header-nav-section {
  box-sizing: border-box;
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  font-family: "Poppins", Arial, sans-serif;
}

.zoneHeaderOuter:has(#header-topbar-section) {
  overflow-x: clip;
}

/* Purple strip, including the space outside the 1440px content area. */
#header-topbar-section {
  position: relative;
  isolation: isolate;
  margin-bottom: 0;
  padding-block: 16px;
  background: #660066 !important;
}

#header-topbar-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #660066;
  pointer-events: none;
}

/* Preserve Wild Apricot's editable table columns and separators. */
#header-topbar-section > .WaLayoutTable,
#header-nav-section > .WaLayoutTable {
  width: 100%;
}

#header-topbar-section .WaLayoutItem,
#header-nav-section .WaLayoutItem {
  vertical-align: middle;
}

/* Top bar: search | social links | member login. */
#header-topbar-section .WaLayoutRow {
  min-height: 68px;
  gap: 16px;
}

#header-topbar-search .searchBox,
#header-topbar-search .searchBoxFieldContainer {
  width: 238px;
  max-width: 100%;
}

#header-topbar-search .searchBoxField {
  box-sizing: border-box;
  width: 100% !important;
  height: 32px;
  padding: 0 14px 0 40px;
  border: 0;
  border-radius: 16px;
  background: #f5f5f5;
  box-shadow: none;
  color: #1e1a34;
  font: 400 14px/32px "Poppins", Arial, sans-serif;
}

#header-topbar-search .searchBoxField::placeholder {
  color: #807d8a;
  opacity: 1;
}

#header-topbar-search .searchBoxFieldContainer::before {
  z-index: 1;
  left: 14px;
  color: #660066;
  font-size: 15px;
}

#header-topbar-search .searchBoxField:focus-visible {
  outline: 2px solid #d6a5d6;
  outline-offset: 2px;
}

/* Use the Font Awesome brands stylesheet already loaded by this site. */
#header-topbar-social ul.orientationHorizontal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
}

#header-topbar-social ul.orientationHorizontal > li {
  flex: none;
  margin: 0 !important;
}

#header-topbar-social li:has(> a.LinkedIn) { order: 1; }
#header-topbar-social li:has(> a.Facebook) { order: 2; }
#header-topbar-social li:has(> a.Instagram) { order: 3; }
#header-topbar-social li:has(> a.X) { display: none; }

#header-topbar-social li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16) !important;
  background-image: none !important;
  color: #fff !important;
  text-decoration: none;
}

#header-topbar-social li > a::before {
  font-family: "Font Awesome 5 Brands";
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

#header-topbar-social a.LinkedIn::before { content: "\f0e1"; }
#header-topbar-social a.Facebook::before { content: "\f39e"; }
#header-topbar-social a.Instagram::before { content: "\f16d"; }

#header-topbar-social li > a:hover,
#header-topbar-social li > a:focus-visible {
  background: #c800a1 !important;
}

#header-topbar-login .loginBoxLinkContainer .loginBoxLinkButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 128px;
  height: 36px;
  padding: 0 12px !important;
  border: 1px solid #fff;
  border-radius: 4px;
  background: none !important;
  color: transparent !important;
  font-size: 0 !important;
  text-decoration: none !important;
}

/* Visual label only: the gadget's actual link text remains "Log in". */
#header-topbar-login .loginBoxLinkButton::after {
  content: "Member Login";
  color: #fff;
  font: 600 14px/1 "Poppins", Arial, sans-serif;
  white-space: nowrap;
}

#header-topbar-login .loginBoxLinkButton:hover,
#header-topbar-login .loginBoxLinkButton:focus-visible {
  background: #fff !important;
}

#header-topbar-login .loginBoxLinkButton:hover::after,
#header-topbar-login .loginBoxLinkButton:focus-visible::after {
  color: #660066;
}

#header-topbar-login a:not(.loginBoxLinkButton) {
  color: #fff;
}

/* White navigation row: logo | five main links | Ask Simon. */
#header-nav-section {
  background: #fff;
}

#header-nav-section .WaLayoutRow {
  min-height: 85px;
  gap: 20px;
}

#header-nav-logo,
#header-nav-logo .gadgetStyleBody,
#header-nav-logo p {
  margin: 0;
  padding: 0;
  line-height: 0;
}

#header-nav-logo a {
  display: inline-block;
}

#header-nav-logo img {
  display: block;
  width: 140px !important;
  max-width: 100%;
  height: auto !important;
}

#header-nav-menu {
  overflow: visible;
  background: transparent !important;
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent !important;
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li {
  display: block;
  flex: none;
  padding: 0;
}

/* The logo already links home; the approved navigation starts with About. */
#header-nav-menu .menuInner ul.firstLevel > li:has(> .item > a[title="Home"]) {
  display: none !important;
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li > .item > a {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 85px;
  padding: 0 !important;
  background: transparent !important;
  color: #1e1a34 !important;
  font: 500 15px/1.3 "Poppins", Arial, sans-serif !important;
  text-align: left;
  text-decoration: none;
  text-shadow: none !important;
  text-transform: none !important;
  white-space: nowrap;
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li > .item > a > span {
  display: inline-flex;
  align-items: center;
  height: auto;
  padding: 0;
  letter-spacing: normal;
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li.dir > .item > a > span::after {
  position: static;
  display: inline-block;
  box-sizing: border-box;
  width: 7px;
  height: 7px;
  margin: -4px 0 0 8px;
  border: solid #d59bd7;
  border-width: 0 2px 2px 0;
  border-radius: 0;
  background: none;
  transform: rotate(45deg);
  vertical-align: middle;
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li > .item:hover > a,
#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li.sel > .item > a,
#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li > .item > a:focus-visible {
  color: #660066 !important;
}

#header-nav-menu .menuInner ul.secondLevel {
  min-width: 240px;
  padding: 6px 0;
  border-top: 3px solid #660066;
  background: #fff;
  box-shadow: 0 12px 24px -8px rgba(30, 26, 52, 0.25);
}

#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li:hover > .item > ul.secondLevel,
#header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li:focus-within > .item > ul.secondLevel {
  display: block;
}

#header-nav-menu .menuInner ul.secondLevel li > .item > a {
  padding: 10px 14px !important;
  background: #fff !important;
  color: #1e1a34 !important;
  font: 400 14px/1.4 "Poppins", Arial, sans-serif !important;
  text-decoration: none;
  text-transform: none !important;
}

#header-nav-menu .menuInner ul.secondLevel li > .item:hover > a,
#header-nav-menu .menuInner ul.secondLevel li > .item > a:focus-visible {
  background: #f4f2f5 !important;
  color: #660066 !important;
}

#header-nav-ask-simon .gadgetStyleBody,
#header-nav-ask-simon p {
  margin: 0;
  text-align: right !important;
}

/* A following Custom HTML gadget makes Wild Apricot add 20px to this gadget. */
#header-nav-ask-simon {
  margin-bottom: 0 !important;
}

#header-nav-ask-simon a.stylizedButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: 149px;
  height: 46px;
  gap: 9px;
  padding: 0 14px 0 7px;
  border: 0;
  border-radius: 4px;
  background: #660066 !important;
  box-shadow: none !important;
  color: #fff !important;
  font: 500 14px/1 "Poppins", Arial, sans-serif !important;
  text-decoration: none !important;
  text-shadow: none !important;
  white-space: nowrap;
}

/* Upload ask-simon-avatar.png to Wild Apricot Files > Pictures.
   Replace this URL if Wild Apricot gives the upload a different path. */
#header-nav-ask-simon a.stylizedButton::before {
  content: "";
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff url("/resources/Pictures/ask-simon-avatar.png") center / cover no-repeat;
}

#header-nav-ask-simon a.stylizedButton:hover,
#header-nav-ask-simon a.stylizedButton:focus-visible {
  background: #c800a1 !important;
}

/* Reflow only on mobile; keep the builder's table controls on larger screens. */
@media (max-width: 767px) {
  #header-topbar-section > .WaLayoutTable,
  #header-topbar-section > .WaLayoutTable > tbody,
  #header-nav-section > .WaLayoutTable,
  #header-nav-section > .WaLayoutTable > tbody {
    display: block;
    width: 100%;
  }

  #header-topbar-section .WaLayoutRow,
  #header-nav-section .WaLayoutRow {
    display: flex;
    align-items: center;
    width: 100%;
  }

  #header-topbar-section .WaLayoutSeparator,
  #header-nav-section .WaLayoutSeparator {
    display: none;
  }

  #header-topbar-section .WaLayoutItem,
  #header-nav-section .WaLayoutItem {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
  }

  #header-nav-section .WaLayoutRow {
    flex-wrap: wrap;
    min-height: 0;
    padding-block: 10px;
    row-gap: 0;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    flex: 1 1 auto;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(3) {
    order: 3;
    flex: 0 0 100%;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    order: 2;
    flex: 0 0 max-content;
  }

  #header-nav-menu .menuInner:not(.mobileView) ul.firstLevel {
    gap: 16px;
  }

  #header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li > .item > a {
    height: 44px;
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  #header-topbar-section .WaLayoutRow {
    flex-wrap: wrap;
    min-height: 0;
    row-gap: 10px;
  }

  #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    flex: 0 0 100%;
  }

  #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(3) {
    flex: 1 1 auto;
  }

  #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    flex: 0 0 max-content;
  }

  #header-topbar-search .searchBox,
  #header-topbar-search .searchBoxFieldContainer {
    width: 100%;
  }

  #header-topbar-social ul.orientationHorizontal {
    justify-content: flex-start;
  }

  #header-nav-logo img {
    width: 120px !important;
  }

  #header-nav-menu .menuInner:not(.mobileView) ul.firstLevel {
    gap: 0 14px;
  }

  #header-nav-menu .menuInner:not(.mobileView) ul.firstLevel > li > .item > a {
    height: 38px;
    font-size: 13px !important;
  }
}

/* Keep header content inside the viewport while the purple strip spans it. */
@media (max-width: 1366px) {
  #header-topbar-section,
  #header-nav-section {
    padding-inline: 40px;
  }
}

@media (max-width: 767px) {
  #header-topbar-section,
  #header-nav-section {
    padding-inline: 20px;
  }
}

/* Tablet hamburger for the AuSAE header menu. Wild Apricot supplies the click handler. */
@media (min-width: 617px) and (max-width: 1240px) {
  #header-nav-menu .menuInner {
    position: relative;
  }

  #header-nav-menu .menuInner > .menuButton {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin-inline: auto;
    border-radius: 4px;
    background: #660066;
    cursor: pointer;
  }

  #header-nav-menu .menuInner > .menuButton::before {
    content: "\2630";
    color: #fff;
    font: 28px/1 Arial, sans-serif;
  }

  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel {
    display: none;
    position: absolute;
    z-index: 4000;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: min(360px, calc(100vw - 80px));
    max-height: min(70vh, 560px);
    overflow-x: hidden;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin: 0;
    padding: 8px 0;
    border: 1px solid #e8e0e9;
    border-radius: 4px;
    background: #fff !important;
    box-shadow: 0 12px 24px -8px rgba(30, 26, 52, 0.25);
  }

  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel > li {
    width: 100%;
  }

  /* Wild Apricot adds this empty overflow trigger to the tablet dropdown. */
  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel > li.phantom {
    display: none !important;
  }

  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel > li > .item > a {
    height: auto;
    min-height: 44px;
    padding: 10px 16px !important;
    white-space: normal;
  }

  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel > li.dir > .item > a > span::after {
    display: none;
  }

  #header-nav-menu .menuInner ul.secondLevel {
    display: block;
    position: static;
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    background: #faf7fa;
    box-shadow: none;
  }

  #header-nav-menu .menuInner ul.secondLevel li > .item > a {
    padding: 8px 16px 8px 32px !important;
    font-size: 13px !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (min-width: 617px) and (max-width: 767px) {
  #header-nav-section .WaLayoutRow {
    flex-wrap: nowrap;
    gap: 8px;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    flex: 0 1 140px;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(3) {
    order: 0;
    flex: 1 1 auto;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    order: 0;
    flex: 0 0 auto;
  }
}

/* Approved tablet header layout at 768?1240px. */
@media (min-width: 768px) and (max-width: 1240px) {
  #header-topbar-section > .WaLayoutTable,
  #header-topbar-section > .WaLayoutTable > tbody,
  #header-nav-section > .WaLayoutTable,
  #header-nav-section > .WaLayoutTable > tbody {
    display: block;
    width: 100%;
  }

  #header-topbar-section .WaLayoutRow,
  #header-nav-section .WaLayoutRow {
    display: flex;
    align-items: center;
    width: 100%;
  }

  #header-topbar-section .WaLayoutSeparator,
  #header-nav-section .WaLayoutSeparator {
    display: none;
  }

  #header-topbar-section .WaLayoutItem,
  #header-nav-section .WaLayoutItem {
    display: flex;
    align-items: center;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
  }

  #header-topbar-section .WaLayoutRow {
    min-height: 0;
    gap: 50px;
  }

  #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    flex: 1 1 0;
  }

  #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(3) {
    flex: 0 0 102px;
  }

  #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    flex: 0 0 128px;
  }

  #header-nav-section .WaLayoutRow {
    min-height: 84px;
    gap: 24px;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    order: 1;
    flex: 1 1 0;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(3) {
    order: 3;
    flex: 0 0 30px;
  }

  #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    order: 2;
    flex: 0 0 149px;
  }

  #header-nav-logo img {
    width: 130px !important;
  }

  #header-nav-menu .menuInner > .menuButton {
    width: 30px;
    height: 44px;
    margin-inline: 0;
    border-radius: 0;
    background: transparent;
  }

  #header-nav-menu .menuInner > .menuButton::before {
    content: "";
    display: block;
    width: 30px;
    height: 22px;
    background:
      linear-gradient(#d59bd7 0 0) top / 100% 3px no-repeat,
      linear-gradient(#d59bd7 0 0) center / 100% 3px no-repeat,
      linear-gradient(#d59bd7 0 0) bottom / 100% 3px no-repeat;
  }

  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel {
    left: auto;
    right: 0;
    transform: none;
  }
}

/* Approved mobile header: two compact rows and a full-width menu panel. */
@media (max-width: 767px) {
  html.header-mobile-menu-enhanced #header-topbar-section {
    padding-block: 10px;
  }

  html.header-mobile-menu-enhanced #header-topbar-section .WaLayoutRow {
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 29px;
    gap: 12px;
  }

  html.header-mobile-menu-enhanced #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    flex: 1 1 200px;
    max-width: 200px;
  }

  html.header-mobile-menu-enhanced #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(3),
  html.header-mobile-menu-enhanced #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    display: none;
  }

  html.header-mobile-menu-enhanced #header-topbar-section .WaLayoutRow > .WaLayoutItem:nth-child(5) {
    flex: 0 0 104px;
  }

  html.header-mobile-menu-enhanced #header-topbar-search .searchBox,
  html.header-mobile-menu-enhanced #header-topbar-search .searchBoxFieldContainer {
    width: 100%;
  }

  html.header-mobile-menu-enhanced #header-topbar-search .searchBoxField {
    height: 29px;
    font-size: 12px;
    line-height: 29px;
  }

  html.header-mobile-menu-enhanced #header-topbar-login .loginBoxLinkContainer .loginBoxLinkButton {
    min-width: 104px;
    height: 28px;
    padding-inline: 8px !important;
  }

  html.header-mobile-menu-enhanced #header-topbar-login .loginBoxLinkButton::after {
    font-size: 12px;
  }

  html.header-mobile-menu-enhanced #header-nav-section .WaLayoutRow {
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: 60px;
    gap: 0;
    padding-block: 0;
  }

  html.header-mobile-menu-enhanced #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    order: 1;
    flex: 1 1 auto;
  }

  html.header-mobile-menu-enhanced #header-nav-section .WaLayoutRow > .WaLayoutItem:nth-child(3) {
    order: 2;
    flex: 0 0 20px;
  }

  html.header-mobile-menu-enhanced #header-nav-logo img {
    width: 110px !important;
  }

  #header-nav-menu .menuInner {
    position: relative;
  }

  #header-nav-menu .menuInner > .menuButton {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 20px;
    height: 32px;
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    box-shadow: none !important;
    cursor: pointer;
  }

  #header-nav-menu .menuInner > .menuButton::before {
    content: "";
    display: block;
    width: 20px;
    height: 14px;
    background:
      linear-gradient(#d59bd7 0 0) top / 100% 2px no-repeat,
      linear-gradient(#d59bd7 0 0) center / 100% 2px no-repeat,
      linear-gradient(#d59bd7 0 0) bottom / 100% 2px no-repeat;
  }

  #header-nav-menu .menuInner.mobileView > ul.firstLevel,
  #header-nav-menu .menuInner:not(.mobileView) > ul.firstLevel {
    position: absolute !important;
    z-index: 4000;
    top: calc(100% + 14px);
    right: 0;
    left: auto !important;
    transform: none !important;
    box-sizing: border-box;
    width: min(340px, calc(100vw - 40px));
    max-height: min(70vh, 560px);
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 8px 0;
    border: 1px solid #e8e0e9;
    border-radius: 4px;
    background: #fff !important;
    box-shadow: 0 12px 24px -8px rgba(30, 26, 52, 0.25);
  }

  #header-nav-menu .menuInner > ul.firstLevel > li:not(.header-mobile-extras) {
    display: block;
    float: none;
    width: 100%;
    margin: 0;
  }

  #header-nav-menu .menuInner > ul.firstLevel > li:not(.header-mobile-extras) > .item > a {
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 44px;
    padding: 11px 16px !important;
    background: #fff !important;
    color: #1e1a34 !important;
    font: 500 14px/1.5 "Poppins", Arial, sans-serif !important;
    text-align: left;
    text-decoration: none;
    white-space: normal;
  }

  #header-nav-menu .menuInner ul.secondLevel {
    display: block !important;
    position: static !important;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0 0 8px;
    border: 0;
    background: #faf7fa;
    box-shadow: none;
  }

  #header-nav-menu .menuInner ul.secondLevel li > .item > a {
    padding: 8px 16px 8px 32px !important;
    font-size: 13px !important;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #header-nav-menu .menuInner > ul.firstLevel > li.phantom {
    display: none !important;
  }

  #header-nav-menu .menuInner > ul.firstLevel > li.header-mobile-extras {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 16px;
    border-top: 1px solid #e8e0e9;
    background: #fff;
  }

  #header-nav-menu .header-mobile-ask-simon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 9px;
    height: 40px;
    padding: 0 13px 0 6px;
    border-radius: 4px;
    background: #660066;
    color: #fff !important;
    font: 500 13px/1 "Poppins", Arial, sans-serif;
    text-decoration: none;
    white-space: nowrap;
  }

  #header-nav-menu .header-mobile-ask-simon::before {
    content: "";
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff url("/resources/Pictures/ask-simon-avatar.png") center / cover no-repeat;
  }

  #header-nav-menu .header-mobile-social {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
  }

  #header-nav-menu .header-mobile-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: #660066;
    color: #fff;
    text-decoration: none;
  }

  #header-nav-menu .header-mobile-social a::before {
    font: 400 15px/1 "Font Awesome 5 Brands";
  }

  #header-nav-menu .header-mobile-social a.LinkedIn::before { content: "\f0e1"; }
  #header-nav-menu .header-mobile-social a.Facebook::before { content: "\f39e"; }
  #header-nav-menu .header-mobile-social a.Instagram::before { content: "\f16d"; }

  #header-nav-menu .header-mobile-ask-simon:hover,
  #header-nav-menu .header-mobile-ask-simon:focus-visible,
  #header-nav-menu .header-mobile-social a:hover,
  #header-nav-menu .header-mobile-social a:focus-visible {
    background: #c800a1;
  }
}
