/* What the scripts only showed, as CSS (static.mts) */
/* LaStudio's image comparison: slick shows one pair at a time, juxtapose splits it at its starting place, the after on
   the right; with no script the slider was hidden (Waverley Orthodontics' smile gallery): its first pair, split so,
   until slick starts */
.lastudio-image-comparison__instance:not(.slick-initialized){display:block}
.lastudio-image-comparison__instance:not(.slick-initialized)>.lastudio-image-comparison__item~.lastudio-image-comparison__item,.lastudio-image-comparison__instance:not(.slick-initialized)>template~*{display:none}
.lastudio-image-comparison__instance:not(.slick-initialized) .lastudio-juxtapose{position:relative}
.lastudio-image-comparison__instance:not(.slick-initialized) .lastudio-juxtapose img{display:block;width:100%;height:auto}
.lastudio-image-comparison__instance:not(.slick-initialized) .lastudio-image-comparison__after-image{position:absolute;top:0;left:0;clip-path:inset(0 0 0 50%)}
/* Essential Addons' logo carousel (Swiper): its logos data-items to a row, until Swiper starts (eaelLogoCarousels) */
[data-copy-eaelc]:not(.swiper-container-initialized):not(.swiper-initialized) .swiper-wrapper{display:flex;gap:var(--copy-gap)}
[data-copy-eaelc]:not(.swiper-container-initialized):not(.swiper-initialized) .swiper-slide{flex:0 0 calc((100% - (var(--copy-d) - 1) * var(--copy-gap)) / var(--copy-d));width:auto}
@media (max-width:1024px){[data-copy-eaelc]:not(.swiper-container-initialized):not(.swiper-initialized) .swiper-slide{flex-basis:calc((100% - (var(--copy-t) - 1) * var(--copy-gap)) / var(--copy-t))}}
@media (max-width:767px){[data-copy-eaelc]:not(.swiper-container-initialized):not(.swiper-initialized) .swiper-slide{flex-basis:calc((100% - (var(--copy-m) - 1) * var(--copy-gap)) / var(--copy-m))}}
/* Element Pack's grid (UIkit's bdt-grid): its script gives each card that wraps to a new row a top margin
   (bdt-grid-margin), flush with no script (Ringwood Dental's blog): the same gap between rows until it has */
.bdt-grid:not(:has(>.bdt-grid-margin)){row-gap:30px}
@media (min-width:1200px){.bdt-grid:not(:has(>.bdt-grid-margin)){row-gap:40px}}
.bdt-grid.bdt-grid-small:not(:has(>.bdt-grid-margin)){row-gap:15px}
.bdt-grid.bdt-grid-collapse:not(:has(>.bdt-grid-margin)){row-gap:0}
/* Elementor's accordion shows no item until its script opens the first (marking it elementor-active, which the script
   would toggle shut were it there already): the first shown, its icon the open one, only while none is active
   (Ringwood Dental's "Reasons to choose us") */
.elementor-accordion:not(:has(.elementor-active)) .elementor-accordion-item:first-child>.elementor-tab-content{display:block}
.elementor-accordion:not(:has(.elementor-active)) .elementor-accordion-item:first-child .elementor-accordion-icon-closed{display:none}
.elementor-accordion:not(:has(.elementor-active)) .elementor-accordion-item:first-child .elementor-accordion-icon-opened{display:block}
/* Phlox's accordion (avertaAccordion) shows no panel until its script opens the first: the first shown; the script sets
   each panel's display on the panel itself, which wins over this (Ringwood Dental's "Reasons to choose us") */
.widget-toggle .widget-inner>section:first-child>.toggle-content{display:block}
/* WPBakery's image gallery slider (FlexSlider) hides every slide until its script shows the first: the first shown
   until FlexSlider marks one active (Sunrise Dental Surgery's practice photos, 27 Oct 2026) */
.flexslider:not(:has(.flex-active-slide)) .slides>li:first-child{display:block}
/* an Elated theme's (Kendall's) image carousel before Owl starts: its pictures in a row, as many as its script shows at each
   width, the rest beyond the edge (static.mts eltdCarousels, Sunrise Dental Surgery's health funds) */
[data-copy-owl]:not(.owl-loaded){--copy-at:1;opacity:1;visibility:visible;display:flex;flex-wrap:nowrap;overflow:hidden;margin:0}
[data-copy-owl]:not(.owl-loaded)>*{flex:0 0 calc(100% / min(var(--copy-at), var(--copy-max, 1)));max-width:calc(100% / min(var(--copy-at), var(--copy-max, 1)));box-sizing:border-box;padding:0 13px}
[data-copy-owl]:not(.owl-loaded)>img,[data-copy-owl]:not(.owl-loaded)>*>img{width:100%;height:auto}
@media (min-width:600px){[data-copy-owl]:not(.owl-loaded){--copy-at:2}}
@media (min-width:768px){[data-copy-owl]:not(.owl-loaded){--copy-at:3}}
@media (min-width:1024px){[data-copy-owl]:not(.owl-loaded){--copy-at:5}}
@media (min-width:1200px){[data-copy-owl]:not(.owl-loaded){--copy-at:99}}
[data-copy-owl="1"]{--copy-max:1}
[data-copy-owl="2"]{--copy-max:2}
[data-copy-owl="3"]{--copy-max:3}
[data-copy-owl="4"]{--copy-max:4}
[data-copy-owl="5"]{--copy-max:5}
[data-copy-owl="6"]{--copy-max:6}
[data-copy-owl="7"]{--copy-max:7}
[data-copy-owl="8"]{--copy-max:8}
/* a header bar that sticks by Elementor Pro's script, on CSS (stickyHeader), at Elementor's breakpoints */
.copy-sticky-root{display:contents}
@media (min-width:1025px){.copy-sticky.copy-sticky-d:not(.elementor-sticky__spacer){position:sticky;top:var(--copy-sticky-top,0px)}:where(.copy-sticky.copy-sticky-d:not(.elementor-sticky__spacer)){z-index:99}}
@media (min-width:768px) and (max-width:1024px){.copy-sticky.copy-sticky-t:not(.elementor-sticky__spacer){position:sticky;top:var(--copy-sticky-top,0px)}:where(.copy-sticky.copy-sticky-t:not(.elementor-sticky__spacer)){z-index:99}}
@media (max-width:767px){.copy-sticky.copy-sticky-m:not(.elementor-sticky__spacer){position:sticky;top:var(--copy-sticky-top,0px)}:where(.copy-sticky.copy-sticky-m:not(.elementor-sticky__spacer)){z-index:99}}
/* a background video's picture (videoBackgrounds), under the player's box, which covers it once the player plays */
.copy-video-poster{position:absolute;inset:0;z-index:0;pointer-events:none}
video.copy-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* a Video Playlist drawn from content (videos.mts): the player's place shows the first video's picture, its play button over it */
.copy-playlist-poster{position:relative;display:block;width:100%;aspect-ratio:16/9;background:#000;overflow:hidden}
.copy-playlist-poster img{display:block;width:100%;height:100%;object-fit:cover}
.copy-playlist-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.copy-playlist-play svg{width:72px;height:72px;fill:#fff;filter:drop-shadow(0 2px 8px rgba(0,0,0,.45))}
.copy-playlist-poster:hover .copy-playlist-play svg,.copy-playlist-poster:focus-visible .copy-playlist-play svg{transform:scale(1.08)}
[data-copy-lightbox]:not(a){cursor:pointer}
/* a list shown a page at a time (postlists.mts): with no script its first page; copy-pages.js pages it */
[data-copy-page="1"]:not([data-copy-paged]) > :nth-child(n+2){display:none}
[data-copy-page="2"]:not([data-copy-paged]) > :nth-child(n+3){display:none}
[data-copy-page="3"]:not([data-copy-paged]) > :nth-child(n+4){display:none}
[data-copy-page="4"]:not([data-copy-paged]) > :nth-child(n+5){display:none}
[data-copy-page="5"]:not([data-copy-paged]) > :nth-child(n+6){display:none}
[data-copy-page="6"]:not([data-copy-paged]) > :nth-child(n+7){display:none}
[data-copy-page="7"]:not([data-copy-paged]) > :nth-child(n+8){display:none}
[data-copy-page="8"]:not([data-copy-paged]) > :nth-child(n+9){display:none}
[data-copy-page="9"]:not([data-copy-paged]) > :nth-child(n+10){display:none}
[data-copy-page="10"]:not([data-copy-paged]) > :nth-child(n+11){display:none}
[data-copy-page="11"]:not([data-copy-paged]) > :nth-child(n+12){display:none}
[data-copy-page="12"]:not([data-copy-paged]) > :nth-child(n+13){display:none}
[data-copy-paged] > [hidden]{display:none}
/* the lightbox copy-lightbox.js opens: above everything, the video 16:9 up to 1100px, a picture as big as fits */
.copy-lightbox{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.86);display:flex;align-items:center;justify-content:center;padding:56px 4vw}
.copy-lightbox-frame{width:min(1100px,100%);aspect-ratio:16/9;background:#000;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.copy-lightbox-frame iframe,.copy-lightbox-frame video{display:block;width:100%;height:100%;border:0}
.copy-lightbox-frame.is-image{width:auto;aspect-ratio:auto;background:none;box-shadow:none}
.copy-lightbox-frame.is-image img{display:block;max-width:92vw;max-height:86vh;width:auto;height:auto}
/* the close button: the theme's own button styles (eDentistry's pale blue box, its :focus colours) reset first */
html .copy-lightbox button.copy-lightbox-close,html .copy-lightbox button.copy-lightbox-close:focus{all:unset;box-sizing:border-box;position:absolute;top:10px;right:14px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;font:300 34px/1 system-ui,sans-serif;cursor:pointer}
html .copy-lightbox button.copy-lightbox-close:hover{background:rgba(255,255,255,.3)}
html .copy-lightbox button.copy-lightbox-close:focus-visible{outline:2px solid #fff;outline-offset:2px}
html.copy-lightbox-open{overflow:hidden}
/* WooCommerce's sidebar Cart widget, hidden by its script while the cart is empty; copy-shop.js fills it (paintWidget) */
.widget_shopping_cart:has(.hide_cart_widget_if_empty .widget_shopping_cart_content:empty),.widget_shopping_cart:has(.hide_if_empty .widget_shopping_cart_content:empty){display:none}
.elementor-background-slideshow.copy-show{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none}
.copy-show .copy-slide{position:absolute;inset:0;opacity:0}
.copy-show .copy-slide:first-child{opacity:1}
.copy-show .copy-slide-img{position:absolute;inset:0;background-size:cover;background-position:center}
@media (prefers-reduced-motion:reduce){.copy-show .copy-slide,.copy-show .copy-slide-img{animation:none!important}.copy-show .copy-slide:not(:first-child){display:none}}
/* a product's pictures before WooCommerce's slider draws them: the first, then the thumbnails (static.mts) */
/* (WooCommerce's own fallback lays them out as a mosaic: .woocommerce div.product div.images …:nth-child(n+2)) */
.woocommerce-product-gallery>.woocommerce-product-gallery__wrapper>.woocommerce-product-gallery__image:nth-child(n+2){display:none!important}
.flex-viewport~.copy-thumbs,.woocommerce-product-gallery__trigger~.copy-trigger{display:none}
/* WPBakery's full-width rows: its script stretches them to the window with inline styles (which win when it runs); on
   their own, CSS does the same: the row out to the window's edges, its content kept in the column unless it stretches */
.vc_row[data-vc-full-width="true"]{position:relative;left:calc(50% - 50vw);width:100vw;max-width:100vw;box-sizing:border-box}
.vc_row[data-vc-full-width="true"]:not([data-vc-stretch-content]){padding-left:calc(50vw - 50%);padding-right:calc(50vw - 50%)}
/* the floating cart basket: the live site shows it always, empty too (its script shows it) */
.xoo-wsc-basket{display:block}
/* the Facebook feed in the columns its script lays out */
.cff-posts-wrap .copy-cff-cols{display:flex;align-items:flex-start;gap:15px}
.copy-cff-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column}
.copy-cff-col>.cff-item{width:auto!important;margin:0 0 15px!important}
@media (max-width:1024px){.cff-posts-wrap .copy-cff-cols{display:block;columns:2;column-gap:15px}.copy-cff-col{display:contents}.copy-cff-col>.cff-item{break-inside:avoid}}
@media (max-width:767px){.cff-posts-wrap .copy-cff-cols{display:flex;flex-direction:column;columns:auto}}
/* a player's picture, until Facebook's SDK or YouTube's API draws the player (players.mts) */
.copy-embed-poster{display:block;width:100%;height:auto}
.fb_iframe_widget .copy-embed-poster{display:none}
.elementor-video .copy-embed-poster{height:100%;object-fit:cover}
/* Slider Revolution's first slide: the slider's box, its layers placed on its grid (each slider's size beside it) */
.copy-rs{position:relative;width:100%;overflow:hidden;container-type:inline-size}
.copy-rs .copy-rs-slide{position:absolute;inset:0}
.copy-rs .copy-rs-slide~.copy-rs-slide{display:none}
.copy-rs .copy-rs-grid{position:relative;margin:0 auto}
.copy-rs .tp-caption{position:absolute;visibility:visible;display:block;white-space:nowrap}
/* WPBakery's accordions as <details>: the heading opens its panel (each accordion's open look beside it) */
details[data-copy-tta]>summary{display:block;list-style:none;cursor:pointer}
/* a before-and-after slider (TwentyTwenty, in Essential Addons' image comparison and Twenty20), before its script
   draws it: the after picture, the before over its left half, as the slider starts; its script marks the pictures
   twentytwenty-before and -after, and these rules step aside (eDentistry's case studies, 22 Oct 2026); ElementsKit's
   image comparison is TwentyTwenty in a box of its own name (Emerald Dental Care's smile gallery, 28 Oct 2026) */
:is(.twentytwenty-container,.elementskit-image-comparison):not(:has(>img.twentytwenty-before)){position:relative;display:block;height:auto!important;overflow:hidden}
:is(.twentytwenty-container,.elementskit-image-comparison)>img:last-of-type:not(.twentytwenty-after){position:relative!important;display:block;width:100%;height:auto;clip:auto}
:is(.twentytwenty-container,.elementskit-image-comparison)>img:first-of-type:not(.twentytwenty-before){position:absolute!important;inset:0;display:block;width:100%;height:100%;object-fit:cover;clip-path:inset(0 50% 0 0);z-index:1}
details[data-copy-tta]>summary::-webkit-details-marker{display:none}
/* (a closed one's hidden contents keep no box, so the headings' margins meet as WPBakery's divs' do) */
details[data-copy-tta]:not([open])::details-content{display:none}
/* menus open on hover and focus, as their script opens them. Elementor Pro's only until SmartMenus starts (it marks the
   menu data-smartmenus-id): opened by CSS first, SmartMenus found it shown and skipped its sizing, and the dropdown
   stayed too narrow for its words (Ceramic Implant Clinic, 25 Oct 2026); with no script, sized as SmartMenus sizes it */
.hfe-nav-menu li.menu-item-has-children:hover>.sub-menu,.hfe-nav-menu li.menu-item-has-children:focus-within>.sub-menu{display:block;visibility:visible;opacity:1}
.elementor-nav-menu--main ul.elementor-nav-menu:not([data-smartmenus-id]) li:hover>ul,.elementor-nav-menu--main ul.elementor-nav-menu:not([data-smartmenus-id]) li:focus-within>ul{display:block;visibility:visible;opacity:1;width:auto;min-width:10em;max-width:1000px;white-space:nowrap}
.elementor-nav-menu--main ul.elementor-nav-menu:not([data-smartmenus-id]) ul ul{top:0;left:100%}
