/* NCN SFPE header tweaks */
#PAGEID_18143 .zoneHeader2{display:none !important;}
.camera_wrap .camera_thumbs_cont, #PAGEID_18143 .camera_thumbs_cont{display:none !important;}
@media (min-width:960px){
.zoneHeader1 #id_JaTIuQG td.WaLayoutItem{vertical-align:middle !important;}
.zoneHeader1 #id_yFnieka h1{margin-top:0 !important;margin-bottom:0 !important;}
.zoneHeader1 #id_FN16BEd .WaGadgetLoginButton{margin:0 30px 8px 0 !important;}
.zoneHeader1 #id_FN16BEd .WaGadgetLoginButton .alignCenter{text-align:right !important;}
.zoneHeader1 #id_FN16BEd .WaGadgetSocialProfile{margin:0 30px 0 0 !important;}
.zoneHeader1 #id_FN16BEd .WaGadgetSocialProfile ul{text-align:right !important;}
}
/* NCN-SFPE desktop LOG IN link white */
a.ncn-login-btn, a.ncn-login-btn:link, a.ncn-login-btn:visited, a.ncn-login-btn:active, html body a.ncn-login-btn {color:#fff !important;}
a.ncn-login-btn:hover, a.ncn-login-btn:focus {color:#E8B923 !important;text-decoration:underline !important;}


/* NCN footer CONNECT column */
#id_5QjKaE6{display:none !important;}
a.ncn-li,a.ncn-li:hover,a.ncn-li:focus,a.ncn-jc,a.ncn-jc:hover,a.ncn-jc:focus{color:#fff !important;text-decoration:none;font-size:inherit;}
a.ncn-li:hover,a.ncn-jc:hover{text-decoration:underline;}
a.ncn-li{display:inline-flex;align-items:center;}
a.ncn-li::before{content:"";display:inline-block;width:20px;height:20px;margin-right:8px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E") no-repeat center/contain;}
/* NCN home banner button */
#id_LxjwKjK a.stylizedButton{background:#E8B923 !important;background-image:none !important;color:#1a1a1a !important;border-color:#E8B923 !important;}
#id_LxjwKjK a.stylizedButton font,#id_LxjwKjK a.stylizedButton span{color:#1a1a1a !important;}
#id_LxjwKjK a.stylizedButton:hover,#id_LxjwKjK a.stylizedButton:focus{background:#D4A514 !important;border-color:#D4A514 !important;color:#1a1a1a !important;}

/* Mobile slideshow: show full photo */
/* DISABLED @media (max-width:767px){.WaGadgetSlideshow .camera_wrap{height:auto !important;aspect-ratio:3/2;background:#111;}.WaGadgetSlideshow .camera_target,.WaGadgetSlideshow .cameraCont,.WaGadgetSlideshow .cameraSlide,.WaGadgetSlideshow .camerarelative{width:100% !important;height:100% !important;}.WaGadgetSlideshow .cameraSlide img{position:absolute !important;left:0 !important;top:0 !important;margin:0 !important;width:100% !important;height:100% !important;object-fit:contain !important;}} */

/* Mobile text width + title size */
@media (max-width:767px){.zonePlace{padding-left:0 !important;padding-right:0 !important;}#idPrimaryContentBlock1Content>div{padding-left:0 !important;padding-right:0 !important;}.zonePlace .WaGadget{margin-left:0 !important;margin-right:0 !important;padding-left:0 !important;padding-right:0 !important;}.zonePlace .gadgetStyleBody{padding-left:16px !important;padding-right:16px !important;}.zoneHeader1 #id_yFnieka{display:none !important;}}

/* Mobile: center board member photos (Jeff/Karli images are not inside a centered paragraph) */
@media (max-width:767px){.zonePlace .WaLayoutItem .gadgetStyleBody img{display:block !important;margin-left:auto !important;margin-right:auto !important;}}


/* NCN mobile: Powered by Wild Apricot line fully visible (theme uses letter-spacing:-10px + fixed height + right align; .zonePlace padding was zeroed above) */
@media (max-width:767px){
.zoneWAbranding{padding:0 16px 24px !important;box-sizing:border-box;}
.zoneWAbranding .WABranding{max-width:100% !important;}
.zoneWAbranding #idFooterPoweredByContainer{height:auto !important;letter-spacing:normal !important;text-align:center !important;padding:12px 0 !important;}
.zoneWAbranding #idFooterPoweredByContainer:before{display:none !important;}
.zoneWAbranding #idFooterPoweredByWA{display:block !important;white-space:normal !important;overflow-wrap:anywhere;}
}


/* NCN-SFPE Chapter Board mobile centering */
@media (max-width:767px){body#PAGEID_18087 .WaLayoutTable, body#PAGEID_18087 .WaLayoutTable > tbody, body#PAGEID_18087 .WaLayoutTable > tbody > tr, body#PAGEID_18087 .WaLayoutTable > tbody > tr > td.WaLayoutItem {display:block !important;width:100% !important;padding:0 !important;box-sizing:border-box;} body#PAGEID_18087 td.WaLayoutSeparator {display:none !important;} body#PAGEID_18087 .WaLayoutPlaceHolder > div {padding-left:0 !important;padding-right:0 !important;} body#PAGEID_18087 .WaLayoutPlaceHolder .gadgetStyleBody {padding-left:0 !important;padding-right:0 !important;} body#PAGEID_18087 .WaLayoutPlaceHolder img {max-width:100% !important;height:auto !important;display:block !important;margin:0 auto !important;}}

/* NCN-SFPE mobile: system/login page side padding (gadget has no .gadgetStyleBody) */
@media (max-width:767px){.zoneContent .WaGadgetAuthorizationRequired{padding-left:16px !important;padding-right:16px !important;box-sizing:border-box;}.zoneContent .WaGadgetAuthorizationRequired .oAuthButtonsContainer a.wa-authenticateLoginLink{display:block;max-width:100%;box-sizing:border-box;margin-left:auto;margin-right:auto;}}

/* NCN-SFPE mobile: other system-page gadgets (no .gadgetStyleBody) get same side padding; login buttons full width */
@media (max-width:767px){.zoneContent .WaGadget:not(.WaGadgetContent):not(:has(.gadgetStyleBody)){padding-left:16px !important;padding-right:16px !important;box-sizing:border-box;}.zoneContent .WaGadgetAuthorizationRequired .oAuthButtonsContainer a.wa-authenticateLoginLink{width:100%;}}
/* NCN-SFPE mobile: reset/change-password gadgets side padding */
@media (max-width:767px){.zoneContent [class*="WaGadgetResetPassword"],.zoneContent [class*="WaGadgetChangePassword"],.zoneContent [class*="WaGadgetLoginForm"]{padding-left:16px !important;padding-right:16px !important;box-sizing:border-box;}.zoneContent .WaGadgetAuthorizationRequired .oAuthButtonsContainer a.wa-authenticateLoginLink{width:100% !important;}}
/* NCN-SFPE mobile: events/event detail/registration gadgets get 16px side gutters (class is WaGadgetEvents, not .WaGadget); keep forms inside viewport */
@media (max-width:767px){.zoneContent .WaGadgetEvents{padding-left:16px !important;padding-right:16px !important;box-sizing:border-box !important;max-width:100% !important;}.zoneContent .WaGadgetEvents img{max-width:100%;height:auto;}.zoneContent .WaGadgetEvents input[type=text],.zoneContent .WaGadgetEvents input[type=email],.zoneContent .WaGadgetEvents textarea,.zoneContent .WaGadgetEvents select{max-width:100% !important;box-sizing:border-box;}}
/* NCN-SFPE Chapter Board mobile: photos keep 16px gutters instead of touching screen edges */
@media (max-width:767px){body#PAGEID_18087 .WaLayoutPlaceHolder img{max-width:calc(100% - 32px) !important;}}

/* NCN-SFPE mobile: tight, even header spacing around the centered logo (~11px above/below) */
@media (max-width:767px){
.zoneHeader1 #id_JaTIuQG{margin-bottom:0 !important;}
.zoneHeader1 #id_JaTIuQG td.WaLayoutItem{margin-top:0 !important;}
.zoneHeader1 #id_HpMqnF2 .gadgetStyleBody{padding:11px 16px !important;}
.zoneHeader1 #id_HpMqnF2 .gadgetStyleBody p{margin:0 !important;line-height:0 !important;}
.zoneHeader1 #id_HpMqnF2 .gadgetStyleBody p br{display:none !important;}
}

/* NCN-SFPE Chapter Board mobile: make all board photos the same size as the 240px ones (Ian/Parisa images have no width attr) */
@media (max-width:767px){body#PAGEID_18087 .zoneContent .WaLayoutPlaceHolder img:not([width]){width:240px !important;max-width:240px !important;height:auto !important;display:block !important;margin-left:auto !important;margin-right:auto !important;}}

/* NCN-SFPE Chapter Board mobile: restore 16px footer gutters (board centering rule zeroed .gadgetStyleBody padding site-wide on this page) */
@media (max-width:767px){body#PAGEID_18087 .zoneFooter1 .WaLayoutPlaceHolder .gadgetStyleBody,body#PAGEID_18087 .zoneFooter2 .WaLayoutPlaceHolder .gadgetStyleBody{padding-left:16px !important;padding-right:16px !important;}}
/* NCN-SFPE Join Us membership cards */
.ncn-cards{display:flex;gap:24px;margin:24px 0 32px 0;}
.ncn-card{flex:1 1 0;box-sizing:border-box;background:#f7f9fb;border:1px solid #d5dde5;border-top:4px solid #1F5F8F;border-radius:6px;padding:22px 24px;}
.ncn-card h3{font-family:inherit;font-size:24px;line-height:1.25;font-weight:bold;color:#1F5F8F;margin:0 0 12px 0;}
.ncn-card ul{margin:0 0 20px 0;padding-left:20px;}
.ncn-card li{margin-bottom:8px;line-height:1.4;}
.ncn-card p{margin:0;}
a.ncn-btn,a.ncn-btn:link,a.ncn-btn:visited{display:inline-block;background:#2B4A68;color:#fff !important;text-decoration:none;text-transform:uppercase;font-weight:bold;padding:12px 28px;border-radius:3px;}
a.ncn-btn:hover,a.ncn-btn:focus{background:#1F5F8F;color:#fff !important;}
@media (max-width:767px){.ncn-cards{display:block;margin:16px 16px 24px 16px;}.ncn-card{margin-bottom:16px;}}
@media (max-width:767px){.ncn-cards{margin-left:0;margin-right:0;}}
/* NCN equal-height cards, desktop */ @media (min-width:768px){.ncn-cards{align-items:stretch;}.ncn-card{display:flex;flex-direction:column;}.ncn-card p:last-child{margin-top:auto;padding-top:16px;}}
/* NCN join-us: show Individual Membership level first */
.groupBodyVertical:has(input.typeRadio[levelid]){display:flex;flex-direction:column;}
.groupBodyVertical:has(input.typeRadio[levelid]) > .fieldItem:has(input[levelid='1117139']){order:-1;}


/* NCN member profile label (logged-in only) */
.loginContainer.authenticated .loginLink{position:relative !important;overflow:visible !important;}
.loginContainer.authenticated .loginLink::after{content:'Member Profile';position:absolute;left:50%;top:100%;transform:translateX(-50%);margin-top:-6px;font-size:11px;line-height:12px;font-weight:600;white-space:nowrap;text-align:center;color:#21669f;font-family:inherit;text-decoration:none;pointer-events:none;}

/* NCN member profile label - mobile panel: hidden */
.WaGadgetMobilePanel .mobilePanel .mobilePanelButton.buttonLogin.logged::after{content:none !important;display:none !important;}

/* NCN home: events calendar cards + sponsors marquee (appended) */
#id_Iq55dGB ul{list-style:none;margin:0;padding:0;}
#id_Iq55dGB li{position:relative;list-style:none;margin:0 0 12px 0;padding:14px 16px 14px 90px;min-height:84px;box-sizing:border-box;background:#fff;border:1px solid #d3e0ec;border-radius:10px;box-shadow:0 1px 4px rgba(33,102,159,.15);}
#id_Iq55dGB li::before{content:"";position:absolute;left:16px;top:14px;width:54px;height:56px;box-sizing:border-box;border:2px solid #21669f;border-radius:8px;background:linear-gradient(#21669f,#21669f) 0 0/100% 17px no-repeat,radial-gradient(circle,#21669f 1.6px,transparent 2.2px) 5px 23px/11px 10px repeat,#fff;}
#id_Iq55dGB li .title{font-weight:bold;margin-bottom:4px;}
#id_Iq55dGB li .date{color:#21669f;font-weight:bold;}
#id_Iq55dGB li .location{color:#555;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody{overflow:hidden;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2){width:max-content;white-space:nowrap;animation:ncnSponsorScroll 45s linear infinite;will-change:transform;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2):hover{animation-play-state:paused;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2) img{display:inline-block;vertical-align:middle;height:80px;width:auto;max-width:none;margin:0 30px;}
@keyframes ncnSponsorScroll{from{transform:translateX(100vw);}to{transform:translateX(-100%);}}
@media (prefers-reduced-motion:reduce){body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2){animation:none;transform:none;width:auto;white-space:normal;}}
@media (max-width:600px){#id_Iq55dGB li{padding:12px 12px 12px 78px;}#id_Iq55dGB li::before{left:12px;top:12px;width:50px;height:52px;}body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2) img{height:56px;margin:0 20px;}}
/* Month badge replaces calendar icon */
#id_Iq55dGB li::before{content:attr(data-month);display:flex;align-items:center;justify-content:center;width:54px;height:54px;border:none;border-radius:10px;background:#21669f;color:#fff;font-weight:700;font-size:16px;letter-spacing:0;text-transform:none;font-family:inherit;visibility:hidden;}
#id_Iq55dGB li[data-month]::before{visibility:visible;}
@media(max-width:600px){#id_Iq55dGB li::before{width:50px;height:50px;font-size:15px;}}
/* Sponsors marquee: left-to-right, visible on load */
@keyframes ncnSponsorScrollLR{from{transform:translateX(-100%);}to{transform:translateX(100vw);}}
body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2){animation:ncnSponsorScrollLR 45s linear infinite;animation-delay:-18s;}
@media (prefers-reduced-motion:reduce){body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2){animation:none;transform:none;width:auto;white-space:normal;}}
/* Calendar-page month badge (final) */
#id_Iq55dGB li{margin-right:16px;}
#id_Iq55dGB li::before{content:attr(data-month);display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:54px;height:56px;padding-top:14px;border:2px solid #21669f;border-radius:8px;background:linear-gradient(#21669f,#21669f) top/100% 14px no-repeat,#fff;color:#21669f;font-weight:700;font-size:17px;line-height:1;letter-spacing:0;text-transform:none;font-family:inherit;visibility:hidden;}
#id_Iq55dGB li[data-month]::before{visibility:visible;}
@media(max-width:600px){#id_Iq55dGB li::before{width:50px;height:52px;padding-top:13px;background:linear-gradient(#21669f,#21669f) top/100% 13px no-repeat,#fff;font-size:16px;}}


body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2){animation:none !important;transform:none !important;width:auto !important;white-space:nowrap;overflow:hidden;font-size:0;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track{display:flex;align-items:center;width:max-content;animation:ncnSponsorLoop 25s linear infinite;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track:hover{animation-play-state:paused;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track img{height:80px;width:auto;max-width:none;margin:0 30px;flex:0 0 auto;object-fit:contain;}
@keyframes ncnSponsorLoop{from{transform:translateX(-50%);}to{transform:translateX(0);}}
@media(max-width:600px){body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track img{height:56px;margin:0 20px;}}
@media (prefers-reduced-motion:reduce){body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track{animation:none;}}

body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track{padding:30px 0;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track img{width:200px;height:110px;object-fit:contain;margin:0 35px;}
@media(max-width:600px){body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track img{width:140px;height:80px;margin:0 20px;}}
body:has(#id_Iq55dGB) #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2):hover, body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track:hover, body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track:active{animation-play-state:running !important;}
body:has(#id_Iq55dGB) #id_ZlTOuWV .ncn-track{pointer-events:none;}

/* TEMP test: sponsor animation off */
body #id_ZlTOuWV .ncn-track{animation:none !important;}

/* Mobile slideshow full photo v2 */
/* Mobile slideshow: full photo, fixed 3:2 box, no size jumps (covers Camera's transition clones too) */
@media (max-width:767px){
.WaGadgetSlideshow .camera_wrap{height:auto !important;aspect-ratio:3/2 !important;background:#fff !important;overflow:hidden !important;}
.WaGadgetSlideshow .camera_wrap .camera_target,.WaGadgetSlideshow .camera_wrap .cameraCont,.WaGadgetSlideshow .camera_wrap .camera_overlayer{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;}
.WaGadgetSlideshow .camera_wrap .cameraappended{inset:0 !important;left:0 !important;top:0 !important;width:100% !important;height:100% !important;margin:0 !important;}
.WaGadgetSlideshow .camera_wrap .cameraSlide{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;margin:0 !important;}
.WaGadgetSlideshow .camera_wrap .cameraSlide img{position:absolute !important;left:0 !important;top:0 !important;margin:0 !important;width:100% !important;height:100% !important;max-width:none !important;object-fit:contain !important;object-position:center !important;transform:none !important;}
}

/* Sponsor strip v2 */
/* NCN sponsors marquee v3 (replaces all older sponsor rules) */
html body #id_ZlTOuWV .gadgetStyleBody{overflow:hidden !important;}
html body #id_ZlTOuWV .gadgetStyleBody p[data-ncn-loop]{animation:none !important;transform:none !important;width:auto !important;max-width:none !important;white-space:nowrap !important;overflow:hidden !important;font-size:0 !important;line-height:0 !important;margin:0 !important;padding:0 !important;}
html body #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2):not([data-ncn-loop]){visibility:hidden !important;height:120px !important;overflow:hidden !important;}
html body #id_ZlTOuWV .ncn-track{display:flex !important;flex-wrap:nowrap !important;align-items:center !important;gap:0 !important;width:max-content !important;padding:20px 0 !important;margin:0 !important;pointer-events:none !important;animation:ncnSponsorLoop3 24s linear infinite !important;animation-play-state:running !important;transform:translate3d(-50%,0,0);will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden;}
html body #id_ZlTOuWV .ncn-track:hover,html body #id_ZlTOuWV .ncn-track:active{animation-play-state:running !important;}
html body #id_ZlTOuWV .ncn-track img{display:block !important;flex:0 0 auto !important;box-sizing:border-box !important;width:240px !important;height:100px !important;max-width:none !important;max-height:none !important;min-width:0 !important;margin:0 !important;padding:8px 30px !important;object-fit:contain !important;object-position:center !important;transform:none !important;}
html body #id_ZlTOuWV .ncn-track img:nth-child(6n+3),html body #id_ZlTOuWV .ncn-track img:nth-child(6n){padding:0 10px !important;}
/* squarish logos (Holmes, Hayward) get less padding so they read the same size */
html body #id_ZlTOuWV .ncn-track img:nth-child(6n+1),html body #id_ZlTOuWV .ncn-track img:nth-child(6n+2){padding:0 50px !important;}
@keyframes ncnSponsorLoop3{from{transform:translate3d(-50%,0,0);}to{transform:translate3d(0,0,0);}}
@media (max-width:767px){
html body #id_ZlTOuWV .gadgetStyleBody p:nth-of-type(2):not([data-ncn-loop]){height:100px !important;}
html body #id_ZlTOuWV .ncn-track{padding:16px 0 !important;animation-duration:18s !important;}
html body #id_ZlTOuWV .ncn-track img{width:170px !important;height:72px !important;padding:6px 18px !important;}
html body #id_ZlTOuWV .ncn-track img:nth-child(6n+1),html body #id_ZlTOuWV .ncn-track img:nth-child(6n+2){padding:0 34px !important;}
html body #id_ZlTOuWV .ncn-track img:nth-child(6n+3),html body #id_ZlTOuWV .ncn-track img:nth-child(6n){padding:0 6px !important;}
}
@media (prefers-reduced-motion:reduce){html body #id_ZlTOuWV .ncn-track{animation-duration:60s !important;}}

/* hide emptied old tagline gadget */
#id_z9oxH51{display:none !important;}