.logo-icon {
  /* justify-content: center; */
  cursor: pointer;
  -webkit-app-region: drag;
  margin-right: 0.4em;
  /* height: 80%; */
}

.logo-icon-title-bar {
  cursor: pointer;
  -webkit-app-region: drag;
  margin: 4px;
  display: none;
  flex: 0 0 24px;
}

@media screen and (max-height: 200px) {
  .logo-icon-title-bar {
    display: inline;
  }

  .logo-icon {
    display: none;
  }
}

@media screen and (max-width: 599px) {
  .logo-icon-title-bar {
    display: inline;
  }
}

.sidenav-small {
  width: var(--mat-sidenav-container-width, 48px);
}

.sidenav-small .mat-icon {
  margin-right: 0 !important;
}

.sidenav-small .logo-icon {
  width: 56px !important;
}

.sidenav-labels {
  width: 200px;
}

.top-spacer {
  flex: 1 1 auto;
  margin-left: 0.4em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mdc-list-item.active {
  background: rgba(156, 39, 176, 0.15);
}

header {
  display: block;
  overflow: hidden;
  position: relative;
  padding-bottom: 2em;
}

.container {
  padding-bottom: 1em;
}

.bg {
  border-bottom: 3px solid #9c27b0;
  height: 220px;
}

.bio:hover > .desc {
  cursor: pointer;
  opacity: 1;
}

.avatarcontainer {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 102px;
  display: block;
}

.avatarcontainer:hover > .hover {
  opacity: 1;
}

.avatar {
  width: 100%;
  border: 3px solid #9c27b0;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  width: 96px;
  height: 96px;
}

.avatar:hover {
  opacity: 1;
  cursor: pointer;
}

.topavatar {
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  width: 38px;
  height: 38px;
  margin-left: 0.2em;
}

.topavatar:hover {
  opacity: 0.6;
  cursor: pointer;
}

.nav-link {
  color: var(--mat-sys-on-background) !important;
}

.data {
  margin-top: 0.6em;
  color: #81878b;
}

.data li {
  width: 50%;
  text-align: center;
  display: inline-block;
}

.data ul {
  padding-inline-start: 0 !important;
}

.data li:last-child {
  border: none;
}

.data li span {
  display: block;
  text-transform: uppercase;
  font-size: 0.5em;
  margin-top: 0.6em;
  font-weight: 700;
}

.desc {
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.6);
  width: 100%;
  height: 100%;
  max-height: 220px;
  color: white;
  text-align: center;
  opacity: 0.8;
  transition-property: all;
  transition-duration: 0.3s;
  transition-timing-function: ease-in;
}

.desc h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.desc p {
  font-size: 0.9em;
  line-height: 1.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.close-sidenav-icon {
  float: left;
  position: fixed;
  z-index: 100000;
  margin: 5px;
}

.theme-sidenav-icon {
  float: right;
  position: fixed;
  z-index: 100000;
  margin: 5px;
  right: 5px;
}

.new-post {
  text-align: center;
}

.new-post-button {
  width: 92px;
  height: 92px;
  position: fixed;
  bottom: 2em;
  left: 2.9em;
  cursor: pointer;
  transition: opacity 250ms ease;
}

.new-post-button:hover {
  opacity: 0.6;
}

.search-box {
  padding-top: 1em;
  top: 20px;
  flex: 1 1 auto;
  width: 100%;
}

.search-box-input {
  width: 100%;
}

.search-result-option {
  box-sizing: border-box;
  display: flex;
  flex-direction: row !important;
  align-items: center !important;
}

.search-result-image {
  margin-right: 0.2em;
  border-radius: 50%;
}

.search-result-option span {
  margin-right: 0.4em;
}

.mat-drawer-content {
  overflow: hidden;
}

.app-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.app-outlet {
  flex: 2 2 auto;
  box-sizing: border-box;
  overscroll-behavior-y: contain;
  overflow-x: hidden;
  overflow-y: overlay !important;
}

.app-mediaplayer {
  flex-basis: 96px;
  flex-grow: 0;
  flex-shrink: 1;
  box-sizing: border-box;
}

.app-mobilemenu {
  flex-basis: 96px;
  flex-grow: 0;
  flex-shrink: 1;
  box-sizing: border-box;
}
