/**
 * Base layer - what the Bricks parent theme's frontend stylesheet gave every
 * page, kept after the parent is deleted (Wave 11, THEME PROJECT/00).
 *
 * THREE PARTS, in the order the browser applied them under Bricks:
 *
 * 1. @layer cw-base - the rules from Bricks' own frontend-layer.min.css (2.1.4)
 *    that target plain HTML rather than Bricks elements: the normalize reset,
 *    html { font-size: 62.5% } (so rem is 10px, as every third-party widget on
 *    this site was sized against), body type (15px / 1.7), headings, images,
 *    form fields, captions, galleries, screen-reader text. Anything whose
 *    selector names a Bricks element (brx / brxe / bricks) or Bricks' Swiper
 *    bundle was left behind. Bricks shipped these INSIDE a cascade layer
 *    (@layer bricks), so every unlayered rule on the page beat them whatever
 *    the load order; they sit in a layer here for exactly the same reason, so
 *    no plugin's styling changes when the parent goes. Bricks is GPL-2.0-or-
 *    later; these rules are carried under that licence.
 *
 * 2. The Bricks "CW THEME" theme style (bricks_theme_styles option), which
 *    Bricks printed UNLAYERED inline: body text #2d3748, H1 green, the h3
 *    bottom margin, the default border colour, and WooCommerce loop buttons in
 *    lime with round ends. Values are literal here - the palette variables
 *    they pointed at (--bricks-color-*) went with Bricks.
 *
 * 3. Bricks > Settings > Custom CSS (bricks_global_settings.customCss),
 *    verbatim, also unlayered - including html, body { overflow-x: hidden },
 *    which the Support Schools page deliberately re-enables sticky around.
 *
 * Loaded site-wide at wp_enqueue_scripts priority 5, before everything else of
 * ours - the same early slot Bricks' own sheet held.
 */

@layer cw-base {
	.aligncenter { display:block; margin:.5em auto }
	.alignright { float:right; margin:.5em 0 .5em 1em }
	.alignleft { float:left; margin:.5em 1em .5em 0 }
	a img.alignright { float:right; margin:.5em 0 .5em 1em }
	a img.alignleft { float:left; margin:.5em 1em .5em 0 }
	a img.aligncenter { display:block; margin-left:auto; margin-right:auto }
	.wp-caption { background:#fff; border:1px solid #f0f0f0; max-width:96%; padding:5px 3px 10px; text-align:center }
	.wp-caption.alignleft, .wp-caption.alignnone { margin:.5em 1em .5em 0 }
	.wp-caption.alignright { margin:.5em 0 .5em 1em }
	.wp-caption img { border:0; height:auto; margin:0; max-width:98.5%; padding:0; width:auto }
	.wp-caption p.wp-caption-text { font-size:11px; line-height:17px; margin:0; padding:0 4px 5px }
	.wp-block-image, .wp-block-video, figure[class^=wp-block-] { margin:1em 0 }
	.wp-block-calendar, .wp-block-image:not(.wp-block-gallery .wp-block-image), figure[class^=wp-block-]:not(.wp-block-gallery figure):not([class^=align]) { width:100% }
	#wp-calendar caption { margin-bottom:1em; text-align:inherit }
	#wp-calendar tbody { text-align:center }
	#wp-calendar tbody td { width:30px }
	#wp-calendar tbody a { font-weight:700 }
	#wp-calendar tfoot { opacity:.5 }
	#wp-calendar tfoot #prev { text-align:left }
	#wp-calendar tfoot #next { text-align:right }
	.gallery { display:flex; flex-flow:row wrap; margin:0 -10px }
	.gallery.gallery-columns-1 .gallery-item { flex:1 1 100%; max-width:100% }
	.gallery.gallery-columns-2 .gallery-item { flex:1 1 50%; max-width:50% }
	.gallery.gallery-columns-3 .gallery-item { flex:1 1 33.333%; max-width:33.333% }
	.gallery.gallery-columns-4 .gallery-item { flex:1 1 25%; max-width:25% }
	.gallery.gallery-columns-5 .gallery-item { flex:1 1 20%; max-width:20% }
	.gallery.gallery-columns-6 .gallery-item { flex:1 1 16.666%; max-width:16.666% }
	.gallery.gallery-columns-7 .gallery-item { flex:1 1 14.285%; max-width:14.285% }
	.gallery.gallery-columns-8 .gallery-item { flex:1 1 12.5%; max-width:12.5% }
	.gallery.gallery-columns-9 .gallery-item { flex:1 1 11.111%; max-width:11.111% }
	.gallery.gallery-columns-10 .gallery-item { flex:1 1 10%; max-width:10% }
	.gallery .gallery-item { flex:1; margin:0; padding:0 10px 20px }
	.gallery .gallery-item img { width:100% }
	.has-text-align-left { text-align:left }
	.has-text-align-center { text-align:center }
	.has-text-align-right { text-align:right }
	.wp-block-image figure { width:auto }
	.alignfull, .wp-block-categories-list.alignfull { left:50%; margin-left:-50vw; margin-right:-50vw; max-width:calc(100vw - .5em); position:relative; right:50%; width:100vw }
	.alignwide { margin-left:-10%; max-width:120%; position:relative; width:120% }
	@media(max-width:1320px) {
		.alignwide { margin-left:auto; width:100% }
	}
	.aligncenter img { margin-left:auto; margin-right:auto }
	.aligncenter a, .aligncenter img { display:block }
	:root { --bricks-vh:1vh; --bricks-transition:all 0.2s; --bricks-color-primary:#ffd64f; --bricks-color-secondary:#fc5778; --bricks-text-dark:#212121; --bricks-text-medium:#616161; --bricks-text-light:#9e9e9e; --bricks-text-info:#00b0f4; --bricks-text-success:#11b76b; --bricks-text-warning:#ffa100; --bricks-text-danger:#fa4362; --bricks-bg-info:#e5f3ff; --bricks-bg-success:#e6f6ed; --bricks-bg-warning:#fff2d7; --bricks-bg-danger:#ffe6ec; --bricks-bg-dark:#263238; --bricks-bg-light:#f5f6f7; --bricks-border-color:#dddedf; --bricks-border-radius:4px; --bricks-tooltip-bg:#23282d; --bricks-tooltip-text:#eaecef }
	html { -webkit-text-size-adjust:100%; text-size-adjust:auto; line-height:1.15 }
	body { margin:0 }
	article, aside, figcaption, figure, footer, header, main, nav, section { display:block }
	figure { margin:1em 40px }
	hr { box-sizing:content-box; height:0; overflow:visible }
	abbr[title] { border-bottom:none; text-decoration:underline; text-decoration:underline dotted }
	code, kbd, samp { font-family:monospace; font-size:1em }
	dfn { font-style:italic }
	mark { background-color:#ff0; color:#000 }
	small { font-size:80% }
	sub, sup { font-size:75%; line-height:0; position:relative; vertical-align:baseline }
	sub { bottom:-.25em }
	sup { top:-.5em }
	audio, video { display:inline-block }
	audio:not([controls]) { display:none; height:0 }
	img { border-style:none }
	button, input, optgroup, select, textarea { font-family:sans-serif; font-size:100%; line-height:1.15; margin:0 }
	button, input { overflow:visible }
	button, select { text-transform:none }
	[type=reset], [type=submit], button, html [type=button] { -webkit-appearance:button }
	[type=button]::-moz-focus-inner, [type=reset]::-moz-focus-inner, [type=submit]::-moz-focus-inner, button::-moz-focus-inner { border-style:none; padding:0 }
	[type=button]:-moz-focusring, [type=reset]:-moz-focusring, [type=submit]:-moz-focusring, button:-moz-focusring { outline:1px dotted ButtonText }
	fieldset { padding:.35em .75em .625em }
	legend { box-sizing:border-box; color:inherit; display:table; max-width:100%; padding:0; white-space:normal }
	progress { display:inline-block; vertical-align:baseline }
	textarea { overflow:auto }
	[type=checkbox], [type=radio] { box-sizing:border-box; padding:0 }
	[type=number]::-webkit-inner-spin-button, [type=number]::-webkit-outer-spin-button { height:auto }
	[type=search] { -webkit-appearance:textfield; outline-offset:-2px }
	[type=search]::-webkit-search-cancel-button, [type=search]::-webkit-search-decoration { -webkit-appearance:none }
	::-webkit-file-upload-button { -webkit-appearance:button; font:inherit }
	details, menu { display:block }
	summary { display:list-item }
	canvas { display:inline-block }
	[hidden], template { display:none }
	svg:not([width]) { min-width:1em }
	svg:not([height]) { min-height:1em }
	svg.fill * { fill:inherit }
	svg.stroke * { stroke:inherit }
	html { font-size:62.5% }
	*, :after, :before, html { box-sizing:border-box }
	:after, :before { outline:none }
	* { border-color:var(--bricks-border-color) }
	body { -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; background-color:#fff; background-position:50%; color:#363636; font-family:-apple-system,"system-ui",Segoe UI,roboto,helvetica,arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size:15px; line-height:1.7; transition:var(--bricks-transition); transition:padding-top 0s }
	body.no-scroll { overflow:hidden }
	:where(a) { border-color:currentcolor; color:currentcolor; cursor:pointer; text-decoration:none }
	h1, h2, h3, h4, h5, h6 { margin:0; text-rendering:optimizelegibility }
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color:currentcolor }
	h1 { font-size:2.4em }
	h1, h2 { line-height:1.4 }
	h2 { font-size:2.1em }
	h3 { font-size:1.8em }
	h3, h4 { line-height:1.4 }
	h4 { font-size:1.6em }
	h5 { font-size:1.3em }
	h5, h6 { line-height:1.4 }
	h6 { font-size:1.1em }
	:where(p) { margin-block:0 1.2em }
	:where(p:last-of-type) { margin-block-end:0 }
	:where(p:last-of-type)+h1, :where(p:last-of-type)+h2, :where(p:last-of-type)+h3, :where(p:last-of-type)+h4, :where(p:last-of-type)+h5, :where(p:last-of-type)+h6 { margin-block:1.2em 0 }
	figcaption { color:var(--bricks-text-light); font-size:.9em; margin:1em 0; text-align:center }
	img { height:auto; max-width:100%; outline:none; vertical-align:middle }
	audio, iframe { max-width:100% }
	button { border:none; cursor:pointer; outline:none; padding:0 }
	blockquote { border-left-style:solid; border-left-width:4px; font-family:georgia,Times New Roman,times,serif; font-size:1.3em; margin:15px 0; padding:0 0 0 30px; position:relative }
	blockquote cite { display:block; font-size:.8em; font-style:normal; margin-top:.5em; opacity:.5; text-transform:uppercase }
	hr { border:none; border-top:1px solid var(--bricks-border-color); margin:1em 0 }
	pre { background-color:var(--bricks-bg-light); color:#fc1f49; font-family:monospace; font-size:13px; margin:0; padding:10px 15px; white-space:pre-wrap }
	table { width:100% }
	label { color:var(--bricks-text-light); display:block; font-weight:400; margin-bottom:5px }
	button, input, optgroup, select, textarea { font-family:inherit; text-align:inherit }
	.input, input:not([type=submit]), select, textarea { border-style:solid; border-width:1px; box-shadow:none; color:currentcolor; font-size:inherit; line-height:40px; outline:none; padding:0 12px; transition:var(--bricks-transition); width:100% }
	input[type=range] { border:none; height:auto; line-height:1; padding:0 }
	input[type=button], input[type=checkbox], input[type=radio] { width:auto }
	input[type=checkbox], input[type=radio], input[type=submit], select { cursor:pointer }
	select { -webkit-appearance:none; appearance:none; background-color:transparent; background-image:linear-gradient(45deg,transparent 50%,gray 0),linear-gradient(135deg,gray 50%,transparent 0); background-position:calc(100% - 20px) calc(50% + 2px),calc(100% - 16px) calc(50% + 2px); background-repeat:no-repeat; background-size:4px 4px,4px 4px; border-radius:0 }
	textarea { height:auto; line-height:inherit!important; min-height:90px; padding:10px 12px }
	::placeholder { color:var(--bricks-border-color) }
	.skip-link { clip:rect(1px,1px,1px,1px); background:#000; border-bottom-right-radius:8px; color:#fff; font-weight:700; height:1px; left:0; overflow:hidden; padding:5px 10px; position:absolute; top:0; transition:transform .1s; white-space:nowrap; width:1px; z-index:9999 }
	.skip-link:focus { clip:auto; height:auto; overflow:visible; width:auto }
	.media-frame select.attachment-filters:last-of-type { max-width:100%!important; width:auto!important }
	.post-meta { align-items:center; display:inline-flex; gap:20px }
	.post-meta.column { align-items:unset; flex-direction:column }
	.post-meta .separator { display:inline-block; text-align:center }
	.screen-reader-text, .screen-reader-text span, .ui-helper-hidden-accessible { clip:rect(1px,1px,1px,1px); height:1px; overflow:hidden; position:absolute!important; white-space:nowrap; width:1px }
	.screen-reader-text span:focus, .screen-reader-text:focus, .ui-helper-hidden-accessible:focus { clip:auto!important; background-color:#f1f1f1; border-radius:3px; box-shadow:0 0 2px 2px rgba(0,0,0,.6); color:#21759b; display:block; font-size:14px; font-size:.875rem; font-weight:700; height:auto; left:5px; line-height:normal; padding:15px 23px 14px; text-decoration:none; top:5px; width:auto; z-index:100000 }
	.grecaptcha-badge { visibility:hidden }
	.gm-style { font:inherit!important; text-decoration:inherit!important }
	li.menu-item-has-children [aria-expanded] .menu-item-icon { background-color:transparent; color:inherit; pointer-events:none; transition:inherit }
	li.menu-item-has-children [aria-expanded] .menu-item-icon i { position:relative; top:2px }
	li.menu-item-has-children [aria-expanded=false] .open { display:block }
	li.menu-item-has-children [aria-expanded=false] .close { display:none }
	li.menu-item-has-children [aria-expanded=true] .close { display:block }
	li.menu-item-has-children [aria-expanded=true] .open { display:none }
}

/* 2. Bricks "CW THEME" theme style - unlayered, as Bricks printed it. */
:where(:root) * { border-color: #68768a; }
html { background-color: #ffffff; }
body { color: #2d3748; background: none; }
h1 { color: #7bb301; }
h3 { margin-bottom: 20px; }
.woocommerce .button,
body:not(.woocommerce) .product_type_variable,
body:not(.woocommerce) .product_type_grouped,
body:not(.woocommerce) .product_type_external,
body:not(.woocommerce) .product_type_simple {
	background-color: #7bb301;
	border-radius: 50px;
}

/* 3. Bricks > Settings > Custom CSS - verbatim. */
.woocommerce .content-area .site-main .product .badge, .woocommerce .products .badge, .woocommerce.products .badge {
    background-color: #FFD700 !important;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}
.tinv-wishlist td.product-name a+.variation {
    display: none;
}
.child-cats {
  display: none;
  margin-left: 1rem;
  transition: all 0.3s ease;
}
.child-cats.open {
  display: block;
}
.cat-toggle {
  cursor: pointer;
  margin-left: 6px;
}

.woo-variation-swatches ul.variations {
  flex-direction: row !important;
}

.woo-variation-swatches ul.variations .wvs_archive_reset_variations.show {
    display: inline-block; /* ensures it respects transform */
    transform: translateX(5px); /* moves it 5px to the right */
}
