// -----------------------------------------------------------------------------
// This file contains all styles related to the header of the site/application.
// -----------------------------------------------------------------------------
.oh-navbar__toggle-link {
  display: flex;
  align-items: center;
}
.oh-navbar__toggle-menu {
  margin-right: 0.35rem;
}
.oh-navbar__page-title {
  font-size: 1.15rem;
  @media (max-width: 1199.98px) {
    display: none;
  }
  @media (max-width: 767.98px) {
    font-size: 0.98rem;
  }
}
.oh-navbar__toggle-link {
  &:hover {
    opacity: 0.8;
  }
}
.oh-navbar {
  // position: fixed;
  // top: 0px;
  z-index: 999;
  height: 65px;
  width: -webkit-fill-available;
  width: -moz-available;
  width: -webkit-fill-available;
  width: fill-available;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: $white;
  border-bottom: 3px solid hsl(0, 0%, 93%);
}
.oh-navbar__systray {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}
.oh-navbar__wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}
.oh-navbar__user-info {
  display: flex;
  align-items: center;
  position: relative;
  padding: 0.5rem 1.5rem;
  border-radius: 0px;
  height: 100%;
  cursor: pointer;
  @media (max-width: 575.98px) {
    padding: 0.5rem 0.75rem;
  }
  div {
    &:first-child {
      margin-right: 0.5rem;
    }
  }

  &::after {
    content: "";
    position: relative;
    width: 14px;
    height: 14px;
    top: 2px;
    right: -5px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' fill='%231d1d1d' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m3 6.75 9 10.5 9-10.5H3Z'%3E%3C/path%3E%3C/svg%3E");
  }

  &:hover {
    background-color: $light-grey;
    transition: all 0.3s ease-in-out;
  }
}
.oh-navbar__systray .oh-dropdown {
  height: 100%;
}
.oh-navbar__user-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  @media (max-width: 575.98px) {
    width: 24px;
    height: 24px;
  }
}
.oh-navbar__user-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oh-navbar__time {
  @media screen and (max-width: 1055.99px) {
    display: none !important;
  }
}
.oh-navbar__notification-link,
.oh-navbar__action-icons-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0px;
}
.oh-navbar__notification-beacon {
  min-width: 18px;
  min-height: 18px;
  border-radius: 30px;
  background-color: $secondary-color;
  color: $white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 10px;
  width: fit-content;

    padding: 0.1rem 0.4rem;
    height: fit-content;
}
.oh-navbar__icon {
  width: 24px;
  height: 24px;
  color: $icon-grey;
  @media (max-width: 575.98px) {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 991.98px) {
  .oh-navbar__user-name {
    display: none;
  }
}

/**
* Notifications
*/
.oh-navbar__notifications,
.oh-navbar__action-icons {
  position: relative;
  display: flex;
  height: 100%;
  padding: 0.4rem 1rem;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;

  cursor: pointer;
  &:hover {
    background-color: $light-grey;
  }
  @media (max-width: 575.98px) {
    padding: 0.5rem;
    width: 50px;
    justify-content: center;
    border-left: none;
    border-right: none;
    &:hover {
      background-color: transparent;
    }
  }
}
.oh-navbar__notification-tray {
  position: absolute;
  width: 380px;
  padding-right: 15px;
  min-height: 250px;
  background-color: $white;
  z-index: 99;
  top: 100%;
  right: 0px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  // box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
  border: 1px solid $light-button-color;
  // border-radius: 0.5rem;

  @media (max-width: 575.98px) {
    position: fixed;
    left: 5px;
    width: 98%;
    top: 70px;
  }
}
.oh-navbar__notification-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 250px;
  padding: 35px;
}
.oh-navbar__notification-empty-title {
  display: block;
  font-weight: bold;
  color: $placeholder-color;
  margin-top: 0.75rem;
  margin-bottom: 0.3rem;
}
.oh-navbar__notification-empty-desc {
  color: $placeholder-color;
  font-size: 0.9rem;
}
.oh-navbar__notification-empty-title,
.oh-navbar__notification-empty-desc {
  text-align: center;
}
.oh-navbar__notification-head {
  width: 100%;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: $text-color;
  border-bottom: 1px solid $light-button-color;
}
.oh-navbar__notification-body {
  width: 100%;
  padding: 0 1.15rem;
  max-height: 400px;
  overflow: auto;
  display: block;
}
.oh-navbar__notification-footer {
  padding: 1.15rem;
  border-top: 1px solid $light-button-color;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oh-navbar__notification-head-title {
  font-weight: bold;
  font-size: 0.9rem;
}
.oh-navbar__notification-links {
  display: flex;
  align-items: center;
}
.oh-navbar__notification-tray-link {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  color: $secondary-color;
  &:hover,
  &:focus,
  &:focus-visible,
  &:active {
    color: $secondary-color-dark;
    text-decoration: none;
  }
}
.oh-navbar__notification-tray-link--danger {
  color: $danger-color;
  &:hover,
  &:focus,
  &:focus-visible,
  &:active {
    color: $danger-color;
    text-decoration: none;
  }
}
.oh-navbar__nofication-list {
  list-style: none;
  padding-left: 0;
}
.oh-navbar__notification-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: relative;
  top: 5px;
  opacity: 0;
}
.oh-navbar__notification-dot--green {
  background-color: $secondary-color;
}
.oh-navbar__notification-item {
  display: grid;
  grid-template-columns: 1fr 8fr 1fr;
  align-items: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid $light-button-color;

  &:last-child {
    padding-bottom: 0px;
    border-bottom: none;
  }
}

.oh-navbar__notification-item div {
  &:first-child {
    align-self: flex-start;
  }
  &:last-child {
    align-self: flex-start;
  }
}
.oh-navbar__notification-image {
  background-color: $secondary-color;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: $white;
  font-size: 1.15rem;
}
.oh-navbar__notification-text {
  margin-top: 0;
  margin-bottom: 0;
  color: $text-color;
  font-size: 0.85rem;
}
.oh-navbar__notification-dot--unread {
  opacity: 1;
}
.oh-navbar__notification-text--unread {
  font-weight: bold;
}
.oh-navbar__notification-date {
  color: rgba($text-color, 0.6);
  font-size: 0.75rem;
}
.oh-navbar__clock {
  display: flex;
  align-items: center;
  padding: 0.5rem 1.5rem;
  height: 100%;
  transition: all 0 linear;
  border-left: 1px solid $border-light-color;
  &:hover,
  &:focus,
  &:focus-visible {
    background-color: $light-button-color;
    text-decoration: none;
    transition: all 0 linear;
  }
  @media (max-width: 575.98px) {
    padding: 0.5rem;
    width: 50px;
    justify-content: center;
    border-left: none;
    &:hover,
    &:focus,
    &:focus-visible {
      background-color: transparent;
    }
  }
}
.oh-navbar__clock-icon {
  color: $icon-grey;

  @media (max-width: 767.98px) {
    margin-right: 0rem !important;
  }
}
@media (max-width: 767.98px) {
  .oh-navbar__clock-text {
    display: none;
  }
  .oh-navbar__clock-icon {
    font-size: 1.5rem;
  }
}
@media (max-width: 575.98px) {
  .oh-navbar__clock-icon {
    font-size: 1.2rem;
  }
}
.oh-navbar__toggle-container {
  display: flex;
  align-items: center;
}
/**
* Breadcrumb
*/
.oh-navbar__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 0;
  padding-left: 10px;

  @media screen and (max-width: 991.98px) {
    display: none;
  }
}
.oh-navbar__breadcrumb-item {
  margin-right: 25px;
  position: relative;

  &::after {
    content: "";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzczNzM3MyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuNSIgdmlld0JveD0iMCAwIDI0IDI0IiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoIGQ9Im04LjYyNSA1LjI1IDYuNzUgNi43NS02Ljc1IDYuNzUiPjwvcGF0aD4KPC9zdmc+");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    width: 16px;
    height: 16px;
    top: 3px;
    right: -20px;
  }
  &:last-child {
    margin-right: 0;
    &::after {
      content: unset;
    }
  }
}
.oh-navbar__breadcrumb-link {
  color: $light-text-color;
  &:hover {
    text-decoration: none;
  }
}
.oh-navbar__breadcrumb-link.active {
  color: $text-color;
}

// ad-banner-style
