@import "@material/list/mdc-list";
@import "@material/menu-surface/mdc-menu-surface";
@import "@material/menu/mdc-menu";
@import '@material/react-menu/index.scss';

.ev-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: $ev-navbar-height;
  background-color: $ev-yellow;
  box-shadow: 0px 1px 2px 0.5px rgba(0,0,0,0.2);
}

.ev-navbar--fixed {
  position: fixed;
  z-index: 1;
}
.ev-navbar--inverted {
  background-color: white;
  color: $text-primary;
}

.ev-navbar--no-shadow {
  box-shadow: none;
}

.ev-navbar__logo {
  padding: 0 20px;
  height: $logo-height;
  max-height: $logo-height;

  img {
    height: $logo-height;
  }
}

.ev-navbar__items {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.ev-navbar__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 20px;
  font-size: 13pt;
}

.ev-navbar__item--no-pading {
  padding: 0;
}

.ev-navbar__item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  text-decoration: none !important;
  cursor: pointer;
}

.ev-navbar__avatar {
  width: 40px;
  height: 40px;
  background-color: $gray-light;
  border-radius: 100%;

  img {
    height: 40px;
    border-radius: 100%;
  }
}

.ev-navbar__username {
  padding-right: 10px;

  @media(max-width: mdc-layout-grid-breakpoint-max('phone')) {
    display: none;
  }
}

.ev-navbar__production-hunt {
  padding-right: 30px;

  @media(max-width: mdc-layout-grid-breakpoint-max('phone')) {
    display: none;
  }
}

.ev-navbar__banner {
  position: fixed;
  top: $ev-navbar-height;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #000;
  font-size: 17px;
  text-decoration: underline;
  z-index: 1;

  * {
    color: #FFF;
  }
}

.ev-navbar__banner-text {
  flex: 1;
  text-align: center;

  @media(max-width: mdc-layout-grid-breakpoint-max('phone')) {
    padding: 15px 5px;
    font-size: 14px;
  }
}

.ev-navbar__banner-close {
  padding: 0 20px;

  i {
    line-height: 54px;
  }
}
