/* -----------------------------------------------
Universal Menu
----------------------------------------------- */

// App Header Universal Menu
.b-universal-menu-icon-container {
  height: 1.5rem;
  display: flex;
  align-items: center;
  padding: 0;
  margin-left: 1rem;
  background: none;
  border: none;
  opacity: 0.7;
  transition: all 0.3s ease-in-out;
  &:hover {
    cursor: pointer;
    opacity: 1;
  }
}

.b-universal-menu-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
  fill: #fff;
  stroke: #fff;
  stroke-width: 0;
  transition: opacity 0.3s ease-in-out;
  opacity: 0.7;
  &:focus {
    outline: none;
  }
  &:hover {
    opacity: 1;
  }
}

.b-universal-menu {
  position: relative;
}

.b-universal-menu-dropdown {
  min-width: 20rem;
  right: 0;
  display: flex;
  flex-wrap: wrap;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 0px;
  background: #fff;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #212529;
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(33, 37, 41, 0.01);
  border-radius: 0.25rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
  &.visible {
    visibility: visible;
    opacity: 1;
    transform: translate3D(0, 2.25rem, 0);
    pointer-events: initial;
  }
  &:focus {
    outline: none;
  }

  @media only screen and (max-width: 760px) {
    min-width: 90vw;
    width: 100%;
  }
}

.b-universal-menu-item-icon {
  display: flex;
  width: 40px;
  height: 40px;
  transition: all 0.3s ease-in-out;
}

.b-universal-menu-item {
  min-height: 72px;
  display: flex;
  flex: 0 0 50%;
  max-width: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  padding: 0.5rem 0;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  &:hover {
    opacity: 0.8;
  }
  @media only screen and (max-width: 480px) {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.25rem 0;
  }
}

.b-universal-menu-item-title {
  height: 2rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1.2;
  color: #212529;
}

.b-universal-menu-divider {
  width: 100% !important;
  margin: 0.5rem 0 1rem 0;
  border: none;
  border-bottom: 1px solid #ddd;
}

@keyframes fadeInUniversalMenuTour {
  from {
    opacity: 0;
    transform: translateY(-2rem);
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.b-universal-menu-user-menu-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  @media screen and (min-width: 768px) {
    display: none;
  }
  @media screen and (max-width: 768px) {
    .b-user-menu-toggle {
      display: flex;
    }
    .b-user-menu-dropdown-content {
      display: flex;
    }
    .b-user-menu-name {
      color: #174071;
      display: inline-flex;
    }
  }
}

.b-universal-menu-light {
  .b-app-header-icon {
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
  }
  .b-icon {
    color: #174071;
    fill: #174071;
    stroke: #174071;
  }
}
