/* stylelint-disable no-descending-specificity */
header {
  --header-ribbon-height: 56px;
  --header-nav-height: calc(var(--header-height) - var(--header-ribbon-height));

  position: static;
  top: calc(-1 * var(--header-ribbon-height));
  background: linear-gradient(var(--gray-5) var(--header-ribbon-height), white var(--header-ribbon-height));
  z-index: 20;
  transition: box-shadow, position 350ms ease-in-out;
}

[data-nav-template='light'] header,
[data-nav-template='light-nologin'] header {
  --header-nav-height: var(--header-height);

  top: 0;
  background: white;
}

header .button-wrapper {
  margin: 0;
}

header a:any-link {
  color: currentcolor;
}

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

header .nav-wrapper {
  padding: 0 var(--section-inline-padding);
}

header section {
  display: grid;
  grid-template:
    'location location alert ' var(--header-ribbon-height)
    'brand tools hamburger' var(--header-nav-height) / 1fr auto auto;
  align-items: center;
  gap: 0 12px;
  max-width: var(--max-content-width);
  margin: 0 auto;
  transition: height 0.6s;
  animation-timing-function: ease-in;
}

[data-nav-template='light'] header section,
[data-nav-template='light-nologin'] header section {
  grid-template:
    'brand tools tools' var(--header-nav-height)
    'sections sections sections' 1fr / 1fr auto auto;
  align-items: center;
  gap: 0 12px;
  max-width: var(--max-content-width);
  margin: 0 auto;
  transition: height 0.6s;
  animation-timing-function: ease-in;
}

header section > [aria-hidden='true'] {
  display: none;
}

@media (width >= 770px) {
  header {
    box-shadow: 2px 0 10px rgb(18 18 18 / 10%);
  }

  body:not(:has(.regions)) > header {
    position: sticky;
  }

  body[data-scroll='disabled'] header.stuck {
    top: calc(var(--scroll-offset) - var(--header-ribbon-height));
  }

  body[data-scroll='disabled'].healthcare header.stuck {
    top: calc(var(--scroll-offset));
  }
}

@media (width >= 1280px) {
  header section[data-expanded='true'] {
    grid-template:
      'location location . alert language support' var(--header-ribbon-height)
      'brand sections sections sections tools tools' var(--header-nav-height) / auto auto 1fr auto auto auto;
    gap: 0 2rem;
    height: var(--header-height);
    padding-bottom: 0;
  }

  header section#nav.no-language {
    gap:0;
  }

  header section.has-utility-links {
    grid-template:
      'location location alert language utility-links support' var(--header-ribbon-height)
      'brand sections sections sections tools tools' var(--header-nav-height) / auto auto 1fr auto auto auto;
  }

  [data-nav-template='light'] header section,
  [data-nav-template='light-nologin'] header section {
    grid-template:
      'brand tools tools' var(--header-nav-height)
      'sections sections sections' 1fr / 1fr auto auto;
    gap: 0 2rem;
    padding-bottom: 0;
  }
}

header .barcode.hidden,
header #barcode-camera.hidden {
  display: none;
}

/* brand */
header .nav-brand {
  grid-area: brand;
  z-index: 15;
  width: max-content;
}

header .nav-brand .brand-content {
  margin: 0;
  line-height: 0;
}


header .nav-brand img,
header .nav-brand svg {
  height: 64px;
  width: auto;
  opacity: 0;
  animation: fade-in .75s .25s forwards;
  will-change: opacity;
}

header .nav-brand picture > img {
  width: 100%;
  height: unset;
  max-height: 64px;
  max-width: 200px;
}

header .nav-brand .brand-content > a {
  display: flex;
  margin-inline-end: auto;
  align-items: center;
  color: var(--gray-1);
  text-decoration: none;
  min-height: 4rem;
  column-gap: 0.5rem;
  font-weight: 500;
  width: max-content;
}

header .nav-brand .brand-content .text {
  line-height: 20px;
  max-width: 125px;
}

/* mobile flyout */
header .nav-mobile-flyout {
  position: absolute;
  top: var(--header-height);
  bottom: 0;
  inset-inline-end: 0;
  width: 80svw;
  max-width: 600px;
  height: calc(100dvh - var(--header-height) + var(--scroll-offset));
  background-color: white;
  padding: 2rem;
  overflow: scroll;
  overscroll-behavior: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 4px 10px rgba(18 18 18 / 30%);
  animation: slide-left 350ms forwards;
  z-index: 20;
}

@media (width >= 770px) {
  header .nav-mobile-flyout {
    height: calc(100dvh - var(--header-height) + var(--ribbon-scroll-offset));
  }
}

header .nav-mobile-flyout .nav-sections {
  justify-self: start;
  flex-grow: 1;
}

/* sections */
header .nav-sections {
  grid-area: sections;
  align-self: stretch;
  font-weight: 500;
}

header .nav-sections nav ul {
  display: flex;
  flex-direction: column;
}

header .nav-sections nav > ul > li > a,
header .nav-sections button,
header .nav-sections .subsection ul > li a{
  display: block;
  width: 100%;
  padding: 0.625rem 0;
  text-align: left;
  transition: background-color 0.35s, color 0.35s;
  cursor: pointer;
}

header .nav-sections nav > ul > li + li {
  border-top: 1px solid var(--gray-3);
}

header .nav-sections nav > ul > li:last-child {
  border-bottom: 1px solid var(--gray-3);
}

header .nav-sections nav > ul > li[data-expanded='true'] + li {
  border-top: none;
}

header .nav-sections nav > ul > li[data-expanded='true'] {
  border-bottom: none;
}

header .nav-sections nav ul li a:hover,
header .nav-sections nav ul li a:focus,
header .nav-sections button:hover,
header .nav-sections button:focus {
  text-decoration: none;
}

header .nav-sections button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5ch;
  padding: 1rem 0;
  white-space: nowrap;
}

header .nav-sections .subsection + li a {
  padding: 1rem;
  text-decoration: none;
}

header .nav-sections .subsection ul {
  font-weight: normal;
}

header .nav-sections .subsection ul:first-of-type {
  border-top: 4px solid var(--gold);
  padding-top: 0.5rem;
}

header .nav-sections .subsection ul > li a
{
  display: inline-flex;
  align-items: center;
  gap: 1ch;
  padding-inline-start: 0.75rem;
  color: var(--gray-1);
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}

[dir='rtl'] header .nav-sections .subsection ul > li a {
  text-align: right;
}

header .nav-sections .subsection ul:not(:first-of-type) > li {
  position: relative;
}

header .nav-sections .subsection ul > li a i.symbol,
header .nav-sections .subsection ul > li a span.icon-new-window {
  margin-inline-start: 0.25rem;
  transition: margin-inline-start 0.35s;
}

header .nav-sections .subsection ul > li a:hover i.symbol,
header .nav-sections .subsection ul > li a:hover span.icon-new-window {
  margin-inline-start: 0.5rem;
}

header .nav-sections .subsection ul > li a em {
  display: block;
}

header .nav-sections .subsection ul > li a i.symbol-chevron {
  transform: rotate(-90deg);
}

[dir='rtl'] header .nav-sections ul > li a i.symbol-chevron {
  transform: rotate(90deg);
}

header .nav-sections [aria-expanded='true'] i.symbol-chevron {
  transform: rotate(-180deg);
}

header .nav-sections .subsection button + div {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease-in-out, visibility .35s;
  visibility: hidden;
}

header .nav-sections .subsection button[aria-expanded='true'] + div {
  overflow-y: auto;
  max-height: calc(100vh - 12rem);
  visibility: visible;
}

@media (width >= 1280px) {
  header .nav-sections {
    border-top: none;
    overflow: auto hidden;
    align-self: center;
  }

  header .no-language .nav-sections {
    margin-left: 2rem;
  }

  .healthcare header .nav-sections {
    margin-bottom: 2rem;
  }

  header .nav-sections nav > ul:first-of-type {
    flex-direction: row;
    gap: 0 2rem;
  }

  header .nav-sections nav > ul > li + li {
    border-top: none;
  }

  header .nav-sections nav > ul > li:last-child {
    border-bottom: none;
  }

  header .nav-sections .subsection > p > a,
  header .nav-sections .subsection button {
    position: relative;
  }

  header .nav-sections .subsection > p > a::after,
  header .nav-sections .subsection button::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 0;
    height: 4px;
    border-radius: 1px;
    background-color: var(--gold);
    opacity: 0;
    transition: width 0.35s, opacity 0.35s;
  }

  header .nav-sections .subsection > p > a:hover::after,
  header .nav-sections .subsection button[aria-expanded='true']::after,
  header .nav-sections .subsection button:hover::after {
    width: 2rem;
    opacity: 1;
  }

  header .nav-sections .subsection button i.symbol {
    display: none;
  }

  header .nav-sections .subsection button[aria-expanded='false'] + div {
    display: none;
  }

  header .nav-sections .subsection button + div {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-top: 0;
    padding: 2rem max(var(--section-inline-padding), calc((100vw - var(--max-content-width)) / 2));
    padding-top: calc(1.25rem + var(--body-font-size-xs));
    background-color: var(--background-color);
    box-shadow: 0 4px 10px rgba(18 18 18 / 30%);
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: repeat(3, 400px);
    animation: slide-down 350ms forwards;
    z-index: 10;
  }

  header .nav-sections .subsection ul {
    padding: 0;
    grid-row: 2;
  }

  header .nav-sections .subsection ul:first-of-type {
    border-top: none;
  }

  header .nav-sections .subsection ul:not(:first-of-type) {
    border-top: none;
    border-inline-start: 1px solid var(--gray-3);
    padding-inline-start: 1.5rem;
  }

  header .nav-sections .subsection button[aria-expanded='true'] + div::before {
    content: attr(data-label);
    font-size: var(--body-font-size-xs);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 500;
    margin-block-end: .5rem;
    grid-row: 1;
    grid-column: 1 / -1;
  }

  header .nav-sections .subsection ul li a {
    padding: 0.625rem 0;
  }
}

/* tools */
header .nav-tools {
  grid-area: tools;
  line-height: 0;
}

header .nav-tools ul {
  display: flex;
  align-items: center;
}

header .nav-tools a:hover span {
  text-decoration: none;
}

header .nav-tools button,
header .nav-tools a.button {
  padding: 0.625rem;
}

header .nav-tools a.button .icon-new-window {
  margin-inline-start: 0;
  vertical-align: middle;
}

header .nav-tools a.button .text,
header .nav-tools a.button .symbol {
  display: none;
}

header .nav-tools a.popup-login .text,
header .nav-tools a.popup-login .symbol {
  display: inline-block;
}

header .nav-tools a.popup-sign-up .text,
header .nav-tools a.popup-sign-up .symbol {
  display: inline-block;
}

header .nav-tools a.popup-sign-up .text{
  color: inherit;
}

header .nav-tools a.prof-dashboard .text,
header .nav-tools a.prof-dashboard .symbol {
  display: inline-block;
}

header .nav-tools button .icon,
header .nav-tools button .symbol {
  font-size: var(--heading-font-size-m);
}

header .nav-tools button .icon-search {
  font-size: 1.25rem;
}

header .nav-tools button[aria-expanded='true'] .icon,
header .nav-tools button[aria-expanded='false'] .symbol {
  display: none;
}

header .nav-tools button.anonymous-btn .text,
header .nav-tools button.anonymous-btn .symbol {
  display: none;
}

header .nav-tools button.anonymous-btn .icon {
  display:inline-block;
}

header .nav-tools .user-profile-container .button{
  height: 2.75rem;
  width: 2.75rem;
  margin-inline-end: 0;
}

header .nav-tools .user-profile-container .anonymous-btn .symbol-chevron{
  font-size: 1rem;
  top: 0;
}


header .nav-tools .user-profile-btn {
  color: var(--white);
  background-color: var(--blue);
  border: none;
  text-decoration: none;
}

header .nav-tools .user-profile-container {
  position: relative;
  line-height: 1.5;
}

header a[data-hidden='true'],
header li:has(> a[data-hidden='true']) {
  display: none;
}

header .nav-tools .user-profile-container.loading {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  animation-duration: 1.8s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-name: loading;
  animation-timing-function: linear;
  background: linear-gradient(to right, var(--gray-5) 8%, var(--gray-3) 38%, var(--gray-5) 54%);
  background-size: 1000px 640px;
}

@keyframes loading {
  0% {
      background-position: -468px 0
  }

  100% {
    background-position: 468px 0
  }
}

header .nav-tools .user-profile-container.loading .button {
  visibility: hidden;
}

header .nav-tools .user-profile-btn + #user-profile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  background-color: white;
  padding-block: .5rem;
  right: 0;
  margin-block-start: .75rem;
  min-width: 220px;
  max-width: 250px;
  box-shadow: 0 4px 32px rgba(0 0 0 / 10%);
  animation: slide-down 350ms both;
  z-index: 10;
}

[dir='rtl'] header .nav-tools .user-profile-btn + #user-profile-menu {
  left: 0;
  right: auto;
}

header .nav-tools .user-profile-container.loading #user-profile-menu,
header .nav-tools .user-profile-btn[aria-expanded="false"] + #user-profile-menu {
  display: none;
}

header .nav-tools .user-profile-btn + #user-profile-menu > li {
  width: 100%;
}

header .nav-tools .user-profile-btn + #user-profile-menu > li > a {
  position: relative;
  padding: .25rem 1.5rem;
  text-decoration: none;
  display: block;
  width: 100%;
}

header .nav-tools .user-profile-btn + #user-profile-menu > li > a:hover {
  background-color: var(--gray-5);
}

header .nav-tools .user-profile-btn + #user-profile-menu > li.divider > a::before {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  top: 0;
  height: 1px;
  background-color: var(--gray-3);
}

header .nav-tools .user-profile-container a.button:not(.user-profile-btn):focus {
  outline: unset; 
  outline-offset: unset;
  box-shadow: 0 0 0 0.125rem #121212;
}


header .nav-tools .user-profile-container a.prof-dashboard {
  height: auto;
  width: unset;
}

 header .nav-tools .user-profile-container .logged-out-state-hover.open{
  opacity: 1;
  pointer-events: auto;  
 }

 header .nav-tools .user-profile-container .main-contents-container.open{
  opacity: 1;
  pointer-events: auto;  
 }

header .nav-tools .user-profile-container .logged-out-state-hover{
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 19.75rem;
  position:absolute;
  z-index:9999;
  top: -1.400rem;
  left: -16rem;
  padding: 0.375rem 0.25rem;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: #F2F1EF;
  backdrop-filter: blur(0.75rem);
  box-shadow: 1rem 1.188rem 1.625rem 0 #0000000D , 0.063rem 0.125rem 0.5rem 0 #00000040;
  opacity: 0;
  transition: opacity .50s ease-out;
  pointer-events: none; 
}

header .nav-tools .user-profile-container .contents{
  display:flex;
  flex-direction: column;
  min-width: 19.25rem;
  gap: 1.5rem;
  border-radius: 0.375rem;
  background: #FFF;
  padding: 1rem;  
}

header .nav-tools .user-profile-container .ctas{
  display:flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 100%;
} 

header .nav-tools .user-profile-container .ctas a{
  min-width: 100%;
  padding: 0.625rem 1.5rem;             
  border-radius: 2rem;  
  opacity: 1; 
}

header .nav-tools .user-profile-container .copy-content{
  display:flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 17.25rem;
} 

header .nav-tools .user-profile-container .copy-content .welcome-header{
  display:flex;
  flex-direction: column;
  min-width: 17.25rem;
  gap: 0;
} 

header .nav-tools .user-profile-container .copy-content .welcome-header .main-heading{
  display:flex;
  min-width: 17.25rem;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #000;  
} 

header .nav-tools .user-profile-container .copy-content .welcome-header .sub-heading{
  display:flex;
  min-width: 17.25rem;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #000;
}

header .nav-tools .user-profile-container .copy-content .marketing{
  display:flex;
  flex-direction: column;
  min-width: 17.25rem;
  gap: 1rem;
  border-radius: 0.5rem 0 0;
  opacity: 1;
}

header .nav-tools .user-profile-container .copy-content .marketing .marketing-item-container{
  display:flex;
  min-width: 17.25rem;
  gap: 0.5rem;
  opacity: 1;
}

header .nav-tools .user-profile-container .copy-content 
.marketing .marketing-item-container .marketing-item-ctr-inline{
  display:flex;
  min-width: 17.25rem;
  gap: 0.5rem;
  opacity: 1;
}

header .nav-tools .user-profile-container .copy-content 
.marketing .marketing-item-container 
.marketing-item-ctr-inline .picture-container{
  display:flex;
  min-width: 1.5rem;
  gap: 0;
  opacity: 1;
}

header .nav-tools .user-profile-container .copy-content 
.marketing .marketing-item-container .marketing-item-ctr-inline 
.picture-container span{
  display:flex;
  min-width: 1.5rem;
  top: -0.125rem;
  gap: 0;
  opacity: 1;
}

header .nav-tools .user-profile-container .copy-content 
.marketing .marketing-item-container .marketing-item-ctr-inline 
.picture-container span img{
  display:flex;
  min-width: 1.376rem;
  gap: 0;
  opacity: 1;
}

header .nav-tools .user-profile-container .copy-content .marketing .marketing-item-container .marketing-item-ctr-inline .marketing-text{
  display:flex;
  min-width: 14.75rem;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #5F5753;
}

header .nav-tools .user-profile-container .main-contents-container{
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 18.75rem;
  overflow-y:hidden;
  max-height: 100vh;
  position: absolute;
  z-index: 9999;
  top: -2.063rem;
  left: -16.75rem;
  padding: 1rem 0.5rem;
  gap: 0.5rem;
  border-radius: 0.5rem;
  background: #F2F1EF;
  backdrop-filter: blur(0.75rem);
  box-shadow: 1rem 1.188rem 1.625rem 0 #0000000D,0.063rem 0.125rem 0.5rem 0 #00000040 ;
  opacity: 0;
  transition: opacity 0.50s ease-out;
  pointer-events: none; 
 }

 [dir='rtl'] header .nav-tools .user-profile-container .main-contents-container {
  right: -16.75rem;
  left: 0;
 }

header .nav-tools .user-profile-container .main-contents-container.content-overflowing{
  overflow-y:auto;
}

@media only screen and (width <= 47.938rem){
  header .nav-tools .user-profile-container .main-contents-container {
   left: -16.938rem;
   top: -2rem;
  }

  [dir='rlt'] header .nav-tools .user-profile-container .main-contents-container {
    right: -16.938rem;
    left: 0;
   }
}

@media only screen and (24.313rem <= width <= 24.438rem){
  header .nav-tools .user-profile-container .main-contents-container {
   left: -16.563rem;
  }
}

@media only screen and (23.375rem <= width <= 23.5rem){
  header .nav-tools .user-profile-container .main-contents-container {
   left: -15.875rem;
   }

   header .nav-tools .user-profile-container .logged-out-state-hover{
    left: -15.75rem;
   }
}

@media only screen and (22.438rem <= width <= 22.563rem){
  header .nav-tools .user-profile-container .main-contents-container {
   left: -14.875rem;
  }

  header .nav-tools .user-profile-container .logged-out-state-hover{
    left: -14.750rem;
   }
}

@media only screen and (21.438rem <= width <= 21.563rem){
  header .nav-tools .user-profile-container .main-contents-container {
   left: -13.813rem;
  }

  header .nav-tools .user-profile-container .logged-out-state-hover{
    left: -13.813rem;
   }
}

@media (width >= 48.125rem) {
  header .nav-tools .user-profile-container .logged-out-state-hover{
    left: -12rem;
  }
}

@media (width >= 80rem) {
  header .nav-tools .user-profile-container .logged-out-state-hover{
    left: -12.0rem;
  }
}

header .nav-tools .user-profile-container .header-container{
  min-width: 18.75rem;
  opacity: 1;
  padding: 0 0.5rem;
}

header .nav-tools .user-profile-container .profile-header{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

header .nav-tools .user-profile-container .profile{
  display: flex;
  min-width: 17.938rem;
  gap: 69px;
  opacity: 1;
}

header .nav-tools .user-profile-container .intro{
  display: flex;
  flex-direction: column;
  min-width: 17.938rem;
  gap: 0.5rem;
  opacity: 1;
}

header .nav-tools .user-profile-container .welcome-msg{
  display: block;
  min-width: 17.938rem;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 2rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #121212;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 17.938rem;
}

header .nav-tools .user-profile-container .contents-container{
  display:flex;
  flex-direction: column;
  min-width: 100%;
  padding: 1rem 0.688rem 1rem 0.5rem;
  gap: 1.5rem;
  border-radius: 0.375rem;
  opacity: 1;
  background: #FFF;
}

header .nav-tools .user-profile-container .contents-logged-in{
  display:flex;
  flex-direction: column;
  min-width: 100%;
  gap: 1rem;
  opacity: 1;
}

header .nav-tools .user-profile-container .contents-logged-in a sup:first-of-type{
  display:none;
}

header .nav-tools .user-profile-container .contents-logged-in a span.icon-new-window{
  display:none;
}

header .nav-tools .user-profile-container .contents-logged-in a{
  display:flex;
  text-decoration: none;
  min-width: 100%;
  gap: 0;
  opacity: 1;  
  align-items: center
}

header .nav-tools .user-profile-container .contents-logged-in a:hover{
  background-color: #F2F1EF; 
  border-radius: 0.25rem;
}

header .nav-tools .user-profile-container .contents-logged-in a .icon-and-text{
  display:flex;
  min-width: 16.313rem;
  gap: 0.375rem;
  opacity: 1;
  align-items: center;
}

header .nav-tools .user-profile-container .contents-logged-in a .icon-and-text span{
  display:flex;
  min-width: 1.5rem;
  top: 0.688rem;
  gap: 0;
  opacity: 1;
}

header .nav-tools .user-profile-container .contents-logged-in a .icon-and-text span img{
  display:flex;
  min-width: 1.269rem;
  top: 0.976rem;
  left: 0.116rem;
  gap: 0;
  opacity: 1;

}

header .nav-tools .user-profile-container .contents-logged-in a .icon-and-text .txt-content{
  display:flex;
  flex-direction: column;
  min-width: 9.875rem;
  gap: 0.125rem;
  opacity: 1;
}

header .nav-tools .user-profile-container .contents-logged-in a .icon-and-text .txt-content
.main-text{
  display:flex;
  min-width: 15.625rem;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #121212;
}

header .nav-tools .user-profile-container .contents-logged-in a .icon-and-text .txt-content
.sub-text{
  display:flex;
  min-width: 15.625rem;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25rem;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #5F5753;
}

header .nav-tools .user-profile-container .main-contents-container .logout-container{
  display: flex;
  min-width: 5.813rem;
  padding: 0.25rem 0.5rem;
  gap: 0.5rem;
  opacity: 1;
}

header .nav-tools .user-profile-container .main-contents-container .logout-container a{
  display: flex;
  min-width: 4.813rem;
  gap: 0.25rem;
  opacity: 1;
  text-decoration: none;
  align-items: center;
}

header .nav-tools .user-profile-container .main-contents-container .logout-container a:hover{
  background-color: #FFF; 
  border-radius: 4px;
}

header .nav-tools .user-profile-container .main-contents-container .logout-container a .text{
  display: flex;
  min-width: 57px;
  gap: 0;
  opacity: 1;
  font-family: Roboto,Tahoma,helvetica,arial,sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  color: #0662BB;
}

header .nav-tools .user-profile-container .main-contents-container 
.logout-container a .icon{
  display: flex;
  min-width: 12.27px;
  top: 5.87px;
  left: 62.86px;
  gap: 0;
  opacity: 1;
} 

@media (width >= 770px) {
  header .nav-tools a.button {
    padding: 0.625rem 1.5rem;
    line-height: 1.2;
  }

  header .nav-tools a.button .icon:not(.icon-new-window) {
    display: none;
  }

  header .nav-tools a.button .icon-new-window {
    margin-inline-start: 1ch;
  }

  header .nav-tools a.button .text,
  header .nav-tools a.button .symbol {
    display: inline-block;
  }

  header .nav-tools .user-profile-container a.button {
    height: auto;
    width: unset;
  }

  header .nav-tools button[aria-expanded='true'] .icon-search + .symbol-close {
    display: none;
  }

  header .nav-tools button.anonymous-btn .text,
  header .nav-tools button.anonymous-btn .symbol {
    display: inline-block;
  }

  header .nav-tools button.anonymous-btn .icon {
    display:none;
  }

  header .nav-tools .user-profile-container .anonymous-btn {
    padding: 0.625rem 1.5rem;
    line-height: 1.2;
    height:unset;
    width: unset;
  }
}

@media (width >= 1280px) {
  header .nav-tools {
    justify-self: flex-end;
  }
}

/* location finder */
header .nav-location-finder {
  grid-area: location;
  font-size: var(--body-font-size-xs);
  line-height: 1.2;
}

header .nav-location-finder span.icon {
  margin-inline-end: 0.5rem;
  font-size: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
}

header .nav-location-finder .before-text {
  display: none;
}

header .nav-location-finder i.symbol {
  margin-inline-start: 0.5rem;
  width: 0.75rem;
  height: 0.75rem;
}

header .nav-location-finder button {
  display: flex;
  align-items: center;
  font-weight: 500;
}

header .nav-location-finder button.loading > :not(.icon) {
  visibility: hidden;
}

header .nav-location-finder button .text {
  text-decoration: underline;
  margin-inline-start: 1ch;
}

@media (width >= 770px) {
  header .nav-location-finder .before-text {
    display: block;
  }
}

@media (width >= 1280px) {
  header .nav-location-finder {
    font-size: var(--body-font-size-m);
  }
}

/* language picker, nav-utility-links */
header .nav-language-picker {
  grid-area: language;
  display: none;
}

header .nav-utility-links {
  grid-area: utility-links;
  display: none;
}

header .nav-mobile-flyout[aria-hidden="false"] .nav-language-picker,
header .nav-mobile-flyout[aria-hidden="false"] .nav-utility-links {
  display: block
}

header .nav-language-picker a,
header .nav-utility-links a {
  display: block;
  font-weight: normal;
  text-decoration: none;
  padding: 0.25rem 1.5rem;
}

header .nav-language-picker a:hover,
header .nav-utility-links a:hover {
  background-color: var(--gray-5);
}

header .nav-language-picker button:hover,
header .nav-language-picker button:focus,
header .nav-utility-links button:hover,
header .nav-utility-links button:focus {
  text-decoration: underline;
}

.healthcare header .nav-language-picker button:focus,
.healthcare header .nav-utility-links button:focus {
  text-decoration: none;
}

header .nav-language-picker i.symbol-chevron,
header .nav-utility-links i.symbol-chevron {
  margin-inline-start: 0.25rem;
}

header .nav-language-picker button[aria-expanded='true'] i.symbol-chevron,
header .nav-utility-links button[aria-expanded='true'] i.symbol-chevron {
  transform: rotate(-180deg);
}

header .nav-language-picker button + ul,
header .nav-utility-links button + ul {
  margin-top: 0.75rem;
  border-radius: 0.25rem;
  padding: 0.5rem 0;
  box-shadow: 0 4px 32px rgba(18 18 18 / 10%);
  background-color: var(--background-color);
  animation: slide-down 350ms both;
  z-index: 10;
}

header .nav-language-picker button[aria-expanded='false'] + ul,
header .nav-utility-links button[aria-expanded='false'] + ul {
  display: none;
}

header .nav-language-picker li:last-child {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--gray-3);
}

@media (width >= 1280px) {
  header .nav-language-picker,
  header .nav-utility-links {
    display: block;
    position: relative;
    font-size: var(--body-font-size-s);
  }

  header .nav-language-picker button,
  header .nav-utility-links button  {
    text-decoration: underline;
  }

  .healthcare header .nav-language-picker button {
    text-decoration: none;
  }
  
  .healthcare header .nav-language-picker button:hover {
    text-decoration: underline;
  }

  header .nav-language-picker button + ul,
  header .nav-utility-links button + ul {
    position: absolute;
    right: 0;
    width: max-content;
    z-index: 11;
  }

  header .nav-utility-links {
    padding-bottom: 1rem;
  }
}

/* alert */
header .nav-alert {
  grid-area: alert;
  justify-self: center;
}

header .nav-alert a {
  text-decoration: underline;
}

header .nav-alert a span.text {
  display: none;
}

@media (width >= 1280px) {
  header .nav-alert {
    font-size: var(--body-font-size-s);
  }

  header .nav-alert a span.icon {
    margin-inline-end: 0.5rem;
  }

  header .nav-alert a span.icon img {
    width: 1.19rem;
    height: 1rem;
    vertical-align: middle;
  }

  header .nav-alert a span.text {
    display: unset;
  }
}

/* support */
header .nav-support {
  grid-area: support;
  display: none;
}

header .nav-mobile-flyout .nav-support {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


header .nav-support .button {
  margin: 0;
  border: 0;
  padding: 0;
  background-color: transparent;
  font-weight: unset;
  text-align: unset;
}

@media (width >= 1280px) {
  header .nav-support {
    display: flex;
    gap: 1rem;
    font-size: var(--body-font-size-s);
  }

  .healthcare .divider {
    width: .5px;
    background: var(--gray-3);
    margin-top: .2rem;
    margin-left: .2rem;
    height: .875rem;
  }

  header .nav-support .button {
    text-decoration: underline;
  }
  
  .healthcare header .nav-support .button {
    text-decoration: none;
  }

  .healthcare header .nav-support .button:hover {
    text-decoration: underline;
  }
}

/* backdrop */
header .nav-backdrop {
  position: fixed;
  inset: 0;
  top: calc(var(--header-height) - var(--scroll-offset));
  background-color: rgba(18 18 18 / 30%);
  z-index: 1;
}

@media (width >= 770px) {
  header .nav-backdrop {
    top: calc(var(--header-height) - var(--ribbon-scroll-offset));
  }
}

@media (width >= 1280px) {
  header .nav-backdrop {
    top: var(--header-height);
  }
}

header .nav-backdrop[aria-hidden='true'] {
  display: none;
}

/* hamburger */
header .nav-hamburger {
  grid-area: hamburger;
  text-align: end;
}

header .nav-hamburger button {
  padding: 0.625rem;
  transition: background-color 0.35s;
}

header .nav-hamburger i.symbol-hamburger,
header .nav-hamburger i.symbol-hamburger::before,
header .nav-hamburger i.symbol-hamburger::after {
  width: 1.25rem;
  height: 2px;
}

header .nav-hamburger i.symbol-hamburger {
  background-color: currentcolor;
  transition: background-color 0.35s;
}

header .nav-hamburger i.symbol-hamburger::before,
header .nav-hamburger i.symbol-hamburger::after {
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentcolor;
  transform: rotate(0);
  transition: transform 0.4s, top 0.4s, bottom 0.4s;
}

header .nav-hamburger i.symbol-hamburger::before {
  top: -6px;
}

header .nav-hamburger i.symbol-hamburger::after {
  bottom: -6px;
}

header .nav-hamburger [aria-expanded='true'] i.symbol-hamburger {
  background-color: transparent;
}

header .nav-hamburger [aria-expanded='true'] i.symbol-hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

header .nav-hamburger [aria-expanded='true'] i.symbol-hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

@media (width >= 1280px) {
  header .nav-hamburger {
    display: none;
  }
}

[data-nav-template='light'] header .section:not(.nav-brand, .nav-tools),
[data-nav-template='light'] header .nav-tools .icon-search
{
  display: none;
}

[data-nav-template='light-nologin'] header .section:not(.nav-brand) {
  display: none;
}

/* Supply Chain Template */
@media (width >=1280px) {
  .supplychain header section[data-expanded='true'] {
    grid-template: 'location location . alert utility-links language support' var(--header-ribbon-height)
      'brand sections sections sections tools tools tools' var(--header-nav-height) / auto auto 1fr auto auto auto;
  }

  .supplychain header .nav-sections nav>ul>li>a {
    padding: 1rem;
  }

  .supplychain header .nav-brand {
    padding-block: 1rem;
  }

  

  .healthcare  header .nav-brand {
    margin-bottom: 2rem;
  }

  .supplychain header  section[data-expanded='true'] .nav-utility-links {
    padding-bottom: 0;
  }
}

.supplychain header .nav-location-finder span.icon {
  margin-inline-end: 0;
}

/* healthcare template */
.healthcare header {
  --header-ribbon-height: 0px;
  --header-nav-height: var(--header-height);

  background: white;
  padding: 0;
  border-bottom: 5px solid var(--healthcare-blue);
  top: calc(0 * var(--header-ribbon-height));
}

.healthcare header .nav-sections .subsection > p > a {
  padding-inline: 0;
}

@media (width >=1280px) {
  .healthcare header {
    --header-ribbon-height: 41px;
    --header-nav-height: calc(var(--header-height) - var(--header-ribbon-height));
  }

  .healthcare header .nav-language-picker,
  .healthcare header .nav-support {
    padding-top: 20px;
  }

  .healthcare header section[data-expanded='true'] {
    grid-template:
      'location location . alert  support language' var(--header-ribbon-height)
      'brand sections sections sections tools tools' var(--header-nav-height) / auto auto 1fr auto auto auto;
  }

  .healthcare header .nav-sections .subsection a:hover::after,
  .healthcare header .nav-sections .subsection a:focus::after {
    width: 2rem;
    opacity: 1;
  }

  .healthcare header .nav-sections .subsection ul:not(:first-of-type),
  .supplychain header .nav-sections .subsection ul:not(:first-of-type) {
    border-inline-start: none;
  }
}

#barcode-camera {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  padding: 20px;
  background-color: var(--ups-black);
  z-index: 15;
}

#barcode-camera .tools-barcode-close {
  position: absolute;
  top: 20px;
  right: 20px;
  border: 0;
  background: none;
  color: var(--white);
}

#barcode-camera video {
  max-width: 90%;
  opacity: 0;
  will-change: opacity;
  animation: fade-in .75s forwards;
  animation-delay: .25s;
}

#barcode-camera canvas {
  position: absolute;
  margin: 0 auto;
  right: 0;
  left: 0;
  z-index: -1;
  color: var(--ups-black);
}
