/* General */
:root {
	--border-radius: 4px;
	--border-radius2x: 8px;
	--default: #777;
}
/* Skin Colors */
:root {
	--primary: #1C75BC;
	--primary-100: #1967A6;
	--primary-200: #17609B;
	--primary-300: #155990;
	--primary--100: #1F83D2;
	--primary--200: #218ADD;
	--primary--300: #2C90E0;
	--primary-rgba-0: rgba(28, 117, 188, 0);
	--primary-rgba-10: rgba(28, 117, 188, 0.1);
	--primary-rgba-20: rgba(28, 117, 188, 0.2);
	--primary-rgba-30: rgba(28, 117, 188, 0.3);
	--primary-rgba-40: rgba(28, 117, 188, 0.4);
	--primary-rgba-50: rgba(28, 117, 188, 0.5);
	--primary-rgba-60: rgba(28, 117, 188, 0.6);
	--primary-rgba-70: rgba(28, 117, 188, 0.7);
	--primary-rgba-80: rgba(28, 117, 188, 0.8);
	--primary-rgba-90: rgba(28, 117, 188, 0.9);
	--secondary: #e36159;
	--secondary-100: #df4c43;
	--secondary-200: #dd4238;
	--secondary-300: #dc372d;
	--secondary--100: #e7766f;
	--secondary--200: #e9807a;
	--secondary--300: #ea8b85;
	--secondary-rgba-0: rgba(227, 97, 89, 0);
	--secondary-rgba-10: rgba(227, 97, 89, 0.1);
	--secondary-rgba-20: rgba(227, 97, 89, 0.2);
	--secondary-rgba-30: rgba(227, 97, 89, 0.3);
	--secondary-rgba-40: rgba(227, 97, 89, 0.4);
	--secondary-rgba-50: rgba(227, 97, 89, 0.5);
	--secondary-rgba-60: rgba(227, 97, 89, 0.6);
	--secondary-rgba-70: rgba(227, 97, 89, 0.7);
	--secondary-rgba-80: rgba(227, 97, 89, 0.8);
	--secondary-rgba-90: rgba(227, 97, 89, 0.9);
	--tertiary: #2baab1;
	--tertiary-100: #26969c;
	--tertiary-200: #248c92;
	--tertiary-300: #218388;
	--tertiary--100: #30bec6;
	--tertiary--200: #34c6ce;
	--tertiary--300: #3fc9d0;
	--tertiary-rgba-0: rgba(43, 170, 177, 0);
	--tertiary-rgba-10: rgba(43, 170, 177, 0.1);
	--tertiary-rgba-20: rgba(43, 170, 177, 0.2);
	--tertiary-rgba-30: rgba(43, 170, 177, 0.3);
	--tertiary-rgba-40: rgba(43, 170, 177, 0.4);
	--tertiary-rgba-50: rgba(43, 170, 177, 0.5);
	--tertiary-rgba-60: rgba(43, 170, 177, 0.6);
	--tertiary-rgba-70: rgba(43, 170, 177, 0.7);
	--tertiary-rgba-80: rgba(43, 170, 177, 0.8);
	--tertiary-rgba-90: rgba(43, 170, 177, 0.9);
	--quaternary: #383f48;
	--quaternary-100: #2d323a;
	--quaternary-200: #272c32;
	--quaternary-300: #22262b;
	--quaternary--100: #434c56;
	--quaternary--200: #49525e;
	--quaternary--300: #4e5865;
	--quaternary-rgba-0: rgba(56, 63, 72, 0);
	--quaternary-rgba-10: rgba(56, 63, 72, 0.1);
	--quaternary-rgba-20: rgba(56, 63, 72, 0.2);
	--quaternary-rgba-30: rgba(56, 63, 72, 0.3);
	--quaternary-rgba-40: rgba(56, 63, 72, 0.4);
	--quaternary-rgba-50: rgba(56, 63, 72, 0.5);
	--quaternary-rgba-60: rgba(56, 63, 72, 0.6);
	--quaternary-rgba-70: rgba(56, 63, 72, 0.7);
	--quaternary-rgba-80: rgba(56, 63, 72, 0.8);
	--quaternary-rgba-90: rgba(56, 63, 72, 0.9);
	--dark: #212529;
	--dark-100: #16181b;
	--dark-200: #101214;
	--dark-300: #0a0c0d;
	--dark--100: #2c3237;
	--dark--200: #32383e;
	--dark--300: #383f45;
	--dark-rgba-0: rgba(33, 37, 41, 0);
	--dark-rgba-10: rgba(33, 37, 41, 0.1);
	--dark-rgba-20: rgba(33, 37, 41, 0.2);
	--dark-rgba-30: rgba(33, 37, 41, 0.3);
	--dark-rgba-40: rgba(33, 37, 41, 0.4);
	--dark-rgba-50: rgba(33, 37, 41, 0.5);
	--dark-rgba-60: rgba(33, 37, 41, 0.6);
	--dark-rgba-70: rgba(33, 37, 41, 0.7);
	--dark-rgba-80: rgba(33, 37, 41, 0.8);
	--dark-rgba-90: rgba(33, 37, 41, 0.9);
	--light: #FFF;
	--light-100: #f2f2f2;
	--light-200: #ececec;
	--light-300: #e6e6e6;
	--light--100: #ffffff;
	--light--200: #ffffff;
	--light--300: #ffffff;
	--light-rgba-0: rgba(255, 255, 255, 0);
	--light-rgba-10: rgba(255, 255, 255, 0.1);
	--light-rgba-20: rgba(255, 255, 255, 0.2);
	--light-rgba-30: rgba(255, 255, 255, 0.3);
	--light-rgba-40: rgba(255, 255, 255, 0.4);
	--light-rgba-50: rgba(255, 255, 255, 0.5);
	--light-rgba-60: rgba(255, 255, 255, 0.6);
	--light-rgba-70: rgba(255, 255, 255, 0.7);
	--light-rgba-80: rgba(255, 255, 255, 0.8);
	--light-rgba-90: rgba(255, 255, 255, 0.9);
}
/* Skin Colors - Inverse */
:root {
	--primary-inverse: #FFF;
	--secondary-inverse: #FFF;
	--tertiary-inverse: #FFF;
	--quaternary-inverse: #FFF;
	--dark-inverse: #FFF;
	--light-inverse: #777;
}
/* Grey Colors */
:root {
	--grey: #969696;
	--grey-100: #f4f4f4;
	--grey-200: #eaeaea;
	--grey-300: #e5e5e5;
	--grey-400: #e0e0e0;
	--grey-500: #dbdbdb;
	--grey-600: #cecece;
	--grey-700: #c1c1c1;
	--grey-800: #a8a8a8;
	--grey-900: #8e8e8e;
	--grey-1000: #757575;
}
/* Side Header - Dark Mode (nav column only: logo, pill nav, sub-nav, scrollable, social icons) */
@media (min-width: 992px) {
	html.side-header #header.side-header:not(.header-transparent) {
		background-color: var(--dark);
	}
}

#header.side-header .header-body {
	background-color: var(--dark);
	border-top-color: var(--dark);
}

#header.side-header .header-nav-main nav > ul > li > a,
#header.side-header .header-nav-main nav > ul > li > a:active {
	color: #fff;
}

#header.side-header .header-nav-main nav > ul > li > a {
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Hierarchy: top-level items sized up and given breathing room so each
   top-level + its sub-nav reads as one "chunk"; see .sub-nav-anchors .nav-link
   below for the corresponding (smaller, tighter) sub-nav treatment. Applied
   here (not gated to a breakpoint) so both desktop and mobile nav states
   pick it up identically. */
#header.side-header .header-nav-main nav > ul > li > a {
	font-size: 14px;
}

#header.side-header .header-nav-main nav > ul > li {
	margin-bottom: 5px;
}

/* Logo (desktop side header): shrunk to 150px wide; left-aligned with the
   nav item text below via a 15px left margin matching the nav link's own
   left padding (see header-nav-links-side-header rule below), and the
   theme's large 2rem top/bottom margin dropped in favour of the row's own
   (also reduced) py-lg-3 spacing so the nav sits higher under the smaller
   logo. */
@media (min-width: 992px) {
	html.side-header #header.side-header .header-logo {
		margin: 0 0 0 15px;
	}
}

/* Top-level nav item padding: 2px less top/bottom than the theme default
   (10px 15px -> 8px 15px), then trimmed again to 6px to match the smaller
   80%-size font above; left/right unchanged (15px matches the logo's own
   left margin - see header-logo rule above - so alignment stays intact).
   Same selector/specificity/!important as the theme.css rule being
   overridden, loaded after it. */
@media (min-width: 992px) {
	#header .header-nav.header-nav-links-side-header nav > ul > li > a {
		padding: 6px 15px !important;
	}
}

/* Mobile counterpart: theme.css's own mobile nav padding (7px 8px) is tuned
   for its 13px default font-size, which we don't use here (see font-size
   rule above) - trimmed to match the smaller text so item height doesn't
   stay sized for the old font. */
@media (max-width: 991px) {
	#header.side-header .header-nav-main nav > ul > li > a {
		padding-top: 5px;
		padding-bottom: 5px;
	}
}

#header.side-header .header-nav-main nav > ul > li.open > a,
#header.side-header .header-nav-main nav > ul > li.accessibility-open > a,
#header.side-header .header-nav-main nav > ul > li:hover > a {
	background-color: transparent;
	box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.08);
}

#header.side-header .header-nav-main nav > ul > li > a.active {
	background-color: var(--primary) !important;
	color: #fff !important;
}

/* Sub-nav group connector: a thin line spanning the whole sub-nav group,
   sitting to the LEFT of each item's own 4px active-border reservation
   (never overlapping it). padding-left on the group makes room for both. */
#header.side-header .sub-nav-anchors {
	position: relative;
	padding-left: 5px;
}

#header.side-header .sub-nav-anchors:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 8px;
	width: 1px;
	background-color: rgba(255, 255, 255, 0.15);
}

/* Sub-nav (ScrollSpy) anchors: three distinct states -
   1) inactive (dimmed white), 2) scrollspy-active (left border + blue text, no fill),
   3) hover (subtle white overlay, layers on top of either state above).
   font-size and resting color are deliberately lighter/dimmer than the
   top-level items above, so the two tiers read as clearly different weights. */
#header.side-header .sub-nav-anchors .nav-link {
	color: rgba(255, 255, 255, 0.5);
	background-color: transparent;
	border-left: 4px solid transparent;
	font-size: 12px;
	padding-top: 5px;
	padding-bottom: 5px;
}

#header.side-header .sub-nav-anchors .nav-link:hover {
	background-color: transparent;
	color: rgba(255, 255, 255, 0.5);
	box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.08);
}

#header.side-header .sub-nav-anchors .nav-link.active {
	background-color: transparent;
	border-left-color: var(--primary);
	color: var(--primary);
}

#header.side-header .sub-nav-anchors .nav-link.active:hover {
	color: var(--primary);
}

#header.side-header .social-icons li a {
	color: #fff !important;
}

#header.side-header p {
	color: rgba(255, 255, 255, 0.65);
}

#header.side-header .header-btn-collapse-nav {
	color: #fff;
}

/* Nav scrollbar (nanoScroller): the theme's compiled CSS ships context
   overrides for this widget (mobile/hamburguer/overlay variants) but never
   the base .scrollable/.scrollable-content/.scrollable-pane/.scrollable-slider
   rules nanoScroller actually needs (see master/sass/gui/_scrollable.scss in
   the template source) - so the custom scrollbar pane has no positioning or
   size and never renders. Added here, with the pane/slider forced visible
   instead of the default hover/overflow-only reveal, so the nav always shows
   a scroll affordance, even on pages short enough not to need scrolling.
   overflow-y: scroll (not auto) on .scrollable-content is what nanoScroller
   needs to move content at all, and is also what keeps the pane reserved/
   shown regardless of overflow. .scrollable-content's padding-right is
   bumped up from theme.css's 10px to 18px so item text backs off from the
   pane (at right: 5px) by roughly the same gap the pane already has on its
   own right side (towards the true column edge, via the wrapper's -13px
   margin-right). Slider colour comes from theme-elements.css's
   .colored-slider rule (var(--primary)), not set here. */
@media (min-width: 992px) {
	html.side-header #header.side-header .side-header-scrollable {
		overflow: hidden;
		position: relative;
	}

	html.side-header #header.side-header .side-header-scrollable .scrollable-content {
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		padding-right: 18px;
		overflow-x: hidden;
		overflow-y: scroll;
		outline: none;
	}

	html.side-header #header.side-header .side-header-scrollable .scrollable-content::-webkit-scrollbar {
		visibility: hidden;
	}

	html.side-header #header.side-header .side-header-scrollable .scrollable-pane {
		display: block !important;
		opacity: 1 !important;
		visibility: visible !important;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 5px;
		width: 4px;
		background-color: rgba(255, 255, 255, 0.08);
	}

	html.side-header #header.side-header .side-header-scrollable .scrollable-slider {
		position: relative;
		width: 100%;
		border-radius: 5px;
		opacity: 1 !important;
	}
}
