.topbar {
  position: relative;
  display: flex;
  z-index: 1000;

  top: 0;
  left: 0;
  right: 0;

  width: 100%;

  padding: 20px 0;

  border: 1px solid #dadada;

  background: #FFFFFF;
  box-shadow: 0 0px 16px rgba(0, 0, 0, 0.13);
}

.topbar > .container {
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.topbar > .container > * {
  position: relative;
  display: flex;
  flex: 1;

  align-items: center;
  justify-content: center;
}

.topbar .topbar-logo {
  position: relative;
  display: flex;

  align-items: center;
  justify-content: center;

  width: fit-content;
}

.topbar .topbar-logo > img {
  position: relative;

  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 50px;

  object-fit: contain;
  object-position: center center;
}

.topbar .topbar-search {
  position: relative;
  display: flex;
}

.topbar .topbar-search > i {
  position: absolute;
  z-index: 1;
  display: flex;

  align-items: center;
  justify-content: center;

  height: 100%;

  padding-right: 15px;

  color: #3e3e3e;
}

.topbar .topbar-search-input {
  position: relative;
  display: flex;

  /* margin: 0 15px; */

  width: 100%;

  padding: 10px 20px;
  padding-right: calc(20px + 15px + 10px);

  border: 0;
  border: 1px solid #dadada;

  border-radius: 100px;

  background: #f8f8f8;
}

.topbar-search-autocomplete {
  position: absolute;
  display: none;
  z-index: 1200;

  flex-direction: column;

  list-style: none;
  padding: 0;
  margin: 0;

  top: calc(100% + 5px);

  width: calc(100% - (15px * 2));

  padding: 10px 0;

  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0px 16px rgba(0, 0, 0, 0.13);
}
.topbar-search-autocomplete.active {
  display: flex;
}

.topbar-search-autocomplete > li {
  position: relative;
  display: flex;
}

.topbar-search-autocomplete a {
  position: relative;
  display: flex;

  width: 100%;

  padding: 5px 20px;

  color: inherit;
  text-decoration: none;

  font-weight: 500;
  font-size: 15px;

  transition: 0.15s all ease-out;
}
.topbar-search-autocomplete a:hover {
  background: rgba(0, 0, 0, 0.07);
}


.topbar .topbar-buttons {
  position: relative;
  flex-direction: row-reverse;
}

.topbar .topbar-buttons > a,
.topbar .topbar-buttons > * > a {
  position: relative;
  display: flex;

  padding: 0 20px;

  font-weight: 600;
  text-decoration: none;

  color: #3e3e3e;
}

.topbar .topbar-buttons > a:first-child,
  .topbar .topbar-buttons > * > a:first-child {
  padding-right: 0;
  padding-left: 0;
}



.topbar-notifications-container {
  position: absolute;
  display: none;
  z-index: 1200;

  flex-direction: column;

  list-style: none;
  padding: 0;
  margin: 0;

  top: calc(100% + 15px);
  left: 15px;

  width: 100%;
  min-width: calc(100% - (15px * 2));

  padding: 0 15px;

  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0px 16px rgba(0, 0, 0, 0.13);
}
.topbar-notifications-container.active {
  display: flex;
}

.topbar-notifications-container .topbar-notifications-header {
  position: relative;
  display: flex;

  flex-direction: row;
  flex-wrap: wrap;

  align-items: center;
  justify-content: space-between;

  padding: 15px 0;

  border-bottom: 1.5px solid rgba(218, 218, 218, 0.4);
}

.topbar-notifications-container .topbar-notifications-header h2 {
  font-size: 17px;
  font-weight: 600;
}

.topbar-notifications-container .topbar-notifications-header span {
  font-weight: 600;
  color: #b3b3b3;
}

.topbar-notifications-container .topbar-notifications {
  position: relative;
  display: flex;

  flex-direction: column;
}

.topbar-notifications-container .topbar-notifications-item {
  position: relative;
  display: flex;

  flex-direction: row;
  flex-wrap: nowrap;

  align-items: flex-start;
  justify-content: flex-start;

  padding: 15px 0;

  border-bottom: 1.5px solid rgba(218, 218, 218, 0.4);
}

.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-icon {
  position: relative;
  display: flex;

  align-items: center;
  justify-content: center;

  padding-left: 15px;

  border-left: 1.5px solid rgba(218, 218, 218, 0.4);
}
.topbar-notifications-container .topbar-notifications-item[unread] .topbar-notifications-item-icon::after {
  content: '';
  position: absolute;
  display: flex;

  top: 10px;
  right: -5px;

  width: 10px;
  height: 10px;

  border-radius: 100px;

  background: #2baff9;
}
.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-icon > i {
  position: relative;
  display: flex;

  padding: 10px;
  padding-right: 0;

  font-size: 30px;

  color: #b3b3b3cf;
}

.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-info {
  position: relative;
  display: flex;

  flex-direction: column;

  margin-right: 15px;
}

.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-info > h3 {
  position: relative;

  font-weight: 500;

  line-height: 1.3;
}
.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-info > * b {
  font-size: 15px;
  font-weight: 600;
  color: #3e3e3e;
}
.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-info > * a {
  color: #2baff9;
  text-decoration: inherit;
}

.topbar-notifications-container .topbar-notifications-item .topbar-notifications-item-info > span {
  font-size: 13px;
  font-weight: 400;
  line-height: 2;
  color: #b3b3b3cf;
}
