@charset "UTF-8";
:root {
  --black-grey: #252525;
  --purple-blue: #4848D3;
  --truck-red: #DF2E38;
  --spacer: 24px;
  --page-width: 1160px;
  --text-width: 65%;
  --border-width: 1.5px;
  --hover-color: #4848d300;
  --vert-layout-break: 950px;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--black-grey);
  letter-spacing: 0.1px;
  hyphens: auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
html {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
  scroll-padding-top: 80px;
}

a {
  text-decoration: none;
  color: inherit;
}

#main {
  flex: 1;
}

.main-section {
  width: 100%;
}

.full-width {
  width: var(--page-width);
}

.less-padding-top {
  padding-top: var(--spacer);
}

.m-bottom-big {
  margin-bottom: calc(var(--spacer) * 2);
}

.m-right {
  margin-right: var(--spacer);
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
}

h1, h2, h3 {
  font-weight: 400;
  hyphens: none;
}

h2 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.inline-header {
  font-size: 1.3rem;
}

.active {
  text-decoration: underline !important;
  color: var(--purple-blue) !important;
}

.active::after {
  content: " ↯";
}

.tag {
  color: var(--purple-blue);
  text-decoration: none;
  background-color: rgba(72, 72, 211, 0.0666666667);
  transition: all 0.2s ease-in-out;
  white-space: nowrap;
  display: inline-block;
  margin-bottom: 5px;
}

.tag:hover {
  cursor: pointer;
  background-color: rgba(72, 72, 211, 0.137254902);
}

.tag--big {
  padding: 8px 11px 7px 11px;
  font-size: 0.95rem;
  letter-spacing: 0.04rem;
}

.tag--small {
  padding: 6px 9px 5px 9px;
  font-size: 0.8rem;
  letter-spacing: 0.03rem;
}

.tag--selected {
  color: white;
  background-color: var(--purple-blue);
  border-radius: 50px;
}

.tag--selected:hover {
  color: white;
  background-color: var(--purple-blue);
}

.black {
  color: var(--black-grey);
}

.footnotes-sep {
  width: var(--text-width);
  float: left;
  display: block;
  border-width: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.103);
  margin: var(--spacer) 0 calc(var(--spacer) * 1.5) 0;
}

.footnotes {
  display: block;
  width: var(--text-width);
}

.footnotes-list {
  padding-left: 20px;
  font-size: 0.8rem;
}

.footnotes-list > .footnote-item > p {
  font-size: 0.9rem;
}

.footnote-ref {
  line-height: 100%;
}

.info-icon {
  cursor: help;
  position: relative;
  display: inline-block;
  line-height: 1;
  font-size: 0.75rem;
  font-weight: bold;
  opacity: 0.8;
}

.info-icon .tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: -100%;
  left: 150%;
  background: #333;
  color: #fff;
  padding: 0.6em 0.8em;
  font-size: 0.75rem;
  width: max-content;
  max-width: 250px;
  white-space: normal;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 100;
  line-height: 110%;
  font-weight: normal;
}

/* Arrow */
.info-icon .tooltip::after {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent;
}

/* Show tooltip on hover or keyboard focus */
.info-icon:hover .tooltip,
.info-icon:focus .tooltip,
.info-icon:focus-within .tooltip {
  visibility: visible;
  opacity: 1;
}

@media (width >= 1500px) {
  :root {
    --page-width: 1360px;
  }
}
/* Laptop, minimised */
@media (width <= 1250px) {
  :root {
    --page-width: 1060px;
  }
}
@media (width <= 1150px) {
  :root {
    --page-width: 960px;
  }
}
@media (width <= 1050px) {
  :root {
    --page-width: 860px;
  }
}
@media (width <= 950px) {
  :root {
    --page-width: 92vw;
    --text-width: 100%;
  }
}