/* seaplaneusa.com phone layout (loaded only at max-width:760px). The 980 px Wix mesh is stacked in one column;
   the desktop layout is untouched. Header and footer are replaced by .mbar / .mfoot (injected by add_phone.py). */
html{overflow:visible!important;height:auto!important}body{overflow:visible!important;overflow-x:clip!important;height:auto!important;max-width:100vw}
body:not(.responsive) #site-root{min-width:0!important}
#SITE_CONTAINER,#site-root,#masterPage,#PAGES_CONTAINER,#SITE_PAGES,#SITE_PAGES_TRANSITION_GROUP,#SITE_PAGES_TRANSITION_GROUP>div{min-width:0!important;width:100%!important;max-width:100vw!important;left:0!important;margin-left:0!important}
#SITE_HEADER,#SITE_HEADER_WRAPPER,#SITE_HEADER-placeholder,#SITE_FOOTER,#SITE_FOOTER_WRAPPER,#SITE_FOOTER-placeholder,#BACKGROUND_GROUP,#SCROLL_TO_TOP,[id="soapAfterPagesContainer"]{display:none!important}
#masterPage.mesh-layout{display:block!important}
#PAGES_CONTAINER{padding:0!important;margin:0!important;top:0!important}
.mbar,.mfoot{display:block!important}
/* meshes -> one column */
#PAGES_CONTAINER [data-mesh-id$="inlineContent"],#PAGES_CONTAINER [data-mesh-id$="-gridContainer"],#PAGES_CONTAINER [data-mesh-id$="-rotated-wrapper"],#PAGES_CONTAINER [data-mesh-id$="-gridWrapper"],#PAGES_CONTAINER [data-mesh-id$="-overlapWrapper"],#PAGES_CONTAINER [data-mesh-id*="inlineContent-wedge"]{position:relative!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;left:0!important}
#PAGES_CONTAINER [data-mesh-id*="inlineContent-wedge"]{display:none!important}
#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>*,#PAGES_CONTAINER [data-mesh-id$="-rotated-wrapper"]>*,#PAGES_CONTAINER [data-mesh-id$="-gridWrapper"]>*{position:relative!important;left:0!important;right:auto!important;top:0!important;margin:0 auto!important;min-width:0!important;max-width:100%!important;grid-area:auto!important;align-self:stretch!important;justify-self:stretch!important;transform:none!important}
#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>:not(section):not([id^="Container"]){padding-left:18px;padding-right:18px;margin-top:8px!important;margin-bottom:8px!important}
#PAGES_CONTAINER section,#PAGES_CONTAINER .wixui-section,#PAGES_CONTAINER .wixui-column-strip{width:100%!important;min-width:0!important;max-width:100%!important;margin:0!important;left:0!important;height:auto!important}
#PAGES_CONTAINER [data-testid="columns"]{flex-direction:column!important;width:100%!important;margin:0!important;height:auto!important;min-height:0!important}
#PAGES_CONTAINER .wixui-column-strip__column,#PAGES_CONTAINER [data-testid="columns"]>*{width:100%!important;min-width:0!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;margin:0!important;left:0!important;padding-top:10px;padding-bottom:10px}
/* text */
#PAGES_CONTAINER .wixui-rich-text{width:100%!important;height:auto!important;min-height:0!important}
#PAGES_CONTAINER .wixui-rich-text h1,#PAGES_CONTAINER .wixui-rich-text h1 *{font-size:30px!important;line-height:1.2!important;letter-spacing:normal!important}
#PAGES_CONTAINER .wixui-rich-text h2,#PAGES_CONTAINER .wixui-rich-text h2 *{font-size:25px!important;line-height:1.25!important;letter-spacing:normal!important}
#PAGES_CONTAINER .wixui-rich-text h3,#PAGES_CONTAINER .wixui-rich-text h3 *,#PAGES_CONTAINER .wixui-rich-text h4,#PAGES_CONTAINER .wixui-rich-text h4 *,#PAGES_CONTAINER .wixui-rich-text h5,#PAGES_CONTAINER .wixui-rich-text h5 *{font-size:21px!important;line-height:1.3!important}
#PAGES_CONTAINER .wixui-rich-text p,#PAGES_CONTAINER .wixui-rich-text p *,#PAGES_CONTAINER .wixui-rich-text li{font-size:17px!important;line-height:1.5!important;overflow-wrap:anywhere}
/* pictures and videos that sit in the flow (not section backgrounds) */
#PAGES_CONTAINER .wixui-image,#PAGES_CONTAINER .wixui-image>*,#PAGES_CONTAINER .wixui-image a{width:100%!important;height:auto!important;display:block}
#PAGES_CONTAINER .wixui-image wow-image,#PAGES_CONTAINER .wixui-image img{position:static!important;width:100%!important;height:auto!important;max-height:340px;object-fit:contain!important}
#PAGES_CONTAINER iframe{max-width:100%!important}
/* buttons */
#PAGES_CONTAINER .wixui-button,#PAGES_CONTAINER [class*="comp-"]>a.wixui-button__link{min-height:48px;max-width:100%!important}
#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>:has(>.wixui-button),#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>.wixui-button{width:auto!important;min-height:48px}

#PAGES_CONTAINER *{box-sizing:border-box}
#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>*{width:100%!important}
/* buttons keep their own width and full label */
#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>:has(>a[data-testid="linkElement"]):not(.wixui-image):not(.wixui-rich-text){width:auto!important;min-width:200px!important;align-self:center!important;height:auto!important;min-height:52px!important;padding:0!important}
#PAGES_CONTAINER a[data-testid="linkElement"]>[class*="label"],#PAGES_CONTAINER .wixui-button__label{white-space:nowrap}
/* columns and sections that are only a background picture */
#PAGES_CONTAINER [data-testid="columns"]>*:has(>[id^="bgLayers_"] img){min-height:230px!important}
#PAGES_CONTAINER section.wixui-section:has(>[id^="bgLayers_"] img),#PAGES_CONTAINER section.wixui-section:has(>[id^="bgLayers_"] video){padding-top:26px;padding-bottom:26px}
#PAGES_CONTAINER [id^="bgLayers_"],#PAGES_CONTAINER [id^="bgMedia_"]{width:100%!important;height:100%!important;left:0!important;margin:0!important;clip:auto;overflow:hidden}
#PAGES_CONTAINER [id^="bgMedia_"] wow-image,#PAGES_CONTAINER [id^="bgMedia_"] img,#PAGES_CONTAINER [id^="bgMedia_"] video,#PAGES_CONTAINER [id^="bgMedia_"] wix-video{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important}
/* Wix photo galleries: plain grid */
#PAGES_CONTAINER .pro-gallery,#PAGES_CONTAINER .pro-gallery-parent-container,#PAGES_CONTAINER [id^="pro-gallery-container"],#PAGES_CONTAINER .pro-gallery-margin-container,#PAGES_CONTAINER [data-key="pro-gallery-inner-container"]{width:100%!important;height:auto!important;max-width:100%!important;overflow:visible!important;margin:0!important}
#PAGES_CONTAINER .pro-gallery-margin-container{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
#PAGES_CONTAINER .gallery-item-container{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;opacity:1!important}
#PAGES_CONTAINER .gallery-item-wrapper,#PAGES_CONTAINER .gallery-item-content{width:100%!important;height:auto!important;position:relative!important}
#PAGES_CONTAINER .gallery-item-content picture:has([data-hook="gallery-item-image-img-preload"]){display:none!important}
#PAGES_CONTAINER .gallery-item-content img{position:static!important;width:100%!important;height:auto!important;aspect-ratio:4/3;object-fit:cover!important;opacity:1!important}
#PAGES_CONTAINER .gallery-item-common-info-outer,#PAGES_CONTAINER .gallery-item-common-info{width:100%!important;height:auto!important}
#PAGES_CONTAINER .item-hover-flex-container{display:none!important}
#PAGES_CONTAINER .rx{padding:24px 18px 44px}
#PAGES_CONTAINER .rx h1{font-size:30px;line-height:1.15}
#PAGES_CONTAINER .rx table{display:block;overflow-x:auto}

/* round 3 */
#PAGES_CONTAINER :has(>[id^="bgLayers_"]){position:relative!important;overflow:hidden!important}
#PAGES_CONTAINER [id^="bgLayers_"]{position:absolute!important;top:0!important;z-index:0}
#PAGES_CONTAINER :has(>[id^="bgLayers_"])>[data-mesh-id],#PAGES_CONTAINER :has(>[id^="bgLayers_"])>[data-testid="columns"]{z-index:1;position:relative!important}
#PAGES_CONTAINER .pro-gallery-margin-container:has(.info-element-title){grid-template-columns:1fr}
#PAGES_CONTAINER .info-element-title,#PAGES_CONTAINER .info-element-title *{font-size:20px!important;line-height:1.25!important;white-space:normal!important;overflow:visible!important;height:auto!important}
#PAGES_CONTAINER .info-element-text{height:auto!important}
#PAGES_CONTAINER .item-link-wrapper>.gallery-item-container{display:block!important}
#PAGES_CONTAINER #pro-gallery-margin-container-pro-blog{grid-template-columns:1fr}
#PAGES_CONTAINER #pro-gallery-margin-container-pro-blog .gallery-item-common-info-outer{float:none!important}
#PAGES_CONTAINER .post-list-item,#PAGES_CONTAINER .post-list-item-wrapper{height:auto!important;min-height:0!important;padding:0!important}
#PAGES_CONTAINER a[data-testid="linkElement"]:has(>[class*="label"]),#PAGES_CONTAINER a.wixui-button,#PAGES_CONTAINER [data-mesh-id$="-gridContainer"]>div>a[data-testid="linkElement"]{display:flex!important;align-items:center!important;justify-content:center!important;min-height:52px!important;height:auto!important;width:100%!important;padding:6px 14px!important}

/* round 4: Wix "parallax" backgrounds are position:fixed; pin them inside their own section. Empty dead widgets take no room. */
#PAGES_CONTAINER [id^="bgLayers_"],#PAGES_CONTAINER [id^="bgLayers_"] *{position:absolute!important;transform:none!important}
#PAGES_CONTAINER [id^="bgLayers_"] *{top:0!important;left:0!important;width:100%!important;height:100%!important;margin:0!important;max-width:none!important}
#PAGES_CONTAINER .wixui-google-map:empty,#PAGES_CONTAINER .OQ8Tzd:empty{display:none!important}
#PAGES_CONTAINER .wixui-horizontal-line{width:60%!important;margin:4px auto!important;padding:0!important}
