/*
 * Skincare Maaike: base-tag defaults of the old Astra 4.14.3 theme that show through on production,
 * plus the few rules Bricks controls cannot express. Everything else lives in Bricks (theme style,
 * global classes, element settings). Values come from the variables --scm-* (Bricks > Variables)
 * and from the Astra customizer of production (see WIDGET-GUIDE.md).
 */

/* ---- A. Bricks base rules that differ from Astra ---- */
*{border-color:revert}
html{line-height:normal;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{display:block;transition:none;margin:0;background-color:var(--scm-page-bg);overflow-x:hidden;font-style:normal}
blockquote{font-family:inherit}
input[type=checkbox],input[type=radio],input[type=file]{width:revert;line-height:revert;padding:revert;border-style:revert;border-width:revert;box-shadow:revert;cursor:revert}
select{-webkit-appearance:revert;appearance:revert;background-image:revert;background-position:revert;background-repeat:revert;cursor:revert}
label{display:inline;margin-bottom:0;color:inherit}

/* ---- B. Astra reset block (headings are left to the Bricks theme style) ---- */
address,blockquote,dd,dl,dt,fieldset,figure,hr,iframe,legend,li,ol,p,pre,textarea,ul{border:0;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}

/* ---- C. Astra element rules ---- */
a{background-color:transparent;transition:all .2s linear}
a:active{outline:0}
a,a:focus,a:hover,a:visited{text-decoration:none}
a:focus{outline:thin dotted}
a:hover{outline:0}
b,strong{font-weight:700}
cite,dfn,em,i{font-style:italic}
img{border:0;height:auto;max-width:100%;vertical-align:middle}
hr{box-sizing:content-box;height:0;background-color:#ccc;border:0;margin-bottom:1.5em}
button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}
button,select{text-transform:none}
button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}
button,input,select,textarea{font-size:100%;line-height:1}
button,input[type=button],input[type=submit],textarea{line-height:1.8571428571}
input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}
textarea{overflow:auto}
ol,ul{margin:0 0 1.5em 3em}
ul{list-style:disc}
ol{list-style:decimal}
li>ol,li>ul{margin-bottom:0;margin-left:1.5em}
p{margin-bottom:1.75em}
:where(#brx-content) p{margin-bottom:1.6em}
embed,iframe,object{max-width:100%}
::selection{color:#000;background-color:var(--scm-pink)}
body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}

/* Astra floats (style.css). Bricks has other margins (.5em 0 .5em 1em). */
.alignright{display:inline;float:right;margin:0 0 0 1.5em}
.alignleft{display:inline;float:left;margin:0 1.5em 0 0}
/* A first paragraph that holds only a floated picture has no height. On production its 1.6em bottom margin collapses through it and
   through the widget container, so the text and the picture start 1.6em lower. A Bricks text element is a flex item: the margin stays
   inside it and the picture starts 1.6em too high. The picture gets that distance as its top margin. */
.brxe-text>p:first-child>img.alignright:only-child,.brxe-text>p:first-child>img.alignleft:only-child{margin-top:1.6em}

/* ---- D. Astra form elements and buttons (customizer values of this site) ---- */
input[type=email],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=url],input[type=number],input[type=date],select,textarea{
	color:#666;border:1px solid var(--scm-border);border-radius:2px;background:#FAFAFA;padding:.75em;box-shadow:none;box-sizing:border-box;transition:all .2s linear;-webkit-appearance:none;height:auto}
textarea{padding-left:3px;padding-left:.75em;width:100%}
input[type=email]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{background-color:#fff;border-color:var(--scm-pink);color:#111;border-style:dotted;border-width:thin}
input{outline:none}
button:where(:not(.bricks-mobile-menu-toggle):not(.brx-submenu-toggle > button):not(.brxe-search button):not(.splide__pagination__page):not(.splide__arrow)),input[type=button],input[type=reset],input[type=submit]{border-style:solid;border-width:0;color:#fff;border-color:var(--scm-pink);background-color:var(--scm-pink);border-radius:50px;padding:16px 35px;font-family:inherit;font-weight:inherit;font-size:1rem;text-transform:uppercase;line-height:1em;box-shadow:none}
button:where(:not(.bricks-mobile-menu-toggle):not(.brx-submenu-toggle > button):not(.brxe-search button):not(.splide__pagination__page):not(.splide__arrow)):focus,button:where(:not(.bricks-mobile-menu-toggle):not(.brx-submenu-toggle > button):not(.brxe-search button):not(.splide__pagination__page):not(.splide__arrow)):hover,input[type=button]:hover,input[type=button]:focus,input[type=reset]:hover,input[type=submit]:hover,input[type=submit]:focus{color:#fff;background-color:var(--scm-pink-hover);border-color:var(--scm-pink-hover)}

/* ---- E. Responsive base values of the Astra customizer (Astra breakpoints 921 and 544) ---- */
@media (max-width:921px){
	html{font-size:85.5%}
	h1{font-size:40px}
	h2{font-size:34px}
	h3{font-size:22px}
}
@media (max-width:544px){
	h1{font-size:30px}
	h2{font-size:28px}
}
/* Long words and URLs wrap, as in the Elementor text widget */
#brx-content{overflow-wrap:break-word}

/* ---- F. Header (Astra legacy header, 90 px bar). The bar padding is here, not on the element: an element rule would beat the open-menu rule. ---- */
.scm-header{padding:1em 0}
.bricks-nav-menu,.bricks-nav-menu ul{list-style:none;margin:0;padding-left:0}
.scm-nav .bricks-nav-menu>li>a,.scm-nav .bricks-nav-menu>li>.brx-submenu-toggle>a{display:inline-block}
@media (min-width:922px){.scm-header>.brxe-container{min-height:60px}}   /* Astra bar: 15 + 60 + 15 = 90 px; below 922 px the toggle (43 px) sets the height */
@media (max-width:921px){.scm-header .scm-header-cta.scm-btn{display:none}}

/* ---- G. Elementor social icons on the Bricks social-icons element (class scm-social) ----
   Structure only. Size, spacing, colours, border and alignment are element settings in Bricks (Icon size, Spacing, Icon colour, Background, Border, Justify).
   Elementor draws each icon as a circle of two times the icon size (padding 0.5em), so the icon box is 2em of the icon font size. */
.scm-social{align-items:center;margin:0;padding:0;list-style:none}
.scm-social li{flex:0 0 auto;border-radius:50%;box-sizing:border-box;transition:background-color .3s}
.scm-social li a{display:flex}
.scm-social .icon{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:2em;height:2em;font-style:normal;line-height:1}
/* hover colours of the Elementor widgets (footer: darker pink; contact page: black outline and icon) */
.scm-social--footer li:hover{background-color:#f98770}
.scm-social--outline li{transition:border-color .3s}
.scm-social--outline .icon{width:calc(2em - 2px);height:calc(2em - 2px)}   /* Elementor counts the 1 px border inside the 2em circle */
.scm-social--outline li:hover{border-color:#000}
.scm-social--outline li:hover .icon{color:#000}

/* ---- H. Google map embed ([scm_map] shortcode, inc/shortcodes.php) ---- */
.scm-map iframe{display:block;width:100%;height:300px;border:0}
.scm-map-h150 iframe{height:150px}
.scm-map-h420 iframe{height:420px}

/* ---- I. Newsletter form (Mailchimp for WP form 3703). Rules moved from the old "Additional CSS" of the Customizer and the Elementor custom CSS of the shortcode widget ---- */
.newsletter-row{display:flex;align-items:stretch;gap:.75rem;max-width:480px}
.newsletter-input-field{flex:1;width:auto;padding:10px 12px;border:1px solid #ccc;border-radius:4px;box-sizing:border-box;font-size:14px}   /* width:auto: Bricks sets width:100% on inputs. A field with a percentage width can shrink below its own text width in a flex row (65 px next to the button); on production the field has no width and keeps its 20-character width (165 px). */
.newsletter-submit{padding:10px 18px;border:none;border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;background:#1a73e8;color:#fff}
@media (max-width:480px){.newsletter-row{flex-direction:column;align-items:stretch}.newsletter-submit{width:100%}}

/* Header menu items (Astra: padding 0 20 px; the arrow of an item with a sub menu sits 13 px after the text).
   Bricks puts one padding value on the link and on the arrow button, so the spacing is set here. */
.scm-nav .bricks-nav-menu>li>a,.scm-nav .bricks-nav-menu>li>.brx-submenu-toggle>a{padding:0 20px}
.scm-nav .bricks-nav-menu>li>.brx-submenu-toggle>a{padding-right:0}
.scm-nav .bricks-nav-menu>li>.brx-submenu-toggle>button{padding:0 20px 0 9px}

/* ---- J. UAE price list (class scm-pricelist): image, title, dotted line, price; description below; stacked on a phone ---- */
.scm-pricelist{align-items:stretch}
.scm-pl-item{flex-direction:row;flex-wrap:nowrap;align-items:center;padding:0;margin-bottom:20px;width:100%}   /* nowrap: Bricks sets flex-wrap:wrap on blocks at max-width 767px; from 480 to 767 px the image went on a row of its own (+61 px for each item with a description) */
.scm-pl-item:last-child{margin-bottom:0}
.scm-pl-img{flex:0 0 auto;width:50px;min-width:50px;margin:0}
.scm-pl-text{flex:1 1 auto;width:auto;flex-direction:row;flex-wrap:wrap;align-items:flex-start;padding:0;min-width:0}
.scm-pl-header{flex:0 0 100%;width:100%;flex-direction:row;align-items:center;padding:0;font-weight:600}
.scm-pl-title{margin:10px;color:#000;font-weight:400}
.scm-pl-title a{color:#000}
.scm-pl-sep{flex:1 1 auto;margin:0 10px;height:0;border-bottom:2px dotted currentColor}
.scm-pl-price{margin:10px}   /* weight 600 is inherited from the header, as .uael-price-list-price on production (computed 600) */
.scm-pl-desc{flex:1 1 100%;min-width:0;margin:10px;font-size:.7em;line-height:1.857}
.scm-pl-price-outer{display:none;margin:0 10px;line-height:1.857;font-weight:400}   /* production: span with the body line height 25.4 px, bottom margin collapses into the item margin */
.scm-pl-nodesc{margin-top:10px}
/* Production: the widget has the class uael-pricelist-stack-mobile; its rules are in @media(max-width:479px)
   (uael-frontend.min.css). This block had 767px: between 480 and 767 px staging stacked the list and production did not
   (page 900 px taller at 600 px). The 10px below the list: when stacked, the bottom margin of the last price escapes its
   boxes on production (blocks without padding) and adds to the widget height. Bricks boxes are flex, so set it here. */
@media (max-width:479px){
.scm-pricelist{margin-bottom:10px}
.scm-pl-item{display:block}
.scm-pl-sep,.scm-pl-price{display:none}
.scm-pl-price-outer{display:block}
.scm-pl-title{display:block;margin:10px}
}

/* ---- K. Astra "separate container" pages: white article box on the grey page (Astra 4.14: padding 5.34em 6.67em, 3.34em 2.4em max 1200, 1.5em 2.14em max 768) ---- */
.scm-article,.scm-notfound{padding:5.34em 6.67em}
@media (max-width:1200px){.scm-article,.scm-notfound{padding:3.34em 2.4em}}
@media (max-width:768px){.scm-notfound{padding:1.5em 2.14em}}
@media (max-width:544px){.scm-article,.scm-notfound{padding:1.5em 1em}}
/* the grey frame around the box: Astra #primary margin 4em; at 544 px 1.5em on the top and bottom and 0.54em at the sides */
.scm-page{padding:4em 0}
.scm-page>.brxe-container{padding:0 20px}
@media (max-width:544px){.scm-page{padding:1.5em 0}.scm-page>.brxe-container{padding:0 .54em}}
.scm-entry-title{font-family:'Merriweather',serif;font-size:2rem;font-weight:400;line-height:1.2em;margin:0 0 1.5rem}
@media (max-width:768px){.scm-entry-title{margin-bottom:1rem}}
/* builder pages with a visible title: Astra sets the header margin to 0 (.entry-header.ast-header-without-markup), so only the h1 margin of 0.2em stays */
.scm-entry-title.scm-entry-title--tight{margin-bottom:.2em}
.brxe-post-content>:last-child{margin-bottom:0}   /* Astra: .entry-content>:last-child{margin-bottom:0} */
/* 404 search (Astra widget_search): input with the button inside it */
.scm-search .bricks-search-form{position:relative;display:block}
.scm-search input[type=search]{text-align:left;width:100%;height:auto;line-height:normal;padding:12px 45px 12px 15px;background:#FAFAFA;border:1px solid var(--scm-border);border-radius:2px;box-sizing:border-box}
.scm-search button{position:absolute;top:0;right:15px;height:100%;padding:0;border:0;background:transparent;color:var(--scm-grey);font-size:.8rem}

/* ---- L. Elementor accordion on the Bricks accordion element (class scm-accordion): 1 px boxes, bold titles, plus / minus icon at the left ---- */
.scm-accordion{text-align:left}
.scm-accordion>.brxe-block{border:1px solid #d5d8dc;padding:0}
.scm-accordion>.brxe-block+.brxe-block{border-top:0}
.scm-accordion .accordion-title-wrapper{padding:15px 20px;cursor:pointer;gap:0;justify-content:flex-start;align-items:flex-start;flex-wrap:nowrap}
.scm-accordion .scm-acc-title-text{flex:1 1 0;min-width:0;width:auto;font-family:inherit;font-weight:700;font-size:1rem;line-height:1;margin:0;color:inherit}
.scm-accordion .scm-acc-icon{width:1.5em;font-size:1em;line-height:1;transform:none!important;order:-1;flex:0 0 auto}
.scm-accordion .accordion-title-wrapper[aria-expanded="true"] .scm-acc-icon:before{content:"\f068"}
.scm-accordion .accordion-content-wrapper{border-top:1px solid #d5d8dc;padding:15px 20px}
@media (max-width:767px){
.scm-accordion .accordion-title-wrapper{padding:12px 15px}
.scm-accordion .scm-acc-icon{width:1.2em}
.scm-accordion .accordion-content-wrapper{padding:7px 15px}
}

/* ---- M. Mobile header (max 921, Astra break point): pink 41 x 43 toggle with three white bars, right edge 20 px from the viewport.
   The bar is 1em + 43.1 px + 1em high (70.5 px at 13.68 px). Astra pages with the transparent header keep the bar over the hero. ---- */
@media (max-width:921px){
.scm-nav{display:flex;justify-content:flex-end}
.scm-nav .bricks-mobile-menu-toggle{width:41px;min-width:41px;height:43.1px;background-color:var(--scm-pink);border-radius:2px;color:#fff;margin:0}
.scm-nav .bricks-mobile-menu-toggle span{width:15.3px;min-width:15.3px;height:1.67px;right:auto;left:50%;margin-left:-7.65px;border-radius:1px}
.scm-nav .bricks-mobile-menu-toggle .bar-top{top:calc(50% - 5.15px)}
.scm-nav .bricks-mobile-menu-toggle .bar-center{top:calc(50% - .83px)}
.scm-nav .bricks-mobile-menu-toggle .bar-bottom{top:calc(50% + 3.5px)}
.scm-nav .bricks-mobile-menu-toggle:hover span{width:15.3px;min-width:15.3px}
}

/* ---- N. Sliders (Bricks nestable slider / Splide) in the Elementor look. Arrows, dots and heights are element settings; only the spacing of the pieces is here. ---- */
/* image carousel (class scm-carousel): the widget keeps 30 px under the slides for the dots */
.scm-carousel{padding-bottom:30px;position:relative}
/* reviews (Elementor Pro reviews widget): class scm-reviews. Slider 95 % wide and centred, arrows 10 px inside the widget edges, 6 px dots 14 px above the bottom */
.scm-reviews{width:95%;margin:0 auto;padding-bottom:40px;position:relative}
.scm-rv-card{padding:15px;border:1px solid transparent;border-radius:5px;background:transparent;align-items:stretch;justify-content:flex-start;gap:12px}   /* flex-start: a Bricks slide centres its content (justify-content:center); the Elementor testimonial is a block, its content starts at the top (a short review sat 20 px lower on phones) */
.scm-rv-head{flex-direction:row;flex-wrap:nowrap;align-items:flex-start;gap:0;padding:0;margin:0}   /* nowrap: a long title line wraps inside the name block; the name block must not drop below the picture */
.scm-rv-img{width:36px;height:36px;object-fit:cover;margin-right:9px;flex:0 0 36px}
.scm-rv-cite{padding:0;width:auto;min-width:0;flex:1 1 0;align-items:flex-start;gap:0}
.scm-rv-name{display:block;font-size:14px;font-weight:700;line-height:21px;color:#1c2022}
.scm-rv-stars{height:21px;display:flex;align-items:center}
.scm-rv-title{display:block;font-size:12.5px;line-height:1.5;color:#697882}
.scm-rv-text{font-size:14px;line-height:20px;margin:0}


/* ---- O. Open mobile menu (max 921): Astra drops the list in the page flow under the bar (grey panel, 1 px lines), the toggle becomes an X.
   Bricks makes the wrapper a full-screen fixed overlay. While open the nav is display:contents, so the wrapper is a full-width flex item
   of the (wrapping) header container, under the toggle, and pushes the page down. The "Afspraak maken" row is a menu item with the class scm-menu-cta
   (on desktop the real button of the bar shows, so the item is hidden). ---- */
@media (min-width:922px){
.scm-header>.brxe-container{flex-wrap:nowrap}
.scm-nav .bricks-nav-menu .scm-menu-cta{display:none}
}
@media (max-width:921px){
.scm-header>.brxe-container{flex-wrap:wrap}
.scm-header:has(.scm-nav.show-mobile-menu){padding-bottom:0}
.scm-nav .bricks-mobile-menu,.scm-nav .bricks-mobile-menu .sub-menu{margin:0;padding:0;list-style:none}
.scm-nav.show-mobile-menu{display:contents}
.scm-nav.show-mobile-menu .bricks-mobile-menu-toggle{width:41px;min-width:41px}
.scm-nav.show-mobile-menu .bricks-mobile-menu-toggle span{width:15.3px;min-width:15.3px}
.scm-nav.show-mobile-menu .bricks-mobile-menu-toggle .bar-top,.scm-nav.show-mobile-menu .bricks-mobile-menu-toggle .bar-bottom{top:50%;margin-top:-.83px}
.scm-nav.show-mobile-menu .bricks-mobile-menu-wrapper{position:static;transform:none!important;height:auto;max-width:none;flex:0 0 calc(100% + 40px);margin:0 -20px;order:3;display:block;color:inherit;border-top:1px solid #ddd;margin-top:0}
.scm-nav.show-mobile-menu .bricks-mobile-menu{overflow:visible}
.scm-nav .bricks-mobile-menu-overlay{display:none}
/* The link padding (0 20px) is the element setting "Mobile menu > Padding": Bricks prints it with the element id, so a rule here cannot change it.
   Astra prints an empty 5 px arrow span before the text of each menu link, not before the button row: text-indent gives that offset. */
.scm-nav .bricks-mobile-menu-wrapper li a{line-height:3;border-bottom:1px solid #ddd}
.scm-nav .bricks-mobile-menu>li:not(.scm-menu-cta)>a,.scm-nav .bricks-mobile-menu>li>.brx-submenu-toggle>a{text-indent:5px}
.scm-nav .bricks-mobile-menu-wrapper li:last-child>a{border-bottom-color:#eaeaea!important}   /* !important: the element setting (id selector) gives all rows one border colour */
.scm-nav .bricks-mobile-menu>li>.brx-submenu-toggle>a{border-bottom:0}
.scm-nav .bricks-mobile-menu>li>.brx-submenu-toggle{border-bottom:1px solid #ddd}
.scm-nav .bricks-mobile-menu-wrapper a:focus,.scm-nav .bricks-mobile-menu-wrapper a:focus-visible{outline:0}
}

/* ---- P. Elementor icon box ("lees meer"): the icon is inline-block with line-height 0 around a 1 line-height glyph ---- */
.scm-iconbox-icon{line-height:0}
.scm-iconbox-icon .brxe-icon{display:inline-block;line-height:1}

/* the picture carousel of the micro-needling page: 768 x 407 at most; the tallest slide keeps this ratio when the pictures shrink */
.scm-carousel-fluid .splide__track{height:auto;aspect-ratio:768/407;max-height:407px}
.scm-carousel-fluid .splide__slide{height:auto}

/* Astra bar between 545 and 921 px (iPad): 20.5 px above and 18.4 px below the toggle (measured at 810 px, bar 82 px high) */
@media (min-width:545px) and (max-width:921px){.scm-header{padding:1.5em 0 1.345em}}

/* Google reCAPTCHA badge: Bricks hides it (.grecaptcha-badge{visibility:hidden}); Google's terms need it visible, and production shows it. */
.grecaptcha-badge{visibility:visible}

/* The Astra rule ol,ul{margin:0 0 1.5em 3em} (section C) beats the layered Bricks rule .splide__pagination{margin:0}: the dots moved 3em right and 1.5em up. */
.splide__pagination{margin:0}
/* Reviews: Elementor centres the arrows on the slide (widget height minus the 40 px of the dots), Bricks on the whole slider box. */
.scm-reviews>.splide__arrows .splide__arrow{top:calc(50% - 20px)}
