.sidebar2 {
  position: fixed;
  top: 80px;
  left: 0;
  bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 250px;
  padding-bottom: 70px;
  background: #ffffff;
  font-family: 'Poppins', 'Montserrat',  sans-serif;
  line-height: 1.5;
  font-weight: 500;
}

.sidebar2__wrapper {
  padding: 20px 20px 0;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.sidebar2__wrapper::-webkit-scrollbar {
  display: none;
}

.sidebar2__top {
  display: none;
}

.sidebar2__close {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin: 0 15px 0 -4px;
  font-size: 0;
}

.sidebar2__close .icon {
  font-size: 18px;
  fill: #92929D;
}

.sidebar2__top .sidebar2__logo {
  font-size: 0;
}

.sidebar2__top .sidebar2__pic {
  width: 112px;
}

.sidebar2__top .sidebar2__pic_white {
  display: none;
}

.sidebar2__profile {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 -10px 20px;
  padding: 12px;
  background: #FAFAFB;
  border-radius: 15px;
  border: 1px solid #E2E2EA;
  color: #171725;
  -webkit-transition: border-color .25s;
  -o-transition: border-color .25s;
  transition: border-color .25s;
}

.sidebar2__profile .ava {
  margin-right: 10px;
}

.sidebar2__profile:hover {
  border-color: #c4c4d5;
}

.sidebar2__user {
  margin-bottom: 5px;
  font-weight: 600;
}

.sidebar2__login {
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  color: #92929D;
}

.sidebar2__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0 -20px 45px;
}

.sidebar2__item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 52px;
  padding: 0 55px 0 20px;
  color: #171725;
  -webkit-transition: all .25s;
  -o-transition: all .25s;
  transition: all .25s;
}

.sidebar2__item .icon {
  margin-right: 20px;
  font-size: 24px;
  fill: #92929D;
  -webkit-transition: fill .25s;
  -o-transition: fill .25s;
  transition: fill .25s;
}

.sidebar2__item:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 3px;
  height: 32px;
  border-radius: 0 3px 3px 0;
  background: #0062FF;
  opacity: 0;
  -webkit-transition: opacity .25s;
  -o-transition: opacity .25s;
  transition: opacity .25s;
}

.sidebar2__item:hover, .sidebar2__item.active {
  color: #0062FF;
}

.sidebar2__item:hover .icon, .sidebar2__item.active .icon {
  fill: #0062FF;
}

.sidebar2__item.active:before {
  opacity: 1;
}

.sidebar2__item .sidebar2__counter {
  right: 20px;
}

.sidebar2__category {
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .93px;
  text-transform: uppercase;
  color: #92929D;
}

.sidebar2__menu {
  margin-right: -5px;
}

.sidebar2__counter {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 0;
  min-width: 28px;
  padding: 0 6px;
  border-radius: 12px;
  background: #FC5A5A;
  text-align: center;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 22px;
  color: #ffffff;
}

.sidebar2__link {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 32px;
  padding-right: 40px;
  color: #171725;
  -webkit-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}

.sidebar2__link:hover {
  color: #0062FF;
}

.sidebar2__link:not(:last-child) {
  margin-bottom: 20px;
}

.sidebar2__letters {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 32px;
  border-radius: 10px;
  text-align: center;
  line-height: 32px;
  color: #ffffff;
}

.sidebar2__link .sidebar2__text {
  -webkit-box-flex: calc(100% - 47px);
  -ms-flex: calc(100% - 47px);
  flex: calc(100% - 47px);
  width: calc(100% - 47px);
  padding-left: 15px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar2 .switch {
  position: absolute;
  left: 20px;
  bottom: 20px;
}

body.dark .sidebar2 {
  background: #1C1C24;
  -webkit-box-shadow: inset -1px 0px 0px #292932;
  box-shadow: inset -1px 0px 0px #292932;
}

body.dark .sidebar2__top {
  border-color: #44444F;
}

body.dark .sidebar2__pic_black {
  display: none;
}

body.dark .sidebar2__pic_white {
  display: inline-block;
}

body.dark .sidebar2__profile {
  border-color: #44444F;
  background: #292932;
  color: #FAFAFB;
}

body.dark .sidebar2__user {
  color: #FAFAFB;
}

body.dark .sidebar2__item {
  color: #B5B5BE;
}

body.dark .sidebar2__item .icon {
  fill: #B5B5BE;
}

body.dark .sidebar2__item:before {
  background: #FAFAFB;
}

body.dark .sidebar2__item:hover, body.dark .sidebar2__item.active {
  color: #FAFAFB;
}

body.dark .sidebar2__item:hover .icon, body.dark .sidebar2__item.active .icon {
  fill: #FAFAFB;
}

body.dark .sidebar2__link {
  color: #FAFAFB;
}

body.dark .sidebar2__link:hover {
  color: #50B5FF;
}

@media only screen and (max-width: 1199px) {
  .sidebar2 {
    top: 0;
    z-index: 10;
    width: 280px;
    padding: 80px 0 70px;
    -webkit-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: -webkit-transform .25s;
    transition: -webkit-transform .25s;
    -o-transition: transform .25s;
    transition: transform .25s;
    transition: transform .25s, -webkit-transform .25s;
  }
  .sidebar2.visible {
    -webkit-transform: translateX(0);
    -ms-transform: translateX(0);
    transform: translateX(0);
  }
  .sidebar2__top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 80px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    padding: 0 20px;
    border-bottom: 1px solid #E2E2EA;
  }
}

@media only screen and (max-width: 1023px) {
  .sidebar2 {
    padding: 70px 0;
  }
  .sidebar2__top {
    height: 70px;
  }
}


@media only screen and (max-width: 767px) {
  .sidebar2 {
    padding: 70px 0 65px;
  }
  .sidebar2__close .icon {
    font-size: 16px;
  }
  .sidebar2__profile {
    margin-bottom: 15px;
  }
  .sidebar2__nav {
    margin-bottom: 30px;
  }
  .sidebar2__item {
    height: 44px;
  }
  .sidebar2__category {
    margin-bottom: 15px;
  }
  .sidebar2__link:not(:last-child) {
    margin-bottom: 15px;
  }
  .sidebar2 .switch {
    bottom: 15px;
  }
}

