/* Owl Web CMS 4.0 / Owlet CMS 1.5 - the visitor's accessibility choices (set on <html> by the script in <head>
   and by assets/js/access.js). The button and panel style themselves inside their own shadow root. */

/* Text size: the kit sizes text in rem, so the page grows with it (WCAG 1.4.4, up to 200%) */
html.oa-size-112 { font-size: 112.5% !important; }
html.oa-size-125 { font-size: 125% !important; }
html.oa-size-150 { font-size: 150% !important; }
html.oa-size-175 { font-size: 175% !important; }
html.oa-size-200 { font-size: 200% !important; }
/* bigger text still fits the screen: long words and names wrap, and boxes can shrink */
html[class*="oa-size-"] body, html[class*="oa-size-"] body * { overflow-wrap: anywhere; min-width: 0 !important; }
html[class*="oa-size-"] body :is(.brand__name, [class*="brand"] span, nav a, [class*="price"], [class*="__meta"], time) { white-space: normal !important; }
html[class*="oa-size-"] body :is(table, pre) { display: block; overflow-x: auto; }

/* Text spacing: the values in WCAG 1.4.12 */
html.oa-spacing body *:not(svg):not(svg *) { line-height: 1.5 !important; letter-spacing: 0.12em !important; word-spacing: 0.16em !important; }
html.oa-spacing body p, html.oa-spacing body li, html.oa-spacing body dd { margin-bottom: 2em !important; }

/* An easy-to-read font, and text lined up on the left */
html.oa-font body, html.oa-font body *:not(svg):not(svg *):not([class*="icon"]) { font-family: Verdana, Tahoma, "Segoe UI", Arial, sans-serif !important; }
html.oa-left body *:not(svg) { text-align: left !important; }

/* Links: always underlined and easy to spot */
html.oa-links body a { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 3px !important; }
html.oa-links body a:not(.btn):not([class*="button"]) { font-weight: 700 !important; }

/* A strong focus outline on whatever the keyboard is on */
html.oa-focus body *:focus, html.oa-focus body *:focus-visible { outline: 4px solid #ffbf00 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #000 !important; }

/* A bigger cursor */
html.oa-cursor, html.oa-cursor body * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 26-13 1.5 8 15-6 3-8-15.5L6 42z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important; }
html.oa-cursor body a, html.oa-cursor body button, html.oa-cursor body [role="button"], html.oa-cursor body label, html.oa-cursor body summary, html.oa-cursor body select { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M18 4a4 4 0 0 1 4 4v14l2-.4a4 4 0 0 1 4 2l1 .1a4 4 0 0 1 4 2.6 4 4 0 0 1 5 3.7V36a10 10 0 0 1-10 10h-5a10 10 0 0 1-8-4l-8-11a4 4 0 0 1 6-5l2 2V8a4 4 0 0 1 4-4z' fill='%23000' stroke='%23fff' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") 18 4, pointer !important; }

/* Stop animations, moving slideshows and smooth scrolling */
html.oa-still *, html.oa-still *::before, html.oa-still *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.001s !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
html.oa-still { scroll-behavior: auto !important; }

/* Colours. Photos stay as they are; everything else takes the chosen colours, so text is always readable */
html.oa-colours-dark, html.oa-colours-contrast, html.oa-colours-light { --oa-bg: #121417; --oa-bg2: #1e2227; --oa-fg: #eceff3; --oa-link: #9ec5ff; --oa-line: #8a929c; }
html.oa-colours-contrast { --oa-bg: #000; --oa-bg2: #000; --oa-fg: #fff; --oa-link: #ffff00; --oa-line: #fff; }
html.oa-colours-light { --oa-bg: #fff; --oa-bg2: #fff; --oa-fg: #000; --oa-link: #0000c8; --oa-line: #000; }
html.oa-colours-dark, html.oa-colours-contrast, html.oa-colours-light { background: var(--oa-bg) !important; color-scheme: dark; }
html.oa-colours-light { color-scheme: light; }
html.oa-colours-dark body, html.oa-colours-contrast body, html.oa-colours-light body,
html.oa-colours-dark body *:not(img):not(video):not(picture):not(svg):not(svg *):not(iframe):not(canvas),
html.oa-colours-contrast body *:not(img):not(video):not(picture):not(svg):not(svg *):not(iframe):not(canvas),
html.oa-colours-light body *:not(img):not(video):not(picture):not(svg):not(svg *):not(iframe):not(canvas) {
  background-color: var(--oa-bg) !important; background-image: none !important; color: var(--oa-fg) !important;
  border-color: var(--oa-line) !important; text-shadow: none !important; box-shadow: none !important;
}
html.oa-colours-dark body :is(header, footer, nav, aside, .card, [class*="card"], [class*="box"], input, select, textarea),
html.oa-colours-dark body :is(header, footer, nav, aside, .card, [class*="card"], [class*="box"], input, select, textarea) * { background-color: var(--oa-bg2) !important; }
html.oa-colours-dark body a, html.oa-colours-contrast body a, html.oa-colours-light body a,
html.oa-colours-dark body a *, html.oa-colours-contrast body a *, html.oa-colours-light body a * { color: var(--oa-link) !important; }
html.oa-colours-dark body :is(button, .btn, input[type="submit"], [class*="button"]),
html.oa-colours-contrast body :is(button, .btn, input[type="submit"], [class*="button"]),
html.oa-colours-light body :is(button, .btn, input[type="submit"], [class*="button"]) { border: 2px solid var(--oa-line) !important; }
html.oa-colours-contrast body :is(input, select, textarea), html.oa-colours-light body :is(input, select, textarea) { border: 2px solid var(--oa-line) !important; }
html.oa-colours-dark body svg, html.oa-colours-contrast body svg, html.oa-colours-light body svg { color: var(--oa-fg) !important; }
html.oa-colours-dark body img, html.oa-colours-dark body video { opacity: .92; }
/* overlays drawn over photos would cover them in a solid colour: hide them */
html.oa-colours-dark body [class*="overlay"], html.oa-colours-contrast body [class*="overlay"], html.oa-colours-light body [class*="overlay"],
html.oa-colours-dark body [class*="__shade"], html.oa-colours-contrast body [class*="__shade"], html.oa-colours-light body [class*="__shade"] { background: transparent !important; }
html.oa-colours-grey body > *:not(#owl-access) { filter: grayscale(1) !important; }

html.oa-switching *, html.oa-switching *::before, html.oa-switching *::after { transition: none !important; }

/* The part being read aloud */
.oa-reading { outline: 3px solid #ffbf00 !important; outline-offset: 4px !important; background-color: rgba(255, 191, 0, .18) !important; border-radius: 4px; }
html.oa-colours-dark .oa-reading, html.oa-colours-contrast .oa-reading, html.oa-colours-light .oa-reading { background-color: var(--oa-bg) !important; }
html.oa-pick body main :is(p, h1, h2, h3, h4, h5, h6, li, blockquote, figcaption, dt, dd, td, th, summary):hover { outline: 2px dashed #ffbf00; outline-offset: 3px; cursor: pointer; }

@media print { #owl-access { display: none !important; } }
