@import '../../theme/mixins';

$headerHeight: 54px;

.Header {
  order: 0;
  background-color: var(--color-bg);
  padding: 0;

  @media (max-width: 735px) {
    display: none;
  }
}

.Wrapper {
  flex-basis: $headerHeight;
}

.Inner {}

.Container {
  background-color: var(--color-light);
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  height: $headerHeight;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 3;
  transition: height .2s ease-in-out;
}

.Grid {
  height: $headerHeight;
  padding: 0 20px;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  max-width: 975px;
  width: 100%;
  transition: height .2s ease-in-out;
}

.Logo {
  flex: 1 9999 0%;
  min-width: 40px;

  &Container {
    flex-direction: row;
    flex: 0 0 auto;
    justify-content: flex-start;
    align-items: center;
    align-content: stretch;

    @media (max-width: 735px) {
      justify-content: center;
    }
  }

  &Img {
    margin-top: 7px;
    transition: opacity .1s ease-out;
    width: 103px;
    height: 30px;

    img {
      min-height: 100%;
      max-width: 100%;
      object-fit: contain;
    }
  }
}

.Search {
  height: 28px;
  flex: 0 1 auto;
  min-width: 125px;
  width: 215px;
}

.Navigation {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: center;
  align-items: center;
  flex: 1 0 0%;

  &Container {
    flex-direction: row;
    padding-left: var(--spacing-l);
    white-space: nowrap;
  }

  &Icon {
    margin-left: 22px;
  }

  .showActivityIcon {
    display: flex;

    @media (max-width: 735px) {
      .ActivityButton {
        display: none;
      }
    }

    .ActivityButton {
      border: 0;
      outline: 0;
      padding: 0;
      margin: 0;
      background-color: transparent;
      cursor: pointer;
    }
  }

}

.UserProfile {
  width: 22px;
  height: 22px;
  background-color: var(--color-bg);
  border-radius: 50%;
  flex: 0 0 auto;
  overflow: hidden;
  position: relative;

  img {
    width: 100%;
    height: 100%;
  }
}

.IconButton {
  outline: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background-color: transparent;
}

.NewNotificationsCount {
  right: -12px;
  top: -8px;
  @include notificationCountLabel();
}
