@charset "utf-8";
/* CSS Document - styles.css */

/* ------------------- layout ------------------- */
html {
  height: 100%;
  scroll-padding-top: var(--header-height);
}
body {
  height: 100%;
  display: flex;
  flex-direction: column;
  overscroll-behavior: none;
  font-family: 'Public Sans', sans-serif;
  font-size: 1rem;
  background-color: #fff;
}
header {
  background-color: #000;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}
main {
  flex-grow: 1;
  margin-top: var(--header-height);
}
.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));
}
.banner .logo img {
  height: 60px;
}
.banner-home-link {
  text-decoration: none;
  display: flex;
}

/* ------------------- 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;
  }
}

/* ------------------- typography ------------------- */
h1, h2 {
  color: #000;
  font-family: "Public Sans", serif;
  font-weight: 400;
  font-style: normal;
}
h3, h4, h5, h6 {
  color: #000;
  font-weight: 700;
  font-family: "Public Sans", sans-serif;
  & a {
    color: #000;
    text-decoration: none;
  }
}
/* --- headings use responsive font sizes from default.css --- */
h1 {
  margin-bottom: 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: #000;
  text-decoration: none;
}
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;*/
    }
  }
}

/* ------------------- cards ------------------- */
.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:nth-last-of-type(2) {
    flex-grow: 1;
}
.item p:last-of-type {
  margin-bottom: 0;
}

/* ------------------- 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: #000;
}
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: 1.5rem;
}
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 .fa-brands {
    font-size: 24px;
    margin-right: 8px;
}
footer .trust-mark {
  height: 22px;
  position: relative;
  top: -1px;
  margin-right: 8px;
}

/* ------------------- responsive styles ------------------- */
@media (max-width: 991.98px) {
  /* up to lg breakpoint */
  .banner .logo img {
    /*height: 72px;*/
  }
  header .dropdown-menu {
    border: 0;
  }
  footer .footer-links-second {
    justify-content: start;
  }
}
@media (max-width: 767.98px) {
  /* up to md breakpoint */
}
@media (max-width: 575.98px) {
  /* up to sm breakpoint */
  .banner .logo img {
    height: 60px;
  }
  footer li {
    margin-right: 2rem;
  }
  .footer-links-first {
    display: flex;
    flex-direction: column;
  }
  .footer-links-first li {
    display: inline-block;
  }
}
@media (max-width: 360px) {
  /* custom breakpoint for smaller mobile devices */
  main {
    margin-top: 106px;
  }
  .banner .logo img {
    height: 52px;
  }
  .navbar-toggler {
    top: 0;
  }
  footer .footer-links-first {
    flex-direction: column;
  }
}

/* ------------------- print styles ------------------- */
@media print {
  .logo {
    filter: invert();
  }
}