/* FLIR UK visual measurements. The site's controls and editorial content use ThermalNote data. */
@font-face {
  font-family: Industry-Light;
  src: url("/assets/fonts/flir-industry-light.woff2") format("woff2");
  font-weight: 300 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/fonts/flir-inter-400.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: museo-sans;
  src: url("/assets/fonts/flir-museo-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: museo-sans;
  src: url("/assets/fonts/flir-museo-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: museo-sans;
  src: url("/assets/fonts/flir-museo-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: museo-sans;
  src: url("/assets/fonts/flir-museo-900.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --tn-ink: #080808;
  --tn-secondary: #3a3a3a;
  --tn-white: #fff;
  --tn-soft: #f6f6f6;
  --tn-line: #cecfce;
  --tn-accent: #20704e;
  --tn-hover: #18543b;
  --tn-dark: #080808;
  --tn-amber: #40e09c;
  --tn-focus: #20704e;
  --tn-sans: Inter, sans-serif;
  --tn-display: Industry-Light, sans-serif;
  --tn-label: museo-sans, sans-serif;
  --tn-gutter: 64px;
  --tn-max: 1360px;
  --tn-cta: #40e09c;
}

.tn-site { font-family: var(--tn-sans); line-height: 1.5; }
.tn-site :is(h1,h2,h3,h4) { letter-spacing: normal; }
.tn-site h1 { font: 300 36px/46px var(--tn-display); }
.tn-site h2 { font: 500 30px/46px var(--tn-label); }
.tn-site h3 { font: 500 24px/30px var(--tn-label); }
.tn-site h4 { font: 500 20px/28px var(--tn-label); }

.tn-header-row { min-height: 71px; grid-template-columns: .74fr minmax(210px, 476px) 1.2fr; column-gap: 18px; }
.tn-wordmark { font: 900 24px/1 var(--tn-label); letter-spacing: -.03em; }
.tn-wordmark img { width: 42px; height: 42px; }
.tn-navigation { border-bottom: 1px solid var(--tn-line); background: #fff; }
.tn-nav { min-height: 48px; gap: 24px; }
.tn-nav a {
  border: none;
  padding: 10px 0;
  font: 900 13px/28px var(--tn-label);
  text-transform: uppercase;
}
.tn-nav a[aria-current],.tn-nav a:hover { color: var(--tn-ink); border: none; }
.tn-nav a:hover { text-decoration: underline; }
.tn-nav-item { display: flex; align-items: center; gap: 3px; position: relative; }
.tn-nav-details summary { list-style: none; display: grid; place-items: center; min-width: 19px; min-height: 34px; cursor: pointer; }
.tn-nav-details summary::-webkit-details-marker { display: none; }
.tn-nav-details summary svg { width: 14px; height: 14px; }
.tn-nav-details:not([open]) .tn-nav-popup { display: none; }
.tn-nav-popup { z-index: 8; position: absolute; top: 100%; left: 0; min-width: 215px; margin: 0; padding: 8px 13px; list-style: none; background: #fff; border: 1px solid #cecfce; box-shadow: 0 6px 20px #0808081c; }
.tn-nav .tn-nav-popup a { padding: 5px 4px; text-transform: none; text-align: start; font: 700 14px/24px var(--tn-label); }
.tn-utilities { display: flex; align-items: center; justify-content: end; gap: 19px; }
.tn-utilities a { display: inline-flex; align-items: center; gap: 6px; padding: 0; font-size: 16px; font-weight: 400; text-decoration: none; white-space: nowrap; }
.tn-utilities a:hover { text-decoration: underline; }
.tn-utilities .tn-icon { height: 22px; width: 22px; }
.tn-mobile-menu { display: none; }
.tn-search-field { position: relative; height: 45px; border: 0; background: #f6f6f5; }
.tn-search-field input { padding: 0 12px 0 41px; height: 45px; font: 400 14px/24px var(--tn-sans); }
.tn-search-field input::placeholder { color: #545656; font-weight: 650; }
.tn-search-field button { position: absolute; inset: 0 auto 0 0; width: 41px; color: #080808; }
.tn-search-field button svg { width: 21px; height: 21px; stroke-width: 2.4; }

.tn-site :is(.tn-button,.tn-button-alt) {
  min-height: 44px;
  border-radius: 20px;
  padding: 9px 16px;
  font: 700 14px/24px var(--tn-label);
  text-transform: uppercase;
}
.tn-site :is(.tn-button,.tn-home-hero .tn-button) { color: #080808; background: var(--tn-cta); border-color: var(--tn-cta); }
.tn-site :is(.tn-button,.tn-home-hero .tn-button):hover { color: #080808; background: #6be093; border-color: #6be093; }
.tn-site .tn-button-alt { border-color: #aaa; }
.tn-site .tn-button-alt:hover { background: #f6f6f6; border-color: #080808; }
.tn-site .tn-home-hero .tn-button-alt { border-color: #b7b7b7; }
.tn-site .tn-home-hero .tn-button-alt:hover { background: #1c1c1c; }

.tn-hero-layout {
  width: 100%;
  max-width: none;
  min-height: 654px;
  grid-template-columns: repeat(2,minmax(0,1fr));
  padding: 0;
  gap: 0;
}
.tn-hero-copy { padding: 46px 36px 46px max(var(--tn-gutter), calc((100vw - 1360px)/2)); color: #d8d8d8; }
.tn-hero-copy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  margin: 0;
}
.tn-hero-copy h2 { font: 300 64px/70px var(--tn-display); letter-spacing: normal; }
.tn-hero-copy > p { max-width: 550px; font-size: 16px; line-height: 24px; margin: 26px 0 23px; color: #d8d8d8; }
.tn-hero-media { height: 100%; min-height: 654px; border-radius: 0; }
.tn-hero-media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: cover; }
.tn-hero-media figcaption { color: #fff; background: #080808d9; font-size: 13px; border-radius: 8px; }

.tn-section-title h2, .tn-featured-articles h2, .tn-directory h2 { font: 300 30px/46px var(--tn-label); }
.tn-section { margin-top: 52px; }
.tn-grid, .tn-grid.tn-tool-grid { gap: 24px; }
.tn-grid.tn-guide-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.tn-card { border: 0; border-radius: 0; }
.tn-card > a:first-child { border-radius: 8px; }
.tn-card img { aspect-ratio: 1.5; }
.tn-card .tn-card-copy { padding: 15px 0 11px; }
.tn-card .tn-card-topic { font: 700 13.2px/18px var(--tn-label); color: var(--tn-accent); letter-spacing: -.14px; }
.tn-card .tn-card-link { font: 700 14px/24px var(--tn-label); color: #080808; }
.tn-card .tn-card-actions .tn-button-alt { min-height: 28px; padding: 1px 7px; border-color: transparent; font-size: 12px; }
.field-shortcut { border-left: 0; border-radius: 8px; padding: 18px; }
.field-shortcut:hover { background: #f6f6f6; }
.field-reading { border-radius: 8px; }
.tn-side,.tn-tool-form,.tn-output,.tn-error { border-radius: 8px; }
.tn-output { background: #f5faf7; border-color: #c4dbcd; }
.tn-photo img { border-radius: 8px; }
.tn-photo figcaption { font-size: 14px; line-height: 20px; }
.tn-intro { margin-top: 32px; }
.tn-intro h1 { color: var(--tn-accent); }
.tn-intro p { font-size: 16px; line-height: 24px; }
.tn-site .tn-crumbs { gap: 3px 9px; color: inherit; font: 400 16px/24px var(--tn-sans); }
.tn-crumbs [aria-current=page] { font-weight: 700; min-width: 0; }
.tn-tabs button { border-radius: 0; font: 700 14px/24px var(--tn-label); }
.tn-tabs button[aria-pressed=true] { color: #080808; border-color: #40e09c; }

.tn-archive-cover { position: relative; min-height: 330px; display: grid; isolation: isolate; background: #080808; color: #d8d8d8; }
.tn-archive-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.tn-archive-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #0a0b0fe0; }
.tn-archive-lead { min-height: 330px; display: grid; place-items: center; padding: 20px 0 30px; text-align: center; }
.tn-archive-lead h1 { font: 300 64px/70px var(--tn-display); }
.tn-archive-lead h1::before { content: ""; display: block; width: min(252px,75%); height: 4px; margin: 0 auto 34px; border-radius: 5px; background: linear-gradient(90deg,#40e09c,#5ebaba); }
.tn-archive-lead .tn-crumbs { justify-content: center; color: #f6f6f6; }
.tn-featured-articles { margin-top: 54px; }
.tn-featured-articles .tn-section-title { margin-bottom: 32px; }
.tn-directory { margin: 55px 0; }

.tn-story-head { width: min(800px,calc(100% - 2 * var(--tn-gutter))); margin: 32px auto 0; }
.tn-story-head .tn-crumbs { min-height: 40px; flex-wrap: nowrap; margin-bottom: 32px; }
.tn-story-head .tn-crumbs :is(a,span) { white-space: nowrap; }
.tn-story-head .tn-crumbs span[aria-current=page] { text-overflow: ellipsis; overflow: hidden; max-width: 315px; }
.tn-story-head h1 { max-width: none; color: #20704e; font: 300 36px/46px var(--tn-display); margin: 0; }
.tn-story-date { margin: 24px 0 16px; font: 700 13.2px/18px var(--tn-label); letter-spacing: -.14px; text-transform: uppercase; }
.tn-story-image { width: min(914px,calc(100% - 2 * var(--tn-gutter))); }
.tn-story-image figure { margin: 0; }
.tn-story-image .tn-photo img {
  width: 100%;
  max-height: none;
  aspect-ratio: 914/510;
  border-radius: 8px;
  object-fit: cover;
}
.tn-story-image .tn-measured img { aspect-ratio: auto; object-fit: contain; }
.tn-reading-bar { margin: 32px auto; border: none; background: #f6f6f6; }
.tn-reading-actions { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 9px; min-height: 52px; padding: 0; }
.tn-reading-actions .tn-back-to-story {
  min-width: 0;
  flex: 1;
  padding: 14px 8px;
  font: 400 14px/24px var(--tn-sans);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-transform: uppercase;
  text-decoration: none;
}
.tn-reading-actions .article-actions { flex-wrap: nowrap; gap: 3px; }
.tn-reading-actions .tn-button-alt { width: 30px; min-height: 32px; padding: 3px; border-color: transparent; background: transparent; }
.tn-reading-actions .tn-button-alt svg { width: 17px; height: 17px; }
.tn-reading-actions .tn-button { min-height: 34px; padding: 3px 12px; font: 700 12px/24px var(--tn-label); }
.tn-reading-actions [data-page-status] { max-width: 110px; font-size: 11px; }
.tn-reading-layout { width: min(800px,calc(100% - 2 * var(--tn-gutter))); display: block; margin-top: 0; }
.tn-story-lead { max-width: none; margin: 0 0 22px; color: #080808; font-size: 16px; }
.tn-story-lead .tn-direct { color: #080808; }
.tn-story-body :is(p,li) { font-size: 16px; line-height: 24px; }
.tn-story-body p { max-width: none; margin: 0 0 16px; }
.tn-story-body .tn-photo img { max-height: none; width: min(100%, 640px); margin-inline: auto; }
.tn-story-body .tn-photo figcaption { text-align: center; }
.tn-reading-contents { position: static; border: 0; padding: 14px 15px; margin-bottom: 20px; background: #f6f6f6; }
.tn-reading-contents summary { cursor: pointer; font: 700 14px/24px var(--tn-label); }
.tn-reading-contents ul { padding-inline-start: 1rem; margin-top: 9px; }
.tn-reading-contents nav a { text-decoration: underline; }
.tn-addendum { background: #f6f6f6; border-inline-start-color: #40e09c; }

.tn-site .compat-page .tn-button { color: #080808; }
.ir-workspace :is(.ir-note,.ir-message,.ir-result-number) { color: var(--tn-ink); }
.ir-workspace :is(.ir-frame-grid figure,.ir-stats div) { border-color: var(--tn-line); }
.ir-workspace .ir-stats div,.ir-workspace input[type=file] { background: var(--tn-soft); }
.ir-workspace input::file-selector-button { background: #e9e9e9; color: var(--tn-ink); }
.tn-site .compat-intro h1,.tn-site .policy-page .page-intro h1 { color: var(--tn-accent); font: 300 36px/46px var(--tn-display); }
.tn-footer { background: #080808; color: #fff; }
.tn-footer p { color: #d8d8d8; }
.tn-footer a:hover { color: #40e09c; }

@media (max-width: 1199px) {
  .tn-utilities { gap: 13px; }
  .tn-utilities a { font-size: 14px; }
}
@media (max-width: 991px) {
  :root { --tn-gutter: 32px; }
  .tn-hero-copy h2,.tn-archive-lead h1 { font-size: 48px; line-height: 55px; }
  .tn-hero-layout,.tn-hero-media { min-height: 540px; }
  .tn-utilities a > span { display: none; }
}
@media (max-width: 767px) {
  :root { --tn-gutter: 16px; }
  .tn-header-row { min-height: 61px; grid-template-columns: auto minmax(0,1fr) auto; column-gap: 11px; row-gap: 0; padding-block: 8px; }
  .tn-header[data-mobile-ready] .tn-mobile-menu { display: inline-grid; border: 0; background: #fff; padding: 5px 1px; cursor: pointer; }
  .tn-mobile-menu svg { width: 24px; height: 24px; stroke-width: 1.9; }
  .tn-header-row .tn-wordmark { grid-column: 2; grid-row: 1; font-size: 22px; width: fit-content; }
  .tn-header-row .tn-wordmark img { width: 34px; height: 34px; }
  .tn-utilities { grid-column: 3; grid-row: 1; }
  .tn-utilities a:nth-child(n+2) { display: none; }
  .tn-search { grid-row: 2; grid-column: 1/-1; }
  .tn-header[data-mobile-ready]:not([data-menu-open]) .tn-search { display: none; }
  .tn-header[data-menu-open] .tn-search { display: block; margin-top: 8px; }
  .tn-navigation { border-top: 1px solid #cecfce; }
  .tn-header[data-mobile-ready]:not([data-menu-open]) .tn-navigation { display: none; }
  .tn-header[data-menu-open] .tn-navigation { display: block; }
  .tn-nav { display: flex; flex-direction: column; gap: 0; }
  .tn-nav a { border-bottom: 1px solid #eee; text-align: left; justify-content: start; line-height: 23px; }
  .tn-nav-item { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .tn-nav-item:has(details[open]) { grid-template-columns: 1fr; }
  .tn-nav-item:has(details[open]) > a { padding-right: 34px; }
  .tn-nav-details[open] summary { position: absolute; inset: 0 0 auto auto; }
  .tn-nav-popup { position: static; border: 0; box-shadow: none; padding: 0 0 5px 14px; }
  .tn-hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .tn-hero-copy { padding: 30px 16px; }
  .tn-hero-copy h2,.tn-archive-lead h1 { font-size: 36px; line-height: 42px; }
  .tn-hero-copy > p { margin-block: 16px 19px; }
  .tn-hero-media { min-height: auto; aspect-ratio: 1.56; }
  .tn-archive-cover,.tn-archive-lead { min-height: 228px; }
  .tn-archive-lead h1::before { margin-bottom: 21px; }
  .tn-featured-articles { margin-top: 32px; }
  .tn-featured-articles .tn-section-title { margin-bottom: 16px; }
  .tn-grid.tn-guide-grid,.tn-grid.tn-tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 12px; }
  .tn-card h3 { font-size: 20px; line-height: 25px; }
  .tn-story-head { margin-top: 16px; }
  .tn-story-head .tn-crumbs { min-height: 32px; margin-bottom: 16px; font-size: 13px; }
  .tn-story-head h1 { font: 300 30px/36px var(--tn-display); }
  .tn-story-date { margin-block: 16px; }
  .tn-reading-actions { flex-wrap: wrap; justify-content: start; padding-block: 7px; }
  .tn-reading-actions .tn-back-to-story { flex: 1 0 100%; padding: 5px 8px; }
  .tn-reading-bar { margin-block: 20px; }
  .tn-reading-contents ul { columns: auto; }
}
@media print {
  .tn-reading-contents,.tn-reading-bar { display: none !important; }
}
