﻿ul,
li {
  list-style: none;
}

.modeller-header {
  height: 50px;
  display: flex;
  font-family: "Cairo", Arial, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #fff;
  background-color: #373f51;
}

.modeller-header__logo {
  width: 270px;
  display: flex;
}

.modeller-header__logo-image {
  margin: auto;
  width: 108px;
  height: 37px;
}

.modeller-header__section {
  height: 100%;
  display: flex;
  align-items: center;
}

.modeller-header__spacer {
  flex: 1;
}

.modeller-header__list {
  margin-bottom: 0;
  display: flex;
}

.modeller-header__list-item {
  padding-inline: 24px;
  height: 100%;
  line-height: 50px;
  cursor: pointer;
}

.modeller-header__list-item:hover {
  background-color: #424b62;
}

.modeller-header__list-item_active {
  background: #424b62;
  position: relative;
}

.modeller-header__list-item_active:after {
  content: "";
  width: 100%;
  height: 4px;
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #ffc800;
}

.modeller-header__list-item_link {
  color: inherit !important;
  text-decoration: none !important;
}

.dropdown-menu__trigger {
  position: relative;
}

.dropdown-menu__trigger:hover {
  background-color: #424b62;
}

.dropdown-menu__trigger:hover .dropdown-menu__content,
.user-menu:hover .dropdown-menu__content {
  display: flex;
}

.user-menu:hover .user-menu__burger {
  transform: scaleY(-1);
}

.dropdown-menu__trigger:hover .dropdown-menu__icon {
  transform: rotate(180deg);
}

.dropdown-menu__title {
  display: flex;
  column-gap: 6px;
  justify-content: space-between;
  white-space: nowrap;
}

.dropdown-menu__icon {
  width: 24px;
  transition: transform 0.2s;
}

.dropdown-menu__icon_open {
  transform: rotate(180deg);
}

.dropdown-menu__content {
  min-width: 202px;
  width: max-content;
  display: none;
  position: absolute;
  left: 0;
  flex-direction: column;
  background-color: #424b62;
  border-top: 1px solid #373f51;
  z-index: 999;
}

.dropdown-menu__content:before {
  content: "";
  width: 8px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: #425c9c;
}

.dropdown-menu__item {
  padding-inline: 16px;
  width: 100%;
  color: #fff !important;
  line-height: 48px;
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  background-color: transparent;
  border: none;
  text-decoration: none !important;
}

.dropdown-menu__item:hover {
  background-color: #4a587b;
}

.dropdown-menu__item_active {
  position: relative;
}

.dropdown-menu__item_active.dropdown-menu__item::before {
  content: "";
  width: 6px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background-color: #ffc800;
}

.dropdown-menu__item:first-of-type {
  margin-top: 8px;
}

.dropdown-menu__item:last-of-type {
  margin-bottom: 8px;
}

.user-menu {
  padding-inline: 24px;
  position: relative;
}

.user-menu__dropdown {
  right: 0;
  left: unset;
}

.user-menu__inner {
  height: 50px;
  display: flex;
  align-items: center;
  column-gap: 26px;
  cursor: pointer;
}

.user-menu__block {
  max-width: 200px;
  display: flex;
  flex-direction: column;
  row-gap: 2px;
  cursor: unset;
}

.user-menu__connection {
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.user-menu__name {
  display: flex;
  font-weight: 600;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04rem;
  color: #a6bac7;
  text-overflow: ellipsis;
  row-gap: 2px;
  overflow: hidden;
  white-space: nowrap;
}

.user-menu__name > span {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.user-menu__icon-profile {
  width: 16px;
  height: 16px;
}

.user-menu__burger-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.5s;
}

.user-menu__content-block {
  width: 100%;
}

.user-menu__user {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  column-gap: 16px;
}

.user-menu__user-company {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.01rem;
  color: #61ffbe;
  opacity: 0.7;
}

.user-menu__user-name {
  margin-top: 2px;
  opacity: 0.8;
}

.user-menu__user-email {
  margin-top: 2px;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  color: #b0c6ff;
  opacity: 0.6;
}

.user-menu__items {
  width: 100%;
  color: #fff;
  line-height: 48px;
  font-weight: 400;
  font-size: 16px;
  text-align: left;
  background-color: transparent;
  border: none;
}

.user-menu__items:last-of-type {
  margin-bottom: 8px;
}

.user-menu__items::hover {
  background-color: #4a587b;
}

.user-menu__photo {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #3f558d;
  border-radius: 6px;
  text-transform: uppercase;
}

.user-menu__photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.user-menu__database {
  padding: 6px 16px 10px;
  height: 50px;
  display: flex;
  row-gap: 2px;
  flex-direction: column;
  background-color: #515b72;
  border-width: 1px 0px;
  border-style: solid;
  border-color: #373f51;
  cursor: not-allowed;
}

.user-menu__database-title {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.01rem;
  color: #70ffc4;
  opacity: 0.8;
}

.user-menu__database-name {
  line-height: 16px;
  font-weight: 400;
}

.user-menu__links {
  margin-top: 8px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.user-menu__link {
  padding-left: 24px;
  color: #fff;
}

.user-menu__link:hover {
  background-color: #4a587b;
  color: #fff;
  text-decoration: none;
}

.notification-box {
  position: absolute;
  display: none;
  right: -80px;
  width: 455px;
  top: 67px;
  left: auto;
  background: #fff;
  box-shadow: 1px 1px 3px #e2e2e2;
  -webkit-box-shadow: 1px 1px 3px #e2e2e2;
  -moz-box-shadow: 1px 1px 3px #e2e2e2;
  -ms-box-shadow: 1px 1px 3px #e2e2e2;
  padding: 15px;
  border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  -ms-border-radius: 0 0 5px 5px;
  -o-border-radius: 0 0 5px 5px;
}

.notification-box .notification-box-body {
  background: #e9e7e9;
  min-height: 50px;
  margin-left: -15px;
  margin-right: -15px;
  margin-bottom: -15px;
  overflow-y: scroll;
  height: 300px;
}

.notification-box .notification-box-body .latest {
  font-family: Chivo-Regular;
  padding-top: 15px;
  padding-left: 15px;
  padding-bottom: 15px;
  opacity: 0.5;
  font-size: 12px;
}

.notification-box .notification-box-body ul {
  list-style: none;
}

.notification-box .notification-box-body ul li {
  margin-left: 15px;
  margin-right: 15px;
  margin-bottom: 15px;
  background: #fff;
  box-shadow: 1px 1px 3px #e2e2e2;
  -webkit-box-shadow: 1px 1px 3px #e2e2e2;
  -moz-box-shadow: 1px 1px 3px #e2e2e2;
  -ms-box-shadow: 1px 1px 3px #e2e2e2;
  padding: 15px;
  border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  -moz-border-radius: 5px 5px 5px 5px;
  -ms-border-radius: 5px 5px 5px 5px;
  -o-border-radius: 5px 5px 5px 5px;
}

.notification-box .notification-box-body ul li .notification-date {
  font-size: 12px;
  text-align: right;
  opacity: 0.5;
}

.notification-box .notification-box-header h4 {
  padding-bottom: 15px;
  font-weight: bold;
}

.notification-box .notification-box-header .fa-arrow-right {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
}

.notification-box .notification-box-body #userMessagesLoading {
  top: 50%;
  left: 45%;
  position: absolute;
}
