/* @import url("https://use.typekit.net/gxc3qia.css"); */
@import url("https://use.typekit.net/lny1vki.css");

:root {
  --dark-blue-primary: #003862;
  --blue-primary: #0063be;
  --blue-light: #00a8e2;
  --blue-bright: #e6eff9;
  --white: #ffffff;
  --black-primary: #191919;
  --red-medium: #ef3355;
  --gray-primary: #9d9d9d;

}

* {
  font-family: "Interstate";
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

/* Text styles */

h1,
h2,
h3,
h4,
h5,
p,
ul {
  margin: 0;
}

.header1-l {
  font-size: 90px;
  font-style: normal;
  font-weight: 300;
  line-height: 92px;
  /* 102.222% */
  letter-spacing: -5px;
}

.header1 {
  font-size: 68px;
  font-style: normal;
  font-weight: 300;
  line-height: 68px;
  /* 100% */
  letter-spacing: -3px;
}

.header2 {
  font-size: 42px;
  font-style: normal;
  font-weight: 300;
  line-height: 42px;
  /* 100% */
  letter-spacing: -2px;
}

.paragraph-l {
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 34px;
  /* 121.429% */
  letter-spacing: -1px;
}

.paragraph {
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  /* 127.273% */
  letter-spacing: -0.5px;
}

.paragraph-oneoff {
  font-size: 17px;
  line-height: 23px;
  letter-spacing: -0.5px;
}

.paragraph-s {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
  letter-spacing: -0.5px;
}

.paragraph-xs {
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 16px;
  /* 133.333% */
  letter-spacing: -0.5px;
}

strong {
  font-weight: 700 !important;
}

ol {
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: item;
}

ol li {
  counter-increment: item;
  margin-bottom: 30px;
}

ol li:before {
  font-weight: 700;
  margin-right: 10px;
  width: 28px;
  content: counter(item) ".";
}

ul {
  padding: 0;
}

li {
  display: flex;
}

ul li {
  list-style: none;
}

ul li:before {
  padding: 3px 10px 0;
  content: "·";
  font-size: 32px;
  vertical-align: middle;
  line-height: 22px;
}

sup {
  font-size: 65%;
  line-height: 0;
  vertical-align: baseline;
  top: -0.5em;
  position: relative;
  display: inline;
}

/* Spacing */

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  margin: 0;
}

.container {
  max-width: 1440px;
  min-height: 100vh;
  padding: 0 120px;
  width: 100%;
  margin: 0 auto;
}

.grid-box {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-column-gap: 40px;
}

.ref {
  display: flex;
  align-items: end;
  margin-bottom: 120px;
}


/* Backgrounds */

.white {
  background-color: #fff;
  color: var(--black-primary);
}

.light-blue {
  background-color: var(--blue-bright);
  color: var(--blue-primary);
}

.dark-blue {
  background-color: var(--dark-blue-primary);
  color: var(--white);
}

.white,
.light-blue,
.dark-blue {

  display: flex;
  align-items: start;
}

.row {
  grid-column: 1 / -1;
}

.subrow {
  grid-column: 1 / 6;
}

/* .blue-circle-test {
  stroke-dasharray: 2;
} */

.steps {
  display: grid;
  grid-template-columns: subgrid;
  margin-bottom: 40px;
}

.steps p {
  color: #9D9D9D;
}

.steps h4 {
  margin-bottom: 10px;
}

.steps img {
  height: 22px;
}

.two-column {
  grid-column: span 2;
}

.background {
  transform: translateX(-63.2%);
  height: 100%;
  width: 133%;
  object-fit: cover;
  object-position: left;
  position: absolute;
  left: 0;
  margin-top: -1px;
  /* min-height: 100vh; */
}

#observed-error-rate {
  margin-top: 100px;
}

.diagram-container {
  grid-column: 1 / 4;
}

.table {
  grid-column: 1 / 5;
  color: var(--black-primary);
  margin-top: 30px;
  border-collapse: collapse;
}

.red-bar {
  background-color: var(--red-medium);
  border-bottom: 1px solid var(--gray-primary);
  width: 123px;
  margin-bottom: 10px;
}

.bar-chart-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 18px;
}

.bar-chart-row div:first-child p {
  text-align: right;
  letter-spacing: -0.07px;
  font-weight: 400;
  white-space: nowrap;
}

.date-content {
  display: flex;
  margin-bottom: 40px;
}

.date-content div {
  margin-left: 20px;
  color: var(--black-primary);
}

.date-content div .header3 {
  margin-top: 10px;
}

button {
  outline: none;
  border: none;
}

/* Circle loading bars */
.circle-selector {
  display: flex;
  gap: 20px;
}

.circle-selector label {
  width: 280px;
  padding: 15px 20px;
  background-color: #99C1E5;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 17px;
  font-weight: 300;
  line-height: 19px;
  letter-spacing: -0.5px;
  color: var(--blue-primary);
}

.circle-selector input {
  height: 15px;
  width: 15px;
  -webkit-appearance: none;
  outline: none;
  border: var(--blue-primary) 1px solid;
  border-radius: 50%;
  background: #CCE0F2;
  margin: 0;
}

input[type='radio']:checked {
  background: #66A1D8;
}

.label:has(input:checked) {
  background-color: var(--white);
}

.value-container {
  position: relative;
  color: #fff;
}

a {
  text-decoration: none;
}

.circle-container {
  position: relative;
  display: inline-block;
  width: 240px;
  height: 240px;
}

.circle-container-pp {
  position: relative;
  display: inline-block;
  width: 370px;
  height: 370px;
  margin-left: 50px;
}

.center-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.button {
  width: 236px;
  height: 36px;
  padding: 6px 7px 9px 13px;
  background-color: #0063be;
  cursor: pointer;

  color: #0063be;
  font-family: "Interstate";
  font-size: 14px;
  font-style: normal;
  line-height: 20px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.button:hover {
  background-color: var(--blue-light);
}

.button p {
  color: var(--white);
  letter-spacing: -0.5px;
}

.small {
  height: 36px;
  width: 36px;
  padding: 10px;
}

hr {
  background: var(--blue-primary);
  border: 0;
  height: 1px;
}

.drug-form {
  border: 1px solid var(--blue-primary);
  padding: 30px;
  grid-column: span 2;
  height: 390px;
  display: flex;
  flex-direction: column;
}

.drug-form hr {
  margin: 10px 0 20px;
  width: 100%;
}

.drug-form div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.total-waste {
  margin-top: 15px;
}

input {
  width: 150px;
  height: 31px;
  border-width: 0;
  border-radius: 0;
  text-align: right;
}

.modal input {
  text-align: left;
}


/* SCREEN HIDER */

#rotate {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;

  background-color: var(--dark-blue-primary);
  text-align: center;
  height: 100vh;
  width: 100vw;
  justify-content: center;
  align-items: center;
}

#rotate * {
  color: var(--white);
}

#rotate h1,
#rotate h3 strong {
  display: block;
  margin: 50px 0 20px;
}

#rotate img {
  max-width: 384px;
}


@media (orientation: portrait) and (hover: none) and (pointer: coarse) {
  body {
    overflow: hidden;
  }

  body #burger,
  body #crumb,
  body #menu {
    display: none !important;
  }

  body #rotate {
    display: flex !important;
  }

  body #rotate #tablet-portrait-message {
    display: block;
  }

  body #rotate #phone-portrait-message {
    display: none;
  }
}

@media (orientation: portrait) and (hover: none) and (pointer: coarse) and (max-width: 767px) {
  body {
    border: solid 10px red;
    overflow: hidden;
  }

  body #burger,
  body #crumb,
  body #menu {
    display: none !important;
  }

  body #rotate {
    display: flex !important;
  }

  body #rotate #tablet-portrait-message {
    display: none !important;
  }

  body #rotate #phone-portrait-message {
    display: block !important;
  }
}

@media (orientation: landscape) and (hover: none) and (pointer: coarse) and (max-width: 900px) {
  body {
    border: solid 10px red;
    overflow: hidden;
  }

  body #burger,
  body #crumb,
  body #menu {
    display: none !important;
  }

  body #rotate {
    display: flex !important;
  }

  body #rotate #tablet-portrait-message {
    display: none !important;
  }

  body #rotate #phone-portrait-message {
    display: block !important;
  }
}



/* POWERPOINT */

.powerpoint {
  z-index: -1;
  position: absolute;
  overflow: hidden;
  height: 0;
}

.powerpoint .stats {
  height: 710px;
}

.powerpoint .white,
.powerpoint .dark-blue {
  height: 1080px;
  min-height: 0;
  width: 1920px;
}

.powerpoint .container {
  height: 1080px;
  min-height: 0;
  width: 1920px;
  max-width: 1920px;
  padding: 0 120px;
  margin: 0 auto;
}

.powerpoint .header1-l {
  font-size: 120px;
  font-weight: 300;
  line-height: 120px;
  /* 100% */
  letter-spacing: -5px;
}

.powerpoint .header1 {
  font-size: 80px;
  font-weight: 300;
  line-height: 84px;
  /* 105% */
  letter-spacing: -1px;
}

.powerpoint .header2 {
  font-size: 60px;
  font-weight: 300;
  line-height: 62px;
  /* 103.333% */
  letter-spacing: -1px;
}

.powerpoint .paragraph-xl {
  font-size: 40px;
  font-weight: 300;
  line-height: 42px;
  /* 105% */
  letter-spacing: -0.5px;
}

.powerpoint .paragraph-l {
  font-size: 36px;
  font-weight: 275;
  line-height: 40px;
  /* 111.111% */
}

.powerpoint .paragraph {
  font-size: 30px;
  font-weight: 275;
  line-height: 34px;
}

.powerpoint .paragraph-s {
  font-size: 20px;
  font-weight: 275;
  line-height: 20px;
  letter-spacing: -0.5px;
}

.powerpoint .paragraph-xs {
  font-size: 14px;
  font-weight: 300;
  line-height: 16px;
}

.powerpoint .white,
.powerpoint .light-blue,
.powerpoint .dark-blue {
  min-height: 0;
}

.powerpoint .grid-box {
  grid-column-gap: 60px;
}

/* MODAL */

.modal {
  position: fixed;
  display: none;
  background: var(--black-primary);
  width: 100vw;
  height: 100vh;
  z-index: 6;
  overflow: hidden;
}

.modal.active {
  display: flex;
  flex-direction: column;
}

body.modal-open {
  overflow: hidden;
}

.modal .close {
  position: absolute;
  top: 100px;
  right: 100px;
  width: 21px;
  height: 21px;
  background-color: none;
  color: none;
}

.hidden {
  display: none !important;
}

#download-message {
  display: flex;
  align-items: center;
}

.ppt-form {
  display: flex;
  flex-direction: column;
  width: 552px;
  margin: 321px auto 0;
  gap: 25px;
}

.ppt-form input {
  outline: none;
  width: 100%;
  padding: 10px;
  height: 36px;

  font-size: 17px;
  font-weight: 300;
  line-height: 23px;
  letter-spacing: -0.5px;
}

.ppt-form button {
  margin-top: 5px;
}

/* Tooltip container */
.tooltip {
  margin-left: 5px;
  position: relative;
  display: inline-block !important;
  /* If you want dots under the hoverable text */
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #474747;
  color: #fff;
  text-align: left;
  padding: 15px;
  border-radius: 6px;

  position: absolute;
  z-index: 1;
  width: 270px;
  bottom: 110%;
  left: 50%;
  margin-left: -135px;
  /* Use half of the width to center the tooltip */

  color: #FFF;
  font-family: Interstate;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 13px;
}

.tooltip .tooltiptext::after {
  content: " ";
  position: absolute;
  top: 100%;
  /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #474747 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

a:hover {
  text-decoration: underline;
}