h1 {
  color: #097abe !important;
}

.desktop-menu {
    display: flex;
    justify-content: space-evenly;
}

/* Change background of the entire sticky menu container */
.stickyMenu.active {
  background-color: #097abe !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
  z-index: 9999 !important;
}

/* Optional: ensure menuInner doesn't override it */
.stickyMenu.active .menuInner {
  background-color: transparent !important;
}

/* Optional: make text white for contrast */
.stickyMenu.active .menuInner a,
.stickyMenu.active .menuInner span {
  color: #ffffff !important;
}

.membersTable .memberDirectoryColumn2 .memberValue:first-of-type {
  font-weight: bold;
}

.membersTable .memberDirectoryColumn2 .memberValue:nth-of-type(2) {
  font-style: italic;
}

.WaGadgetContent,
.gadgetContentEditableArea,
.gadgetStyleBody {
  overflow: visible !important;
  position: relative !important;
  z-index: 1;
}

.zoom-img {
  transition: transform 0.3s ease;
  position: relative;
  z-index: 10;
  display: inline-block;
}

.zoom-img:hover {
  transform: scale(1.1);
  z-index: 20;
}

/* Ensure the image's parent doesn’t cut it off */
.gadgetContentEditableArea {
  overflow: visible !important;
  position: relative;
}

/* Login button (default view for logged-out users) */
.WaGadgetLoginButton .loginLink,
.WaGadgetLoginForm .loginLink {
    background: #ffffff !important;
    color: #097abe !important;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Login button on hover */
.WaGadgetLoginButton .loginLink:hover,
.WaGadgetLoginForm .loginLink:hover {
    background: #f57c00 !important;
    color: #ffffff !important;
}

/* Logout button (visible when user is logged in) */
.WaGadgetLoginButton .authenticated .loginLink,
.WaGadgetLoginForm .authenticated .loginLink {
    background: #ffffff !important;
    color: #097abe !important;
}

/* Logout button on hover */
.WaGadgetLoginButton .authenticated .loginLink:hover,
.WaGadgetLoginButton .authenticated .loginLink.hover,
.WaGadgetLoginForm .authenticated .loginLink:hover,
.WaGadgetLoginForm .authenticated .loginLink.hover {
    background: #097abe !important;
    color: #ffffff !important;
}

.levelPrice {
    color: #F57C00;
}

.paymentSystemsIconsBox .waPaymentSystemIcon.Offline {
    background-image: url('/resources/Theme_Overrides/casefile_advocate.v3.0/images/icons/Invoice%20Icon.png') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    padding-top: 20px;
}

.dir > .item:last-child .secondLevel * {
  text-align: left !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

.orange-link {
    color: #F57C00 !important;
    text-decoration: none;
}

.orange-link:hover {
  color: #097abe !important;
  text-decoration: underline;
}

/* 🔁 Unified NCSA Button Style */
.typeButton.registerButton,
.nextButton,
.ncsa-blue-button {
  display: inline-block !important;
  background-color: #097abe !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
}

.typeButton.registerButton:hover,
.nextButton:hover,
.ncsa-blue-button:hover {
  background-color: #F57C00 !important;
  color: white !important;
  border: none !important;
}

.ncsa-orange-button {
  display: inline-block !important;
  background-color: #F57C00 !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
}

.ncsa-orange-button:hover {
  background-color: #097abe !important;
  color: white !important;
  border: none !important;
}

.ncsa-orange-button2 {
  display: inline-block !important;
  background-color: #F57C00 !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
}

.ncsa-orange-button2:hover {
  background-color: #6E6E6E !important;
  color: white !important;
  border: none !important;
}

/* 🧩 UMass Custom Button Base Style */
input[type="submit"].typeButton,
input[type="submit"].forumPanelButton,
input[type="submit"].replyBottom,
input[type="submit"]#ctl00_ContentArea_loginViewControl_loginControl_Login,
input[type="submit"]#ctl00_ContentArea_btnSubmitRequest,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_actionPanel_startSearchButton,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_groupAccountSummary_addNewMemberButton,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_Membership_RenewalButton,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_memberProfile_profileHeader_idSendEmailButton,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_editButtonTop,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_archiveButtonTop,
input[type="submit"]#FunctionalBlock1_ctl00_topicList_addTopicTop,
input[type="submit"]#FunctionalBlock1_ctl00_messageList_replyBottom,
input[type="submit"]#FunctionalBlock1_ctl00_blogPostList_newEntry {
  display: inline-block !important;
  background-color: #097abe !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease-in-out;
}

input[type="submit"].typeButton:hover,
input[type="submit"].forumPanelButton:hover,
input[type="submit"].replyBottom:hover,
input[type="submit"]#ctl00_ContentArea_loginViewControl_loginControl_Login:hover,
input[type="submit"]#ctl00_ContentArea_btnSubmitRequest:hover,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_actionPanel_startSearchButton:hover,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_groupAccountSummary_addNewMemberButton:hover,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_Membership_RenewalButton:hover,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_memberProfile_profileHeader_idSendEmailButton:hover,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_editButtonTop:hover,
input[type="submit"]#FunctionalBlock1_ctl00_ctl00_archiveButtonTop:hover,
input[type="submit"]#FunctionalBlock1_ctl00_topicList_addTopicTop:hover,
input[type="submit"]#FunctionalBlock1_ctl00_messageList_replyBottom:hover,
input[type="submit"]#FunctionalBlock1_ctl00_blogPostList_newEntry:hover {
  background-color: #F57C00 !important;
  color: white !important;
}

.WaGadgetLast.WaGadgetForumUpdates.forumUpdatesStyle001,
.WaGadgetLast.WaGadgetUpcomingEvents.upcomingEventsStyle002,
.WaGadgetLast.WaGadgetRecentBlogPosts.recentBlogPostsStyle001 {
  text-align: center;
}

/* Only on desktop */
@media (min-width: 769px) {
  .WaLayoutItem:has(.ncsa-vertical-center) {
    position: relative !important;
  }

  .WaLayoutItem:has(.ncsa-vertical-center) > * {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .ncsa-vertical-center img {
    display: block;
  }
}

/* Hide on tablet and smaller */
@media (max-width: 768px) {
  .desktop-login-icon {
    display: none !important;
  }

  .ncsa-site-header-text {
    padding-top: 20px !important;
  }

  .ncsa-footer-column {
    display: flex;
    justify-content: center !important;
  }

  .ncsa-footer-column .gadgetStyleBody,
  .ncsa-footer-column .gadgetContentEditableArea {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .ncsa-center-mobile {
    text-align: center !important;
  }

  .ncsa-reverse-on-mobile .WaLayoutRow {
    display: flex !important;
    flex-direction: column !important;
  }

  .ncsa-reverse-on-mobile .WaLayoutRow > .WaLayoutItem:nth-child(1) {
    order: 2 !important;
  }

  .ncsa-reverse-on-mobile .WaLayoutRow > .WaLayoutItem:nth-child(2) {
    order: 1 !important;
  }

  .ncsa-reverse-on-mobile .WaLayoutRow > .WaLayoutItem {
    width: 100% !important;
    display: block !important;
  }

  .remove-padding-on-mobile {
    padding-left: 0px !important;
  }
}