/*
 * PMEA site stylesheet.
 * Recreates the look of the old Joomla template (Bootstrap 3 + template.css) with grid and flexbox.
 * Measurements come from the old CSS; the desktop container is 1170 px wide, as Bootstrap's was.
 */

/* ---------- Fonts (OFL, see /assets/fonts/OFL.txt) ---------- */

@font-face {
  font-family: "PT Sans";
  src: url("/assets/fonts/pts55f-webfont.woff2") format("woff2"), url("/assets/fonts/pts55f-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Sans";
  src: url("/assets/fonts/pts75f-webfont.woff2") format("woff2"), url("/assets/fonts/pts75f-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("/assets/fonts/bebasneue-webfont.woff2") format("woff2"), url("/assets/fonts/bebasneue-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */

:root {
  --blue: #165992;
  --gold: #e7a801;
  --gold-light: #edbf47;
  --text: #5f6062;
  --blue-grey: #265166;
  --grey-light: #e5e5e5;
  --grey-lighter: #eee;
  --grey-rule: #d8d8d8;
  /* Other values from the old template */
  --link: #428bca;
  --tab: #e1e1e1;
  --tab-active: #b0b0b0;
  --tab-text: #525252;
  --ink: #2a2a2a;
  --orange: #eb8f01;
  --footer-rule: #90b0cb;

  --font: Arial, Helvetica, sans-serif;
  --font-black: "Arial Black", Arial, sans-serif;
  --font-serif: "Times New Roman", Times, serif;
  --font-pt: "PT Sans", Arial, sans-serif;

  --container: 1170px;
  --gutter: 15px;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  border-top: 8px solid var(--blue);
  background: #fff;
  color: var(--blue-grey);
  font: 14px/1.42857 var(--font);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}

p {
  margin: 0 0 10px;
}

/* Bootstrap 3 list spacing, as on the old pages. */
ul,
ol {
  margin: 0 0 10px;
}
li > ul,
li > ol {
  margin-bottom: 0;
}

h1 {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: 27px;
  font-weight: bold;
  line-height: 1.1;
  text-transform: uppercase;
}

main h2 {
  margin: 20px 0 10px;
  color: var(--text);
  font-size: 29px;
  font-weight: normal;
  line-height: 1.1;
}

/* The old glossary and job pages used Bootstrap's plain h1, not the uppercase page title. */
main:has(#glossarylist) > h1,
main:has(input[name="job"]:not([value=""])) > h1 {
  color: inherit;
  font-size: 36px;
  font-weight: 500;
  text-transform: none;
}

/* Team members, fields of activity and client groups: a rule above each, the name in bold body text
   (old <hr> and <strong> lines). */
main > section[id],
main > section:has(> p > .back-to-top) {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--grey-lighter);
}
main > section[id] > h2,
main > section:has(> p > .back-to-top) > h2 {
  margin: 0 0 10px;
  color: inherit;
  font: bold 14px/1.42857 var(--font);
}

/* Useful links: each group name is a bullet with its links in a nested circle list. */
main > section:has(> .link-list) > h2 {
  display: list-item;
  margin: 0 0 0 40px;
  color: inherit;
  font: 14px/1.42857 var(--font);
  list-style: disc;
}
.link-list {
  margin: 0 0 0 40px;
  list-style: circle;
}

/* FAQ questions (the old page listed them as blue links between thin rules). */
[data-page="faq"] main > h2 {
  padding-top: 8px;
  border-top: 1px solid var(--grey-light);
  color: var(--link);
  font-size: 16px;
  line-height: 1.42857;
}

button,
input {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: -9999px;
  z-index: 100;
  padding: 8px 12px;
  background: #fff;
  color: var(--blue);
}
.skip-link:focus {
  left: 8px;
}

/* ---------- Header: firm name, tagline, language tab, "contact" target ---------- */

.header-inner {
  position: relative;
  min-height: 106px;
  padding-top: 10px;
  background: url("/assets/img/top_bg1.png") no-repeat 0 31px;
}

.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  width: 98px;
  height: 31px;
  border-radius: 0 0 8px 8px;
  background: var(--gold);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  line-height: 31px;
  text-align: center;
  transition: background-color 0.5s linear;
}
.lang-switch:hover,
.lang-switch:focus {
  background: var(--gold-light);
  text-decoration: none;
}

.brand {
  color: var(--blue);
}
.brand-name {
  color: inherit;
  font: 30px/1.42857 var(--font-serif);
}
.brand-name:hover {
  text-decoration: none;
}
.tagline {
  margin: 8px 0 0;
  color: var(--blue);
  font: 18px/18px var(--font);
}

.header-contact {
  position: absolute;
  top: 25px;
  right: 100px;
  width: 198px;
  height: 57px;
  padding-left: 60px;
  background: url("/assets/img/btn_target.png") no-repeat 0 0;
  color: #fff;
  font-weight: bold;
  line-height: 54px;
  text-transform: uppercase;
}
.header-contact:hover,
.header-contact:focus {
  color: #00aeef;
  text-decoration: none;
}

/* ---------- Banner + menu box ---------- */

.top-box {
  min-height: 348px;
  padding: 4px 4px 0;
  box-shadow: 5px 5px 20px 0 rgba(0, 0, 0, 0.75);
}

.banner {
  display: grid;
  grid-template-columns: 3fr 1fr;
}

.banner-image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 893 / 284;
  object-fit: cover;
}

.banner-panel {
  position: relative;
  margin-left: 5px;
  padding: 30px 7% 68px;
  background: var(--blue);
  color: #fff;
}

.banner-headline {
  margin: 0;
  font: 900 22px/24px var(--font-black);
  text-transform: uppercase;
}

.banner-text {
  margin: 10px 0 0;
  color: #fff;
}

.banner-button {
  position: absolute;
  bottom: 15px;
  left: 7%;
  width: 86%;
  height: 38px;
  background: var(--tab);
  color: var(--text);
  font: 900 15px/38px var(--font-black);
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.5s linear;
}
.banner-button:hover,
.banner-button:focus {
  background: #c4c2c2;
  text-decoration: none;
}

/* ---------- Main menu: six grey tabs, dropdowns on hover and keyboard focus ---------- */

.site-menu {
  margin-top: 5px;
}

.menu-toggle {
  display: none;
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-item {
  position: relative;
}

.menu-item > a,
.menu-item > button {
  display: block;
  width: 100%;
  height: 55px;
  padding: 0;
  border: 0;
  background: var(--tab);
  box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.75);
  color: var(--tab-text);
  font: 13px/55px var(--font);
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}
.menu-item > a:hover,
.menu-item > a:focus {
  text-decoration: none;
}

.has-children > a,
.has-children > button {
  padding-left: 12px;
}
.has-children > a::before,
.has-children > button::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10px;
  border-style: solid;
  border-width: 12px 8px 0;
  border-color: #7c7c7c transparent transparent;
}

.menu-item:hover > a,
.menu-item:hover > button,
.menu-item:focus-within > a,
.menu-item:focus-within > button,
.menu-item.active > a,
.menu-item.active > button {
  background: var(--tab-active);
  color: #fff;
}
.menu-item:hover > a::before,
.menu-item:hover > button::before,
.menu-item:focus-within > a::before,
.menu-item:focus-within > button::before,
.menu-item.active > a::before,
.menu-item.active > button::before {
  border-top-color: #fff;
}

.menu-item > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 5%;
  z-index: 10;
  width: 90%;
  margin: 0;
  padding: 10px 0;
  background: #000;
  list-style: none;
}
.menu-item > ul::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  margin-left: -5px;
  border-style: solid;
  border-width: 0 5px 5px;
  border-color: transparent transparent #000;
}
.menu-item:hover > ul,
.menu-item:focus-within > ul {
  display: block;
}

.menu-item > ul a {
  display: block;
  padding: 3px 4px;
  color: #9a9a9a;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s linear;
}
.menu-item > ul a:hover,
.menu-item > ul a:focus {
  background: var(--tab-active);
  color: #000;
  text-decoration: none;
}

/* ---------- Page: content column + sidebar ---------- */

.page {
  display: grid;
  grid-template-columns: 3fr 1fr;
  padding-inline: var(--gutter);
}

main {
  min-width: 0;
  padding: 20px 70px 25px var(--gutter);
  /* A long word or URL typed by an editor wraps instead of running off the page (body hides horizontal overflow). */
  overflow-wrap: break-word;
}
/* In a table, break-word does not let a cell get narrower than its longest word; anywhere does. Only the last column
   (glossary definitions), so terms keep whole words. */
main td:last-child {
  overflow-wrap: anywhere;
}

.sidebar {
  margin: 15px 0 25px;
  padding: 25px 0 0 var(--gutter);
  border-left: 1px solid var(--grey-rule);
}

.sidebar-search {
  display: flex;
  padding: 0 25px 25px 0;
  border-bottom: 2px solid var(--grey-light);
}
.sidebar-search input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 4px;
  border: 0;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
}
.sidebar-search input::placeholder {
  color: #fff;
  opacity: 1;
}
.sidebar-search button {
  padding: 6px 12px;
  border: 0;
  background: var(--grey-lighter);
  color: #333;
  cursor: pointer;
}

.sidebar-block {
  margin-top: 15px;
  padding: 0 25px 25px var(--gutter);
  border-bottom: 2px solid var(--grey-light);
}
.sidebar-title {
  margin: 0 0 5px;
  color: var(--blue);
  font: 29px/1.42857 var(--font);
}

.sidebar-glossary a {
  color: var(--blue-grey);
}
.sidebar-glossary img {
  display: block;
  margin: 0 auto;
}
.sidebar-glossary span {
  display: block;
  margin-top: 10px;
}
.sidebar-glossary span::before {
  content: "> ";
}

.sidebar-contact a[href^="tel:"] {
  color: inherit;
}

.small-button {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid #767676;
  border-radius: 2px;
  background: #efefef;
  color: #000;
  font-size: 14px;
  line-height: 20px;
  cursor: pointer;
}
.small-button:hover,
.small-button:focus {
  background: #e5e5e5;
  text-decoration: none;
}

.sidebar-newsletter {
  padding-right: 60px;
  border-bottom: 0;
}

/* The old contact page did not repeat the contact block in its sidebar. */
[data-page="contact"] .sidebar-contact {
  display: none;
}
.sidebar-newsletter input[type="email"] {
  display: block;
  width: 90%;
  height: 30px;
  margin: 15px 0;
  padding: 3px;
}

/* ---------- Gold "fields of activity" band ---------- */

.band {
  margin-bottom: 25px;
  padding: 25px 0;
  background: var(--gold);
}

.band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.band-intro {
  padding-inline: var(--gutter);
}

.band-title {
  margin: 0;
  color: var(--ink);
  font: 46px/46px var(--font);
}
.band-title span {
  display: block;
}

.band-subtitle {
  margin: 10px 0 0;
  padding-right: 25px;
  color: var(--ink);
  font: 21px/21px var(--font);
}

.band-list {
  margin: 40px 0 0;
  padding-left: 40px;
  list-style: none;
}
.band-list li {
  padding-left: 15px;
}
.band-list li::before {
  content: ">";
  margin-left: -20px;
  padding-right: 10px;
  color: var(--ink);
  font-size: 18px;
}
.band-list a {
  color: #fff;
  font-size: 20px;
}

/* ---------- Associations logo row ---------- */

.associations {
  margin: 25px 0;
}

.associations-inner {
  padding-inline: var(--gutter);
}

.associations-title {
  margin: 0;
  color: #6e6e6e;
  font: 44px/1.42857 var(--font);
}

.logo-list {
  display: flex;
  flex-wrap: wrap;
  margin: 15px 0;
  padding-left: 40px;
  list-style: none;
}
.logo-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 11%;
  height: 100px;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 50px 0 20px;
  background: var(--blue);
  color: #fff;
}
.site-footer a {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 5fr 5fr;
}

.footer-col {
  min-height: 260px;
}
/* Rule 15 px into the gap, then text one twelfth of the container further on (old col-lg-1 spacer). */
.footer-col + .footer-col {
  margin-left: 15px;
  padding-left: calc(20% - 16px);
  border-left: 1px solid var(--footer-rule);
}

.footer-title {
  margin: 15px 0 0;
  font: 700 21px/1.42857 var(--font-pt);
  text-transform: uppercase;
}

.footer-links {
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}
.footer-links li {
  padding-bottom: 5px;
}
.footer-links a {
  font: 15px/1.42857 var(--font-pt);
}

.footer-activities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-firm {
  margin: 15px 0 0;
  font: 22px/1.42857 var(--font-serif);
}
.footer-tagline {
  margin: 0;
  font: bold 15px/15px var(--font);
}
.footer-address,
.footer-phone {
  margin: 30px 0 10px;
  font: 15px/17px var(--font-pt);
}
.footer-phone {
  margin-top: 0;
}

.question-button {
  width: 152px;
  height: 40px;
  margin: auto 0 20px;
  background: var(--orange);
  font: 700 21px/40px var(--font-pt);
  text-align: center;
  transition: background-color 0.5s linear;
}
.site-footer .question-button {
  color: var(--ink);
}
.question-button:hover,
.question-button:focus {
  background: var(--gold-light);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 30px;
  padding: 34px var(--gutter) 0;
}
.copyright {
  margin: 0;
  font: 16px/1.42857 var(--font-pt);
}
.back-to-top {
  font: 14px/1.6 var(--font-pt);
}

/* ---------- Glossary pages ---------- */

.glossary-count {
  margin: 0;
}

.glossary-bar {
  padding: 15px 0;
  font-weight: bold;
  text-align: center;
}
.glossary-bar a {
  padding: 2px;
}
.glossary-bar [aria-current] {
  padding: 4px;
  border: 2px solid #888;
  border-radius: 2px;
}

#glossarylist {
  width: 100%;
  border-collapse: collapse;
}
#glossarylist thead {
  border-bottom: 1px solid #bbb;
}
#glossarylist th {
  padding-bottom: 10px;
  text-align: left;
}
#glossarylist th:first-child {
  width: 25%;
}
#glossarylist td {
  padding: 5px;
  vertical-align: baseline;
}
#glossarylist td p:last-child {
  margin-bottom: 0;
}

/* ---------- Medium desktops (old Bootstrap md: 992-1199 px) ---------- */

@media (max-width: 1199px) {
  .banner-headline {
    font-size: 16px;
    line-height: 20px;
  }
  .banner-panel {
    padding-top: 10px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    max-width: 970px;
  }
}

/* Old col-lg-offset-1 col-lg-10: one twelfth of the container on each side. */
@media (min-width: 1200px) {
  .associations-inner {
    padding-inline: calc(var(--container) / 12 + var(--gutter));
  }
}

/* ---------- Below 992 px: one column (old Bootstrap sm and xs) ---------- */
/* As on the old site: the page text starts at the container's left edge and stops 15 px short of its right. */

@media (max-width: 991px) {
  .top-box {
    min-height: 0;
  }
  .banner {
    grid-template-columns: 1fr;
  }

  .menu-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .page {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter) 0 0;
  }
  /* The sidebar follows the text 15 px below it, as on the old site. */
  main {
    padding: 20px 40px 0 0;
  }
  main > :last-child {
    margin-bottom: 0;
  }
  /* Glossary and contact side by side (old col-xs-6). */
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .sidebar-search,
  .sidebar-newsletter {
    grid-column: 1 / -1;
  }

  .band-inner {
    grid-template-columns: 1fr;
    padding: 0 var(--gutter) 0 0;
  }
  .band-intro {
    padding-inline: 0;
  }
  .band-title {
    font-size: 38px;
    line-height: 38px;
  }
  .band-title span {
    display: inline;
  }
  .band-subtitle {
    padding-right: 15px;
    font-size: 18px;
  }
  .band-list {
    margin: 0;
    padding-left: 25px;
  }
  .band-list li {
    padding-left: 0;
  }
  .band-list a {
    font-size: 18px;
  }

  .associations-inner {
    padding: 0 var(--gutter) 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-col,
  .footer-col + .footer-col {
    min-height: 0;
    margin: 0 0 20px;
    padding: 0;
    border: 0;
  }
  .question-button {
    margin: 10px 0 0;
  }
}

/* ---------- Tablets (768-991 px): a centred 750 px column, the banner panel under the image ---------- */

@media (min-width: 768px) and (max-width: 991px) {
  .container {
    max-width: 750px;
  }
  .banner-panel {
    min-height: 229px;
  }
  .band-list + .band-list {
    margin-top: 25px;
  }
  .band-list:last-child {
    margin-bottom: 10px;
  }
}

/* ---------- Phones (below 768 px): menu bar at the top of the page ---------- */

@media (max-width: 767px) {
  .container {
    padding-inline: var(--gutter);
  }
  .page {
    padding-left: 0;
  }

  .header-inner {
    background-position: var(--gutter) 31px;
  }
  .lang-switch {
    right: var(--gutter);
  }
  .header-contact {
    display: none;
  }
  .brand {
    padding-right: 105px;
  }
  .brand-name {
    font-size: 22px;
    line-height: 1.2;
  }
  .tagline {
    font-size: 15px;
    line-height: 16px;
  }

  /* The menu button is a full-width bar above the header (old "Menu Mobile"); the open menu drops down from it. */
  body {
    position: relative;
  }
  .site-header {
    padding-top: 49px;
  }
  .site-menu {
    margin-top: 0;
  }
  .menu-toggle {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 49px;
    padding: 0 50px 0 14px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    background: var(--tab-active);
    color: #fff;
    font: 14px/48px var(--font);
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
  }
  .menu-toggle::after {
    content: "\25BC";
    content: "\25BC" / "";
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    font-size: 16px;
    text-align: center;
  }

  .menu-list {
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-menu.is-open .menu-list,
  .site-menu:not(.js):focus-within .menu-list {
    display: block;
    position: absolute;
    top: 49px;
    left: 0;
    z-index: 20;
    width: 100%;
  }

  .menu-item > a,
  .menu-item > button {
    height: auto;
    padding: 12px 15px;
    border-top: 1px solid #fff;
    box-shadow: none;
    line-height: 1.4;
    text-align: left;
  }
  .has-children > a,
  .has-children > button {
    padding-left: 15px;
  }
  .has-children > a::before,
  .has-children > button::before,
  .menu-item > ul::before {
    display: none;
  }
  .menu-item > ul {
    display: block;
    position: static;
    width: auto;
    padding: 0;
    background: none;
  }
  .menu-item > ul a {
    padding: 10px 15px 10px 30px;
    border-top: 1px solid #fff;
    background: var(--tab);
    color: var(--tab-text);
    text-align: left;
  }

  .top-box {
    width: auto;
    margin-inline: var(--gutter);
    padding: 4px;
  }
  .banner-panel {
    min-height: 140px;
    margin: 0;
    padding: 10px 1% 60px;
  }
  .banner-button {
    right: 10px;
    bottom: 10px;
    left: auto;
    width: 200px;
  }

  main {
    padding: 20px var(--gutter) 0;
  }
  .sidebar-glossary,
  .sidebar-contact {
    border-bottom: 0;
  }
  .sidebar-newsletter {
    margin-bottom: 25px;
    padding-top: 25px;
    border-top: 2px solid var(--grey-light);
  }

  /* The old band showed only its subtitle on phones. */
  .band-title {
    display: none;
  }
  .band-subtitle {
    margin: 0 0 15px;
  }

  .associations-title {
    font-size: 30px;
  }
  .logo-list {
    padding-left: 0;
  }
  .logo-list li {
    width: 20%;
  }
}

@media (max-width: 640px) {
  main h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .associations-title {
    font-size: 20px;
  }
  .logo-list li {
    width: 25%;
  }
}

@media (max-width: 420px) {
  .header-inner {
    background-position: calc(var(--gutter) - 100px) 31px;
  }
  .brand-name {
    font-size: 18px;
  }
  .tagline {
    font-size: 14px;
  }

  main {
    padding-top: 0;
  }
  h1 {
    font-size: 18px;
  }
  main h2 {
    margin-top: 10px;
    font-size: 16px;
  }

  /* The old sidebar dropped its contact block on narrow phones. */
  .sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar-contact {
    display: none;
  }
  .sidebar-glossary {
    padding-bottom: 15px;
  }
}

/* ---------- Forms: careers, jobs, survey ---------- */

.apply-form .field,
.survey-form .field {
  margin: 0 0 14px;
}
.apply-form label,
.survey-form label {
  display: block;
  margin-bottom: 4px;
  font-weight: bold;
}
.apply-form input[type="text"],
.apply-form input[type="tel"],
.apply-form input[type="email"],
.apply-form input[type="file"],
.apply-form select,
.survey-form input[type="text"],
.survey-form textarea {
  width: 100%;
  max-width: 460px;
  padding: 6px 8px;
  font: inherit;
  box-sizing: border-box;
}
.apply-form small {
  display: block;
  font-weight: normal;
}
/* The old careers page showed these as plain links. */
.apply summary,
.open-positions summary {
  color: var(--link);
  list-style: none;
  cursor: pointer;
}
.apply summary::-webkit-details-marker,
.open-positions summary::-webkit-details-marker {
  display: none;
}
.survey-form textarea {
  max-width: none;
}
.job-list {
  margin-top: 16px;
}
/* The old forms' Bootstrap btn-primary shape, in the site blue (white text stays above 4.5:1). */
.btn {
  padding: 6px 12px;
  border: 1px solid var(--blue);
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.btn:hover,
.btn:focus-visible {
  border-color: var(--blue-grey);
  background: var(--blue-grey);
}
.btn:focus-visible {
  outline: 2px solid var(--blue-grey);
  outline-offset: 2px;
}
.survey {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.survey th,
.survey td {
  padding: 8px;
  border-top: 1px solid #ddd;
  text-align: center;
}
.survey thead th {
  border-top: 0;
  border-bottom: 2px solid #ddd;
  vertical-align: bottom;
  font-weight: normal;
}
.survey th[scope="row"],
.survey thead th:first-child {
  text-align: left;
}
.survey thead th:first-child {
  vertical-align: top;
  font-weight: bold;
}
.survey th[scope="row"] {
  font-weight: normal;
}
@media (max-width: 600px) {
  .survey {
    font-size: 13px;
  }
  .survey th,
  .survey td {
    padding: 4px 2px;
  }
}

/* Honeypot: off screen for people, still in the page for bots. Its label tells screen readers to leave it empty. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
