/* PITS 2026: ASP.NET Web Forms master-page integration.
   Load AFTER pits2026.css and pits2026-pages.css.
   No changes to form controls, postbacks, Web Forms validation or DB operations.
*/
body.pits-webforms-2026 {
  padding: 0 !important; margin: 0 !important;
  background: #fff !important; color: var(--navy, #10283f);
  font-family: Inter, 'Segoe UI', sans-serif;
}
body.pits-webforms-2026 > form#form1 {
  min-height: 100vh; display: flex; flex-direction: column;
  margin: 0; padding: 0; width: 100%;
}
body.pits-webforms-2026 .pits-main-content {flex: 1 0 auto; min-width: 0;}
body.pits-webforms-2026 .pits-main-content:focus {outline: none;}
/* Prevent legacy #header/#footer and Bootstrap navbar rules overriding 2026 brand. */
body.pits-webforms-2026 #site-header {
  background: rgba(255,255,255,.96); color: var(--navy);
  position: sticky; top: 0; left: auto; right: auto;
  padding: 0; margin: 0; width: 100%; z-index: 1100;
  height: 84px; border-bottom: 1px solid #e0ebf0;
}
body.pits-webforms-2026 #site-header .site-header__inner {max-width: 1180px;}
body.pits-webforms-2026 #site-header .brand {text-decoration: none;}
body.pits-webforms-2026 #site-header .primary-nav__list {padding-left: 0;}
body.pits-webforms-2026 #site-header .primary-nav__list > li > a:not(.button) {
  color: #31475c; font-size: .76rem; font-weight: 700; text-decoration: none;
}
body.pits-webforms-2026 #site-header .primary-nav__list > li > a:not(.button):hover,
body.pits-webforms-2026 #site-header .primary-nav__list > li > a:not(.button):focus-visible {color: #087f8c;}
body.pits-webforms-2026 #site-header .primary-nav__login > a:not(.button) {color:#087f8c;}
body.pits-webforms-2026 #site-header .primary-nav__cta > a {color: #fff;}
body.pits-webforms-2026 .pits-main-content > .pits-page2026,
body.pits-webforms-2026 .pits-main-content > .pits-contact2026 {margin:0;}
body.pits-webforms-2026 #pits-site-footer {margin:0 !important; padding:0; border:0; box-shadow:none;}
body.pits-webforms-2026 #pits-site-footer .footer__links h3 {color:#fff;}
body.pits-webforms-2026 #pits-site-footer .footer__links a {color:#a1b7c5; text-decoration:none;}
body.pits-webforms-2026 #pits-site-footer .footer__links a:hover {color:#80dfd0;}
body.pits-webforms-2026 #pits-site-footer .brand {text-decoration:none;}
body.pits-webforms-2026 #pits-site-footer .footer__bottom {line-height:1.65;}
body.pits-webforms-2026 #site-header .pits-logout-link {text-decoration:none;}
/* Dynamic Web Forms logout LinkButton is rendered as an anchor. */
body.pits-webforms-2026 .primary-nav__list .pits-logout-link {cursor:pointer;}
body.pits-webforms-2026 #back-to-top {padding: 0;}
body.pits-webforms-2026 #back-to-top svg {width:20px;height:20px;stroke:currentColor;stroke-width:1.8;}
/* Ensure responsive menu works when bootstrap is present. */
@media (max-width: 1020px) {
  body.pits-webforms-2026 #site-header {height: 75px;}
  body.pits-webforms-2026 #site-header .primary-nav {top:74px;}
  body.pits-webforms-2026 #site-header .primary-nav__list > li > a:not(.button) {font-size:.9rem;}
}
@media (max-width: 560px) {
  body.pits-webforms-2026 .announcement__inner {line-height:1.45;}
  body.pits-webforms-2026 #site-header .brand__wordmark strong {font-size:.78rem;}
}
@media print {
  body.pits-webforms-2026 .announcement,
  body.pits-webforms-2026 #site-header,
  body.pits-webforms-2026 #pits-site-footer,
  body.pits-webforms-2026 #back-to-top {display:none!important;}
}
