/* FX Sails modern look, LIVE 2026-10-10 (Grok Bot). Loaded after fx2.css from header.php. Undo: /home3/fxsails/fx-golive-backup-20261010/rollback */
html{-webkit-text-size-adjust:100%;}
body{background:#eef2f6 !important;margin:0;color:#1d2733;font:16px/1.6 "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;text-align:left;}
#mhead{background:linear-gradient(180deg,#00203f 0%,#002B53 100%);}
/* header: original photo/logo image, bigger + livelier */
#header{position:relative;width:1030px;max-width:100%;height:auto;aspect-ratio:920/265;margin:0 auto;background:none;box-shadow:0 10px 28px rgba(0,0,0,.45);overflow:hidden;}
#header:before{content:"";position:absolute;inset:0;background:url(img/fx_header_2010.jpg) top center/100% auto no-repeat;filter:contrast(1.08) saturate(1.15);}
#header:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,rgba(255,255,255,0) 40%,rgba(255,255,255,.2) 50%,rgba(255,255,255,0) 60%) no-repeat;background-size:300% 100%;background-position:120% 0;animation:fxmshine 9s ease-in-out 1s infinite;}
@keyframes fxmshine{0%{background-position:120% 0}35%,100%{background-position:-20% 0}}
@media (prefers-reduced-motion:reduce){#header:after{animation:none;display:none}}
#topnavcontainer{position:absolute;z-index:2;top:12px;left:4.5%;width:auto;margin:0;padding:0;overflow:visible;}
#topnavcontainer li{font:600 13px/16px "Segoe UI",Roboto,Arial,sans-serif;border-left:1px solid rgba(255,255,255,.7);}
#topnavcontainer li:first-child{border-left:0;}
#topnavcontainer li a,#topnavcontainer a:link,#topnavcontainer a:visited{color:#fff;text-decoration:none;text-shadow:0 1px 3px rgba(0,0,0,.7);}
#topnavcontainer li a:hover{color:#ffd23f;}
/* quote box (same form, bigger, card style) */
#quikquote{position:absolute;z-index:2;top:25.6%;left:4.5%;width:380px;margin:0;float:none;display:block;border:0;border-radius:10px;overflow:hidden;background:#f4f6f8;box-shadow:0 8px 24px rgba(0,0,0,.45);transition:box-shadow .3s,transform .3s;}
#quikquote:hover{box-shadow:0 12px 30px rgba(0,0,0,.55);transform:translateY(-1px);}
#quikquote table{width:100%;background:#f4f6f8;border-collapse:collapse;}
#quikquote td{padding:3px 12px;vertical-align:middle;}
#quikquote tr:first-child td{background:#db4333;padding:8px 14px;}
#quikquote h2{font:800 15px/18px "Segoe UI",Roboto,Arial,sans-serif;letter-spacing:.03em;padding:0;color:#fff;}
#quikquote h3{font:700 14px/18px "Segoe UI",Roboto,Arial,sans-serif;color:#1d2733;padding:0;text-align:right;white-space:nowrap;}
#quikquote tr:nth-child(2) td{padding-top:8px;}
#quikquote input[type=text]{width:100%;box-sizing:border-box;height:30px;margin:0;padding:4px 10px;font:15px "Segoe UI",Roboto,Arial,sans-serif;border:1px solid #9aa7b4;border-radius:6px;background:#fff;}
#quikquote input[type=text]:focus{outline:none;border-color:#002B53;box-shadow:0 0 0 3px rgba(0,43,83,.2);}
#quikquote tr:last-child td{padding-top:6px;padding-bottom:9px;}
#quikquote img{display:block;}
#searchsubmit,#searchsubmit:hover{width:100%;height:38px;margin:0;padding:0 10px;border:0;border-radius:6px;background:#006B5C;color:#fff;font:800 15px/38px "Segoe UI",Roboto,Arial,sans-serif;cursor:pointer;box-shadow:0 3px 8px rgba(0,0,0,.25);transition:background .2s;}
#searchsubmit:hover{background:#002B53;color:#ffd23f;}
/* tap-to-call: sits on the phone number already in the header photo (desktop); visible button on small screens */
#mtel{position:absolute;z-index:2;left:7%;top:82%;width:30%;height:10%;color:transparent;font-size:1px;text-decoration:none;border-radius:6px;}
#mtel:hover,#mtel:focus{outline:2px solid rgba(255,255,255,.8);outline-offset:2px;}
/* main menu */
#submenuh{float:none;display:block;position:relative;width:auto;margin:0;border-top:3px solid #db4333;background:#002B53;}
#submenuh ul{display:flex;flex-wrap:wrap;justify-content:center;max-width:1030px;margin:0 auto;background:none;padding:0;}
#submenuh ul li{float:none;}
#submenuh li a,#submenuh li a:link,#submenuh li a:visited,#submenuh li a:hover,#submenuh li a:active{display:block;width:auto;height:auto;background:none;padding:13px 17px 11px;color:#fff;font:700 14px/20px "Segoe UI",Roboto,Arial,sans-serif;letter-spacing:.06em;text-decoration:none;border-bottom:3px solid transparent;transition:background .2s,border-color .2s;}
#submenuh li a:hover{background:rgba(255,255,255,.1);border-bottom-color:#db4333;color:#fff;}
/* page body */
#pagecontainer{width:auto;max-width:1030px;margin:28px auto 0;padding:10px 32px 0;background:#fff;border-radius:12px 12px 0 0;box-shadow:0 4px 24px rgba(0,30,60,.12);box-sizing:border-box;}
#pagecontainer>table{display:block;width:100%;border-spacing:0;}
#pagecontainer>table>tbody{display:block;}
#pagecontainer>table>tbody>tr{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:40px;}
#pagecontainer>table>tbody>tr>td{display:block;width:auto;padding:0;}
#pagecontainer h1{font:800 32px/1.2 "Segoe UI",Roboto,Arial,sans-serif;color:#002B53;margin:22px 0 14px;}
#pagecontainer p{font-size:17px;line-height:1.65;margin:0 0 14px;color:#1d2733;}
#pagecontainer ul{font-size:17px;line-height:1.6;margin:0 0 10px;padding-left:22px;}
#pagecontainer ul li{margin:0 0 8px;font:17px/1.6 "Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:#1d2733;}
#pagecontainer ul li::marker{color:#db4333;}
#pagecontainer a{color:#0a5aa8;font-weight:600;text-decoration:none;}
#pagecontainer a:hover{text-decoration:underline;}
#pagecontainer img{max-width:100%;height:auto;border-radius:8px;}
#pagecontainer hr{height:1px;border:0;background:#e2e8ee;margin:30px 0;}
.head{font:800 22px/1.3 "Segoe UI",Roboto,Arial,sans-serif !important;color:#006B5C;}
p.head{margin-top:6px !important;}
.subheadred{font:800 13px/1.5 "Segoe UI",Roboto,Arial,sans-serif !important;color:#db4333 !important;}
.black10{font:15px/1.5 "Segoe UI",Roboto,Arial,sans-serif !important;color:#4a5866;}
#pagecontainer .black10 a{font-weight:700;}
/* sidebar */
.indexpromo{width:auto;margin:22px 0 0;padding:0;border:0;}
.quote{width:auto;margin:0 0 22px;padding:18px 18px 12px;border:0;border-left:4px solid #db4333;border-radius:10px;background:#F3EECE;font:15px/1.55 "Segoe UI",Roboto,Arial,sans-serif;}
#pagecontainer .quote p{font-size:15px;line-height:1.55;margin:0 0 8px;}
.quote hr{margin:14px 0 !important;background:#ddd2a6 !important;}
.quote a:link,.quote a:visited{font:700 15px/1.5 "Segoe UI",Roboto,Arial,sans-serif;}
.black12bold{font:800 17px/1.4 "Segoe UI",Roboto,Arial,sans-serif;color:#002B53;}
.maroon12bold{font:800 15px/1.5 "Segoe UI",Roboto,Arial,sans-serif;color:#CE0B0B;letter-spacing:.04em;}
.indexpromo>.black10{display:inline-block;margin:4px 0 6px;}
#sscb-promo .black10{font-size:11px !important;line-height:13px !important;}
/* footer */
#footer{width:auto;margin:36px -32px 0;padding:22px 24px 26px;background:#002B53;color:#c7d4e2;font:600 14px/1.9 "Segoe UI",Roboto,Arial,sans-serif;text-align:center;}
#footer hr{display:none;}
#footer a,#footer a:link,#footer a:visited{font:600 14px/1.9 "Segoe UI",Roboto,Arial,sans-serif;color:#fff;text-decoration:none;}
#footer a:hover{color:#ffd23f;text-decoration:underline;}
#footer p{color:#c7d4e2;font-size:14px;text-align:center;margin:10px 0 0;}
/* tablets / small laptops: header stacks so nothing overlaps the photo text */
@media (max-width:1000px){
 #header{aspect-ratio:auto;display:flex;flex-direction:column;overflow:visible;box-shadow:none;}
 #header:before{position:relative;display:block;width:100%;aspect-ratio:920/265;order:1;}
 #header:after{display:none;}
 #topnavcontainer{position:static;order:0;padding:8px 12px;}
 #topnavcontainer ul{display:flex;flex-wrap:wrap;justify-content:center;}
 #topnavcontainer li{float:none;margin:0;padding:2px 10px;}
 #quikquote{position:static;order:2;width:auto;max-width:520px;margin:16px auto 10px;box-sizing:border-box;}
 #quikquote:hover{transform:none;}
 #mtel{position:static;order:3;display:block;width:auto;height:auto;max-width:520px;box-sizing:border-box;margin:0 auto 16px;padding:12px;background:#db4333;color:#fff;font:800 19px/24px "Segoe UI",Roboto,Arial,sans-serif;text-align:center;box-shadow:0 3px 10px rgba(0,0,0,.3);}
 #pagecontainer{margin-top:0;border-radius:0;}
}
@media (max-width:860px){
 #pagecontainer>table>tbody>tr{display:block;}
 .indexpromo{margin-top:10px;}
}
@media (max-width:600px){
 body{font-size:16px;}
 #quikquote{margin:12px 12px 10px;}
 #mtel{margin:0 12px 14px;}
 #quikquote tr{display:flex;flex-wrap:wrap;align-items:center;}
 #quikquote tr:first-child td{flex:1 1 100%;}
 #quikquote tr:nth-child(2) td,#quikquote tr:nth-child(3) td{flex:1 1 100%;box-sizing:border-box;padding:2px 14px;}
 #quikquote tr:nth-child(2) td:first-child{padding-top:12px;}
 #quikquote tr:nth-child(3) td:first-child{padding-top:8px;}
 #quikquote h3{text-align:left;}
 #quikquote input[type=text]{height:42px;font-size:16px;}
 #quikquote tr:last-child td:first-child{flex:0 0 auto;padding:12px 6px 12px 14px;}
 #quikquote tr:last-child td:last-child{flex:1 1 0;padding:12px 14px 12px 6px;}
 #searchsubmit,#searchsubmit:hover{height:46px;line-height:46px;font-size:16px;}
 #submenuh ul{display:grid;grid-template-columns:1fr 1fr;}
 #submenuh li a,#submenuh li a:link,#submenuh li a:visited,#submenuh li a:hover{padding:12px 10px;text-align:center;border-bottom:1px solid rgba(255,255,255,.12);}
 #pagecontainer{padding:4px 18px 0;}
 #pagecontainer h1{font-size:26px;}
 #pagecontainer p,#pagecontainer ul,#pagecontainer ul li{font-size:16.5px;}
 #footer{margin:28px -18px 0;}
}
#pagecontainer #footer p{font-size:14px;line-height:1.9;}
@media (max-width:1000px) and (min-width:601px){#submenuh li a,#submenuh li a:link,#submenuh li a:visited,#submenuh li a:hover{padding:12px 11px 10px;font-size:13px;letter-spacing:.04em;}}
/* 2026-10-10 photos: full-width hero with Grok-upscaled photos (crossfade 2649 / 2657 / 2685) */
#mhead{position:relative;overflow:hidden;background:#00203f;}
#mhero-bg{position:absolute;inset:0;z-index:0;}
.mh-b{position:absolute;inset:-40px;background:center/cover no-repeat;}
.mh-b.mh-1{background-image:url(/img/modern/fxh-2649-blur.jpg);}
.mh-b.mh-2{background-image:url(/img/modern/fxh-2657-blur.jpg);}
.mh-b.mh-3{background-image:url(/img/modern/fxh-2685-blur.jpg);}
#mhero-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,24,50,.93) 0%,rgba(0,24,50,.82) 38%,rgba(0,24,50,.5) 100%);}
.mh-b,.mh-i{opacity:0;animation:mhfade 18s linear infinite;}
.mh-1{animation-delay:-1.5s;} .mh-2{animation-delay:4.5s;} .mh-3{animation-delay:10.5s;}
@keyframes mhfade{0%{opacity:0}8.33%{opacity:1}33.33%{opacity:1}41.66%{opacity:0}100%{opacity:0}}
@media (prefers-reduced-motion:reduce){.mh-b,.mh-i{animation:none}.mh-b.mh-1,.mh-i.mh-1{opacity:1}}
#header{z-index:1;width:1180px;max-width:calc(100% - 48px);height:430px;aspect-ratio:auto;box-shadow:none;overflow:visible;background:none;}
#header:before,#header:after{display:none;content:none;}
#mhero-ph{position:absolute;z-index:0;top:0;right:0;bottom:0;width:min(688px,64%);-webkit-mask-image:linear-gradient(to right,transparent 0%,#000 30%,#000 90%,transparent 100%);mask-image:linear-gradient(to right,transparent 0%,#000 30%,#000 90%,transparent 100%);}
.mh-i{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 0;display:block;}
#mhero-brand{position:absolute;z-index:2;top:44px;left:0;display:flex;align-items:center;gap:16px;}
#mhero-brand img{display:block;width:92px;height:92px;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.45);}
#mhero-brand span{font:800 36px/1.1 "Segoe UI",Roboto,Arial,sans-serif;color:#ffd23f;letter-spacing:.01em;text-shadow:0 2px 8px rgba(0,0,0,.7);white-space:nowrap;}
#topnavcontainer{top:14px;left:0;}
#quikquote{top:158px;left:0;width:400px;}
#mtel{left:0;top:346px;bottom:auto;width:auto;height:auto;padding:2px 0;color:#fff;font:800 26px/1.2 "Segoe UI",Roboto,Arial,sans-serif;text-shadow:0 2px 8px rgba(0,0,0,.7);}
#mtel:hover{color:#ffd23f;}
@media (max-width:1000px){
 #header{width:auto;max-width:none;height:auto;display:flex;flex-direction:column;}
 #mhero-bg:after{background:linear-gradient(180deg,rgba(0,24,50,.55) 0%,rgba(0,24,50,.9) 45%,rgba(0,24,50,.92) 100%);}
 #mhero-ph{position:relative;order:1;width:100%;height:auto;aspect-ratio:1.6;max-height:62vh;-webkit-mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,#000 72%,transparent 100%);}
 #mhero-brand{position:relative;order:2;top:auto;left:auto;margin:-18px auto 0;padding:0 12px;justify-content:center;gap:12px;}
 #mhero-brand img{width:72px;height:72px;border-radius:14px;}
 #mhero-brand span{font-size:28px;}
 #quikquote{order:3;top:auto;width:auto;}
 #mtel{order:4;top:auto;bottom:auto;padding:12px;color:#fff;font:800 19px/24px "Segoe UI",Roboto,Arial,sans-serif;text-shadow:none;}
}
@media (max-width:420px){ #mhero-brand img{width:60px;height:60px;} #mhero-brand span{font-size:24px;} }
/* 2026-10-10 pre-launch: bigger tap targets on phones/tablets/touch screens for the header top links and footer links (spacing only) */
@media (max-width:1000px),(pointer:coarse){
 #topnavcontainer li a,#topnavcontainer a:link,#topnavcontainer a:visited{display:inline-block;padding:10px 4px;}
 #footer a,#footer a:link,#footer a:visited{display:inline-block;padding:8px 2px;}
}
/* 2026-10-10 go-live: inner pages (FAQ, Mainsails, articles...) fit phones and tablets */
#content{max-width:100%;box-sizing:border-box;}
@media (max-width:860px){
 #content{float:none;display:block;width:auto;}
 #content ul{padding-left:22px;}
 #content table{float:none;width:100%;}
 #content img{max-width:100%;height:auto;}
}
/* older pages whose footer sits outside the page card (questions.php etc.) */
body>#footer{margin:0 auto;max-width:1030px;box-sizing:border-box;border-radius:0 0 12px 12px;}
@media (max-width:860px){
 #photocontent{float:none;display:block;width:auto;margin:0;max-width:100%;}
 .promo{width:auto;max-width:100%;box-sizing:border-box;}
}
