@charset "utf-8";
/* CSS Document - styles.css */
@font-face {
  font-family: 'Gilroy';
  font-weight: 900;
  src: url("../GilroyExtraBold/font.woff");
}
@font-face {
  font-family: 'Gilroy';
  font-weight: 300;
  src: url("../GilroyLight/font.woff");
}

/* ------------------- layout ------------------- */
html {
  height: 100%;
  scroll-padding-top: var(--header-height);
}
body {
  /*height: 100%; /* this breaks sticky elements for some odd reason...*/
  position: relative;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  background-color: #fff;
}
header {
  background-image: url("../img/hero_1920x200px.png"), linear-gradient(to right, #c7dbf8 50%, #aeebd2 50%, #aeebd2 100%);
  background-position: 50% 0;
  background-repeat: repeat-y;
  background-size: contain;
}
main {
  flex-grow: 1;
  margin-top: var(--header-height, 0);
}
.grid {
  /*padding-top: var(--vertical-spacing, 0);
  padding-bottom: var(--vertical-spacing, 0);*/
}
.grid > * {
  container: grid-column-container / inline-size; /* containment context for CSS grid column direct child elements */
}

/* ------------------- banner ------------------- */
.banner > .container,
.banner > .container-xxl {
  margin-top: calc(0.75* var(--vertical-spacing));
  margin-bottom: calc(0.75* var(--vertical-spacing));
}
.logo {
  height: 60px;
}
.header-icon {
    width: 52px;
    height: 52px;
    margin-top: 6px;
}
.banner-home-link {
  text-decoration: none;
  display: flex;
}
header h1 {
  color: var(--tsy-navy);
  font-family: 'Gilroy', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.95;
}

/* ------------------- navigation ------------------- */
.navbar-toggler {
  color: #fff;
  border: none;
  position: relative;
  top: 2px;
  z-index: 100;
}
.navbar-toggler:focus {
  box-shadow: unset;
}
.navbar-toggler .fa-bars:before {
  font-size: 1.8rem;
}
.navbar-toggler .fa-times:before {
  font-size: 2rem;
}
.navbar-toggler.collapsed .fa-times {
    display: none;
}
.navbar-toggler:not(.collapsed) .fa-bars {
    display: none;
}
.navbar-toggler:not(.collapsed) {
  color: #000;
}
header .navbar-nav .nav-link {
  color: #fff;
  font-weight: 700;
}
header .navbar {
  justify-content: flex-end;
}
header .dropdown-menu {
  padding-top: 0;
  padding-bottom: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 0;
}
.dropdown-item:focus, .dropdown-item:hover {
  background-color: var(--tsy-light-blue-tint);
}
@media (min-width: 992px) {
  .navbar-expand-lg {
    padding-bottom: 1px;
  }
}
#nav-container {
  top: -1px;
}
.is-pinned #rh-nav .navbar-nav {
    background-color: var(--a-rainbow-of-blue-2);
}
#rh-nav {
  transition: top 1s;
  height: 0;
}
#rh-nav nav {
  justify-content: flex-end;
}
#rh-nav .navbar-nav {
  font-family: 'Gilroy', sans-serif;
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-4);
  padding: 1rem;
  margin-top: var(--vertical-spacing);
}
#rh-nav .nav-link {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
#rh-nav .navbar-nav .nav-link.active,
#rh-nav .navbar-nav .nav-link.show {
  font-weight: 900;
}

#rh-nav .nav {
  display: block;
  width: fit-content;
  margin-left: 2rem;
}
#rh-nav .download-link {
  display:block;
  text-decoration: none;
  font-family: 'Gilroy';
  color: var(--tsy-navy);
  padding: 0.5rem 1rem;
  border: solid 1px var(--a-rainbow-of-blue-2);
  border-radius: 5px;
  span { margin-right: .1rem; }
}
.is-pinned #rh-nav .download-link {
    margin-top: 1rem;
    background: rgba(255,255,255,.75);
}

/* ------------------- typography ------------------- */
h1, h2, h3, h4, h5, h6 {
  color: var(--tsy-navy);
  font-weight: 900;
  font-family: "Gilroy", sans-serif;
  & a {
    color: var(--tsy-navy);
    text-decoration: none;
  }
}
/* --- headings use responsive font sizes from default.css --- */
h1 {
  margin-bottom: calc(0.5* var(--vertical-spacing));
}
main {
  & a, & p a, & td a, & th a, & li a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: var(--text-underline-offset); 
    &:hover {
      /*background-color: #000;
      color: #fff;*/
    }
  }
}
figcaption {
  font-weight: 900;
  padding: 1rem 0;
}

/* ------------------- tables ------------------- */
table {
    caption-side: top;
}
.table tr th {
  vertical-align: top;
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-3);
}
.table caption, div.caption {
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-3);
  font-weight: 700;
  padding: calc(0.25* var(--item-padding));
}
div.caption {
	margin-bottom: 1rem;
}
.table caption strong, div.caption strong {
  font-weight: 900;
}
.table caption p { 
  margin-bottom: .2em; 
}
.table .no-bb th,
.table th[scope="row"] {
  background-color: unset;
}


/* ------------------- utility colours ------------------- */
.white {
  color: #fff;
}
.lime {
  color: var(--tsy-lime);
}
.white-bg {
  color: var(--tsy-navy);
   background-color: #fff;
}
.navy-bg {
  color: #fff;
  background-color: var(--tsy-navy);
}
.mid-blue-bg {
  color: #fff;
  background-color: var(--tsy-mid-blue);
}
.mid-blue-dark-tint-bg {
  color: var(--tsy-navy);
  background-color: var(--tsy-mid-blue-dark-tint);
}
.light-blue-bg {
  color: var(--tsy-navy);
  background-color: var(--tsy-light-blue);
}

.rb-bg-1 {
  color: #fff;
  background-color: var(--a-rainbow-of-blue-1);
}
.rb-bg-2 {
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-2);
}
.rb-bg-3 {
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-3);
}
.rb-bg-4 {
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-4);
}

.highlight {
    background: linear-gradient(0deg, var(--a-rainbow-of-blue-2) 0%, var(--a-rainbow-of-blue-2) 50%, transparent 50%, transparent 100%);
    padding: 0 0.25rem 0;
    margin-left: -0.25rem;
}
/*
.navy-bg .highlight {
    background: linear-gradient(0deg, var(--ui-dark-grey) 0%, var(--ui-dark-grey) 50%, transparent 50%, transparent 100%);
}
*/

/* ------------------- graphics ------------------- */
.rounded-circle {
    border-radius: 50% !important;
}
.gradient-border {
    max-width: 292px;
    padding: 1rem;
    position: relative;
    background: var(--a-rainbow-of-blue-2); /*linear-gradient(to right, var(--tsy-navy), var(--ui-dark-grey));*/
}
.card .text-center img.icon {
    /*top: -4px;
    left: 0px;*/
}
.card img.icon {
    max-height: 70px;
    position: relative;
    /*top: 35px;
    /* left: 30px; */
}
section#operating-context::before,
section#risk::before,
section#approach::before {
  content: "";
  display: block;
  height: 10px;
  background-image: url(../img/stripe_1920x10.png), linear-gradient(to right, #c7dbf8 50%, #aeebd2 50%, #aeebd2 100%);
  /*height: 40px;
  background-image: url(../img/stripe_1920x40.png), linear-gradient(to right, #c7dbf8 50%, #aeebd2 50%, #aeebd2 100%);*/
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: contain;
}
section#operating-context .container-xxl,
section#risk .container-xxl,
section#approach .container-xxl {
  padding-top: calc(3* var(--vertical-spacing));
}
.parallax {
  min-height: 800px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax-1 {
  background-image: url("../img/parallax-1.jpg");
}
.parallax-2 {
  background-image: url("../img/parallax-2.jpg");
}

/* ------------------- cards ------------------- */
.card {
  padding: var(--item-padding);
  border-radius: var(--item-border-radius);
}
.item {
  display: flex;
  flex-direction: column;
  background-color: var(--ui-light-grey);
  padding: var(--item-padding);
  border-radius: var(--item-border-radius);
  border: 2px solid transparent;
  height: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
  container-type: normal;
}
@container grid-column-container (max-width: 1199.98px) {
  .item h2,
  .item h3 {
    font-size: var(--item-heading-size, 1.5rem);
  }
  .item h2 a,
  .item h3 a {
    text-underline-offset: calc(0.25rem + 0.2cqw);
  }
}
@media (min-width: 1200px) {
  .item h2,
  .item h3 {
    font-size: 1.5rem;
  }
  .item h2 a,
  .item h3 a {
    text-underline-offset: 0.4rem;
  }
}

.item a:not(.btn) {
  &:hover, &:focus {
    text-decoration: underline;
  }
}
.item p:last-of-type {
  margin-bottom: 0;
}

/* ------------------- risks layout additional styles ------------------- */
.risks-layout {
  display: grid;
  grid-template-columns: 65% 35%;
  grid-template-rows: min-content;
  border-bottom: solid 1px var(--bs-border-color);
  margin-bottom: 2rem;
}

@media screen and (max-width: 815px) {
.risks-layout {
  grid-template-columns: 100%;
  grid-template-rows: min-content min-content;
}
}
.risks-layout div {
  background-color: var(--a-rainbow-of-blue-3);
}
.risks-layout th, .risks-layout div h5 {
  color: var(--tsy-navy);
  font-weight: 900;
  font-family: "Gilroy", sans-serif;
  font-size: 1rem;
  color: var(--tsy-navy);
  background-color: var(--a-rainbow-of-blue-3);
  text-wrap: nowrap;
  padding: .5rem;
  line-height: 1;
}
.risks-layout td h5 {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
  font-family: inherit;
}
.risks-layout div p, .risks-layout div h5  {
  padding-left: .75rem;
  padding-right: .75rem;
}
.risks-layout div p:last-child {
    margin-bottom: .75rem;
}
.risks-layout tr:last-child td {
  border-bottom-width: 0; /* Remove border-bottom from last row of table. */
}

/* ------------------- performance section - inline headings ------------------- */
.headings-inline {
	margin-bottom: 2rem;
}
.headings-inline h5,.headings-inline h5 + p {
	display: inline;
}
.headings-inline div {
	margin: 1rem 0;
}
.headings-inline h5 {
    font-size: 1rem;
    margin-right: 0.2rem;
    font-family: inherit;
    font-weight: 700;
}
.headings-inline div p + p {
    margin-top: 1rem;
}
/* ------------------- Text description details/summary ------------------- */
details {
  summary {
    font-weight: 600;
    color: var(--tsy-navy);
    &::marker {
      content: '';
    }
    span {
      transition: 0.2s;
      margin-left: .2rem;
    }
  }
  div {
    border: solid 1px;
    padding: 2rem;
    margin: .75rem 0 2rem;
    border-color: var(--tsy-mid-blue-dark-tint);
  }
}
details[open] summary span {
    transform: rotate(180deg);
}
/* ------------------- acknowledgement of country/back-to-top ------------------- */
.aoc {
  color: #000;
  background-color: var(--ui-grey);
  border-bottom: 1px solid var(--ui-dark-grey);
}
.aoc a:active, .aoc a:any-link {
  color: #000;
}
.btt a {
    display: inline-flex;
    align-items: center;
}

/* ------------------- footer ------------------- */
footer {
  color: #fff;
  background-color: var(--tsy-black-blue);
}
footer .container,
footer .container-xxl {
  padding-top: var(--vertical-spacing);
  padding-bottom: var(--vertical-spacing);
}
footer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: var(--text-underline-offset);
}
footer ul {
  display: flex;
  justify-content: flex-start;
  list-style-type: none;
  padding: 0;
  margin: 0;
}
footer .footer-links-first li {
  margin-right: 1rem;
}
footer .footer-links-second li {
  margin-right: 0.5rem;
}
footer .footer-links-second {
  display: flex;
  justify-content: end;
}
footer li:last-of-type {
  margin-right: 0;
}
footer a:active, footer a:any-link {
  color: #fff;
  text-decoration: underline;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  color: #fff;
  background-color: transparent;
}
footer .trust-mark {
  height: 22px;
  position: relative;
  top: -1px;
  margin-right: 8px;
}

/* ------------------- responsive styles ------------------- */
@media (max-width: 1399.98px) {
/* up to xxl breakpoint */
  footer .footer-links-second {
    justify-content: start;
  }
}
@media (max-width: 1399px) {
    #rh-nav .nav {
        margin-right: -3rem;
        margin-left: 0rem;
    }
}
@media (max-width: 1385px) {
  /* custom breakpoint for RH nav spacing */
  #rh-nav .navbar-nav {
    padding: 0.5rem 1rem;
    margin-top: 4vw;
  }
  #rh-nav .nav-link {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}

@media (max-width: 1199.98px) {
  /* up to xl breakpoint */
  h1 span.fw-light {
    font-size: smaller;
    padding-top: calc(0.25* var(--vertical-spacing));
  }
  #rh-nav .navbar-nav {
    padding: 0.5rem 1rem;
    margin-top: 4vw;
  }
  #rh-nav .nav-link {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
  }
  #rh-nav .nav-link, #rh-nav .download-link {    
    font-size: 0.9375rem;
  }
  footer li {
    margin-right: 2rem;
  }
  .footer-links-first {
    display: flex;
    flex-direction: column;
  }
  .footer-links-first li {
    display: inline-block;
  }
}
@media (max-width: 1056px) {
  /* custom breakpoint for RH nav spacing */
  #rh-nav .navbar-nav {
    margin-top: 2vw;
  }
}
@media (max-width: 1000px) {
  /* custom breakpoint for RH nav spacing */
  #rh-nav .nav {
    margin-left: -.5rem;
  }
}
@media (max-width: 991.98px) {
  /* up to lg breakpoint */
  .logo {
    /*height: 72px;*/
  }
  .gradient-border {
    display: none;
  }
  header .dropdown-menu {
    border: 0;
  }
  section#operating-context,
  section#risk,
  section#approach {
    background-image: none;
    padding-top: calc(2* var(--vertical-spacing));
  }
}
@media (max-width: 767.98px) {
  /* up to md breakpoint */
}
@media (max-width: 575.98px) {
  /* up to sm breakpoint */
  .logo {
    height: 60px;
  }
  .header-icon {
    display: none;
  }
}
@media (max-width: 360px) {
  /* custom breakpoint for smaller mobile devices */
  main {
    margin-top: var(--header-height, 0);
  }
  .banner .logo img {
    height: 52px;
  }
  .navbar-toggler {
    top: 0;
  }
  footer .footer-links-first {
    flex-direction: column;
  }
}
