@charset "utf-8";
/* CSS Document */
.dm-serif display-regular {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
}
.dm-serif display-regular-italic {
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: italic;
}

/* ------------------- layout ------------------- */
html {
  height: 100%;
}
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: 114px;
  /*background-image: linear-gradient(to bottom, #fff 40%, transparent 50%, #fff 80%),
                    linear-gradient(135deg, transparent 0%, transparent 70.5%, var(--tc-blue) 70.5%, var(--tc-blue) 74%, transparent 74%, transparent 100%);*/
}
.grid {
  /*padding-top: var(--vertical-spacing, 0);
  padding-bottom: var(--vertical-spacing, 0);*/
}
.grid > * {
  container: grid-column-container / inline-size;
}
/*
@container grid-column (min-width: 600px) {
  .item {
      padding: 3rem;
      font-size: 1.125rem;
      line-height: 1.75;
  }
  .item h2 {
      font-size: max(1.5rem, 1.23rem + 2cqi);
  }
}
*/
.sidebar {
  container: sidebar / inline-size;
}
.img-cover {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* ------------------- banner ------------------- */
.banner > .container {
  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;
  z-index: 200;
}
.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: #000;
  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;
  }
}
.visually-hidden-focusable:focus[href="#main-content"] + header {
  top: 24px;
}
.nav-pills .nav-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
  background-color: var(--tc-vanilla);
  padding: 8px 20px;
  height: 32px;
}
.nav-pills a.nav-link:hover {
  background-color: var(--tc-vanilla);
  background-image: linear-gradient(135deg, var(--tc-ocean) 0%, var(--tc-ocean) 25%,  transparent 75%, transparent 100%);
}
.nav-pills a.nav-link:active {
  background-color: var(--tc-ocean);
  background-image: linear-gradient(135deg, var(--tc-ocean) 0%, var(--tc-ocean) 25%,  transparent 75%, transparent 100%);
}
.nav-pills a.nav-link:focus {
    outline: auto;
}


/* ------------------- typography ------------------- */
h1, h2 {
  color: #000;
  font-family: "DM Serif Display", 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;
}
h2.section {
  clip-path: polygon(0% 0%, 100% 0%, calc(100% - 69.78px) 100%, 0% 100%);
  background-color: var(--tc-vanilla);
  margin-left: -1rem;
  display: inline;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  padding-left: 5vw;
  padding-right: 150px;
}
[dir="rtl"] h2.section {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 69.78px 100%);
}
h2.section {
  padding-left: 6vw;
}
@media (min-width: 1400px) {
  h2.section {
    padding-inline-start: calc((100% - 1320px) / 2);
  }
}
main {
  & a, & p a, & td a, & th a, & li a {
    color: #000;
    text-decoration: underline;
    &:hover {
      /*background-color: #000;
        color: #fff;*/
    }
  }
}
.feature-highlight {
  padding: 0 1em;
  border-inline-start: 8px solid var(--tc-ocean);
  margin-bottom: 1em;
  /*margin-top: 1em;*/
}

/* ------------------- buttons ------------------- */
.btn {
  border-width: 3px;
  border-style: solid;
}

/* ------------------- hero secondary ------------------- */
.hero-secondary {
  position: relative;
  width: 100%;
  min-height: 220px;
  background-size: cover !important;
  /*padding-top: 27.77%;*/
}
.hero-secondary-text {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: start;
  padding-bottom: calc(0.5 * var(--vertical-spacing));
}
.hero-secondary-text h1 {
  color: #fff;
  font-size: calc(1.85rem + 3.5vw);
  padding: 0 1rem;
  width: 100%;
  max-width: 1320px;
}
.hero-generic .hero-secondary-text {
  position: static;
  top: unset;
  left: unset;
  padding-top: calc(0.5* var(--vertical-spacing));
  padding-bottom: calc(0.5 * var(--vertical-spacing));
}
.hero-generic.extra-vs .hero-secondary-text {
  padding-top: var(--vertical-spacing);
  padding-bottom: var(--vertical-spacing);
}
@media (min-width: 1200px) {
  .hero-secondary-text h1 {
    font-size: 4.75rem;
  }
}
@media (min-width: 575px) and (max-width: 1399.98px) {
  .hero-secondary-text h1 {
    /* match fluid layout proportional space at sides */
    margin-left: 8vw;
    margin-right: 8vw;
    width: unset !important;
  }
}
@media (min-width: 1400px) {
  .hero-secondary-text h1 {
    padding-inline-start: calc((100% - 1320px) / 2);
  }
}
.hero-tcc {
  background: url("../img/subpage-hero-1920x440-nurse.jpg") no-repeat 100% 50%;
}
.hero-resources {
  background: url("../img/subpage-hero-1920x440-mechanic.jpg") no-repeat 100% 0;
}
.hero-mc-resources {
  background: url("../img/hero-placeholder-1440x400px.png") no-repeat center center;
}
.hero-fn-resources {
  background: url("../img/hero-placeholder-1440x400px.png") no-repeat center center;
}
.hero-fn {
  background: url("../img/subpage-hero-1920x440-health.jpg") no-repeat 100% 0;
}
.hero-generic, .hero-al {
  background-color: #333;
}

/* ------------------- calculator ------------------- */
.calc {
  display: flex;
  flex-direction: column;
  background-color: var(--tc-vanilla);
  padding: var(--item-padding);
  border: 2px solid transparent;
  border-radius: 8px;
  /*height: 100%;*/
  overflow: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}
.calc .d-flex {
  justify-content: space-between;
}
#calc-input-value {
  height: 44px;
  padding: 0 8px;
  border: 1px solid var(--ui-grey);
  border-radius: 8px;
}
#calc-submit {
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.calc .item-footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 12px;
}
.calc .item-footer br {
  display: none;
}
.tc-calc-box.tc-input {
  /*display: flex;
  flex-direction: column;*/
  background-color: var(--tc-vanilla);
  padding: var(--item-padding);
  padding-bottom: calc(0.5 * 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;*/
}
.tc-calc-box #calc-input-value {
  height: 44px;
  width: 100%;
  padding: 0 8px;
  border: 1px solid var(--ui-grey);
  border-radius: 8px;
}
.tc-calc-box #calc-submit {
  width: 100%;
}
.tc-calc-box .slider {
  width: 100%;
}
#range-value-error-display {
    color: var(--bs-danger);
    font-weight: 700;
    font-size: 1.25rem;
    padding-bottom: 0.75rem;
    width: 100%;
    text-align: center;
}
.tc-input-calc-footer {
  background-color: var(--tc-ocean);
  font-size: 1.25rem;
  font-weight: 700;
  padding: var(--item-padding);
}
.tc-input-calc-footer p:last-of-type {
  margin-bottom: 0;
}

/* ------------------- cards ------------------- */
.item {
  display: flex;
  flex-direction: column;
  background-color: var(--tc-vanilla);
  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;
}
.item h2 {
  font-size: 1.5rem;
}
.item h3 {
  font-size: 1.5rem;
}
.item a:not(.btn) {
  &:hover, &:focus {
    text-decoration: underline;
  }
}
.item p:last-of-type {
  margin-bottom: 0;
}
.item.grey {
  background-color: var(--ui-light-grey);
}
.item.flex-direction-row {
  flex-direction: row;
}
.postcards h3 {
  font-size: 1.375rem;
}
.postcards .flex-col {
  display: flex;
  flex-direction: column;
}
@container sidebar (min-width: 500px) {
  .sidebar .item {
    padding: var(--item-padding);
  }
}

/* ------------------- acknowledgement of country ------------------- */
.aoc {
  color: #fff;
  background-color: #000;
  border-bottom: 1px solid var(--tc-ocean);
}

/* ------------------- footer ------------------- */
footer {
  color: #fff;
  background-color: #000;
  /*margin-top: var(--vertical-spacing);*/
}
footer .container {
  padding-top: var(--vertical-spacing);
  padding-bottom: var(--vertical-spacing);
}
footer a {
  color: #fff !important;
  text-decoration: underline;
}
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 {
  justify-content: end;
}
footer li {
  /*display: inline-block;
  float: left;
  margin-right: 4rem;*/
}
footer li:last-of-type {
  margin-right: 0;
}
footer a:active, footer a:link, footer a:visited {
  color: #fff;
  text-decoration: underline;
}
footer a:hover, footer a:focus {
  text-decoration: underline;
  color: #fff;
  background-color: transparent;
}
footer .icon {
  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;
  }
  .calc img {
    max-height: 80px;
  }
  .calc-info-text {
    width: 75%;
  }
}
@media (max-width: 767.98px) {
  /* up to md breakpoint */
  .hero-text h1, .hero-secondary-text h1 {
    line-height: 1;
    margin-bottom: 1rem;
  }
  .hero .lead {
    position: unset;
    top: unset;
  }
}
@media (max-width: 575.98px) {
  /* up to sm breakpoint */
  .banner .logo img {
    height: 60px;
  }
  .hero .lead {
    font-size: 1.0625rem;
  }
  .hero .lead .drop-text {
    top: 13.775px;
    margin-left: 10.045px;
  }
  .hero .lead .drop-text::before {
    width: 3.4375px;
    height: 110%;
    top: -7.175px;
    left: -8.9px;
  }
  h2.section {
    display: block;
    padding-right: 0;
  }
  footer li {
    margin-right: 2rem;
  }
  .footer-links-first {
    display: block;
  }
  .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;
  }
  .calc .item-footer {
    padding: unset;
  }
  #calc-submit {
    width: unset;
  }
  footer .footer-links-first {
    flex-direction: column;
  }
}

/* ------------------- Bring class in from FA to prevent flash of horizontal scrollbar ------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ------------------- print styles ------------------- */
@media print {
  .logo {
    filter: invert();
  }
}