@charset "UTF-8";
/* Metadas: what every page needs. A later layer wins over an earlier one whatever its
   selectors, and the order is set here, so templates link main.css before anything else
   (menus.css's layer comes after all of these).
     vars        the colours and sizes; Design in the editor changes the ones marked Design:
     base        the page, text and the background options rows offer
     layout      the page's columns
     components  buttons, forms, tables and the like that any row or module can use
     template    default.tpl's skip link, header and footer (a module's own styles are in its css/modules file)
     rows        css/rows/<row>.css, each linked by its row's {#css #} on the pages using it
     modules     css/modules/<folder>/<module>.css, each linked by its module's {#css #} the same way
     legacy      css/legacy.css, the old site's styles, for a page that ticks it */
@layer fonts, vars, base, layout, components, template, rows, modules, legacy;

@layer fonts {
	@font-face {font-display: optional; font-family: 'Montserrat'; font-style: normal; font-weight: 400; src: url('montserrat-v31-latin-regular.woff2') format('woff2');}
}

@layer vars {
	/* The first :root in this file: Design reads its Design: comments (system/config/design.php) */
	:root {
		--c-blue-dk:#0b2035;      /* Design: color | Dark blue (the page) | Colours */
		--c-blue-dk-op:color-mix(in srgb, var(--c-blue-dk) 80%, transparent);
		--c-blue-lt:#0067b2;      /* Design: color | Blue (links on white) | Colours | c-white, c-offwhite */
		--c-blue-wt:#62bdff;      /* Design: color | Light blue | Colours */
		--c-white:#FFFFFF;        /* Design: color | White | Colours | c-blue-dk */
		--c-grey:#CCCCCC;
		--c-offwhite:#F2F2F2;     /* Design: color | Off-white (text on the page) | Colours | c-blue-dk */
		--c-yellow:#f8c910;       /* Design: color | Yellow (links on hover) | Colours */
		--c-grad-start:#2a597e;   /* Design: color | Gradient (left) | Colours | c-white */
		--c-grad-end:#75a1c5;     /* Design: color | Gradient (right) | Colours | c-white */
		--c-gradient:linear-gradient(90deg, var(--c-grad-start) 0, var(--c-grad-end) 100%);
		--font:'Montserrat', Arial, Helvetica, sans-serif;   /* Design: font | Text font | Fonts */
		--size:1rem;              /* Design: size | Text size | Fonts | 0.875-1.25, 0.0625 */
		--lo-padding-sml:24px;
		--lo-padding-mid:48px;
		--lo-padding-lrg:72px;
	}
}

.para-style2::before,
.para-style2::after {
  font-family: Georgia, serif;
  font-size: 3em;
  line-height: 0;
  vertical-align: -0.35em;
}

.para-style2::before {
  content: "\201C";
  margin-right: 0.05em;
}

.para-style2::after {
  content: "\201D";
  margin-left: 0.05em;
}

/*** Tables ****/
	.tbl-main {width: 100%; border-collapse: collapse;}
	.tbl-main th {background-color: #0B2035; color:#FFFFFF; font-weight: normal;}
	.tbl-main td, .tblStyle1 th {padding: 10px; border: 1px solid #ccc; text-align: left; vertical-align: top;}
	.tbl-main tr:nth-of-type(even){background: #f2f2f2;}
	.tbl-main tr:nth-of-type(odd){background: #fff;}

/*** Images ****/
	.img-rounded {border-radius: 12px;}
	.img-shadow {box-shadow: 0 4px 16px rgba(11, 32, 53, 0.25);}
	.img-lightbox {cursor: zoom-in;}

/*** Buttons ****/
.btn-blue{padding:5px 10px; color:white; background-color:red;}
@layer base {
	html {scroll-behavior: smooth; max-width:2560px; margin:0 auto;}
	*, *::before, *::after {box-sizing:border-box; min-width: 0;}
	body {margin:0; background:var(--c-blue-dk); color:var(--c-offwhite); font-family:var(--font); font-size:var(--size); line-height:1.5;}
	.bodyImg {background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover;}
	img {display:block; max-width:100%; height:auto;}
	input, textarea {font-family:inherit;}
	.sr-only {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}

	/* Text */
	h1 {font-size: 2.6rem; line-height:1.2; margin:0; font-weight:400; font-variant:small-caps;}
	h2 {font-size: 1.8rem; line-height:1.5; margin:0; font-weight:400; font-variant:small-caps;}
	h3 {font-size: 1.4rem; line-height:1.5; font-weight:400;}
	h4 {font-size: 1.2rem; line-height:1.5; font-weight:400;}
	strong {font-weight:bold;}

	/* Backgrounds: a row's Background option */
	.bg-blue {background-color:var(--c-blue-dk); color:var(--c-white);}
	.bg-blue-op {background-color:var(--c-blue-dk-op); color:var(--c-white);}
	.bg-grey {background-color:var(--c-grey); color:var(--c-blue-dk);}
	.bg-white {background-color:var(--c-white); color:var(--c-blue-dk);}
	.bg-offwhite {background-color:var(--c-offwhite); color:var(--c-blue-dk);}
	.bg-gradient {background:var(--c-gradient); color:var(--c-white);}
	.bg-blue a, .bg-blue-op a, .bg-gradient a {color:var(--c-white);}
	.bg-blue a:hover, .bg-blue-op a:hover {color:#0067B2;}
	.bg-gradient a:hover {color:var(--c-yellow);}
	.bg-white a, .bg-offwhite a, .bg-grey a {color:var(--c-blue-lt);}
	.bg-white a:hover, .bg-offwhite a:hover, .bg-grey a:hover {color:var(--c-yellow);}
}

@layer layout {
	/* Content in the middle column, up to 1400px; .fullBleed runs to the edges */
	.mainWrapper {display:grid; grid-template-columns:var(--lo-padding-mid) 1fr var(--lo-padding-mid); position:relative;}
	.mainWrapper > * {grid-column:2 / 3;}
	.mainWrapper > .fullBleed {grid-column: 1 / -1;}
	@media (width >= 43.75em) {.mainWrapper {grid-template-columns: minmax(var(--lo-padding-mid), 1fr) minmax(auto, 1400px) minmax(var(--lo-padding-mid), 1fr);}}
	.mainPadding {padding:48px 0;}
}

@layer components {
	/* BUTTONS */
	.btn_blue, .btn_white {padding:10px 20px; border:1px solid #FFFFFF; border-radius:10px; display:inline-block; position: relative; text-align:center; text-decoration:none !important; font-variant:small-caps;}
	.btn_blue {color:var(--c-white); background-color:var(--c-blue-dk);}
	.btn_blue:hover {color:var(--c-blue-dk); background-color:var(--c-white); border-color:var(--c-blue-dk);}
	.btn_white {color:var(--c-blue-dk); background-color:var(--c-white);}
	.btn_white:hover {color:var(--c-white); background-color:var(--c-blue-dk); border-color:var(--c-white);}

	/* TABLES: in rich text. .tblStyle1 and .tblStyle2 stack their cells on phones, each labelled from data-label */
	.tblStyle1, .tblStyle2 {width: 100%; border-collapse: collapse;}
	:is(.tblStyle1, .tblStyle2) :is(td, th) {padding: 10px; border: 1px solid #ccc; text-align: left;}
	:is(.tblStyle1, .tblStyle2) tr:nth-of-type(even) {background: #f2f2f2;}
	:is(.tblStyle1, .tblStyle2) tr:nth-of-type(odd) {background: #fff;}
	.tblStyle1 :is(td, th) {vertical-align: top;}
	.tblStyle1 th {background-color: #0B2035; color:#FFFFFF; font-weight: normal;}
	.tblStyle2 :is(td, th) {vertical-align: middle; overflow-wrap: break-word;}
	.tblStyle2 caption {font-size:1.6rem; text-align:left;}
	.tblStyle2 th {font-weight: normal; text-wrap: nowrap;}
	.tblStyle2 h2 {margin: 0 0 40px 0;}
	.tblStyle2 h3 {margin:0;}
	@media only screen and (max-width: 1024px) {
		.tblStyle1 :is(table, thead, tbody, th, td, tr), .tblStyle2 :is(table, thead, th, td, tr) {display: block;}
		:is(.tblStyle1, .tblStyle2) thead tr {position: absolute; top: -9999px; left: -9999px;}
		:is(.tblStyle1, .tblStyle2) tr {border: 1px solid #ccc;}
		:is(.tblStyle1, .tblStyle2) td {position: relative;}
		:is(.tblStyle1, .tblStyle2) td::before {content: attr(data-label); position: absolute; top: 6px; left: 6px; width: 45%; padding-right: 10px; white-space: nowrap;}
		.tblStyle1 td {border: none; border-bottom: 1px solid #eee; padding-left: 50%;}
	}

	/* .tblGrid: a heading column and striped rows */
	.tblGrid {width: 100%; border-collapse: collapse;}
	.tblGrid tr:nth-of-type(even) {background: #f2f2f2;}
	.tblGrid tr:nth-of-type(odd) {background: #fff;}
	.tblGrid tr:hover {background-color:#F2F2F2;}
	.tblGrid :is(th, td) {border-top: 1px solid #ccc; text-align: left; color:var(--c-blue-dk); padding: 10px; position: relative;}
	.tblGrid th {border-bottom: 1px solid #ccc; font-weight:700; max-width: 180px; width: 180px; text-overflow: ellipsis;}
	.tblGrid td {font-weight: normal;}
	@media (max-width: 700px) {
		.tblGrid tr {display: block; margin-bottom: 1rem; border: 1px solid #ddd;}
		.tblGrid th {display: block; background: #f5f5f5; font-size: 1.1rem; padding: 12px; max-width: none; width: auto; white-space: normal; overflow: visible; text-overflow: unset;}
		.tblGrid td {display: flex; justify-content: space-between; padding: 10px;}
		.tblGrid td::before {font-weight: bold; margin-right: 10px; color: #555;}
	}

}

@layer template {
	/* SKIP LINK */
	#skip-link {position: absolute; left: -9999px; z-index: 999; padding: 1em; background-color:var(--c-blue-dk); color:var(--c-offwhite);}
	#skip-link:focus {left: 50%; transform: translateX(-50%);}

	/* HEADER BAR: telephone and email on the left, the language selector on the right */
	.headerTop {display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:4px 24px; padding:6px var(--lo-padding-mid); background-color:var(--c-offwhite); color:var(--c-blue-dk); font-size:0.875rem;}
	.headerContact {display:flex; flex-wrap:wrap; gap:4px 24px;}
	.headerContact a {display:inline-flex; align-items:center; gap:6px; color:inherit; text-decoration:none;}
	.headerContact a:hover, .headerContact a:focus-visible {text-decoration:underline;}

	/* HEADER: the logo and menu button, then the menu (menus.css) */
	.headerWrapper {display:grid; grid-template-columns:1fr;}
	@media (width >= 1200px) {.headerWrapper {grid-template-columns:auto 1fr;}}
	.headerLogo {display:flex; justify-content:space-between; align-items:center; padding:20px var(--lo-padding-mid);}
	.headerNav {display:flex; justify-content:right;}

	/* FOOTER */
	#footer {background-color:var(--c-blue-dk);}
	.footerCall {text-align:center; font-weight:400; font-size:2.6rem; color:var(--c-yellow); padding: 0 0 24px 0;}
	.footerBlock {width:100%; border-top: 1px solid #FFF;}
	.footerBox {width:100%; max-width:1000px; margin:24px auto; font-size:0.8rem; display:flex;}
	.footerItem {display: flex; align-items: center;}
	.footerIcon {padding:12px;}
}
