/* Sidebar */

.mdc-drawer {
  background: linear-gradient(#020b35, #04218f);
  position: fixed;
  &--open,
  &__drawer {
  }

  .mdc-drawer__header {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    .brand-logo {
      text-align: center;
      display: block;
      padding: 28px 0;
    }
  }
  .mdc-drawer__content {
    .user-info {
      background-color: #050d30;
      padding: 10px;
      border-radius: 5px;
      font-weight: 300;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }

    .user-info .last-name {
        font-weight: 500;
        font-size: 1.2em;
    }

    .user-info .first-name {
        font-weight: 400;
        font-size: 1.1em;
    }

    .user-info p {
        margin-bottom: 5px;
    }

    .contacts {
      color: #b2b2b2;
      font-size: 0.9em;
    }

    .mdc-drawer-menu {
      .mdc-drawer-item {
        cursor: pointer;
        display: block;
        height: auto;
        padding: 0;

        &:before {
          z-index: -1;
        }

        &:active {
          &:before {
            opacity: 0;
          }
        }
        .mdc-expansion-panel-link,
        .mdc-drawer-link {
          height: 40px;
          line-height: 48px;
          padding: 0 0.75rem;
          font-size: 0.875rem;
          font-weight: 500;
          text-decoration: none;

          i {
            color: inherit;
            &.mdc-drawer-item-icon {
              font-size: 1.25rem;
              margin-right: 0.562rem;
            }
          }

          .mdc-drawer-arrow {
            margin-left: auto;
            font-size: 1.25rem;
            transition: all .3s ease;
            &.expanded {
              transform: rotate(90deg);
            }
          }

          &.expanded {
            .mdc-drawer-arrow {
              transform: rotate(90deg);
            }
          }

          &.active {
            background: #fff;
            color: #000;
            font-weight: bold;
          }
        }

        .mdc-expansion-panel {
          display: none;
        }
      }
    }
    .profile-actions {

      margin-top: 20px;
      margin-bottom: 38px;
      padding: 0 0.75rem;
      a {
        font-weight: 500;
        font-size: 12px;
        color: #bababa;
        padding: 0 10px;
        &:first-child {
          padding-left: 0;
        }
        &:last-child {
          padding-right: 0;
        }
      }
      .divider {
        width: 1px;
        height: 10px;
        margin-top: 1px;
        background: #bababa;
      }
    }
  }

  .ps {
    .ps__rail-y {
      &:hover {
        background: transparent;
        .ps__thumb-y {
          width: 6px;
        }
      }
      .ps__thumb-y {
        background-color: #6d6386;
        width: 4px;
      }
    }
  }
}
