@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

:root {
  --maxwidth: 1040px;
  --letterspacing: 0;
  --padding: min(6vw, 40px);
  --clr-palegray: hsl(210, 3%, 90%);
}

*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: #515151;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: url("/images/bg.jpg") 0 0 repeat-x #515151;

  font-family: "Nunito", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;

  font-size: 1em;
  line-height: 1.5;

  color: #333;
  padding: 0;
  margin: 0;
  background-attachment: fixed;
}

body.dev {
  background: white;
}

/*
	body { border-top: solid .25em red; } 
	@media only screen and (min-width: 640px) {  body { border-color:blue; } }
	@media only screen and (min-width: 720px) {  body { border-color:red; } }
	@media only screen and (min-width: 800px) {  body { border-color:blue; } }
	@media only screen and (min-width: 960px) {  body { border-color:red; } }
	@media only screen and (min-width: 1120px) {  body { border-color:blue; } }
	@media only screen and (min-width: 1280px) {  body { border-color:red; } }
*/

a {
  color: #004166;
  transition: all 0.2s ease;
}
a:hover {
  color: #f3521c;
}
a:visited {
  color: inherit;
}

button:focus {
  outline: none;
}

.clickbox:hover {
  cursor: pointer;
}
.more-link {
  font-size: 0.875em;
  white-space: nowrap;
}

b,
strong,
th {
  font-weight: bold;
}
em,
i {
  font-style: italic;
}

sup {
  position: relative;
  top: -0.5em;
  font-size: 0.625em;
  line-height: 0;
  vertical-align: baseline;
}
td,
th {
  text-align: left;
  vertical-align: top;
}

.note {
  background: yellow;
  color: #f3521c;
}

img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.footer-logo img,
.pie-chart img,
.max-width {
  width: auto;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  padding: 0;
  line-height: 1.2;
  color: #004166;
  color: rgba(9, 86, 127);
  font-weight: 700;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
}
h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: #4c5258;
}

h1 {
  font-size: 1.5em;
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: 1.2;
  margin: 0 0 1em;
  letter-spacing: var(--letterspacing);
}

h2 {
  font-size: 1.375em;
  line-height: 1.2;
  letter-spacing: var(--letterspacing);
  color: #0f486e;
  text-wrap: balance;
}

h3 {
  font-size: 1.25em;
  letter-spacing: var(--letterspacing);
  color: #0064a5;
}

h4 {
  font-size: 1.25em;
  letter-spacing: var(--letterspacing);
  color: hsl(15, 90%, 40%);
}

h5 {
  font-size: 1.125em;
  color: #333;
}

h6 {
  font-size: 1.125em;
}

@media only screen and (min-width: 800px) {
  h2 {
    font-size: 1.375em;
  }
  h3 {
    font-size: 1.25em;
  }
  h4 {
    font-size: 1em;
  }
  h5 {
    font-size: 1em;
  }
  h6 {
    font-size: 1em;
  }
}

h1 > div {
  text-transform: none;
  font-size: 0.5em;
  color: #f3521c;
}

p {
  margin: 0 0 1.2em;
}

ul {
  list-style: square;
  margin: 0 0 1.2em;
  padding: 0;
}

ol {
  list-style: decimal;
  margin: 0 0 1.2em;
  padding: 0;
}

li {
  padding: 0;
  margin: 0 0 0.3em 1.5em;
}

li ul,
li ol {
  margin-top: 0.3em;
  margin-bottom: 0.6em;
  font-size: 0.875em;
}

li ul li {
  list-style: circle;
  margin-bottom: 0.15em;
}

.intro {
  font-size: 1.125em;
}

.content-main > *:first-child {
}

@media only screen and (min-width: 720px) {
  .intro {
    font-size: 1.375em;
  }
}

.divider {
  border-top: solid 1px var(--clr-palegray);
  padding-top: calc(var(--padding) * 0.75);
  margin-top: calc(var(--padding) * 0.75);
}

.divider > *:first-child {
  margin: 0 0 1rem;
}

.feature-box {
  padding: 1.5em;
  border: solid 0.25em var(--clr-palegray);
  margin: 1em 0;
}

.inset-box {
  padding: 1.5em;
  background-color: var(--clr-palegray);
  margin: 1em 0;
}

.feature-box > *:first-child,
.inset-box > *:first-child,
.pullquote > *:first-child {
  margin-top: 0;
  padding-top: 0;
}

.feature-box > *:last-child,
.inset-box > *:last-child,
.pullquote > *:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.inset-box .divider {
  border-color: #fff;
}

.footnotes,
.footnote {
  font-size: 0.875em;
}

.footnotes > *:first-child {
  margin-top: 0;
  padding-top: 0;
}

.news-boiler {
  clear: both;
  margin-top: 2.5em;
}

a.btn {
  font-weight: 700;
  background-color: #f3521c;
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875em;
  letter-spacing: var(--letterspacing);
  display: inline-block;
  border-radius: 5px;
}

a.btn-large {
  font-size: 1.25em;
}

/* image and photo styles */

.withBorder {
  border: solid 0.25em #f5f5f5;
}

.floatLeft {
  float: left;
  max-width: 30%;
  margin: 0 1em 0.25em 0;
}

.floatRight {
  float: right;
  max-width: 30%;
  margin: 0 0 0.25em 1em;
}

.floatLeft p,
.floatRight p {
  margin: 0;
}

/* header */

header {
  max-width: var(--maxwidth);
  margin: 0 auto;
  border-top: 0.3em solid #f77e3c;
  background-color: white;
}

.masthead {
  padding: calc(var(--padding) * 0.75) var(--padding);
}

@media only screen and (max-width: 719.99px) {
  header {
    border-bottom: 1px solid #bcbec0;
  }
}

.logo-wrap {
  background-color: #fff;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-width: min(280px, 40vw);
  transition: translate 150ms ease-out;
}

.logo a:hover img {
  translate: 0 -2px;
}

.home .logo a {
  pointer-events: none;
}

@media only screen and (min-width: 720px) {
  header {
    background: url("/images/masthead-bg.jpg") right bottom no-repeat #fff;
    background-size: cover;
  }

  .logo-wrap {
    display: block;
    background: transparent;
  }
  .masthead {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}

/* nav toggle  */

.nav-toggles {
  margin-left: auto;
}

.nav-toggles button {
  margin: 0;
  padding: 6px 0 0;
}

@media only screen and (min-width: 720px) {
  .nav-toggles {
    display: none;
  }
}

/* nav  */

.nav-hidden {
  display: none;
}

@media only screen and (min-width: 720px) {
  .nav-hidden {
    display: block;
  }
}

@media only screen and (max-width: 719.99px) {
  .nav-secondary-wrap {
    background-color: #004166;
    color: #fff;
    padding: 1.5em 1em;
    margin-top: var(--padding);
    margin-inline: calc(var(--padding) * -1);
    margin-bottom: calc(var(--padding) * -1);
  }

  .site-search {
    padding: 1em 0.75em;
  }

  .nav-secondary-wrap a {
    display: block;
    font-size: 1.375em;
    line-height: 1.2;
    text-decoration: none;
    padding: 0.35em 0.75em;
    border-radius: 0.1em;
    letter-spacing: var(--letterspacing);
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-secondary-wrap a:hover {
    background-color: rgba(0, 0, 0, 0.15);
    color: #fff;
    padding-left: 1em;
    letter-spacing: var(--letterspacing);
  }
  .nav-secondary-wrap .current a {
    background-color: #f3521c;
    color: #fff;
  }
}

.social-link {
  width: 24px;
  background-color: rgb(0 0 0 / 0.5);
  border-radius: 2px;
}

.social-link:hover {
  background-color: rgb(0 0 0 / 1);
}

@media only screen and (min-width: 720px) {
  .nav-secondary .level-primary {
    display: none;
  }
  .nav-primary .level-secondary {
    display: none;
  }
  .nav-secondary-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-secondary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
  }

  .nav-secondary a {
    font-size: 0.875em;
    padding: 0 0.5em;
    font-weight: 700;
    text-decoration: none;
    color: #333;
  }

  .nav-secondary a:hover {
    color: #000;
  }
  .nav-secondary .current a {
    color: #000;
  }

  .nav-secondary .nav-item:last-child a {
    border-right: none;
    margin-right: 0.5em;
  }

  .nav-primary-wrap {
    background-color: rgba(5, 66, 100, 0.95);
  }
  .nav-primary {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
    padding: 15px var(--padding);
    gap: 24px;
  }

  .nav-primary a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25em 0;
    font-weight: 400;
    font-size: 0.875em;
    font-size: clamp(0.75rem, -0.094rem + 1.875vw, 1.125rem);
    letter-spacing: var(--letterspacing);
    line-height: 1;
    text-decoration: none;
  }

  .nav-primary a:hover,
  .nav-primary .current a {
    color: hsl(46, 100%, 75%);
  }

  .nav-primary .nav-item:first-child a {
    border-left: none;
  }
}

/*special notices*/

.specialBanner {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 0 40px 40px;
  background: white;
}

.specialBanner--home {
  padding: 0 0 40px;
}

.specialBanner a {
  display: block;
  margin: 0 auto;
}

.specialNotice {
  max-width: var(--maxwidth);
  margin: 0 auto;
  position: relative;
  z-index: 1000;
  background-color: #ef362b;
}

.specialNotice_link {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1.5em;
  text-decoration: none;
  text-align: center;
  transition: background-color 150ms ease;
}

.specialNotice:focus-within .specialNotice_link,
.specialNotice_link:hover,
.specialNotice_link:focus {
  background-color: rgba(0, 0, 0, 0);
}

@media only screen and (min-width: 720px) {
  .specialNotice_link {
    padding: 1em 1.5em;
  }
}

.specialNotice_text {
  color: #fff;
  font-weight: 700;
}

/* main content */

.slider {
  max-width: var(--maxwidth);
  margin: 0 auto;
}

.feature-image {
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: 30px;
  color: #fff;
  background-size: cover;
  background-position: right top;
  position: relative;
}

.market-detail-lead {
  height: 50vw;
  max-height: 300px;
}

.market-lead-title {
  font-size: 1.5em;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: var(--letterspacing);
  color: rgba(255, 255, 255, 0.75);
}

@media only screen and (min-width: 720px) {
  .market-lead-title {
    font-size: 2em;
  }
}

@media only screen and (min-width: 800px) {
  .market-lead-title {
    font-size: 2.5em;
  }
  .feature-image {
    padding: 40px;
  }
}

@media only screen and (min-width: 960px) {
  .market-lead-title {
    font-size: 2.7em;
  }
}

.main-content {
  background: #fff url("/images/bg-maincontent.jpg") right top no-repeat;
  background-size: contain;
  max-width: var(--maxwidth);
  margin: 0 auto;
  padding: var(--padding);
}

.lead-image {
  margin-inline: calc(var(--padding) * -0.875);
  margin-bottom: var(--padding);
}

.maincontent {
  margin-bottom: 1.5em;
  text-wrap: pretty;
}

.sidebar {
  margin-bottom: 1.5em;
}

@media only screen and (min-width: 720px) {
  .two-col-wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
  }
  .two-col-wrap .maincontent {
    width: calc(70% - 30px);
  }
  .two-col-wrap .sidebar {
    width: 30%;
  }
}

@media only screen and (min-width: 800px) {
  .two-col-wrap .maincontent {
    width: calc(70% - 35px);
  }
}
@media only screen and (min-width: 960px) {
  .two-col-wrap .maincontent {
    width: calc(70% - 40px);
  }
}

.surcharge-btn {
  margin-bottom: 3em;
}

.surcharge-btn a {
  display: block;
  padding: 1em;
  padding-right: 8em;
  background-color: #777;
  color: #fff;
  background-image: url("/images/surcharge-btn-arrow.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.15);
}

.surcharge-btn a:hover {
  background-color: #444;
  color: #fff;
  box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.25);
}

@media only screen and (min-width: 720px) {
  .surcharge-btn a {
    padding: 1.5em;
    padding-right: 8em;
  }
}

.btn-title {
  font-size: 1.25em;
  line-height: 1.1;
  letter-spacing: var(--letterspacing);
  font-weight: 700;
  margin: 0 0 0.5em;
}

.btn-note {
  font-size: 0.875em;
  line-height: 16px;
  background: url("/images/ico-pdf.jpg") left center no-repeat;
  background-size: contain;
  padding-left: 24px;
}

/* sidebar   */

.subnav {
  margin: 0 0 1em;
}

.subnav a {
  display: block;
}

.subnav a.current {
  text-decoration: none;
}

.sidebar > * + * {
  margin-top: 1rem;
}

.sidebar-cta a {
  display: block;
}

.sidebar-content {
  border: dashed 1px var(--clr-palegray);
  font-size: 0.875em;
  padding: calc(var(--padding) * 0.5);
  text-wrap: pretty;
}

.sidebar-content * + h4 {
  border-top: solid 1px var(--clr-palegray);
  margin-top: 1rem;
  padding-top: 1rem;
}

.sidebar-content > :last-child {
  margin-bottom: 0;
}

.home-news .home-news-title {
  color: #f3521c;
}

.home-news .item {
  margin: 10px 0 0;
}

.home-news .item a {
  display: block;
  text-decoration: none;
  font-size: 0.875em;
  line-height: 1.3;
  border-top: solid 2px var(--clr-palegray);
  padding: 10px 0;
}

.home-news .item a:hover {
  border-color: #bcbec0;
  color: #f3521c;
}

@media only screen and (max-width: 719.99px) {
  .show-hide-btn {
    transition: all 0.15s ease;
  }
  .show-hide-btn:hover {
    cursor: pointer;
    background-color: #333;
  }
  .show-hide-content {
  }
  .show-hide-content.hidden {
    display: none;
  }
}

/* grades search */

.grades-search {
  display: flex;
  flex-direction: column-reverse;
}

.alert {
  background-color: #f3521c;
  color: #fff;
  font-weight: 400;
  font-size: 1.1em;
  padding: 0.4em 0.6em;
  margin: 0 0 1em;
}

.grades-filter {
  border: solid 1px var(--clr-palegray);
}

.filter-title {
  background-color: #f3521c;
  color: #fff;
  padding: 8px 12px;
  font-size: 0.875em;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: var(--letterspacing);
}

.filter-title span {
  display: none;
}

@media only screen and (max-width: 719.99px) {
  .grades-sidebar {
    display: none;
  }

  .filter-title {
    border-radius: 4px;
    padding: 12px 18px;
    font-size: 1em;
    text-align: center;
  }
  .filter-title span {
    display: inline;
  }
}

.grades-filter form {
  margin: 12px;
  font-size: 0.875em;
  letter-spacing: var(--letterspacing);
}

.grades-filter fieldset {
  border: none;
  padding: 0 0 12px;
  margin: 0 0 12px;
  border-bottom: dashed 1px var(--clr-palegray);
}

.grades-filter legend {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: var(--letterspacing);
}

.grades-filter label {
  padding-left: 4px;
  color: #222;
}
.grades-filter input,
.grades-filter label:hover {
  cursor: pointer;
}

.grades-filter input[type="checkbox"]:checked + label {
  color: #f3521c;
}

.grades-filter button {
  padding: 0.4em 0.8em;
  background-color: #f3521c;
  color: #fff;
  font-size: 1em;
  letter-spacing: var(--letterspacing);
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
}

@media only screen and (min-width: 720px) {
  .grades-search {
    flex-direction: row;
  }
}

.grades-listing .grade-description {
  display: none;
}

.grades-listing th {
  width: 33.333%;
}

td.grade-name {
  font-weight: 700;
}

@media only screen and (min-width: 540px) {
  .grades-listing th {
    width: 20%;
  }
  .grades-listing .grade-description {
    display: table-cell;
    width: 40%;
  }
}

/* grade cards */

.card-group {
  margin: 0 0 1.2em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
  gap: 1.5rem;
}

@media only screen and (min-width: 540px) {
  .card-group {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.card {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transition: all 150ms ease;
}

.card-group .card-title {
  background-color: #888;
  padding: 0.75rem 1rem;
  font-weight: 700;
  color: #fff;
  font-size: 1em;
  line-height: 1;
  letter-spacing: var(--letterspacing);
}

.card-group .card-content {
  padding: 1rem;
  font-size: 0.875em;
  line-height: 1.3;
}

.grade-cards .card {
  display: grid;
  grid-template-rows: auto 1fr;
}

.grade-cards .card-content {
  display: grid;
  gap: 1rem;
}

.grade-cards .card-content > * {
  margin: 0;
}

.grade-cards .card-content > p:last-child {
  margin: auto 0 0;
  text-wrap: pretty;
}

.card-graphic {
  padding: 1rem 0;
  border-bottom: solid 1px var(--clr-palegray);
  margin: 0 1rem;
}

.card-graphic img {
  max-height: 150px;
  object-fit: contain;
  object-position: center;
}

.approvals-cards .card-graphic {
  padding: 20px 30px;
}

.approvals-cards .card-graphic img {
  aspect-ratio: 9/4;
}

.approvals-cards .card-content {
  font-size: 0.875em;
}

.certifcations {
  --cols: 1;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(var(--cols), 1fr);
}

.certifcations-title {
  font-size: 1.125em;
  font-weight: 700;
  color: #0064a5;
  letter-spacing: var(--letterspacing);
  margin-bottom: 1rem;
  padding-bottom: 0.625rem;
  border-bottom: solid 1px var(--clr-palegray);
}

.certifcations ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.certifcations ul li {
  margin: 0.75em 0 0;
  padding: 0;
  font-size: 0.875em;
  line-height: 1.2;
}

@media only screen and (min-width: 540px) {
  .certifcations {
    --cols: 2;
  }
}

@media only screen and (min-width: 800px) {
  .certifcations {
    --cols: 4;
  }
}

.certifcations-cards .card-content {
  padding-top: 9px;
}

.certifcations-cards .card-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.certifcations-cards .card-content ul li {
  margin: 0;
}

.certifcations-cards .card-content ul li a {
  display: block;
  background-color: #fff;
  padding: 6px 0;
  border-bottom: dotted 1px var(--clr-palegray);
  text-decoration: none;
}

.certifcations-cards .card-content ul li:last-child a {
  border: none;
}

.certifcations-cards .card-content ul li a:hover {
}

.services-cards .card {
  position: relative;
}
.services-cards .slide-title {
  font-size: 1.125em;
  letter-spacing: var(--letterspacing);
}

/* sliders  */

.home-slider {
  margin: 0 0 1.5em;
}

@media only screen and (min-width: 540px) {
  .home-slider-wrap {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin: 0 0 1.5em;
  }
  .home-slider {
    width: 49%;
    margin: 0;
  }
}

.home-slider .slider-title {
  letter-spacing: var(--letterspacing);
  font-weight: 700;
  color: #004166;
  margin: 0 0 0.5em;
  font-size: 1.25em;
}

.home-slider a {
  text-decoration: none;
  display: block;
  position: relative;
}

.slide-title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  margin-top: 2px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 8px 20px;
  font-size: 0.875em;
  font-weight: 700;
  color: rgba(255, 255, 255, 1);
}

.home-slider a:hover .slide-title {
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
  gap: 0.25rem;
}

.products-grid-item a {
  display: block;
  position: relative;
  background-color: rgba(5, 66, 100, 1);
}

.products-grid-item .caption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.66);
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 0.875em;
  letter-spacing: var(--letterspacing);
  line-height: 1.1;
  transition: background-color 150ms ease-out;
}

.products-grid-item a:hover img,
.products-grid-item a:focus img {
  opacity: 0.25;
  opacity: 1;
  filter: opacity(0.25) grayscale(1) contrast(1.5);
  transition: 150ms filter ease-out;
}

.products-grid-item a:hover .caption,
.products-grid-item a:focus .caption {
  background-color: rgba(0, 0, 0, 0);
}

@media only screen and (min-width: 720px) {
  .products-grid-item .caption {
    font-size: 1em;
  }
}

/* markets piechart  */

.markets-grid-wrap {
  margin: 0 calc(-1 * var(--padding)) 1em;
}

.markets-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: flex-start;
}

.markets-grid .market-item {
  width: 50%;
  border: solid 2px #fff;
}

.market-item a {
  display: block;
  text-decoration: none;
  letter-spacing: var(--letterspacing);
  font-size: 0.875em;
  position: relative;
}

.market-item-photo a {
  background-color: rgba(5, 66, 100, 1);
}

.market-item-photo .market-item-title {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 0.5em 0.75em;
  transition: all 0.2s ease;
}

.market-item-photo a:hover img {
  opacity: 0.25;
  transition: 0.2s all ease;
}

.market-item-photo a:hover .market-item-title {
  background-color: rgba(5, 66, 100, 0);
}

.market-item-text {
  background-color: #bcbec0;
  padding: 8px 12px;
}

.markets-grid-sidebar {
  margin: var(--padding);
  display: flex;
  justify-content: space-between;
}

.markets-grid-sidebar .text {
  width: 50%;
  font-size: 0.875em;
  line-height: 1.3;
}

.markets-grid-sidebar .pie-chart {
  width: 45%;
}

@media only screen and (min-width: 720px) {
  .markets-grid-wrap {
    margin: 0 -28px 1em;
  }
  .market-item-photo a {
  }
}

@media only screen and (min-width: 800px) {
  .markets-grid-wrap {
    margin: 0 -33px 2em;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
  }

  .markets-grid {
    width: 70%;
  }

  .markets-grid-sidebar {
    display: block;
    width: 30%;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 33px;
  }

  .markets-grid-sidebar .text,
  .markets-grid-sidebar .pie-chart {
    width: 100%;
  }

  .market-item a {
    font-size: 1.15em;
  }
}

@media only screen and (min-width: 960px) {
  .markets-grid-wrap {
    margin: 0 -38px 1em;
  }

  .market-item a {
    font-size: 1.3em;
  }

  .markets-grid-sidebar {
    margin-left: 38px;
  }
}

/* tag menu */

.tag-menu {
  margin: 0 0 1.2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.tag-menu a {
  margin: 0 1em 0.5em 0;
  padding-bottom: 2px;
  font-size: 0.875em;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: solid 2px #f5f5f5;
}

.tag-menu a.current {
  border-color: #f3531d;
}

.jobs-list {
  margin: 0 0 1.5em;
  border-bottom: solid 2px var(--clr-palegray);
}

.jobs-list .job a {
  display: block;
  text-decoration: none;
  border-top: solid 2px var(--clr-palegray);
  padding: 0.9em;
}

.job a:hover {
  background-color: var(--clr-palegray);
}

.job .job-title {
  margin: 0 0 0.2em;
  color: #f3531d;
  letter-spacing: var(--letterspacing);
  font-weight: 400;
}

.job .job-location {
  font-size: 0.875em;
  font-style: italic;
}

.main-content table {
  width: 100%;
  margin: 0 0 1.5em;
  border-collapse: collapse;
  font-size: 0.875em;
}

th,
td {
  padding: 6px;
  border-right: solid 1px rgba(255, 255, 255, 0.2);
}

th {
  background-color: #004167;
  color: #fff;
  letter-spacing: var(--letterspacing);
  font-weight: 400;
  line-height: 1.1;
}

td {
  background-color: var(--clr-palegray);
  border-top: solid 1px rgba(0, 0, 0, 0.1);
  line-height: 1.3;
  transition: all 0.2s ease;
}

tr:nth-child(odd) td {
  background-color: var(--clr-palegray);
}

tr:hover td {
  background-color: #fff;
}

@media only screen and (min-width: 720px) {
  .main-content table {
    font-size: 0.875em;
  }
  th,
  td {
    padding: 9px;
  }
}

/* leadership team */

.leadership-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: 1rem;
}

.leadership-card {
  display: grid;
  grid-template-columns: 2fr 3.75fr;
  align-items: center;
  gap: 1rem;
}

/* .leadership-list:has(.leadership-bio) .leadership-card {
  grid-template-columns: 1fr;
  justify-items: start;
  align-items: start;
} */

.leadership-photo img {
  border-radius: 2px;
}

.leadership-info {
  font-size: 0.875em;
  line-height: 1.2;
}

.leadership-name {
  font-weight: 700;
}

.leadership-title {
  margin-top: 0.375em;
  font-style: italic;
  text-wrap: balance;
}

.leadership-bio {
  margin-top: 0.75em;
  text-wrap: pretty;
}

/* footer */

footer {
  background: var(--clr-palegray);
  background-size: contain;
  padding: var(--padding);
  max-width: var(--maxwidth);
  margin: 0 auto;
  position: relative;
  isolation: isolate;
}

.footerColumns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--padding);
  margin-bottom: var(--padding);
}

.footer-logo {
  grid-column: span 2;
}

.footer-logo img {
  width: 140px;
}

footer + footer {
  margin-top: 2px;
}

@media only screen and (min-width: 720px) {
  .footer-logo {
    grid-column: auto;
  }

  .v1 .footerColumns {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }

  .v2 .footerColumns {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  }
}

.footer-facility {
  font-size: 0.875em;
  line-height: 1.3;
}

.footer-facility .facility-title {
  font-weight: 700;
  letter-spacing: var(--letterspacing);
  padding: 0 0 8px;
  border-bottom: solid 1px rgba(255, 255, 255, 0.5);
  margin: 0 0 0.5em;
  transition: color 150ms ease;
  text-wrap: balance;
}

.footer-facility .facility-title {
  color: #0064a5;
}
.footer-facility a:hover .facility-title {
  border-color: #fff;
}

.footer-facility .facility-details *:last-child {
  margin-bottom: 0;
}

.copyright {
  margin: 0;
  font-size: 0.75em;
  margin-top: 1.5em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.copyright > a {
  display: block;
  width: min(20%, 120px);
}

/* aperam banner */

.aperam-announcement {
  background-color: #fff;
  box-shadow: 0 0 1.5rem rgb(0 0 0 / 0.15);
  display: grid;
  margin-bottom: var(--padding);
}

.aperam-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: var(--padding);
}

.aperam-logo {
  background-image: linear-gradient(to right, #74166a, #bb6e0c);
  padding: min(2rem, 10vw);
  display: grid;
  place-items: center;
}

.aperam-logo img {
  padding: calc(var(--padding) * 0.5) var(--padding);
  object-fit: contain;
  max-width: 280px;
}

.aperam-headline {
  font-weight: 400;
  font-size: 1.875rem;
  font-size: clamp(1.375rem, 1.1103rem + 1.1765vw, 1.875rem);
  line-height: 1.2;
  color: hsl(201, 87%, 27%);
  text-wrap: balance;
}

.aperam-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.aperam-buttons a {
  display: flex;
  background-color: hsl(201, 87%, 27%);
  padding: 0.5em 1em;
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.aperam-buttons a:hover {
  background-color: hsl(201, 87%, 15%);
}

@media only screen and (min-width: 720px) {
  .aperam-announcement {
    grid-template-columns: 1fr 288px;
  }
}

/* aperam tag */

.aperam-tag {
  position: fixed;
  top: 140px;
  right: 0;
  background: white;
  box-shadow: 0 0 8px rgb(0 0 0 / 0.15);
}

.aperam-tag a {
  display: block;
}

/* Clearfix ---------------------------------- */

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* for embedded media */

.main-content .flexObject {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.main-content .flexObject iframe,
.main-content .flexObject object,
.main-content .flexObject embed {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

a[href*="75.103.65.119"] {
  border: solid 6px red !important;
}

/* DEBUGIN */

/*

.content {
	border-top: 1px solid blue;
	border-bottom: 1px solid red;
}

a[href="#"], 
a[href=""], 
[href*="document//"],
[href*="research//"],
[href*="/pages/"],
{ 
	background-color: yellow !IMPORTANT; 
}

*/
