/* Navigation and contact action for D. van Wijk Metaalbewerking. */
#Top_bar {
  border-bottom: 1px solid #ede9e5;
}

#Top_bar .menu > li > a:not(.menu-toggle) {
  color: #292d30;
  font-size: 16px;
  font-weight: 600;
  transition: color .18s ease, background-color .18s ease;
}

#Top_bar .menu > li > a:not(.menu-toggle) > span:not(.description) {
  padding-inline: 14px;
  border: 0;
}

#Top_bar .menu > li.current-menu-item > a,
#Top_bar .menu > li.current-menu-ancestor > a,
#Top_bar .menu > li > a:not(.menu-toggle):hover {
  color: #ae271b;
}

#Top_bar .menu > li > a:not(.menu-toggle):focus-visible,
#Top_bar .dvw-header-contact:focus-visible {
  outline: 2px solid #ae271b;
  outline-offset: 4px;
}

#Top_bar .dvw-header-actions .top_bar_right_wrapper {
  gap: 4px;
}

#Top_bar .dvw-header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin: 0;
  padding: 8px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #ae271b;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

#Top_bar .dvw-header-contact svg {
  display: block;
  width: 24px;
  height: 24px;
}

#Top_bar .dvw-header-contact:hover {
  background: #f7efec;
  color: #8f2017;
}

#Top_bar .dvw-header-whatsapp {
  color: #16843d;
}

#Top_bar .dvw-header-whatsapp:hover {
  background: #edf7f0;
  color: #10652e;
}

@media (min-width: 1240px) {
  #Top_bar .top_bar_right {
    padding-inline: 16px 20px;
  }

  #Top_bar .menu > li > a:not(.menu-toggle) > span:not(.description) {
    position: relative;
  }

  #Top_bar .menu > li > a:not(.menu-toggle)::after {
    display: none;
  }

  #Top_bar .menu > li.current-menu-item > a > span::after,
  #Top_bar .menu > li.current-menu-ancestor > a > span::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 8px;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background: #ae271b;
  }

  #Top_bar.is-sticky .menu > li.current-menu-item > a > span::after,
  #Top_bar.is-sticky .menu > li.current-menu-ancestor > a > span::after {
    bottom: 0;
  }
}

@media (max-width: 1239px) {
  #Top_bar #menu > ul > li > a:not(.menu-toggle) {
    margin: 3px 0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
  }

  #Top_bar #menu > ul > li > a:not(.menu-toggle) > span {
    padding-inline: 15px;
    line-height: 48px;
  }

  #Top_bar #menu > ul > li.current-menu-item > a,
  #Top_bar #menu > ul > li.current-menu-ancestor > a,
  #Top_bar #menu > ul > li > a:not(.menu-toggle):hover {
    color: #ae271b;
    background: #f7efec;
  }
}

@media (max-width: 767px) {
  body.mobile-header-mini #Top_bar .top_bar_right.dvw-header-actions {
    display: flex;
    position: absolute;
    top: 0;
    right: 68px;
    box-sizing: border-box;
    width: 84px;
    height: 60px;
    padding: 0;
    background: transparent;
  }

  body.mobile-header-mini #Top_bar .dvw-header-actions .top_bar_right_wrapper {
    flex-wrap: nowrap;
    padding: 0;
  }

  body.mobile-header-mini #Top_bar #logo img.svg,
  body.mobile-header-mini #Top_bar.is-sticky #logo img.svg {
    width: clamp(140px, calc(100vw - 180px), 190px);
    height: auto;
  }

  body.mobile-header-mini #Top_bar #menu > ul > li > a:not(.menu-toggle) {
    font-weight: 600;
  }

  body.mobile-header-mini #Top_bar #menu > ul > li > a:not(.menu-toggle) > span {
    line-height: 48px;
  }
}
