/* ERRE IMPIANTI — personalizzazioni, ottobre 2026 */
:root{--erre-navy:#14283f;--erre-orange:#ff9c32}
a:focus-visible,button:focus-visible{outline:3px solid #d77813;outline-offset:4px}
#sp-bottom{background:#14283f!important;color:#dbe5ee!important;padding:55px 0 40px!important}
#sp-bottom h3{color:#fff!important;font-size:19px!important;margin-bottom:22px!important}
#sp-bottom a{color:#dbe5ee!important}#sp-bottom a:hover{color:#ffb35b!important}
#sp-bottom p,#sp-bottom li{line-height:1.7}
#sp-footer{background:#0c1c2d!important;color:#bdcad7!important;border-top:1px solid #33465a;font-size:13px}
#sp-footer a{color:#ffb35b!important}
#sp-bottom .mod-speasyimagegallery img{border-radius:4px}
body:has(#section-id-1584897385777) #section-id-1511613808{background-image:linear-gradient(90deg,rgba(10,27,46,.75),rgba(10,27,46,.2)),url('/images/2024/04/21/impianti-elettrici-industriali-2.png')!important}
@media(max-width:991px){#sp-logo .sp-column{display:flex!important;align-items:center!important;gap:12px;min-height:72px}#sp-logo .logo{min-width:0;flex:1;padding:0!important;margin:0!important}#sp-logo .logo img{width:100%;max-width:380px;height:auto!important;max-height:50px;object-fit:contain}#offcanvas-toggler{float:none!important;flex:0 0 28px;margin:0!important;padding:0!important;line-height:1!important;display:flex!important;align-items:center;min-height:44px}#sp-bottom{padding:40px 0 20px!important}}
@media(max-width:575px){#sp-top-bar{font-size:12px!important}#sp-top-bar .sp-contact-info li{margin:0 8px 0 0!important}#sp-logo .sp-column{gap:12px;min-height:68px}#sp-logo .logo img{max-height:40px}#sp-bottom .sp-module{margin-bottom:26px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*{transition:none!important}}

.offcanvas-menu li{position:relative}.offcanvas-menu .erre-submenu-toggle{position:absolute;right:0;top:3px;width:36px;height:36px;border:1px solid #dce3ea;border-radius:4px;background:#f3f6f9;color:#14283f;font-size:24px;line-height:30px;cursor:pointer}.offcanvas-menu li>a{padding-right:42px!important}.offcanvas-menu .menu-child{padding-left:15px!important;margin:4px 0 14px!important}.offcanvas-menu .menu-child a{font-size:15px!important}.offcanvas-menu{overflow-y:auto!important;max-height:100vh}.offcanvas-menu .menu-toggler{display:none!important}

.com-contact.contact{max-width:900px;margin:0 auto;color:#42566d;line-height:1.7}.com-contact.contact h2{color:#14283f;font-size:30px;letter-spacing:-.02em;margin:0 0 24px}.com-contact.contact>.row{background:#f3f6f9;border:1px solid #e1e8ef;border-radius:8px;padding:28px;margin:0 0 40px}.com-contact.contact .contact-form{background:#fff;border:1px solid #e1e8ef;border-radius:8px;padding:28px;margin-bottom:50px}.com-contact.contact .control-group{margin-bottom:20px}.com-contact.contact .form-control{border-color:#c8d3df;min-height:46px;border-radius:5px}.com-contact.contact .btn-primary{background:#ff9c32;border-color:#ff9c32;color:#14283f;font-weight:700;padding:13px 25px}.com-contact.contact .btn-primary:hover{background:#ef8b20;border-color:#ef8b20}.com-contact.contact .contact-position{margin-bottom:14px!important}@media(max-width:575px){.com-contact.contact>.row,.com-contact.contact .contact-form{padding:20px}.com-contact.contact h2{font-size:26px}}

/* Contrasto sezione progetti della home */
body.itemid-101 #section-id-1519279374154{background:#14283f!important}
body.itemid-101 #section-id-1519279374154 .sppb-addon-title{color:#fff!important}
body.itemid-101 #sppb-addon-1519279731874 .sppb-addon-content,body.itemid-101 #sppb-addon-1519279731874 .sppb-addon-content p{color:#e6edf5!important}
body.itemid-101 #sppb-addon-1519279731874 .sppb-addon-content a{color:#ffbd75!important;text-decoration:underline;text-underline-offset:4px}
body.itemid-101 #sppb-addon-1519279731874 .sppb-addon-content a:hover{color:#fff!important}


/* Contrasto mappa e recapiti nella pagina Chi siamo */
body:has(#sppb-addon-1584898712933) #section-id-1584897385777,body:has(#sppb-addon-1584898712933) #section-id-1519278520252{background:#14283f!important}
body:has(#sppb-addon-1584898712933) #sppb-addon-1584897385780 .sppb-addon-content,body:has(#sppb-addon-1584898712933) #sppb-addon-1584897385780 p,body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 h2{color:#fff!important}
body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 .sppb-addon-content,body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 p{color:#e6edf5!important}
body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 a{color:#ffbd75!important;text-decoration:underline;text-underline-offset:4px}
body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 a:hover{color:#fff!important}
body:has(#sppb-addon-1584898712933) #sppb-addon-1584898712933 .sppb-btn{background:#ffbd75!important;border-color:#ffbd75!important;color:#14283f!important;font-weight:700}

body:has(#sppb-addon-1584898712933) #sppb-addon-1584897385780 p span{color:#fff!important}
body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 p span{color:#e6edf5!important}
body:has(#sppb-addon-1584898712933) #sppb-addon-1519278800191 a span{color:#ffbd75!important}
