/* ==========================================================================
   Accessibility overrides (WCAG 2.2 AA / GIGW 3.0 / IS 17802)
   Loaded after style.css on every page. Keep this file last in the cascade.
   ========================================================================== */

/* ---- Screen-reader-only text --------------------------------------------- */
.visually-hidden {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---- Skip link (2.4.1) --------------------------------------------------- */
.skip-link {
	position: absolute;
	top: -100px;
	left: 8px;
	z-index: 2147483647; /* above the logo block (z-index 99999999 in style.css) */
	padding: 10px 16px;
	background: #0B5394;
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: underline;
}
.skip-link:focus {
	top: 8px;
}
main:focus {
	outline: none;
}

/* ---- Visible keyboard focus (2.4.7 / 1.4.11) ------------------------------ */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
summary:focus,
[tabindex]:focus {
	outline: 3px solid #0B5394 !important;
	outline-offset: 2px !important;
}
main:focus {
	outline: none !important;
}
footer a:focus,
footer button:focus,
#inner-headline a:focus,
.aboutUs a:focus,
.flexslider a:focus,
.flexslider button:focus,
.skip-link:focus,
.scrollup:focus {
	outline-color: #FFD54F !important;
}

/* ---- Links distinguishable without colour (1.4.1) ------------------------- */
a {
	color: #0B5394;
}
main a,
footer a,
.popup-page a {
	text-decoration: underline;
}
main a:hover,
main a:focus,
footer a:hover,
footer a:focus {
	text-decoration: underline;
	text-decoration-thickness: 2px;
}
footer a,
footer ul.link-list li a {
	color: #ffffff;
}

/* ---- Header / navigation ------------------------------------------------- */
.navbar-brand img {
	width: 155px;
	max-width: 100%;
	height: auto;
}
.navbar-default .navbar-nav > li > a {
	color: #4a4a4a;
}
.navbar-default .navbar-nav > li > a[aria-current="page"] {
	color: #000033;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.navbar-toggle {
	min-width: 44px;
	min-height: 44px;
}
.navbar-toggle .icon-bar {
	background-color: #4a4a4a !important;
}

/* Site search in header */
.site-search {
	margin: 8px 0 8px 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}
.site-search input[type="search"] {
	height: 32px;
	width: 160px;
	max-width: 100%;
	padding: 4px 8px;
	font-size: 14px;
	color: #222222;
	background: #ffffff;
	border: 1px solid #767676;
	border-radius: 2px;
}
.site-search button,
.btn-a11y {
	height: 32px;
	min-width: 44px;
	padding: 4px 12px;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	background: #1A5A8C;
	border: 1px solid #1A5A8C;
	border-radius: 2px;
	cursor: pointer;
}
.site-search button:hover,
.btn-a11y:hover {
	background: #0B3F66;
}
@media (min-width: 768px) {
	/* Logo, menu and search in one wrapping row; DOM order = visual order = focus order */
	header .navbar > .container {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: space-between;
	}
	header .navbar > .container::before,
	header .navbar > .container::after {
		content: none;
	}
	header .navbar-header {
		float: none;
		flex: 0 0 auto;
		width: 195px; /* reserve room for the absolutely positioned logo */
		min-height: 52px;
	}
	header #main-navigation.navbar-collapse.collapse {
		flex: 1 1 0;
		min-width: 0;
		padding-right: 0;
		display: flex !important;
		flex-wrap: wrap;
		justify-content: flex-end;
		align-items: center;
	}
	header #main-navigation ul.navbar-nav {
		float: none;
		display: flex;
		flex-wrap: wrap;
	}
	header #main-navigation .site-search {
		float: none;
		margin: 8px 0 8px 10px;
	}
}
@media (max-width: 767px) {
	.site-search {
		margin: 8px 15px 12px;
	}
	.site-search input[type="search"] {
		flex: 1 1 140px;
	}
}

/* ---- Page headline: contrast (1.4.3) ------------------------------------ */
#inner-headline {
	background: #A94F08;
	color: #ffffff;
}
#inner-headline h1.pageTitle {
	color: #ffffff;
	padding: 5px 0;
	text-align: left;
	display: block;
	margin: 30px 0 3px;
	font-size: 30px;
}

/* Headings whose level changed but whose look should stay the same */
h2.widgetheading {
	font-size: 14px;
	color: #ffffff;
}
h3.media-heading {
	font-size: 18px;
}
h2.section-title {
	font-size: 30px;
}
h2.block-title {
	font-size: 24px;
}
h2.about-title {
	font-size: 24px;
}
.pricing-box-item .pricing-heading h2.pricing-title {
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -1px;
	margin-top: 20px;
}
.pricing-box-item .pricing-terms p.pricing-terms-text {
	margin: 10px 0 7px;
	font-style: italic;
	font-size: 17px;
	font-family: 'Noto Serif', serif;
	color: #222222;
}
.aboutUs h3.vm-title {
	color: #ffffff;
	font-size: 14px;
	text-transform: uppercase;
}
.aboutUs a {
	color: #FFD54F;
}
.post3 a.login-card:hover * {
	color: inherit;
}
.post3 a.login-card:hover .login-card-action {
	color: #0B5394;
}
.post3 .login-card img {
	margin-bottom: 0;
}

/* ---- Home slider --------------------------------------------------------- */
.flex-caption,
.flex-caption.container {
	background-color: rgba(0, 0, 0, 0.65) !important;
	width: auto;
	max-width: 65%;
	/* anchor to the top so taller text (zoom / text spacing, 1.4.12) grows downwards inside the slide */
	top: 16px;
	bottom: auto !important;
	right: auto !important;
	left: 16px !important;
}
.flex-caption .slide-title {
	color: #ffffff;
	letter-spacing: 1px;
	margin-bottom: 8px;
	text-transform: uppercase;
	font-size: 45px;
	font-weight: 700;
	line-height: 1.1;
}
.flex-caption p {
	color: #ffffff;
}
.slider-controls {
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 20;
}
.slider-controls button {
	min-width: 44px;
	min-height: 32px;
	padding: 4px 12px;
	font-weight: 700;
	color: #ffffff;
	background: rgba(0, 0, 0, 0.75);
	border: 2px solid #ffffff;
	border-radius: 2px;
	cursor: pointer;
}
/* Paging dots: 24x24 targets (2.5.8) with white rings on a dark pill (1.4.11) */
.flex-control-nav {
	width: auto;
	left: 50%;
	transform: translateX(-50%);
	padding: 2px 6px;
	background: rgba(0, 0, 0, 0.7);
	border-radius: 16px;
	z-index: 10;
}
.flex-control-nav li {
	margin: 0 2px;
}
.flex-control-paging li a,
.flex-control-paging li a:hover,
.flex-control-paging li a.flex-active {
	position: relative;
	width: 24px;
	height: 24px;
	background: transparent;
	box-shadow: none;
	border-radius: 50%;
	cursor: pointer;
}
.flex-control-paging li a::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	width: 14px;
	height: 14px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: transparent;
}
.flex-control-paging li a.flex-active::before,
.flex-control-paging li a:hover::before {
	background: #ffffff;
}
@media (max-width: 991px) {
	/* Below 992px the caption sits under the image so it never covers controls or gets clipped */
	.flex-caption,
	.flex-caption.container,
	.flexslider .flex-caption {
		display: block !important; /* style.css hid captions on phones: content must not be lost (1.4.10) */
		position: static !important;
		max-width: none;
		width: auto;
		padding: 12px 16px !important;
		background-color: #1c1c1c !important;
	}
	/* dots move to the top-left of the image so they never cover the caption */
	.flex-control-nav {
		top: 12px;
		bottom: auto;
		left: 12px;
		transform: none;
	}
}
@media (max-width: 767px) {
	.flex-caption .slide-title {
		font-size: 22px;
	}
	.flex-caption p {
		font-size: 16px;
		line-height: 1.4;
		margin: 4px 0;
	}
	.flex-direction-nav {
		display: none;
	}
}
@media (max-height: 400px) {
	.flex-caption,
	.flex-caption.container {
		position: static !important;
		max-width: none;
		background-color: #1c1c1c !important;
	}
	.flex-caption .slide-title {
		font-size: 22px;
	}
	.flex-caption p {
		font-size: 16px;
		line-height: 1.4;
	}
}

/* ---- Home: login cards (replaces images of text, 1.4.5) ------------------ */
.login-card {
	display: block;
	margin-bottom: 20px;
	color: #ffffff !important;
	text-decoration: none !important;
	background: #1c1c1c;
}
.login-card img {
	display: block;
	width: 100%;
	height: auto;
}
.login-card .login-card-text {
	display: block;
	padding: 10px 16px 12px;
	border-bottom: 6px solid #F58A2E;
	text-align: right;
	text-transform: uppercase;
	font-size: 20px;
	line-height: 1.3;
	color: #ffffff;
}
.login-card .login-card-text strong {
	display: block;
	font-size: 22px;
}
.login-card .login-card-action {
	display: block;
	padding: 8px 16px;
	background: #ffffff;
	color: #0B5394;
	text-align: center;
	font-weight: 700;
	text-decoration: underline;
	text-transform: none;
}
.login-card:hover .login-card-action,
.login-card:focus .login-card-action {
	text-decoration-thickness: 2px;
}

/* ---- Home: regulator links ---------------------------------------------- */
#clients .client-link {
	display: block;
	width: 138px;
	max-width: 100%;
	margin: 0 auto 20px;
	text-align: center;
	color: #0B5394;
	font-weight: 700;
	text-decoration: underline;
}
#clients .client-link .img {
	display: block;
	margin: 0 auto 6px;
}
#clients .client-link:hover .client1,
#clients .client-link:focus .client1 { background-position: 1px 0; }
#clients .client-link:hover .client2,
#clients .client-link:focus .client2 { background-position: -1px 0; }
#clients .client-link:hover .client3,
#clients .client-link:focus .client3 { background-position: 0 0; }
#clients .client-link:hover .client4,
#clients .client-link:focus .client4 { background-position: 1px 0; }
#clients .client-link:hover .client5,
#clients .client-link:focus .client5 { background-position: -1px 0; }
#clients .client-link:hover .client6,
#clients .client-link:focus .client6 { background-position: 0 0; }

/* ---- About page accordion ----------------------------------------------- */
.panel-title {
	background: #A94F08 !important;
}
.panel-title .accordion-toggle {
	display: block;
	width: 100%;
	min-height: 32px;
	padding: 4px 10px;
	text-align: left;
	font-size: 14px;
	color: #ffffff;
	background: transparent;
	border: 0;
	cursor: pointer;
}
.panel-title .accordion-toggle[aria-expanded="true"] .fa {
	transform: rotate(90deg);
}

/* ---- Services page -------------------------------------------------------- */
.advantage-heading {
	display: block;
	margin: 0 0 10px;
	padding: 4px 8px;
	font-size: 14px;
	font-weight: 700;
	color: #ffffff;
	background: #276B2A;
}
.terminology-note {
	font-weight: 700;
	font-size: 18px;
	color: #A32900;
}

/* ---- Contact page --------------------------------------------------------- */
.contact-heading {
	margin-top: 20px;
	font-size: 18px;
	color: #333333;
	text-transform: uppercase;
}
.office-block h3 {
	font-size: 15px;
	color: #006080;
	text-transform: uppercase;
}
.table-scroll {
	max-width: 100%;
	overflow-x: auto;
	margin-bottom: 20px;
}
table.data-table {
	width: 100%;
	border-collapse: collapse;
	background: #ffffff;
}
table.data-table caption {
	text-align: left;
	font-weight: 700;
	color: #333333;
	padding: 6px 0;
}
table.data-table th,
table.data-table td {
	padding: 6px 8px;
	border: 1px solid #767676;
	vertical-align: top;
	text-align: left;
}
table.data-table thead th {
	color: #ffffff;
	background: #006080;
}
table.data-table tbody tr:nth-child(even) td,
table.data-table tbody tr:nth-child(even) th {
	background: #EEF5FB;
}

.contact .form-group label {
	font-weight: 700;
	color: #333333;
}
.contact .req {
	font-weight: 700;
	color: #333333;
}
.contact input.form-control,
.contact textarea.form-control {
	border: 1px solid #767676 !important;
	color: #222222;
}
.contact input.form-control[aria-invalid="true"],
.contact textarea.form-control[aria-invalid="true"] {
	border: 2px solid #B00020 !important;
}
.contact .form-group {
	margin-bottom: 22px;
}
.contact input.form-control,
.contact textarea.form-control {
	margin: 0 !important;
	height: auto;
	padding: 10px 12px;
}
.contact .help-block {
	display: block;
	margin: 4px 0 0;
	color: #4a4a4a;
}
.field-error {
	display: block;
	margin: 4px 0 0;
	color: #B00020;
	font-weight: 700;
}
.field-error:empty {
	display: none;
}
.contact .submit {
	background: #1A5A8C !important;
	color: #ffffff !important;
	min-height: 44px;
	padding: 10px 30px;
	float: none;
}
.contact .submit:hover {
	background: #0B3F66 !important;
}
.form-status {
	margin: 0 0 20px;
	padding: 12px 16px;
	font-weight: 700;
	border: 2px solid transparent;
}
.form-status:empty {
	display: none;
}
.form-status.is-success {
	color: #1E5B21;
	background: #EAF5EA;
	border-color: #276B2A;
}
.form-status.is-error {
	color: #8A0015;
	background: #FDECEE;
	border-color: #B00020;
}
.form-status ul {
	margin: 6px 0 0;
}
.form-instructions {
	font-weight: 700;
	color: #333333;
}

/* ---- Search & sitemap pages --------------------------------------------- */
.search-page-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 10px 0 20px;
	align-items: flex-end;
}
.search-page-form label {
	width: 100%;
	font-weight: 700;
	color: #333333;
}
.search-page-form input[type="search"] {
	flex: 1 1 220px;
	height: 40px;
	padding: 6px 10px;
	font-size: 16px;
	color: #222222;
	border: 1px solid #767676;
}
.search-page-form button {
	height: 40px;
}
.search-results {
	padding-left: 0;
	list-style: none;
}
.search-results li {
	margin-bottom: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid #dddddd;
}
.search-results .result-type {
	display: block;
	font-size: 13px;
	color: #4a4a4a;
}
.search-results mark {
	background: #FFF3B0;
	color: #000000;
}
.sitemap-list li {
	margin: 4px 0;
}

/* ---- Footer ---------------------------------------------------------------- */
footer .read-more {
	color: #FFD54F !important;
	font-weight: 700;
}
ul.social-network li a {
	display: inline-block;
	min-width: 24px;
	min-height: 24px;
	text-align: center;
}

/* Scroll-to-top: bottom-left so the AXS toolbar button (bottom-right) never covers it (2.4.11) */
a.scrollup {
	left: 20px;
	right: auto;
	bottom: 8px;
	width: 44px;
	height: 44px;
	background: #A94F08;
	z-index: 1000;
}
a.scrollup i {
	font-size: 20px;
}

/* ---- Reflow (1.4.10): let everything fit at 320 CSS px -------------------- */
img {
	max-width: 100%;
}
.container {
	max-width: 100%;
}
address,
footer p,
footer li,
main p,
main li,
main td,
main th {
	overflow-wrap: anywhere;
	word-wrap: break-word;
}
@media (max-width: 480px) {
	.container {
		padding-left: 15px;
		padding-right: 15px;
	}
	#inner-headline h1.pageTitle {
		font-size: 24px;
		margin-top: 16px;
	}
	.pricing-box-item {
		margin-bottom: 20px;
	}
	/* Data tables fit at 320 CSS px without horizontal scrolling */
	table.data-table th,
	table.data-table td {
		padding: 4px;
		font-size: 13px;
		overflow-wrap: anywhere;
	}
}

/* ---- Honour reduced motion ----------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
