/* #ifdef harmony */
/* #endif */
/* #ifndef harmony */
/* #endif */
.nut-navbar {
  width: var(--nutui-navbar-width, 100%);
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: var(--nutui-navbar-height, 44px);
  box-sizing: border-box;
  background: var(--nutui-navbar-background, #ffffff);
  box-shadow: var(--nutui-navbar-box-shadow, 0px);
  font-size: var(--nutui-navbar-font-size, var(--nutui-font-text));
  color: var(--nutui-navbar-color, var(--nutui-color-title));
  overflow: hidden;
  padding: 0 scale-px(16px);
}
.nut-navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}
.nut-navbar-placeholder {
  display: inline-block;
  width: 100%;
}
.nut-navbar-safe-area-inset-top {
  /* #ifndef dynamic*/
  padding-top: constant(safe-area-inset-top);
  padding-top: env(safe-area-inset-top);
  /* #endif */
}
.nut-navbar-title-wrapper {
  justify-content: space-between;
}
.nut-navbar-title {
  height: 100%;
  text-align: center;
  display: flex;
  flex: 1;
  flex-direction: row;
  align-items: center;
  font-size: var(--nutui-navbar-title-font-size, var(--nutui-font-h1));
  font-weight: var(--nutui-navbar-title-font-weight, var(--nutui-font-weight-bold));
  color: var(--nutui-navbar-title-font-color, var(--nutui-color-title));
  white-space: nowrap;
}
.nut-navbar-title-center {
  max-width: scale-px(129px);
  justify-content: center;
}
.nut-navbar-title ::-webkit-scrollbar {
  display: none;
}
.nut-navbar-left, .nut-navbar-right {
  display: flex;
  align-items: center;
  flex-direction: row;
  max-width: scale-px(124px);
  height: 100%;
  cursor: pointer;
  /* #ifndef harmony jd h5 weapp*/
  /* #endif */
}
.nut-navbar-left .nut-icon,
.nut-navbar-left .nutui-iconfont, .nut-navbar-right .nut-icon,
.nut-navbar-right .nutui-iconfont {
  width: scale-px(20px);
  height: scale-px(20px);
  font-size: var(--nutui-font-size-2xl, 20px);
}
.nut-navbar-left-maxwidth, .nut-navbar-right-maxwidth {
  box-sizing: border-box;
  width: calc(scale-px(124px) - scale-px(16px));
}
.nut-navbar-left {
  padding-right: scale-px(16px);
  gap: scale-px(16px);
}
.nut-navbar-left-rtl {
  padding-right: 0;
  padding-left: scale-px(16px);
}
.nut-navbar-left-back {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: scale-px(16px);
}
.nut-navbar-left-hidden {
  padding-left: 0;
  padding-right: 0;
}
.nut-navbar-right {
  padding-left: scale-px(16px);
  justify-content: flex-end;
  gap: scale-px(16px);
}
.nut-navbar-right-rtl {
  padding-right: scale-px(16px);
  padding-left: 0;
}
.nut-navbar-rtl .nut-icon-ArrowLeft {
  transform: rotateY(180deg);
}