/* 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 */
@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;}
