.toolbar {
  background-color: var(--background);
  border-top: var(--background);
  bottom: 0;
  left: 0;
  padding: 12px 2px 0;
  position: fixed;
  width: 100%;
  z-index: 3;
}

.toolbar__top {
  height: 0;
  overflow: hidden;
  -webkit-transition: height 0.25s ease-in-out, margin 0.25s ease-in-out;
  -moz-transition: height 0.25s ease-in-out, margin 0.25s ease-in-out;
  -ms-transition: height 0.25s ease-in-out, margin 0.25s ease-in-out;
  -o-transition: height 0.25s ease-in-out, margin 0.25s ease-in-out;
  transition: height 0.25s ease-in-out, margin 0.25s ease-in-out;
}

.toolbar__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

.toolbar__item {
  text-align: center;
  padding: 0 0 12px;
  position: relative;
  width: 25%;
}

.toolbar__item--edit {
  margin-left: auto;
}

.toolbar__link {
  color: #eaeaea;
  text-decoration: none;
}

.toolbar__link--active {
  color: #37aae4;
}

.toolbar__link:hover {
  color: #37aae4;
  text-decoration: none;
}

.toolbar__icon {
  font-size: 25px;
  vertical-align: middle;
}

.toolbar__button {
  border: none;
  background: none;
  font-size: 25px;
  font-weight: bold;
  vertical-align: middle;
}

.toolbar__title {
  display: block;
}

.navbar-collpse{
  z-index: 1050;
}

@media (min-width: 992px) {
  body {
    padding-left: 96px;
    padding-bottom: 0;
  }

  .toolbar {
    top: 0;
    bottom: auto;
    width: 96px;
    height: 100vh;
    padding: 24px 8px;
    border-top: 0;
    border-right: var(--background);
  }

  .toolbar__bottom {
    height: 100%;
  }

  .toolbar__list {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .toolbar__item {
    width: 100%;
    padding-bottom: 0;
  }
}

@media (max-width: 992px) {
  body {
    padding-left: 0;
    padding-bottom: 45px;
  }

  .toolbar {
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 12px 2px 0;
  }

  .toolbar__list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
  }

  .toolbar__item {
    width: auto;
    padding-bottom: 12px;
  }
}
