/* BECDAXIS: header utilities, isolated from page content and plugin files. */
.et-db #et-boc header.et-l.et-l--header .et_pb_row_0_tb_header {
  display: flex;
  align-items: center;
}
.et-db #et-boc header.et-l.et-l--header .et_pb_column_0_tb_header,
.et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile > .et_pb_column {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  margin-bottom: 0;
}
.et-db #et-boc header.et-l.et-l--header :is(.becdaxis-language, .becdaxis-signin-label, .becdaxis-signin-icon) {
  position: static;
  inset: auto;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language { order: 1; width: 64px; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-signin-icon { order: 2; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-signin-label {
  display: block !important;
  order: 3;
  line-height: 1.3;
  white-space: nowrap;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-signin-label p { padding: 0; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-signin-icon a,
.et-db #et-boc header.et-l.et-l--header .becdaxis-signin-icon .et_pb_icon_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  width: 28px;
  padding: 0 !important;
  line-height: 1;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-signin-icon .et-pb-icon { font-size: 24px; }

/* Leave room for the dropdown and keep its pointer path continuous. */
.et-db #et-boc header.et-l.et-l--header .et_pb_section_0_tb_header { z-index: 1001; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-shortcode-switcher__wrapper {
  position: relative;
  width: 64px;
  min-width: 64px;
  min-height: 36px;
  --border-radius: 0px;
  --text: #000;
  --text-hover: #000;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-shortcode-switcher {
  width: 64px !important;
  min-height: 36px;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  background: #fad957;
  box-sizing: border-box;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-current-language-item__wrapper {
  display: flex;
  align-items: center;
  min-height: 36px;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-language-item {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px !important;
  font-size: 14px !important;
  line-height: 24px;
  color: #000;
  box-sizing: border-box;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-shortcode-arrow { margin-right: 8px; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-shortcode-overlay.is-open {
  background: #fff;
  outline: 1px solid #000;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-switcher-dropdown-list {
  padding: 0 !important;
  background: #fff;
}
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-switcher-dropdown-list[hidden] { display: none !important; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-switcher-dropdown-list .trp-language-item { width: 100%; }
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-language-item:hover,
.et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-language-item:focus-visible { background: #f9df58; }

.et-db #et-boc header.et-l.et-l--header .et_pb_social_media_follow {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.et-db #et-boc header.et-l.et-l--header .et_pb_social_media_follow::after { display: none; }
.et-db #et-boc header.et-l.et-l--header .et_pb_social_media_follow li { margin: 0; padding: 0; }
.et-db #et-boc header.et-l.et-l--header .et_pb_social_media_follow li a.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 36px;
  margin: 0;
}
.et-db #et-boc header.et-l.et-l--header .et_pb_social_media_follow .et-social-google a.icon::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: currentColor;
  -webkit-mask: url('../images/map-pin.svg') center / contain no-repeat;
  mask: url('../images/map-pin.svg') center / contain no-repeat;
}
@media (max-width: 980px) {
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile {
    margin: 0 auto !important;
    padding: 8px 0 !important;
  }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile > .et_pb_column {
    position: static;
    width: 100%;
  }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile .becdaxis-signin-label { font-size: 12px; }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile .et_pb_social_media_follow {
    position: static;
    order: 4;
    flex: 0 0 auto;
    width: auto;
    margin: 0 0 0 auto !important;
    padding: 0 !important;
    gap: 4px;
  }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile .et_pb_social_media_follow li a.icon { width: 28px; }
}
@media (max-width: 440px) {
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile > .et_pb_column { gap: 6px; }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile .et_pb_social_media_follow { gap: 2px; }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-utility-mobile .et_pb_social_media_follow li a.icon { width: 24px; }
}

/* Desktop only: remove the inline baseline gap and center the yellow toolbar. */
@media (min-width: 981px) {
  .et-db #et-boc header.et-l.et-l--header .et_pb_section_0_tb_header {
    padding: 0 !important;
  }
  .et-db #et-boc header.et-l.et-l--header .et_pb_row_0_tb_header {
    padding: 7px 0 !important;
  }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-shortcode-anchor {
    display: block;
  }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-language-item {
    font-size: 15px !important;
  }
  .et-db #et-boc header.et-l.et-l--header .becdaxis-language .trp-language-item-name {
    font-size: inherit;
    line-height: 20px;
  }
}

/* Full-screen navigation: use the same map symbol as the header. */
#animatedfsmenu_css .social-media a[title="Google Maps"] i::before {
  content: "" !important;
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask: url('../images/map-pin.svg') center / contain no-repeat;
  mask: url('../images/map-pin.svg') center / contain no-repeat;
}
@media (max-width: 980px) {
  #animatedfsmenu_css .animatedfs_menu_list {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 520px;
    height: 100dvh;
    margin: 0 auto !important;
    padding: 64px 24px 28px !important;
    overflow-y: auto;
    overflow-x: hidden;
  }
  #animatedfsmenu_css ul.afsmenu > li {
    padding-left: 0 !important;
    padding-right: 0 !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  #animatedfsmenu_css ul.afsmenu > li > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 20px !important;
    line-height: 1.35 !important;
  }
  #animatedfsmenu_css ul.afsmenu > li > a::before { display: none !important; }
  #animatedfsmenu_css #menu-item-30809 > a,
  #animatedfsmenu_css #menu-item-30861 > a { font-size: 17px !important; }
  #animatedfsmenu_css .trp-language-switcher-container > a { font-size: 0 !important; }
  #animatedfsmenu_css .animatedfsmenu-html-area { margin: 24px 0 !important; }
  #animatedfsmenu_css .animatedfsmenu-html-area img { width: 240px; max-width: 100%; height: auto; }
  #animatedfsmenu_css .social-media ul { display: flex; gap: 14px; margin: 0; padding: 0; }
  #animatedfsmenu_css .social-media li { margin: 0 !important; }
}
