/* Van der Graaf layout corrections on top of the Industrial theme.
 *
 * Enqueued from functions.php after every parent stylesheet, with the file's
 * modification time as its version, so a deployed change shows up without
 * anyone clearing a browser cache. Each block says which parent rule it is
 * correcting, so it can be deleted if a theme update fixes the same thing.
 */

/* ---------------------------------------------------------------------------
   1. Header: menu centred vertically in the white bar (desktop header only).

   The parent positions the menu with a fixed top margin and padding, which
   leaves it about 8px below the middle of the bar (3px in the sticky bar),
   while the logo is centred properly. Centre the menu the same way.

   The bar is 100px tall (Theme Options > Header > menu height) and 65px once
   it sticks. The link padding and the dropdown offset below are derived from
   those two heights: each top-level link fills the bar from top to bottom, so
   the pointer never leaves it on the way down to a dropdown, and the dropdown
   opens flush with the bar's bottom edge. If the menu height option changes,
   change --vdg-bar to match.
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
	header.site-header.classic.right {
		--vdg-bar: 100px;
		--vdg-link: 25.5px;                      /* line height of a top-level link */
	}
	header.site-header.classic.right.sticky {
		--vdg-bar: 65px;
	}
	header.site-header.classic.right .header-wrap {
		display: flex;
		align-items: center;
		min-height: var(--vdg-bar);
	}
	/* Bootstrap's clearfix pseudo-elements would become flex items. */
	header.site-header.classic.right .header-wrap::before,
	header.site-header.classic.right .header-wrap::after {
		display: none;
	}
	header.site-header.classic.right .header-wrap .logo + .site-navigation {
		margin-top: 0 !important;                /* the theme's script sets this inline */
		margin-left: auto;                       /* keeps the menu on the right */
		margin-bottom: 0;
		padding-top: 0;
	}
	header.site-header.classic.right .site-navigation .main-menu {
		margin-top: 0;
		margin-bottom: 0;
	}
	header.site-header.classic.right nav.site-navigation ul.main-menu > li > a {
		padding-top: calc((var(--vdg-bar) - var(--vdg-link)) / 2);
		padding-bottom: calc((var(--vdg-bar) - var(--vdg-link)) / 2);
	}
	header.site-header.classic.right .mobile-wrap > ul > li > ul.sub-menu {
		/* 3px up so it touches the link above it: no dead strip to cross. */
		top: calc((var(--vdg-bar) + var(--vdg-link)) / 2 - 3px);
	}
}

/* ---------------------------------------------------------------------------
   2. Home page: no gap between the header and the slider.

   The parent pads every page's content 60px from the header. Only the front
   page (body.home) is changed; every other page keeps its spacing.
   --------------------------------------------------------------------------- */
body.home .content-container > .row > .col-md-12 {
	padding-top: 0;
}

/* ---------------------------------------------------------------------------
   3. Footer columns: the proportions of the original site.

   The parent lays the four widget areas out as four equal quarters. The
   original footer is logo 4/12 (centred), navigation 2/12, connect 3/12 and
   the last column 3/12, with the navigation as a single tight list.
   --------------------------------------------------------------------------- */
@media (min-width: 1000px) {
	.site-footer > .container > .row > .col-md-3:nth-child(1) { width: 33.3333%; text-align: center; }
	/* The logo keeps the size it had in the narrower column. */
	.site-footer > .container > .row > .col-md-3:nth-child(1) img { max-width: 262px; height: auto; }
	.site-footer > .container > .row > .col-md-3:nth-child(2) { width: 16.6667%; }
	.site-footer > .container > .row > .col-md-3:nth-child(3),
	.site-footer > .container > .row > .col-md-3:nth-child(4) { width: 25%; }
}
.site-footer .anps_menu_widget .menu li {
	display: block;
	width: auto;
	margin-bottom: 6px;
}

/* ---------------------------------------------------------------------------
   4. Copyright bar: the policy menu on one line.

   The theme's "simple menu" widget marks its list as inline but leaves every
   item a block, so the links stack. Covers the plain WordPress menu widget
   and the theme's other menu widget as well, in case one is swapped in.
   --------------------------------------------------------------------------- */
.copyright-footer .anps_simple_nav_menu_widget,
.copyright-footer .widget_nav_menu,
.copyright-footer .anps_menu_widget {
	margin-top: 7px;                             /* same as the copyright text beside it */
}
.copyright-footer .widget ul.anps-simple-nav-menu-list,
.copyright-footer .widget ul.menu {
	padding-bottom: 0 !important;
}
.copyright-footer .anps-simple-nav-menu-list > li,
.copyright-footer .widget_nav_menu .menu > li,
.copyright-footer .anps_menu_widget .menu > li {
	display: inline-block;
	width: auto;
	margin: 0;
	padding: 0;
}
.copyright-footer .anps-simple-nav-menu-list > li > a,
.copyright-footer .widget_nav_menu .menu > li > a,
.copyright-footer .anps_menu_widget .menu > li > a {
	display: inline-block !important;            /* the widget sets display:block inline; inline-block so the link can be 24px tall for touch */
	padding: 2px 0;
	border: 0;
}
.copyright-footer .anps_menu_widget .menu > li > a::before {
	display: none;                               /* no bullet arrows in the bar */
}
/* The separator trails its item, so a wrapped line never starts with one. */
.copyright-footer .anps-simple-nav-menu-list > li:not(:last-child)::after,
.copyright-footer .widget_nav_menu .menu > li:not(:last-child)::after,
.copyright-footer .anps_menu_widget .menu > li:not(:last-child)::after {
	content: "/";
	margin: 0 12px;
	opacity: .6;
}

/* ---------------------------------------------------------------------------
   5. Page title band (every page that has one; the home page has none).

   The parent's band is light grey, 187px tall, with dark text. The original
   site's is the VDG blue with white text and 108px tall. The height comes
   from padding rather than a fixed height, so a long title that wraps on a
   phone still fits. A band with its own background image is left alone.
   --------------------------------------------------------------------------- */
.site-main .page-header:not(.page-header-media) {
	background-color: #005196;
	border-bottom: 0;
	padding-top: 34px;                           /* 34 + 39.6 (title line) + 34 = 108 */
	padding-bottom: 34px;
	text-align: left;                            /* title on the left, as on the original */
}
.site-main .page-header:not(.page-header-media) .page-title,
.site-main .page-header:not(.page-header-media) .page-title a {
	color: #fff;
	margin: 0;
}
/* The title as typed (not all capitals), medium weight, 8px smaller than the
   parent's 36px (28px on small screens). The padding keeps the band at 108px. */
.site-main .page-header .page-title {
	font-size: 20px;
	font-weight: 500;
	text-transform: none !important;             /* the template adds .text-uppercase */
}
@media (min-width: 768px) {
	.site-main .page-header .page-title { font-size: 28px; }
	.site-main .page-header:not(.page-header-media) {
		padding-top: 38px;                       /* 38 + 30.8 (title line) + 39 = 108 */
		padding-bottom: 39px;
	}
}

/* ---------------------------------------------------------------------------
   6. Side menu (the menu widget in a page sidebar, e.g. Products > Drum Motors).

   In the parent theme a sub-item differs from a main category only by 10px of
   indent, so the open Drum Motors list reads as one flat list with CrossDrive
   and Belt Cleaner. Main categories are now heavier and blue; the open
   sub-list sits on a grey panel with an orange edge, in smaller text, and
   every sub-item carries a chevron.
   --------------------------------------------------------------------------- */
aside.sidebar .widget_nav_menu .menu > li > a {
	padding: 14px 30px !important;               /* the parent theme drops the top padding on the
	                                                category of the page you are on, so the bar
	                                                shrank from 53px to 39px on its sub-pages */
	border-bottom-color: #fff;
	background-color: #005196;
	color: #fff;
	font-weight: 600;
}
aside.sidebar .widget_nav_menu .menu > li:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
aside.sidebar .widget_nav_menu .menu > li:not(.current-menu-item):not(.current-menu-ancestor) > a:focus {
	background-color: #003f75;
	color: #fff;
}
/* The category you are in (or whose sub-page you are on) keeps the orange bar. */
aside.sidebar .widget_nav_menu .menu > li.current-menu-item > a,
aside.sidebar .widget_nav_menu .menu > li.current-menu-ancestor > a {
	background-color: var(--vdg-orange-aa);        /* white text needs the darker orange: see section 14 */
	color: #fff;
}
aside.sidebar .widget_nav_menu .sub-menu {
	background-color: #f5f6f7;
	border-bottom: 1px solid #e5e5e5;
}
aside.sidebar .widget_nav_menu .sub-menu a {
	position: relative;
	padding: 9px 20px 9px 42px;
	border-left: 3px solid transparent;          /* orange on the selected sub-page only */
	border-bottom-color: #e9eaec;
	color: #505050;
	font-size: 13px;
	font-weight: 400;
}
aside.sidebar .widget_nav_menu .sub-menu > li:last-child > a {
	border-bottom: 0;
}
aside.sidebar .widget_nav_menu .sub-menu a::before {
	content: "\f105";                            /* Font Awesome angle-right */
	position: absolute;
	left: 24px;
	color: #ef6d24;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}
aside.sidebar .widget_nav_menu .sub-menu a:hover,
aside.sidebar .widget_nav_menu .sub-menu a:focus {
	color: var(--vdg-orange-aa);
}
/* The sub-page you are on: orange and bold on the panel, not a second orange
   bar competing with its category. */
aside.sidebar .widget_nav_menu .sub-menu .current-menu-item > a {
	background-color: #fff;
	border-left-color: #ef6d24;
	color: var(--vdg-orange-aa);
	font-weight: 600;
}

/* ---------------------------------------------------------------------------
   7. Ninja Tables.

   a) While a table is starting up the plugin shows the raw, unfiltered table
      for a moment, hides it, then shows it again. Keep it hidden for that
      whole stretch and hold the space open, so the page does not jump twice.
      If the script never runs, the animation reveals the table after 4s.
   b) Literature (table 1811): the Downloads and Type columns size themselves
      to their widest cell, so they changed width as the Language filter
      changed which rows were shown. Give them fixed widths; Title takes the
      rest.
   --------------------------------------------------------------------------- */
.ninja_table_wrapper.loading_ninja_table {
	min-height: 60vh;
}
.ninja_table_wrapper.loading_ninja_table > table {
	visibility: hidden;
	animation: vdg-table-reveal 0s 4s forwards;
}
@keyframes vdg-table-reveal {
	to { visibility: visible; }
}
@media (min-width: 768px) {
	table.foo_table_1811 th.ninja_clmn_nm_downlaods,
	table.foo_table_1811 td.ninja_clmn_nm_downlaods { width: 136px; }
	table.foo_table_1811 th.ninja_clmn_nm_type,
	table.foo_table_1811 td.ninja_clmn_nm_type { width: 142px; }
}

/* ---------------------------------------------------------------------------
   8. Text selection: the visitor's own system colours.

   The parent paints selected text white on the theme's accent colour (orange
   here). A stylesheet cannot "remove" a ::selection rule, so hand it the
   system's own selection colours instead: Highlight / HighlightText are
   whatever the visitor's operating system and browser use.
   --------------------------------------------------------------------------- */
::selection {
	background-color: Highlight;
	color: HighlightText;
}

/* ---------------------------------------------------------------------------
   9. Header: shrink smoothly when the page scrolls (desktop header only).

   The parent switches the header from "in the page, 100px" to "fixed, 65px"
   in one frame as soon as the page scrolls: the bar snaps shorter, the logo
   is swapped for a smaller copy and the content is re-padded underneath.

   Here the bar is fixed from the start, with the page content permanently
   padded by the bar's full height, so scrolling no longer changes how the
   header is positioned - only its height, and that can be animated. The logo
   is the same image in both states, so the full-size one is kept and scaled
   instead of being swapped. Section 1's link padding and dropdown offset
   follow the same timing.

   Not applied when a top bar sits above the header (none is in use): the
   parent's own behaviour is kept in that case.
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
	body.stickyheader header.site-header.classic.right:not(.top-bar + .site-header) {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
	}
	body.stickyheader.admin-bar header.site-header.classic.right:not(.top-bar + .site-header) {
		top: 32px;                               /* below the WordPress toolbar when logged in */
	}
	/* The theme's script sets this padding inline (0 at the top, 100px once
	   scrolled); hold it at the bar's full height so nothing moves. */
	body.stickyheader header.site-header.classic.right:not(.top-bar + .site-header) ~ .site-main {
		padding-top: 100px !important;
	}

	header.site-header.classic.right .header-wrap {
		transition: min-height .3s ease;
	}
	header.site-header.classic.right nav.site-navigation ul.main-menu > li > a {
		transition: padding .3s ease, color .2s ease;
	}
	header.site-header.classic.right .mobile-wrap > ul > li > ul.sub-menu {
		transition: top .3s ease;
	}

	/* One logo, scaled, instead of two swapped. */
	header.site-header.classic.right.sticky .logo-wrap { display: block; }
	header.site-header.classic.right.sticky .logo-sticky { display: none; }
	header.site-header.classic.right .logo-wrap img {
		transition: height .3s ease;
	}
	header.site-header.classic.right.sticky .logo-wrap img {
		height: 55px !important;                 /* the sticky logo's size; the full one is 65px inline */
	}
}
@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
	header.site-header.classic.right .header-wrap,
	header.site-header.classic.right nav.site-navigation ul.main-menu > li > a,
	header.site-header.classic.right .mobile-wrap > ul > li > ul.sub-menu,
	header.site-header.classic.right .logo-wrap img {
		transition: none;
	}
}

/* ---------------------------------------------------------------------------
   10. Keyboard navigation: a visible focus box.

   Someone moving through the page with Tab needs to see where they are. The
   parent removes or mutes the browser's focus outline in many places. This
   draws a clear box around whatever has keyboard focus: blue on light areas,
   white on the blue ones. :focus-visible means it appears for keyboard use
   only, not after a mouse click.

   The main menu's dropdowns in the parent open on hover only, so their items
   could not be reached with Tab; :focus-within opens a dropdown while focus
   is anywhere inside it.
   --------------------------------------------------------------------------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
	outline: 3px solid #005196 !important;
	outline-offset: 2px !important;
	border-radius: 2px;
}
.site-footer :focus-visible,
.page-header :focus-visible,
.btn:focus-visible,
.button:focus-visible {
	outline-color: #fff !important;
}
/* A white box alone is lost on a button sitting on a white page: add a blue
   ring outside it. */
.btn:focus-visible,
.button:focus-visible {
	box-shadow: 0 0 0 6px #005196;
}
@media (min-width: 1200px) {
	nav.site-navigation li:focus-within > .sub-menu {
		height: auto;
		overflow: visible;
	}
	/* A top-level link fills the bar top to bottom; draw its box just inside,
	   so it is not clipped at the top of the window. */
	header.site-header nav.site-navigation ul.main-menu > li > a:focus-visible {
		outline-offset: -4px !important;
	}
}

/* ---------------------------------------------------------------------------
   11. Main-menu dropdown: an item reached with Tab looks like a hovered one.

   The parent turns a dropdown item's text white on hover AND on focus, but
   only gives it the orange background on hover - so an item reached with the
   keyboard (or just clicked) was white text on the white dropdown: invisible.
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
	header.site-header nav.site-navigation .main-menu ul.sub-menu .menu-item > a:focus {
		background-color: var(--vdg-orange-aa);
		color: #fff;
	}
}

/* ===========================================================================
   ACCESSIBILITY (WCAG 2.0 AA, for the AODA filing). Sections 12-15.
   The markup half is inc/a11y.php, the script half js/vdg-a11y.js, and the
   audit these answer is in docs/ACCESSIBILITY.md.
   =========================================================================== */

:root {
	/* The orange used where orange carries small text or sits under small
	   white text (buttons, current menu items, the side-menu bar).

	   2026-11-12: set back to the brand orange #ef6d24 at the business's
	   request. Brand orange with white is 3.05:1; WCAG AA needs 4.5:1 for
	   text under 24px, so these places FAIL the contrast check and scanners
	   will report them. The value that passes is #b84a08 (5.2:1): changing
	   this one line restores it everywhere. */
	--vdg-orange-aa: #ef6d24;
	--vdg-grey-aa: #595959;                      /* 7:1 on white */
	--vdg-ts: 1;
	--vdg-ts-nav: 1;
}

/* ---------------------------------------------------------------------------
   12. Skip link: hidden until it takes keyboard focus, then top left.
   --------------------------------------------------------------------------- */
.vdg-skip-link {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 100000;
	padding: 12px 18px;
	border-radius: 4px;
	background: #005196;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}
.vdg-skip-link:focus {
	color: #fff;
	transform: none;
	outline: 3px solid #fff !important;
	box-shadow: 0 0 0 6px #005196;
}
#vdg-main { scroll-margin-top: 110px; }
#vdg-main:focus { outline: 0; }

/* ---------------------------------------------------------------------------
   13. Text-size control ("Aa"; built by js/vdg-a11y.js). A floating button
   in the bottom left corner: 5px from the edges on desktop, 12px on phones.
   The panel opens to its right.
   Sizes here are deliberately not scaled by the control itself.
   --------------------------------------------------------------------------- */
.vdg-ts {
	position: fixed;
	bottom: 5px;
	left: 5px;
	z-index: 9990;
	display: flex;
	flex-direction: row;
	align-items: stretch;
	font-family: inherit;
	line-height: 1;
}
.vdg-ts-toggle {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 10px;
	background: #005196;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 3px 12px rgba(0, 49, 92, .28);
	transition: background-color .15s ease, box-shadow .15s ease;
}
.vdg-ts-toggle:hover { box-shadow: 0 4px 16px rgba(0, 49, 92, .38); }
.vdg-ts-toggle:hover,
.vdg-ts-open .vdg-ts-toggle { background: #003d73; }
.vdg-ts-panel {
	display: flex;
	margin-left: 8px;
	border: 1px solid #c9ced3;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
	overflow: hidden;
}
.vdg-ts-panel[hidden] { display: none; }
.vdg-ts-btn {
	min-width: 48px;
	height: 42px;
	padding: 0 10px;
	border: 0;
	border-right: 1px solid #dfe3e7;
	background: #fff;
	color: #005196;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
}
.vdg-ts-btn:last-child { border-right: 0; }
.vdg-ts-plus { font-size: 19px; }
.vdg-ts-reset { min-width: 60px; color: #333; font-size: 14px; font-weight: 600; }
.vdg-ts-btn:hover:not(:disabled) { background: #eef4fa; }
.vdg-ts-btn:disabled { color: #767676; cursor: default; }
.vdg-ts .vdg-ts-toggle:focus-visible,
.vdg-ts .vdg-ts-btn:focus-visible {
	outline: 3px solid #ef6d24 !important;
	outline-offset: -3px !important;
	box-shadow: none;
}
.vdg-ts-status {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}
@media (max-width: 767px) {
	.vdg-ts {
		bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		left: 12px;
	}
	.vdg-ts-toggle { font-size: 16px; }
}
@media print {
	.vdg-ts, .vdg-skip-link, .vdg-slider-pause { display: none !important; }
}

/* ---------------------------------------------------------------------------
   14. Colour contrast (WCAG 1.4.3: 4.5:1 for normal text, 3:1 for large).

   Measured before: dropdown items #8c8c8c (3.4:1), the current page in the
   breadcrumb #c3c3c3 (1.8:1), page-builder body text #7a7a7a (4.3:1), and
   every use of the brand orange with small text (3.05:1).
   --------------------------------------------------------------------------- */

/* Main menu */
@media (min-width: 1200px) {
	header.site-header nav.site-navigation .main-menu ul.sub-menu .menu-item > a {
		color: var(--vdg-grey-aa);
	}
	header.site-header nav.site-navigation .main-menu ul.sub-menu .menu-item > a:hover {
		background-color: var(--vdg-orange-aa);
		color: #fff;
	}
	header.site-header nav.site-navigation .main-menu ul.sub-menu .current-menu-item > a:not(:hover):not(:focus) {
		color: var(--vdg-orange-aa);
	}
	header.site-header.classic nav.site-navigation ul.main-menu > li > a:hover,
	header.site-header.classic nav.site-navigation ul.main-menu > li > a:focus,
	header.site-header.classic nav.site-navigation ul.main-menu > li:hover > a,
	header.site-header.classic nav.site-navigation ul.main-menu > li.current-menu-item > a,
	header.site-header.classic nav.site-navigation ul.main-menu > li.current-menu-ancestor > a,
	header.site-header.classic nav.site-navigation ul.main-menu > li.current_page_parent > a {
		color: var(--vdg-orange-aa) !important;
	}
}
header.site-header .menu-search-toggle:hover,
header.site-header .menu-search-toggle:focus {
	color: var(--vdg-orange-aa);
}

/* Breadcrumb: the current page (the last item, not a link) */
.breadcrumb ol > li { color: var(--vdg-grey-aa); }

/* Body text set by the page builder "text" colour */
body[class*="elementor-kit-"] { --e-global-color-text: var(--vdg-grey-aa); }

/* Form buttons */
.forminator-ui .forminator-button-submit:not(:hover) { background-color: var(--vdg-orange-aa) !important; }

/* News pagination */
.nav-links .page-numbers { color: var(--vdg-grey-aa); }
.nav-links .page-numbers.current { background-color: var(--vdg-orange-aa); color: #fff; }

/* Footer menu on the blue: the current page was orange on blue (2.6:1) */
footer.site-footer .widget .menu li[class*="current"] > a {
	color: #fff !important;
	text-decoration: underline;
}

/* Trade show pages and the events list (plugin defaults) */
.espbp-countdown .espbp-countdown-item { color: #1a1a1a !important; }
.espbp-countdown .espbp-countdown-label,
.espbp-countdown .espbp-countdown-separator { color: var(--vdg-grey-aa) !important; }
.espbp-meta-wrp, .espbp-meta-wrp span, .espbp-meta-wrp abbr, .espbp-meta-wrp .espbp-content-wrp,
.espbp-evt-excerpt p { color: var(--vdg-grey-aa) !important; }

/* Gallery filter: the selected filter is small orange text. The plugin sets
   it with an id and !important, hence the :not(#...) pair to outrank it. */
.modula .modula_menu__item--current > .modula_menu__link:not(#vdg-a):not(#vdg-b) {
	color: var(--vdg-orange-aa) !important;
}
/* The plugin never takes "selected" off the All link, so All stayed orange
   beside whichever filter was chosen. Only the current item is orange. */
.modula .modula_menu__item:not(.modula_menu__item--current) > .modula_menu__link.selected:not(:hover):not(#vdg-a):not(#vdg-b) {
	color: #505050 !important;
}
.espbp-meta-wrp .espbp-date-lbl, .espbp-meta-wrp .espbp-evt-time-label { color: #005196 !important; }

/* Set by js/vdg-a11y.js on page-builder elements that pair the brand orange
   with small text. Hover and focus keep whatever the element defines. */
html body .vdg-aa-bg.vdg-aa-bg:not(:hover):not(:focus) { background-color: var(--vdg-orange-aa) !important; }
html body .vdg-aa-fg.vdg-aa-fg:not(:hover):not(:focus) { color: var(--vdg-orange-aa) !important; }
html body .vdg-aa-grey.vdg-aa-grey { color: var(--vdg-grey-aa) !important; }
html body .vdg-aa-bg-grey.vdg-aa-bg-grey { background-color: #6b6b6b !important; }

/* ---------------------------------------------------------------------------
   15. Slider pause / play button (WCAG 2.2.2), added by js/vdg-a11y.js.
   --------------------------------------------------------------------------- */
.vdg-slider-pause {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 30;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(0, 0, 0, .65);
	cursor: pointer;
}
.vdg-slider-pause::before {                      /* two bars: pause */
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 14px;
	border: solid #fff;
	border-width: 0 4px;
	transform: translate(-50%, -50%);
	box-sizing: border-box;
}
.vdg-slider-pause.is-paused::before {            /* triangle: play */
	width: 0;
	height: 0;
	border-width: 8px 0 8px 13px;
	border-color: transparent transparent transparent #fff;
	transform: translate(-40%, -50%);
}
.vdg-slider-pause:hover { background: #005196; }

/* ---------------------------------------------------------------------------
   16. Mobile menu: out of the Tab order while it is closed.

   Below 1200px the theme parks the whole menu just off the right edge of the
   screen and slides it in. Parked, its links still took keyboard focus, so a
   keyboard user tabbed through a dozen invisible links before reaching the
   page (this layout is also what a desktop visitor gets at 200% zoom).
   visibility:hidden removes them from the Tab order; the theme's existing
   "all .2s" transition keeps the slide in both directions.
   --------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	html:not(.show-menu) .ghost-nav-wrap .mobile-wrap { visibility: hidden; }
}

/* ---------------------------------------------------------------------------
   17. Helpers used by inc/a11y.php and js/vdg-a11y.js.
   --------------------------------------------------------------------------- */
/* A heading for screen readers only (the home page has no title band). */
.vdg-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
/* .vdg-aa-scrim: the script marks white text on a see-through dark band
   over a photo (the home page tile captions, 41% grey). A darker band
   (rgba(20, 20, 20, .72)) made it pass the contrast check; removed 2026-11-12
   at the business's request to keep the original transparency. Checkers
   will report those six captions. */

/* ---------------------------------------------------------------------------
   18. Touch targets: at least 24 x 24 px, or 24px clear of the next one.

   Small links and dots are hard to hit with a finger. These were under 24px
   in one direction: text links set inline (20px tall), the slider dots, the
   events carousel arrows and the PDF icons in the product tables.
   --------------------------------------------------------------------------- */
.breadcrumb ol > li > a,
.site-footer .menu a,
.copyright-footer a,
.copyright-footer a.anps-simple-nav-menu-link,
.elementor .e-heading-base > a,
.anps-demo12-postgrid__title a,
.anps-demo12-postgrid__more,
header.site-header .logo > a {
	display: inline-block;
	padding-top: 3px;
	padding-bottom: 3px;
}
a.vdg-pdf-link {
	display: inline-block;
	min-width: 24px;
	min-height: 24px;
	line-height: 24px;
	text-align: center;
}
.n2-ss-slider .n2-bullet { margin-left: 8px !important; margin-right: 8px !important; }
.ewpe-swiper-outer-wrapper .ewpe-button-prev,
.ewpe-swiper-outer-wrapper .ewpe-button-next { min-width: 24px; }
.elementor .e-heading-base > a,
a.anps-simple-nav-menu-link {
	display: inline-block;
	min-height: 24px;
}

/* ---------------------------------------------------------------------------
   19. Home page tile captions (a linked heading directly inside a container).

   Each caption had its own fixed side padding typed in Elementor (81px and so
   on), so on a narrow tile the text wrapped early, and the text sat 5px above
   the middle of its band. The band now sizes itself: 16px at the sides, at
   least 50px tall, growing upward with each extra line, and the text is
   centred both ways whether it takes one line, two or three.
   --------------------------------------------------------------------------- */
.elementor .e-con > .e-heading-base:has(> a) {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box;
	height: auto !important;
	min-height: 50px;
	padding: 10px 16px !important;
	text-align: center !important;
}
.elementor .e-con > .e-heading-base:has(> a) > a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 1 auto;
	min-height: 24px;
	padding: 0;
	text-align: center;
	overflow-wrap: anywhere;
}

/* ---------------------------------------------------------------------------
   20. Footer: logo size on small screens, tighter navigation list.

   Below 1000px the footer columns stack and the logo filled the whole width.
   It is now 75% of the footer's width (never over 320px, for tablets),
   centred in its column. The logo is a link to the home
   page (see functions.php).

   The navigation list was spaced 33px a line against 24px for the news
   titles beside it; it now uses the same line spacing.
   --------------------------------------------------------------------------- */
.site-footer .widget_anpsimages a {
	display: inline-block;
	line-height: 0;
}
@media (max-width: 999px) {
	.site-footer .widget_anpsimages {
		margin-bottom: 28px;
		text-align: left;
	}
	.site-footer .widget_anpsimages a {
		display: block;
		width: 75%;
		max-width: 320px;
		margin: 0 auto;
	}
	.site-footer .widget_anpsimages img {
		width: 100%;
		height: auto;
	}
}
.site-footer .anps_menu_widget .menu li {
	margin: 0 !important;
	padding: 0;
}
.site-footer .anps_menu_widget .menu li > a {
	padding-top: 0;
	padding-bottom: 0;
}

/* ---------------------------------------------------------------------------
   21. Literature table (1811): filters on the left, titles that do not break
       inside a word.

   The filter row was pushed to the right. On a phone the three columns were
   equal thirds, so the Title column was 94px of 18px text and long words
   ("CrossDrive", "Comparison") were cut in two. The icon and Type columns
   are now a quarter each and Title takes half, in 15px text.

   The table prints its own mobile rules inline with two ids in the selector
   (#footable_parent_1811 table#footable_1811), so these use the same prefix
   to win.
   --------------------------------------------------------------------------- */
#footable_parent_1811 table#footable_1811 > thead > tr.footable-filtering > th:first-child {
	padding-left: 0 !important;
	text-align: left !important;
}
#footable_parent_1811 table#footable_1811 > thead > tr.footable-filtering form {
	text-align: left !important;
}
@media (max-width: 767px) {
	/* The table is fixed-layout here and its first row is the filter row,
	   so the widths have to be set on the <col> elements.
	   All three need a width, or the leftover space is shared with the two
	   hidden columns and Title collapses. The "Downloads" heading is set smaller
	   so it fits over the narrow icon column. */
	#footable_parent_1811 table#footable_1811 col.ninja_column_0 { width: 25% !important; }
	#footable_parent_1811 table#footable_1811 col.ninja_column_1 { width: 50% !important; }
	#footable_parent_1811 table#footable_1811 col.ninja_column_2 { width: 25% !important; }
	#footable_parent_1811 table#footable_1811 > thead > tr > th.ninja_clmn_nm_downlaods:first-child {
		padding-left: 4px !important;
		padding-right: 2px !important;
		font-size: 12px;
		text-align: center;
		white-space: nowrap;
	}
	#footable_parent_1811 table#footable_1811 thead th { font-size: 14px; }
	#footable_parent_1811 table#footable_1811 > thead > tr:not(.footable-filtering) > th { font-size: 12px; }
	#footable_parent_1811 table#footable_1811 tbody td {
		font-size: 15px;
		line-height: 1.4;
		padding-top: 14px;
		padding-bottom: 14px;
	}
	#footable_parent_1811 table#footable_1811 td.ninja_clmn_nm_title,
	#footable_parent_1811 table#footable_1811 td.ninja_clmn_nm_type {
		word-break: normal;
		overflow-wrap: break-word;
		hyphens: none;
	}
	/* Spanish type names ("Folleto", "Catálogo", "Informe Técnico") are swapped
	   in by the table's own custom CSS as ::after text fixed at 18px, so they
	   ignored the smaller mobile size and looked bigger than "Manual", which
	   is not swapped. Make them follow the row size. */
	#footable_parent_1811 table#footable_1811 td.ninja_clmn_nm_type .nt-type-cell::after { font-size: 15px !important; }
	/* "Brochure" has to fit in a quarter of the table on one line. */
	#footable_parent_1811 table#footable_1811 > thead > tr > th.ninja_clmn_nm_type,
	#footable_parent_1811 table#footable_1811 > tbody > tr > td.ninja_clmn_nm_type {
		padding-left: 4px !important;
		padding-right: 4px !important;
	}
	#footable_parent_1811 table#footable_1811 td.ninja_clmn_nm_type,
	#footable_parent_1811 table#footable_1811 td.ninja_clmn_nm_type * {
		overflow-wrap: normal !important;
		word-wrap: normal !important;
		word-break: normal !important;
	}
}
@media (max-width: 359px) {
	#footable_parent_1811 table#footable_1811 tbody td { font-size: 14px; }
	#footable_parent_1811 table#footable_1811 > tbody > tr > td.ninja_clmn_nm_type { font-size: 13px; }
	#footable_parent_1811 table#footable_1811 td.ninja_clmn_nm_type .nt-type-cell::after { font-size: 13px !important; }
	/* "Downloads" does not fit at 12px here; keep the three headings the same size. */
	#footable_parent_1811 table#footable_1811 > thead > tr:not(.footable-filtering) > th { font-size: 10.5px !important; }
}

/* ---------------------------------------------------------------------------
   22. Mobile menu panel: VDG blue instead of the theme's near-black.
   --------------------------------------------------------------------------- */
@media (max-width: 1199px) {
	.ghost-nav-wrap .mobile-wrap {
		background: #005196;
		box-shadow: inset 4px 4px 20px 0px rgba(8, 58, 108, .50) !important;
	}
	.ghost-nav-wrap .mobile-wrap .site-search .searchfield,
	.ghost-nav-wrap .mobile-wrap .site-search input[type="text"],
	.ghost-nav-wrap .mobile-wrap .site-search input[type="search"] {
		background: #003f75;
		color: #fff;
	}
	.ghost-nav-wrap .mobile-wrap .site-search .searchfield::placeholder { color: #d5e3f0; opacity: 1; }
	.ghost-nav-wrap .mobile-wrap .main-menu > li { border-bottom-color: rgba(255, 255, 255, .3); }
}

/* ---------------------------------------------------------------------------
   23. Signed-in customer in the header (js/vdg-portal.js).

   The portal's own account block, copied rule for rule from the portal's
   header (VanderGraafPortal frontend/src/site-chrome.css, "Signed-in
   customer"), so a customer sees the same thing on the website and in the
   portal: a hairline separator, the cart with its count, then the name with
   a menu. Change both files together.
   --------------------------------------------------------------------------- */
.site-header .header-wrap > .vdg-acct-wrap {
	display: flex;
	align-items: center;
	align-self: center;
	gap: 6px;
	flex: 0 1 auto;
	min-width: 0;
	margin-left: 8px;
	padding-left: 14px;
	border-left: 1px solid #e7e7e7;
	font-family: "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}
.vdg-acct-wrap .vdg-acct-cart {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 4px;
	color: #005196;
	text-decoration: none;
}
.vdg-acct-wrap .vdg-acct-cart[hidden] { display: none; }
.vdg-acct-wrap .vdg-acct-cart:hover,
.vdg-acct-wrap .vdg-acct-cart:focus { color: #ef6d24; }
.vdg-acct-wrap .vdg-cart-count {
	position: absolute;
	top: 2px;
	right: 0;
	padding: .8px 6.7px;
	border-radius: 999px;
	background: #ef6d24;
	color: #fff;
	font-size: 10.9px;
	font-weight: 400;
	line-height: 1.5;
}
.vdg-acct-wrap .vdg-acct { position: relative; min-width: 0; }
.vdg-acct-wrap .vdg-acct > summary {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 6px;
	border-radius: 4px;
	color: #005196;
	font-size: 14px;
	line-height: 1.5;
	cursor: pointer;
	list-style: none;
}
.vdg-acct-wrap .vdg-acct > summary::-webkit-details-marker { display: none; }
.vdg-acct-wrap .vdg-acct > summary svg { flex: none; }
.vdg-acct-wrap .vdg-acct > summary:hover,
.vdg-acct-wrap .vdg-acct[open] > summary { color: #ef6d24; }
.vdg-acct-wrap .vdg-acct-name {
	max-width: 150px;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.vdg-acct-wrap.vdg-acct-tight .vdg-acct-name { display: none; }
.vdg-acct-wrap .vdg-acct-menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	z-index: 1000;
	width: 260px;
	background: #fff;
	border-top: 3px solid #ef6d24;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .16);
	color: #505050;
	font-size: 13px;
	line-height: 1.5;
	text-align: left;
}
.vdg-acct-wrap .vdg-acct-who { display: flex; flex-direction: column; padding: 14px 18px 10px; }
.vdg-acct-wrap .vdg-acct-who strong { color: #1a1a1a; font-size: 14px; font-weight: 500; }
.vdg-acct-wrap .vdg-acct-item {
	display: block;
	width: 100%;
	padding: 12px 18px;
	border: 0;
	border-top: 1px solid #eff0f0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: #595959;
	font: 400 12px/20px "Poppins", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	text-align: left;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}
.vdg-acct-wrap .vdg-acct-item:hover,
.vdg-acct-wrap .vdg-acct-item:focus { color: #ef6d24; }
.vdg-acct-wrap a:focus-visible,
.vdg-acct-wrap button:focus-visible,
.vdg-acct-wrap summary:focus-visible { outline: 2px solid #005196; outline-offset: 2px; }

/* Below the desktop menu the portal drops the separator and the name and keeps
   the two icons beside the menu button; so does the website. The theme's small
   header is not a flex row (floated logo and button), so the block is placed
   against the right edge, level with the 39px menu button and 8px before it. */
@media (max-width: 1199px) {
	.site-header .header-wrap > .vdg-acct-wrap {
		position: absolute;
		top: 21px;
		right: 73px;
		height: 39px;
		margin: 0;
		padding-left: 0;
		border-left: 0;
	}
	.vdg-acct-wrap .vdg-acct-name { display: none; }
}

/* ---------------------------------------------------------------------------
   24. Header: room for the language menu and the account block.

   The menu, the search button, the language menu and (signed in) the account
   block share one row of 1140px with the logo. The menu never wraps or runs
   under the logo: French and Spanish labels are longer than English, so their
   links start with less side padding, and the customer's name gives up width
   last (js/vdg-portal.js hides it when only a sliver is left).
   --------------------------------------------------------------------------- */
@media (min-width: 1200px) {
	/* The theme takes the logo out of the row (position: absolute), so nothing
	   stops the menu sliding under it. This spacer holds the logo's place:
	   165px of logo and 20px of air. */
	.site-header .header-wrap::before { content: ""; display: block !important; flex: 0 0 185px; height: 1px; }
	.site-header .header-wrap > nav.site-navigation { flex: 0 0 auto; margin-left: auto; }
	.site-header nav.site-navigation ul.main-menu { white-space: nowrap; }
	.site-header nav.site-navigation ul.main-menu .sub-menu { white-space: normal; }

	html[lang^="fr"] .site-header nav.site-navigation ul.main-menu > li > a,
	html[lang^="es"] .site-header nav.site-navigation ul.main-menu > li > a { padding-left: 8px; padding-right: 8px; }
	html[lang^="es"].vdg-signed-in .site-header nav.site-navigation ul.main-menu > li > a { padding-left: 7px; padding-right: 7px; }

	/* Signed in, the account block is the way into the portal (its name menu
	   links there), so the "Customer Portal" menu entry gives its place to the
	   customer's name. It stays in the slide-in menu on small screens. */
	html.vdg-signed-in .site-header nav.site-navigation ul.main-menu > li.vdg-portal-link { display: none; }

	/* Until js/vdg-portal.js has drawn the account block, its place in the row is
	   kept free at the width it had on the last page (set in the page head by
	   functions.php), so the menu is in its final position from the first paint. */
	html.vdg-signed-in .site-header .header-wrap:not(:has(> .vdg-acct-wrap))::after {
		content: "";
		display: block !important;
		flex: 0 0 var(--vdg-acct-w, 0px);
		height: 1px;
	}

	/* "Customer Portal" is the last thing in the row, after the search button and
	   behind the same hairline the account block has (section 23), so the header
	   is one layout for everyone and only what follows the line changes. The
	   theme's functions.php moves the entry there. */
	.site-header nav.site-navigation ul.main-menu > li.vdg-portal-end { position: relative; margin-left: 16px; }
	/* For a visitor it is a button in the site's blue (Mohammad, 2026-11-28): the one
	   action in the row, so it reads as the way in and not as one more menu entry.
	   Its own padding replaces the tall menu-link padding, in the normal and the
	   scrolled header alike; the text keeps the menu's baseline. */
	html body .site-header nav.site-navigation ul.main-menu > li.vdg-portal-end > a,
	html body .site-header.sticky nav.site-navigation ul.main-menu > li.vdg-portal-end > a {
		display: inline-block;
		padding: 10px 18px !important;
		border: 0;
		border-radius: 4px;
		background: #005196;
		color: #fff !important;
		font-weight: 500;
		line-height: 20px;
		box-shadow: 0 1px 2px rgba(0, 49, 92, .18);
		transition: background-color .15s ease, box-shadow .15s ease;
	}
	html body .site-header nav.site-navigation ul.main-menu > li.vdg-portal-end > a:hover,
	html body .site-header nav.site-navigation ul.main-menu > li.vdg-portal-end > a:focus {
		background: #003d73;
		color: #fff !important;
		box-shadow: 0 3px 10px rgba(0, 49, 92, .28);
	}

	/* The search glyph comes from an icon font that arrives after the first paint.
	   Its box is given the glyph's width up front so the menu does not move. */
	.site-header nav.site-navigation .menu-search-toggle > i { display: inline-block; width: 15px; }

	/* The language menu: globe, current language, caret; opens on hover and on
	   keyboard focus like the other menus (the theme's own dropdown). */
	.site-header ul.main-menu > li.vdg-lang-item > a.vdg-lang-top {
		display: inline-flex;
		align-items: center;
		gap: 5px;
		vertical-align: top;
	}
	.site-header ul.main-menu > li.vdg-lang-item > a.vdg-lang-top svg { flex: none; }
	.site-header ul.main-menu > li.vdg-lang-item > .sub-menu.vdg-lang-menu { left: auto; right: 0; width: 170px; }
	.site-header ul.main-menu > li.vdg-lang-item > .sub-menu.vdg-lang-menu > li { width: 100%; }
	.site-header ul.main-menu > li.vdg-lang-item:focus-within > .sub-menu { display: block; opacity: 1; visibility: visible; }
	.site-header ul.main-menu > li.vdg-lang-item > .sub-menu a { text-transform: none; font-size: 13px; }
	.site-header ul.main-menu > li.vdg-lang-item > .sub-menu a[aria-current] { color: #ef6d24; font-weight: 500; }
}

/* In the slide-in menu the three languages sit in one row under the pages. */
@media (max-width: 1199px) {
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > a.vdg-lang-top { display: none; }
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > .sub-menu.vdg-lang-menu {
		display: flex !important;
		flex-wrap: wrap;
		position: static;
		gap: 6px;
		width: auto;
		margin: 0;
		padding: 6px 0;
		background: none;
		box-shadow: none;
	}
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > .sub-menu > li { width: auto; border: 0; }
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > .sub-menu a {
		display: block;
		padding: 5px 9px;
		border: 1px solid rgba(255, 255, 255, .45);
		border-radius: 3px;
		color: #fff;
		font-size: 13px;
		line-height: 20px;
		text-transform: none;
	}
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > .sub-menu a::before,
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > .sub-menu a::after { content: none; display: none; }
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item .mobile-showchildren { display: none; }
	.ghost-nav-wrap ul.main-menu > li.vdg-lang-item > .sub-menu a[aria-current] { background: #fff; border-color: #fff; color: #005196; }
}

/* ---------------------------------------------------------------------------
   25. Side-by-side boxes: bars of one height (js/vdg-equal.js).

   The script sets the height; the text sits in the middle of the taller bar.
   --------------------------------------------------------------------------- */
.elementor .e-con.vdg-eq { justify-content: center; }

/* ---------------------------------------------------------------------------
   26. Search results (search.php).

   The page has the blue title band of every other page; under it a search
   field and the results.
   --------------------------------------------------------------------------- */
.vdg-search-page { padding-top: 30px; }
.vdg-search-again { display: flex; gap: 10px; max-width: 640px; margin: 0 0 30px; }
.vdg-search-again input {
	flex: 1 1 0;
	width: auto;
	min-width: 0;
	height: 46px;
	padding: 0 14px;
	border: 1px solid #c9ced3;
	border-radius: 3px;
	background: #fff;
	color: #1a1a1a;
	font-size: 15px;
}
.vdg-search-again input:focus { border-color: #005196; outline: 2px solid #005196; outline-offset: 1px; }
.vdg-search-again .btn { flex: none; width: auto !important; /* the theme makes buttons full width on phones */ height: 46px; margin: 0; padding: 0 24px; line-height: 46px; }
/* The summary is the page's first paragraph: two lines of it. */
.vdg-search-page .search-result-content p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	margin: 0;
}
.vdg-search-page .search-result-content a { color: inherit; pointer-events: none; text-decoration: none; }
.vdg-search-page .search-result-title { margin: 0 0 6px; font-size: 18px; }
.vdg-search-page .search-results-none h2 { font-size: 21px; }
