
.common-header {
  width: 100%;
  height: $header-height;
  font-size: 16px;
  // line-height: $header-height;
  color: white;
  // background: $header-background;
  // border: $nav-item-border;

  &.header-absolute {
    position: absolute;
    z-index: 1;
  }

  .logo-wrapper {
    display: flex;
    align-items: center;
    height: $header-height;
    padding: 0 1rem;
    font-size: 18px;

    img {
      display: inline-block;
      vertical-align: middle;
    }

    .logo-text {
      display: inline-block;
      margin-left: 0.5rem;
    }
  }

  .nav-menu-bg {
    height: 500;
  }

  .nav-container {
    .amos-nav-item {
      border-right: $nav-item-border;
      border-left: $nav-item-border;

      + .amos-nav-item {
        border-left: none;
      }

      > a {
        height: $header-height;
        padding: 0 2rem;
        line-height: $header-height;
        color: $core-header-color;
        opacity: 1;
      }

      &:hover,
      &.amos-nav-item-active {
        color: white;
        background: $header-item-active;

        > a::after {
          display: none;
          color: #d7d7d7;
        }
      }
    }
  }

  .header-tips {
    padding-right: 1rem;
    text-align: end;

    .tools-time-now {
      display: inline-block;
    }

    .header-weather {
      display: inline-block;
      margin-left: 0.5rem;

      .adress {
        margin-right: 0.5rem;
      }
    }
  }
}

@media only screen and (max-width: 1400px) {
  .common-header {
    font-size: 12px;

    .logo-wrapper {
      font-size: 14px;
    }
  }
}
