/* Finsweet cookie consent banner, manager and preferences for the landing pages.
   The fs-cc and cookie-banner rules are copied from css/surex-redesign2024.css (the live site), plus the
   Webflow base rules they rely on from css/components.css. Keep the fs-cc rules in step with the live stylesheet. */
.w-inline-block{max-width:100%;display:inline-block}
.w-button{display:inline-block;padding:9px 15px;background-color:#3898EC;color:white;border:0;line-height:inherit;text-decoration:none;cursor:pointer;border-radius:0}
.w-embed:before,.w-embed:after{content:" ";display:table;grid-column-start:1;grid-row-start:1;grid-column-end:2;grid-row-end:2}
.w-embed:after{clear:both}
.w-form{margin:0 0 15px}
.w-form-done{display:none;padding:20px;text-align:center;background-color:#dddddd}
.w-form-fail{display:none;margin-top:10px;padding:10px;background-color:#ffdede}
.w-form-label{display:inline-block;cursor:pointer;font-weight:normal;margin-bottom:0px}
.fs-cc-banner_trigger{display:none}
.fs-cc-prefs_button{background-color:#4353ff;border:2px solid #4353ff;border-radius:500px;margin-right:8px;padding:10px 20px;font-size:15px;font-weight:700}
.fs-cc-prefs_button.fs-cc-button-alt{color:#4353ff;background-color:#fff;border-color:#4353ff}
.fs-cc-prefs_checkbox-field{background-color:#ccc;border-radius:999px;width:44px;height:24px;margin-bottom:0;padding:2px;display:flex;position:relative}
.fs-cc-prefs_checkbox{z-index:1;opacity:0;cursor:pointer;width:100%;height:100%;margin-top:0;margin-left:0;position:absolute;inset:0%}
.fs-cc-prefs_label{color:#4353ff;margin-top:0;margin-bottom:0;margin-right:32px;font-size:16px;font-weight:700}
.fs-cc-prefs_text{color:#021a69;font-size:12px}
.fs-cc-prefs_toggle-wrapper{flex-direction:row;justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}
.fs-cc-manager_button{color:#333;cursor:pointer;background-color:#fff;border-radius:500px;flex-direction:column;padding:10px;transition:color .2s;display:flex}
.fs-cc-manager_button:hover{color:#4353ff}
.fs-cc-prefs_option{border-bottom:1px solid #33333326;padding-top:16px;padding-bottom:16px}
.fs-cc-prefs_close-icon{color:#021a7c;width:16px;height:16px}
.fs-cc-prefs_content{height:100%;padding:40px 32px;overflow:scroll}
.fs-cc-manager_icon{width:32px;height:32px}
.fs-cc-prefs_title{color:#021a69;font-size:24px;font-weight:700;line-height:1.2em}
.fs-cc-prefs_trigger{display:none}
.fs-cc-prefs_close{z-index:1;color:#333;cursor:pointer;background-color:#f5f6ff;border-radius:100%;padding:10px;font-size:20px;text-decoration:none;position:absolute;inset:-12px -12px auto auto;box-shadow:-1px 1px 12px #3333331a}
.fs-cc-manager_trigger{display:none}
.fs-cc-prefs_form{background-color:#fff;border-radius:12px;width:100%;max-width:576px;height:100%;max-height:70vh;margin-bottom:0;position:relative}
.fs-cc-prefs_submit-hide,.fs-cc-prefs_checkbox-label{display:none}
.fs-cc-prefs_component{z-index:997;flex-direction:column;justify-content:center;align-items:center;width:100%;height:100%;margin-bottom:0;padding:32px;display:none;position:fixed;inset:0%}
.fs-cc-prefs_overlay{z-index:-1;background-color:#03052499;width:100%;height:100%;position:absolute;inset:0%}
.fs-cc-manager_component{z-index:999;display:none;position:fixed;inset:auto auto 20px 20px}
.fs-cc-prefs_toggle{background-color:#fff;border-radius:999px;width:20px;height:20px}
.fs-cc-prefs_buttons-wrapper{grid-template-rows:auto;grid-template-columns:1fr 1fr;grid-auto-columns:1fr;justify-content:flex-end;margin-top:32px;margin-right:-8px;display:flex}
.fs-cc-prefs_space-medium{margin-bottom:40px}
.fs-cc-prefs_space-small{margin-bottom:12px}
@media screen and (max-width:767px){.fs-cc-prefs_title{font-size:20px}}
@media screen and (max-width:479px){.fs-cc-prefs_button{margin-bottom:8px}.fs-cc-prefs_content,.fs-cc-prefs_component{padding:24px}}
/* Landing pages only. The banner bar itself is styled in css/consent-banner.css (2 Nov 2026), which the landing pages load
   just before this file, so the position rules below win.
   Below 960px the fixed call bar (.mcall, 58px) sits at the bottom, so the banner and the manager button sit above it. */
@media (max-width:959px){.fs-cc-banner_component{inset:auto 0 58px 0;padding-bottom:14px}.fs-cc-manager_component{inset:auto auto 78px 20px}}
/* From 960px the hero is two columns with the quote form on the right, and at 1440x900 its Send button ends at about
   886px (residential, with the reCAPTCHA box), so a bar across the whole width would cover it on first view. The bar
   is still flush with the bottom and left edges but stops 24px short of the form column. The form column's left edge
   is (100% - W)/2 + 20px + (W - 40px) - (W - 40px - gap) * .425, with W = min(100%, 1200px) (.wrap) and gap the .hgrid
   column gap (css/lp.css: columns 1.15fr / .85fr); "right" below is 100% minus that edge, plus 24px. */
@media (min-width:960px){
.fs-cc-banner_component{right:calc((100% - min(100%,1200px)) / 2 + 44px + (min(100%,1200px) - 40px - clamp(32px,3.5vw,48px)) * .425)}
.fs-cc-banner_container{flex-direction:column;align-items:stretch;gap:12px;max-width:none}
.fs-cc-banner_text{padding-right:40px}
.fs-cc-banner_buttons-wrapper{justify-content:flex-start;flex-wrap:wrap}
.fs-cc-banner_close{position:absolute;inset:-6px -6px auto auto;margin:0}
}
