body.__with-menu {
  padding-left: 80px;
}

.PluginLayout__background {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
  background-size: cover;
  background-position: 50% 50%;
}

.ChatiumMenu {
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  bottom: 0;

  background-color: #000;
  color: white;

  width: 80px;
  box-sizing: border-box;
  padding-top: 20px;

  user-select: none;
}

.ChatiumMenu__item {
  width: 80px;
  height: 80px;

  padding-top: 5px;
  padding-bottom: 5px;

  display: flex;
  flex-direction: column;
  cursor: pointer;

  position: relative;
}

.ChatiumMenu__item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.ChatiumMenu__item-icon {
  width: 80px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  filter: grayscale(1);
}

.ChatiumMenu__item-iconblock {
  width: 32px;
  height: 32px;
  background-size: cover;
  border-radius: 90px;
}

.ChatiumMenu__item:hover .ChatiumMenu__item-icon {
  filter: none;
}

.ChatiumMenu__item-title {
  text-align: center;
  font-size: 12px;
  color: silver;
  padding-left: 3px;
  padding-right: 3px;
}

.ChatiumMenu__item-badge {
  position: absolute;
  background-color: red;
  right: 5px;
  top: 5px;
  font-size: 13px;
  border-radius: 16px;
  text-align: center;
  padding: 0 4px;
}

.ChatiumMenu__item[data-selected="true"] {
  background-color: #fff;
}

.ChatiumMenu__item[data-selected="true"] .ChatiumMenu__item-icon {
  filter: none;
}

.ChatiumMenu__item[data-selected="true"] .ChatiumMenu__item-title {
  color: black;
}

.submenu {
  width: 250px;
  padding-top: 20px;
  background-color: #1e1e1e;
  height: 100vh;
  display: none;
  position: fixed;
  top: 0;
  left: 80px;
  z-index: 2000;
}

.submenu .submenu-item {
  padding: 10px;
  padding-left: 20px;
  padding-right: 20px;
  cursor: pointer;
  box-sizing: border-box;
}

.submenu .submenu-item:hover {
  background-color: #000;
}

.active-menu-item {
  background-color: #fff;
  filter: none;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 80;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 0;
  display: none;
}

.admin-item {
  position: absolute;
  bottom: 0
}

@media (max-width: 600px) {

  body.__with-menu {
    padding-left: 0;
  }

  .ChatiumMenu {
    display: none;
  }

}
