/* FX Sails modern look for the quoter pages, LIVE 2026-10-10 (Grok Bot). Loaded from lib/template.common.html. */
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: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;}
/* 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;}
#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;}
/* 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;}
/* 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;}
 #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){
}
@media (max-width:600px){
 #mtel{margin:0 12px 14px;}
 #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;}
}
@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;}
#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;}
 #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;}
}

/* ---- quoter pages (inner pages): same header, compact height; page card + footer ---- */
#pagecontainer{max-width:1030px;margin:28px auto 0;padding:14px 32px 24px;}
@media (min-width:1001px){
 #mhead.mh-compact #header{height:220px;}
 #mhead.mh-compact #mhero-brand{top:60px;}
 #mhead.mh-compact #mtel{top:166px;font-size:24px;}
}
#footer{width:auto;max-width:1030px;box-sizing:border-box;margin:0 auto 34px;padding:20px 24px 24px;background:#002B53;color:#c7d4e2;font:600 14px/1.9 "Segoe UI",Roboto,Arial,sans-serif;text-align:center;border-radius:0 0 12px 12px;}
.quotercontent{box-sizing:border-box;max-width:100%;}
@media (max-width:1000px){
 #mhead.mh-compact #mhero-ph{aspect-ratio:2.6;}
 #pagecontainer{margin-top:0;padding:12px 14px 20px;}
 #footer{margin:0 0 0;border-radius:0;}
 .quotercontent{width:auto;margin:6px 0;}
 .quotercontent table[width="870"],.quotercontent table[width="880"],.quotercontent table[width="660"]{width:100%;}
}
@media (max-width:860px){
 /* boat-model page: 2x2 sail boxes and the 3-column quote page stack into one column */
 .quotercontent table[width="870"]>tbody>tr>td,.quotercontent table[width="880"]>tbody>tr>td{display:block;width:auto !important;}
 .quotercontent table[width="400"]{width:100%;}
 .quotercontent td[width="325"]{width:auto;}
 .quotercontent table[width="880"]{border-spacing:0 12px;}
}
@media (max-width:600px){
 .quotercontent{padding:8px;}
 .quotercontent td[width="200"],.quotercontent td[width="100"]{width:auto;}
 .quotercontent table[bgcolor="#ebebeb"]{border-spacing:3px;}
 .quotercontent .fx-shiptime{position:static;display:inline-block;margin:0 0 8px;white-space:normal;}
 .quotercontent select,.quotercontent input[type=submit]{max-width:100%;}
 #mhead.mh-compact #mhero-ph{aspect-ratio:2.2;}
}
/* 2026-10-10 go-live: contact form fits phones */
@media (max-width:640px){
 #contactform{float:none;display:block;width:auto;}
 #contactform table{width:100% !important;}
 #contactform input[type=text],#contactform textarea{max-width:100%;box-sizing:border-box;}
 #contactform textarea{width:100%;}
}

/* 2026-10-11 Bill: quote page buttons in navy (was royal blue / green / magenta images); Buy Now is the strong one.
   Looks only - the forms, links and PayPal button are unchanged. Undo: delete this block. */
html body input.buttonblue,html body .button a,html body .button a:link,html body .button a:visited{background:#fff none;color:#0B2545;border:2px solid #0B2545;border-radius:6px;box-sizing:border-box;width:245px;height:34px;font:700 13px/30px Verdana,Arial,Helvetica,sans-serif;padding:0;text-decoration:none;-webkit-appearance:none;appearance:none;transition:background-color .15s,color .15s}
html body input.buttonblue:hover,html body input.buttonblue:focus,html body .button a:hover,html body .button a:focus{background:#eef3f8;color:#0B2545}
html body input.buttonbuy{background:#0B2545 none;color:#fff;border:0;border-radius:6px;box-sizing:border-box;width:245px;height:44px;font:700 15px/44px Verdana,Arial,Helvetica,sans-serif;letter-spacing:.2px;padding:0;margin:10px 0 4px;box-shadow:0 2px 6px rgba(11,37,69,.35);-webkit-appearance:none;appearance:none;cursor:pointer;transition:background-color .15s}
html body input.buttonbuy:hover,html body input.buttonbuy:focus{background:#1D4E89;color:#fff}
