

:root {
  --sidebar-bg:#81ABE9; /*Цвет фона панели*/
  --sidebar-item-bg: transparent; /*Цвет фона пунктов меню*/
  --sidebar-item-bg-hover: rgba(0, 0, 0, .1); /*Цвет фона пунктов меню при наведении*/
  --sidebar-subitem-bg-hover: rgba(0, 0, 0, .1); /*Цвет фона пунктов подменю при наведении*/
  --sidebar-subitem-block-bg: rgba(0, 0, 0, .1); /*Цвет фона блока подменю*/
  --sidebar-item-icon-color: #fff; /*Цвет иконок*/
  --sidebar-text-color: #fff; /*Цвет текста*/
  --sidebar-notofication-count-bg: #e50a0a; /*Цвет фона счетчика уведомлений*/
  --sidebar-notofication-count-color: #fff; /*Цвет текста счетчика уведомлений*/
  --sidebar-subitem-block-notification-bg: #f4f4f4; /*Цвет фона списка уведомлений*/
  --sidebar-notofication-color: #343434; /*Цвет текста и иконок блока уведомлений*/
  --sidebar-search-bg: #e50a0a; /*Цвет фона строки поиска*/
  --sidebar-search-color: #343434; /*Цвет текста и иконок строки поиска*/
  --sidebar-search-result-bg: #fff; /*Цвет фона блока с результатами поиска*/
  --sidebar-search-result-color: #343434; /*Цвет текста блока с результатами поиска*/
  --sidebar-search-result-item-hover-bg: rgba(0,0,0,.15); /*Цвет фона найденного тренинга/урока при наведении*/
}

.gc-main-content.with-left-menu {
  transition: all .3s;
}

.gc-account-leftbar {
  display:none;
}

.custom-sidebar-container {
  position:fixed;
  top:0;
  left:0;
  width:70px;
  z-index:9999;
  transition:all .3s;
  height:100%;
}

.custom-sidebar-container.open-menu {
  width:300px;
}

.custom-sidebar-container.open-menu ~ .gc-main-content {
  margin-left:300px;
}

.custom-sidebar-container ~ .gc-main-content .resp-full-window {
  transition: all .3s;
}

.custom-sidebar-container.open-menu ~ .gc-main-content .resp-full-window {
  transition: all .3s;
  left:300px!important;
}

.custom-sidebar-container ~ .gc-main-content .gc-into-main-content {
  transition: all .3s;
}

.custom-sidebar-container.open-menu ~ .gc-main-content .gc-into-main-content {
  left:300px;
}

.custom-sidebar-container ~ .gc-modal .modal-content {
  transition: all .3s;
}

.custom-sidebar-container.open-menu ~ .gc-modal .modal-content {
  margin-left:300px;
}

.custom-sidebar {
  width:70px;
  background:var(--sidebar-bg);
  height:100%;
  display:flex;
  flex-direction:column;
  position:fixed;
  top:0;
  left:0;
  padding:8px;
  box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.15);
  transition:all .3s;
  z-index:99;
  gap:4px;
}

.custom-sidebar.open-menu {
  width:300px;
  overflow-y:auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.custom-sidebar.open-menu::-webkit-scrollbar {
  display: none;
}

.custom-sidebar-container .toggle-sidebar-btn {
  position:absolute;
  width:32px;
  height:32px;
  background:var(--sidebar-bg);
  border-left:2px solid rgba(255, 255, 255, .2);
  border-radius:50%;
  left:calc(100% + 12px);
  bottom:20px;
  transform:translatex(-100%);
  box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.15);
  transition:all .3s;
  z-index:999
}

.custom-sidebar-container .toggle-sidebar-btn:before {
  content:'';
  display:block;
  width:16px;
  height:16px;
  background:var(--sidebar-item-icon-color);
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  mask-image:url(/fileservice/file/download/a/790870/sc/240/h/b1a4016d319e9c35cd5b9ba976053edf.svg);
  -webkit-mask-image:url(/fileservice/file/download/a/790870/sc/240/h/b1a4016d319e9c35cd5b9ba976053edf.svg);
  mask-size:cover;
  -webkit-mask-size:cover;
}

.custom-sidebar-container.open-menu .toggle-sidebar-btn:before {
  transform:translate(-50%, -50%) rotate(180deg);
}

.custom-sidebar .custom-sidebar-item {
  position:relative;
  transition:all .3s;
}

.custom-sidebar .sidebar-support-block {
  margin-top:auto;
  margin-bottom:5px;
  padding-top:25px
}

.custom-sidebar .custom-sidebar-item .notification-count {
  position:absolute;
  top:12px;
  right:12px;
  font-size:0;
  background:var(--sidebar-notofication-count-bg);
  width:12px;
  height:12px;
  border-radius:50%;
  transition:all .3s;
  pointer-events:none
}

.custom-sidebar .custom-sidebar-item .custom-subitem-block .notification-count {
  font-size:12px;
  padding:3px 7px;
  width:fit-content;
  height:fit-content;
  border-radius:8px;
  right:8px;
  top:50%;
  transform:translatey(-50%);
  min-width:27px;
  text-align:center;
  line-height:130%
}

.custom-sidebar.open-menu .custom-sidebar-item .notification-count {
  font-size:12px;
  width:fit-content;
  height:fit-content;
  color:var(--sidebar-notofication-count-color);
  padding:3px 7px;
  border-radius:8px;
  top:15px;
  right:8px;
  min-width:27px;
  text-align:center;
  line-height:130%
}

.custom-sidebar.open-menu .custom-sidebar-item .custom-subitem-block .notification-count {
  top:50%;
  transform:translatey(-50%);
}

.custom-sidebar .custom-sidebar-item .sidebar-item-arrow {
  width:0;
  transition:all .3s;
}

.custom-sidebar.open-menu .custom-sidebar-item .sidebar-item-arrow {
  width:20px;
  height:20px;
  background:var(--sidebar-item-icon-color);
  position:absolute;
  top:50%;
  right:12px;
  mask-image: url(/fileservice/file/download/a/790870/sc/240/h/b1a4016d319e9c35cd5b9ba976053edf.svg);
  -webkit-mask-image: url(/fileservice/file/download/a/790870/sc/240/h/b1a4016d319e9c35cd5b9ba976053edf.svg);
  mask-size: cover;
  -webkit-mask-size: cover;
  transform:translatey(-50%) rotate(90deg);
}

.custom-sidebar.open-menu .custom-sidebar-item a.selected .sidebar-item-arrow {
  transform:translatey(-50%) rotate(-90deg);
}

.custom-sidebar .custom-sidebar-item > a,
.custom-sidebar .sidebar-support-block > a {
  height:54px;
  border-radius:8px;
  display:block;
  position:relative;
  transition:all .3s;
  overflow:hidden;
  background:var(--sidebar-item-bg);
}

.custom-sidebar.open-menu .custom-sidebar-item > a {
  border-radius:8px;
}

.custom-sidebar.open-menu .custom-sidebar-item > a.selected {
  border-radius:8px 8px 0 0;
}

.custom-sidebar .custom-sidebar-item > a:hover,
.custom-sidebar .sidebar-support-block > a:hover,
.custom-sidebar .custom-sidebar-item > a.selected{
  background:var(--sidebar-item-bg-hover);
}

.custom-sidebar > .custom-item-profile {
  margin-bottom:8px;
}

.custom-sidebar > .custom-item-profile > a {
  display:flex;
  align-items: center;
  justify-content: center;
}

.custom-sidebar > .custom-item-profile img {
  z-index:999;
  position:absolute;
  border-radius:8px;
  width:44px;
  height:44px;
  top:5px;
  left:5px;
}

.custom-sidebar > .custom-item-profile .sidebar-profile-info {
  position:absolute;
  top:50%;
  left:62px;
  transform:translatey(-50%);
}

.custom-sidebar > .custom-item-profile .sidebar-profile-info > div {
  font-size:16px;
  line-height:120%;
  color:var(--sidebar-text-color);
  white-space: nowrap;
  overflow: hidden; 
  text-overflow: ellipsis;
  max-width:200px;
  width:100%;
  padding-right:50px;
}

.custom-sidebar > .custom-item-profile .sidebar-profile-info .sidebar-profile-email {
  opacity:.6;
  font-size:12px;
}

.custom-sidebar .custom-sidebar-item > a:after,.custom-sidebar .sidebar-support-block > a:after {
  content:attr(item-title);
  position:absolute;
  top:50%;
  left:62px;
  transform:translatey(-50%);
  color:var(--sidebar-text-color);
  line-height:130%;
}

.custom-sidebar .custom-item-notifications_button_small > a:after {
  content:'Уведомления';
}

.custom-sidebar .sidebar-support-block > a:after {
  content:'Поддержка'
}

.custom-sidebar .custom-item-profile > a:after {
  display:none;
}

.custom-sidebar .custom-sidebar-item > a:before,
.custom-sidebar .sidebar-support-block a:before {
  content:'';
  position:absolute;
  background:var(--sidebar-item-icon-color);
  display:block;
  width:24px;
  height:24px;
  top:15px;
  left:15px;
  mask-size:cover;
}

.custom-sidebar .custom-item-profile > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/20/h/c43748954dc006d7037d970ec9576f42.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/20/h/c43748954dc006d7037d970ec9576f42.svg');
  width:32px;
  height:32px;
  top:11px;
  left:11px;
}

.custom-sidebar .custom-item-notifications_button_small > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/248/h/ddab8bd0d298b6ccf8f0012566e82496.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/248/h/ddab8bd0d298b6ccf8f0012566e82496.svg');
}

.custom-sidebar .custom-item-cms > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/390/h/ee4408dc7996efc406a139bdaec8dab2.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/390/h/ee4408dc7996efc406a139bdaec8dab2.svg');
}

.custom-sidebar .custom-item-teach > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/244/h/46f7a62f5eec57add25026c16b07eb77.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/244/h/46f7a62f5eec57add25026c16b07eb77.svg');
}

.custom-sidebar .custom-item-user > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/169/h/72f894b52f76cd55cf69fde21c228735.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/169/h/72f894b52f76cd55cf69fde21c228735.svg');
}

.custom-sidebar .custom-item-tasks > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/29/h/f5a35e72384b2977d558dd8b31919576.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/29/h/f5a35e72384b2977d558dd8b31919576.svg');
}

.custom-sidebar .custom-item-notifications > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/506/h/02f40492abf44285b9113a71bf608817.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/506/h/02f40492abf44285b9113a71bf608817.svg');
}

.custom-sidebar .custom-item-sales > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/361/h/fcc8bb3e016d236b742ad0b8fbe0b4a1.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/361/h/fcc8bb3e016d236b742ad0b8fbe0b4a1.svg');
}

.custom-sidebar .custom-item-chatium > a:before {
  content:'';
  mask-image:url('/fileservice/file/download/a/790870/sc/143/h/9ab66026b7d943bcd3f22bb516a34767.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/143/h/9ab66026b7d943bcd3f22bb516a34767.svg');
}

.custom-sidebar .sidebar-support-block a:before {
  mask-image:url('/fileservice/file/download/a/790870/sc/312/h/cf1c34ca6f897e9c0980b896e7edd2c3.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/312/h/cf1c34ca6f897e9c0980b896e7edd2c3.svg');
}

.custom-sidebar .custom-subitem-block {
  display:none;
  position:fixed;
  top:0;
  left:75px;
  background:var(--sidebar-bg);
  border-radius:8px;
  box-shadow: 0 4px 4px 0px rgba(0, 0, 0, 0.15);
  padding:8px;
}

.custom-sidebar:not(.open-menu) .custom-subitem-block {
  max-width:fit-content;
  width:100%;
  min-width:250px;
}

.custom-sidebar.open-menu .custom-subitem-block {
  position:relative;
  left:0;
  border-radius:0 0 8px 8px;
  background:var(--sidebar-subitem-block-bg);
  box-shadow: none;
}

.custom-sidebar .custom-item-notifications_button_small .custom-subitem-block {
  background:var(--sidebar-subitem-block-notification-bg);
}

.custom-sidebar:not(.open-menu) .custom-item-notifications_button_small .custom-subitem-block {
  max-height:80%;
  overflow-y:auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background:var(--sidebar-subitem-block-notification-bg);
  box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.55);
  max-width:300px;
  padding:16px;
}

.custom-sidebar .custom-item-notifications_button_small .custom-subitem-block::-webkit-scrollbar {
  display: none;
}

.custom-sidebar.open-menu .custom-item-notifications_button_small .side-bar-subitems-header {
  padding:8px 12px 0;
  font-size:0;
}

.custom-sidebar .custom-item-notifications_button_small .side-bar-subitems-header {
  display:block;
  align-items:center;
  margin-bottom:16px;
  color: var(--sidebar-notofication-color);
  font-size: 20px;
}

.custom-sidebar .custom-item-notifications_button_small .side-bar-subitems-header > a {
  color: var(--sidebar-notofication-color);
  font-size: 14px;
  white-space:nowrap;
  text-decoration:underline;
  margin-top:3px;
  justify-content: flex-start;
  padding:0;
  background:none!important;
}

.custom-sidebar .custom-item-notifications_button_small .notification-block {
  position:relative;
}

.custom-sidebar .custom-item-notifications_button_small .notification-block a:not(.notification-close) {
  padding:8px;
  align-items: flex-start;
  padding-right:40px;
  text-decoration:none;
  justify-content:start;
  display:flex;
}

.custom-sidebar .custom-item-notifications_button_small .notification-block > a.viewed {
  opacity:.5;
}

.custom-sidebar .custom-item-notifications_button_small .notification-block .notification-close {
  width:24px;
  height:24px;
  position:absolute;
  top:8px;
  right:8px;
  background:var(--sidebar-notofication-color);
  mask-image:url('/fileservice/file/download/a/790870/sc/137/h/5f7cc03a100e7cbc00b5a7496e971664.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/137/h/5f7cc03a100e7cbc00b5a7496e971664.svg');
  mask-size:cover;
  -webkit-mask-size:cover;
  z-index:999
}

.custom-sidebar .custom-item-notifications_button_small .notification-block > a img {
  margin-right:12px;
}

.custom-sidebar .custom-item-notifications_button_small .notification-block > a .notification-content {
  display:flex;
  flex-direction:column;
} 

.custom-sidebar .custom-item-notifications_button_small .notification-block > a .notification-text {
  color: var(--sidebar-notofication-color);
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width:160px;
  line-height:130%;
}

.custom-sidebar .custom-item-notifications_button_small .notification-block > a .notification-date {
  color: var(--sidebar-notofication-color);
  font-size: 14px;
  line-height:130%;
  opacity:.5;
  margin-top:5px;
}

.custom-sidebar .custom-item-notifications_button_small a.all-notifications-link {
  white-space: nowrap;
  color: var(--sidebar-notofication-color);
  font-size: 16px;
  line-height:130%;
  transition:all .3s;
  background:none!important;
  margin-top:10px;
  opacity:.7;
  border-bottom:1px dashed #343434;
  width:fit-content;
  margin:20px auto 0;
  padding:0;
  border-radius:0!important;
}

.custom-sidebar.open-menu .custom-item-notifications_button_small a.all-notifications-link {
  margin:20px auto 10px;
}

.custom-sidebar .custom-item-notifications_button_small a.all-notifications-link:hover {
  opacity:1;
}

.custom-sidebar .custom-subitem-block a {
  font-size:16px;
  line-height:130%;
  color:var(--sidebar-text-color);
  padding:8px 12px;
  display:block;
  transition:all .3s;
  width:100%;
  text-decoration:none;
  position:relative
}

.custom-sidebar .custom-subitem-block a:hover {
  background:var(--sidebar-subitem-bg-hover);
  border-radius:8px;
}

/*Строка поиска*/
.custom-sidebar-container .search-block {
  position:relative;
  width:54px;
  height:fit-content;
  margin-bottom:8px;
  transition:all .3s;
}

.custom-sidebar-container.open-menu .search-block{
  width:100%;
}

.custom-sidebar-container .search-icon {
  position:absolute;
  width:54px;
  height:54px;
  display:block;
  top:0px;
  left:0;
  mask-image:url('/fileservice/file/download/a/790870/sc/214/h/c8ca90c6276e63b78f592ef48ae16e62.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/214/h/c8ca90c6276e63b78f592ef48ae16e62.svg');
  mask-size:20px;
  -webkit-mask-size:20px;
  mask-position:center;
  -webkit-mask-position:center;
  mask-repeat:no-repeat;
  -webkit-mask-repeat:no-repeat;
  background:var(--sidebar-search-color);
  cursor:pointer;
  pointer-events:none;
}

.custom-sidebar-container .search-icon.load {
 mask-image:url('/fileservice/file/download/a/790870/sc/95/h/132464d44d919aa318f89ad460185abc.svg');
  animation:load 1.5s infinite linear;
}

@keyframes load {
  0% {
    transform:rotate(0deg)
  }
  100% {
    transform:rotate(360deg);
  }
}

.custom-sidebar-container .field-search {
  width:100%;
  border:1px solid #eee;    
  box-shadow: inset 0 1px 2px #eee;
  border-radius:8px;
  outline:none;
  height:54px;
  padding-left:50px;
}

.custom-sidebar-container.open-menu .field-search {
  padding:8px 50px;
}

.custom-sidebar-container .field-search::placeholder {
  width:0;
}

.custom-sidebar-container.open-menu .field-search::placeholder {
  width:100%;
}

.custom-sidebar-container .search-clear {
  position:absolute;
  width:0px;
  height:24px;
  display:block;
  top:15px;
  right:15px;
  mask-image:url('/fileservice/file/download/a/790870/sc/72/h/014aa4a829a222731341a0ebf9532de5.svg');
  -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/72/h/014aa4a829a222731341a0ebf9532de5.svg');
  mask-size:cover;
  background:var(--sidebar-search-color);
  cursor:pointer;
  transition:all .3s
}

.custom-sidebar-container.open-menu .search-clear {
  width:24px;
}

.custom-sidebar-container .result-wrap {
  position:relative;
  top:10px;
  left:0;
  width:100%;
  z-index:999;
  background:var(--sidebar-search-result-bg);
  border-radius:8px;
  padding:12px;
  max-height:300px;
  box-shadow: 0 4px 32px 0 rgba(0, 0, 0, .2);
  overflow-y:scroll;
}

.custom-sidebar-container .result-wrap::-webkit-scrollbar {
  width:3px;
}

.custom-sidebar-container .result-wrap::-webkit-scrollbar-track {
  background:transparent;
}

.custom-sidebar-container .result-wrap::-webkit-scrollbar-thumb {
  background:var(--sidebar-search-result-color);
  border-radius:10px;
}

.custom-sidebar-container .result-wrap h3 {
  color:var(--sidebar-search-result-color);
  font-size:12px;
  line-height:110%;
  font-weight:400;
  margin-bottom:10px;
  opacity:.7;
  margin-top:0;
}

.custom-sidebar-container .result-wrap h3:not(:first-child) {
  margin-top:20px;
}

.custom-sidebar-container .result-wrap a {
  display:flex;
  justify-content: space-between;
  gap:10px;
  margin-bottom:5px;
  text-decoration:none;
  transition:all .3s;
  border-radius:5px;
  padding:8px;
}

.custom-sidebar-container .result-wrap a:hover {
  background:var(--sidebar-search-result-item-hover-bg);
}

.custom-sidebar-container .result-wrap a .image-wrap {
  width:45px;
  height:45px;
  flex:0 0 45px;
  display:flex;
  align-items: center;
  justify-content: center;
  border-radius:5px;
}

.custom-sidebar-container .result-wrap a .image-wrap img {
  border-radius:5px;
  width:45px;
}

.custom-sidebar-container .result-wrap a .result-title {
  color:var(--sidebar-search-color);
}

.custom-sidebar-container .result-wrap a .result-description {
  color:var(--sidebar-search-color);
  opacity:.7;
}

@media(max-width:768px) {
  .custom-sidebar-container {
    width:100%!important;
    height:fit-content;
    background:var(--sidebar-bg);
    padding:16px;
    display:flex;
    align-items: center;
  }
    
  .gc-main-content.with-left-menu {
    padding-top:80px;
  }
    
  .gc-page-nav-items-menu {
    display:none;
  }
    
  .gc-main-content.with-left-menu.account-page-content .resp-full-window {
    margin-top:80px;
    left:0!important;
    height:calc(100% - 80px)!important
  }
    
  .gc-main-content.with-left-menu.account-page-content .resp-full-window .resp-body {
    height:100%!important;
  }
    
  .gc-main-content.with-left-menu.account-page-content .resp-full-window .resp-list{
    height:calc(100% - 31px)!important;
  }
  
  .custom-sidebar {
    top:74px;
    display:none;
    height:calc(100vh - 74px);
  }
  
  .custom-sidebar.open-menu {
    width:100%;
  }
  
  .custom-sidebar-container .toggle-sidebar-btn {
    position:relative;
    display:block;
    left:0;
    bottom:unset;
    transform:translatex(0);
    width:38px;
    height:38px;
    box-shadow:none;
    border:none;
    background:transparent;
    margin-right:16px;
    flex:0 0 38px;
  }
  
  .custom-sidebar-container .toggle-sidebar-btn:before {
    width:24px;
    height:24px;
    mask-image:url('/fileservice/file/download/a/790870/sc/120/h/fb290e669cf7a4941206a6fc4749864f.svg');
    -webkit-mask-image:url('/fileservice/file/download/a/790870/sc/120/h/fb290e669cf7a4941206a6fc4749864f.svg');
  }
  
  .custom-sidebar-container .search-block {
    margin-left:auto;
    margin-bottom:0;
    width:48px!important;
  }
  
  .custom-sidebar-container .search-icon {
    width:48px;
    height:48px;
  }
  
  .custom-sidebar-container .field-search {
    padding:0!important;
    padding-left:46px!important;
    height:48px;
    text-overflow: ellipsis;
  }
  
  .custom-sidebar-container .search-clear {
    top:12px;
    width:0!important;
  }
  
  .custom-sidebar-container .search-block.opened-search-field,
  .custom-sidebar-container .search-block.opened-search-field .field-search::placeholder{
    width:100%!important;
    margin-bottom:0!important;
  }
  
  .custom-sidebar-container .search-block.opened-search-field .field-search {
    padding:0 46px!important;
  }
  
  .custom-sidebar-container .search-block.opened-search-field .search-clear {
    width:24px!important;
  }
  
  .custom-sidebar-container .result-wrap {
    position:absolute;
    top:74px;
  }
  
  .custom-sidebar-container > .custom-item-profile {
    transition:all .3s;
    margin-left:16px;
    position:relative;
  }
  
  .custom-sidebar-container > .opened-search-field ~ .custom-item-profile {
    margin-left:0;
  }
  
  .custom-sidebar-container > .custom-item-profile a {
    display:block;
    overflow:hidden;
    transition:all .3s;
  }
  
  .custom-sidebar-container > .opened-search-field ~ .custom-item-profile a {
    width:0;
  }
  
  .custom-sidebar-container > .custom-item-profile .sidebar-profile-info {
    display:none;
  }
  
  .custom-sidebar-container > .custom-item-profile img {
    border-radius:8px;
  }
  
  .custom-sidebar-container > .custom-item-profile .custom-subitem-block {
    position:absolute;
    padding:8px;
    background: var(--sidebar-bg);
    right:0;
    top:74px;
    border-radius:8px;
    box-shadow: 0 2px 4px 0px rgba(0, 0, 0, 0.55);
    display:none;
  }
  
  .custom-sidebar-container > .custom-item-profile .custom-subitem-block a {
    font-size: 16px;
    line-height: 130%;
    color: var(--sidebar-text-color);
    padding: 8px 12px;
    display: block;
    transition: all .3s;
    width: 100%;
    white-space: nowrap;
    text-decoration: none;
  }
  
  .custom-sidebar-container > .custom-item-profile .custom-subitem-block a:hover {
    background: var(--sidebar-item-bg-hover);
    border-radius: 8px;
  }
}


