.sidebar .sidebar-item-list .nav-list li.active {
  background-color: #58315E;
}

.sidebar .sidebar-item-list .item-list li.active img,
.sidebar .sidebar-item-list .item-list li:hover img {
  border-color: #58315e;
}

.sidebar .sidebar-item-list .nav-list li {
  flex: initial;
  padding: 10px;

  color: #ffffff;

  background-color: #4A4A4A;
}

.sidebar .sidebar-item-list .nav-list.side {
  justify-content: initial;
}

.ps .ps__rail-y {
  opacity: 1;
}

.sidebar.small {
  display: none !important;
}

.sidebar {
  display: block !important;
}

.sidebar .sidebar-item-list .nav-list li:nth-child(3) {
  display: none;
}

.preview img {
  max-width: 100%;
}

.confirm-toggler {
  background-color: #58315e;
}

.fullscreen-toggler {
  background-color: #58315e;
}

.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus,
.navbar-toggler:hover {
  background-color: #58315e;
}

.confirm-toggler {
  display: none;
}

@media screen and (min-width: 1200px) {
  .sidebar .sidebar-item-list .item-list.side {
    height: calc(100vh - 92px);
  }

  .preview img {
    right: 0;
    /* max-width: calc(100% - 250px); */
    width: calc(100% - 250px);
    height: calc(100% - 0px);
    object-fit: cover;
  }
}

@media screen and (min-width: 1991px) {
  .base-img {
    width: 100%;
  }

  #app {
    max-width: 100%;
    max-height: 100%;
  }
}


@media screen and (max-width: 1199px) {
  .preview img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media screen and (min-height: 1072px) and (min-width: 1024px) {
  .base-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #app {
    max-width: 100%;
    max-height: 100%;
  }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
  .sidebar.hid {
    -webkit-transform: initial;
    transform: initial;
  }

  .sidebar {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1090;
    width: 155px;
    height: 100%;
    color: #fff;
    background-color: rgba(89, 89, 89, .9);
    -webkit-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
  }

  .sidebar .sidebar-item-list {
    padding: 1.5rem;
    text-align: center;
    flex: initial;
    -webkit-box-flex: initial;
    -ms-flex: initial;
    min-width: initial;
  }

  .sidebar .sidebar-item-list .item-list,
  .sidebar .sidebar-item-list .item-list.side {
    height: auto;
    text-align: left;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
  }

  .sidebar .sidebar-item-list .item-list,
  .sidebar .sidebar-item-list .item-list.side {
    text-align: initial;
    white-space: initial;
  }


  .sidebar .sidebar-item-list .item-list {
    height: calc(100vh - 135px);
    overflow: auto;
  }

  .sidebar .sidebar-item-list .item-list.side {
    height: calc(100vh - 95px);
  }

  .sidebar .sidebar-item-list .nav-list {
    position: absolute;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    width: 100%;
    text-align: center;
    list-style: none;
  }

  .sidebar .sidebar-item-list .nav-list.side {
    position: absolute;
    top: 0;
    left: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: auto;
  }

  .sidebar .sidebar-item-list .title-wrapper h3 {
    display: block;
    font-size: 12px;
  }

  .sidebar .sidebar-item-list .title-wrapper img {
    margin-right: 0;
  }

  .sidebar .sidebar-item-list .item-list.side li img,
  .sidebar .sidebar-item-list .item-list li img {
    /* width: initial;
    height: initial; */
    width: 90px;
    height: 90px;
  }

  .sidebar .sidebar-item-list .item-list.side li, 
  .sidebar .sidebar-item-list .item-list li {
    display: block;
    margin-left: 0;
    margin-bottom: 0;
  }

  .sidebar .sidebar-item-list .item-list.side li span, .sidebar .sidebar-item-list .item-list li span {
    padding: 0 14px;
    display: block;
    line-height: 1.2;
    font-size: 12.5px;
  }

  .sidebar .sidebar-item-list .nav-list li {
    padding: 8px;
    font-size: 12.5px;
  }


  .confirm-toggler {
    display: none;
  }
}

@media screen and (max-width: 991px) {
  .sidebar .sidebar-item-list .item-list.side li span, .sidebar .sidebar-item-list .item-list li span {
    padding: 0 10px;
    display: block;
    line-height: 1.2;
    font-size: 12.5px;
  }

  .sidebar .sidebar-item-list .nav-list.side li,
  .sidebar .sidebar-item-list .nav-list li {
    font-size: 12.5px;
    width: 88px;
    height: 0;
    min-height: 41px;
  }

  .sidebar:not(.hid) .mobile-togglers {
    position: absolute;
    top: 0;
    right: -137px;
    font-size: 0;
  }

  .sidebar.hid .mobile-togglers {
    position: absolute;
    top: 0;
    bottom: initial;
    left: 232px;
    font-size: 0;
  }

  .mobile-togglers {
    display: flex;
  }

  .confirm-toggler.mobile,
  .fullscreen-toggler.shown,
  .navbar-toggler {
    display: block;
  }

  /* .navbar-toggler {
    border: 1px solid #fff;
  } */

  .confirm-toggler.mobile {
    display: none;
  }

  .fullscreen-toggler.shown,
  .fullscreen-toggler {
    display: none;
  }

  .sidebar {
    width: 140px;
  }

  .sidebar:not(.hid) {
    -webkit-transform: initial;
    transform: initial;
  }

  .sidebar.hid {
    transform: translateX(-166%);
  }

  .sidebar .sidebar-item-list {
    padding: 1.5rem;
    text-align: center;
    flex: initial;
    -webkit-box-flex: initial;
    -ms-flex: initial;
    min-width: initial;
  }

  .sidebar .sidebar-item-list .item-list,
  .sidebar .sidebar-item-list .item-list.side {
    height: auto;
    text-align: left;
    overflow-y: hidden;
    overflow-x: auto;
    white-space: nowrap;
  }


  .sidebar .sidebar-item-list .item-list,
  .sidebar .sidebar-item-list .item-list.side {
    text-align: initial;
    white-space: initial;
  }


  .sidebar .sidebar-item-list .item-list {
    height: calc(100vh - 135px);
    overflow: auto;
  }

  .sidebar .sidebar-item-list .item-list.side {
    height: calc(100vh - 95px);
  }

  .sidebar .sidebar-item-list .nav-list {
    position: absolute;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    width: 100%;
    text-align: center;
    list-style: none;
  }

  .sidebar .sidebar-item-list .nav-list.side {
    position: absolute;
    top: 0;
    left: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: auto;
  }


  .sidebar .sidebar-item-list h3 {
    display: block;
  }

  .sidebar .sidebar-item-list .item-list.side li img,
  .sidebar .sidebar-item-list .item-list li img {
    /* width: initial;
    height: initial; */
    width: 60px;
    height: 60px;
  }

  .sidebar .sidebar-item-list .item-list.side li, .sidebar .sidebar-item-list .item-list li {
    display: block;
    margin-left: 0;
    margin-bottom: 0;
  }

  .sidebar .sidebar-item-list .title-wrapper h3 {
    font-size: 12.5px;
  }

  .sidebar .sidebar-item-list .title-wrapper img {
    margin-right: 0;
  }
}