



/* ------------- 
content start - menu.css
------------- */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  --color-menu-bg: #000000;/**/
  --color-text: #ffffff;/**/
 /* --color-accent: #b486ff;*/
  --color-menu-item-hover: rgba(255, 255, 255, 0.2);/*!*/
  --color-user-bg: #FEADFF;/**/
  --color-email: #848484;/**/
  --url-item-after: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/473/h/1311f2939acdb95182773855b382734c.svg);
  --url-cms-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/344/h/b30f8f616045cdccf7fce281ffe635d3.svg);
  --url-teach-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/229/h/beffd1e43a363bb6003c727735f634aa.svg);
  --url-user-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/56/h/f654c16374b5e068d05d3fe627327e06.svg);
  --url-task-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/41/h/78c075b687a123d3f4420b2d80a3913e.svg);
  --url-notification-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/298/h/4abc83549d6761a0df52faf9b5c45bf8.svg);
  --url-sales-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/95/h/5a834e97a00f13a5568a49fc096d032b.svg);
  --url-back-link-icon: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/11/h/404a1b9f646568584afc26793d3227d1.svg);
  --bg-burger: #FEADFF
    url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/109/h/91cb8a18df6cf7bdbfbcb9f7bbdab04b.svg)
    no-repeat center/50%;
  --font-family: 'Montserrat', sans-serif;
        /* счетчики */
    --color-counter-bg: #ffffff;/**/
    --color-counter-text: #000000;/**/
}
body.js-overflow {
  overflow: hidden;
}

.gc-account-leftbar {
  display: none;
}
.gc-page-nav-items-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  color: white;
}

.resp-screen {
  left: 69px !important;
}
@media(max-width: 768px) {
    .resp-screen {support
        left: 0px !important;
    }
  .gc-page-nav-items-menu {
    display: none !important;
  }
}
/* счетчики */
.new-menu__counter {
    min-width: 24px;
    padding: 2px 6px;
    border-radius: 20px;
    background-color: var(--color-counter-bg);
    display: inline-flex;
    place-content: center;
    color: var(--color-counter-text);
    position: absolute;
    top: 50%;
    transform: translate(0px, -50%);
    right: 10px;
    font-size: 12px;
    height: 24px;
    line-height: 20px;
    z-index: 10;
}
.new-menu.minimized .new-menu__counter {
    width: 8px;
    height: 8px;
    min-width: auto;
    padding: 0px;
    position: absolute;
    top: 6px;
    right: 6px;
    font-size: 0px;
}

.new-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100005;
  padding-right: 5px;
}

.new-menu__container {
  width: 225px;
  padding: 12px 30px 12px;
  background: var(--color-menu-bg);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  height: 100vh;
  transition: width 0.3s;
}

/* logo,  search, banner */
.new-menu__logo, .new-menu__search-wrap, .new-menu__banner {
    display: none;
}


/* user */
.new-menu__user {
  width: 100%;
  padding: 18px 20px 0px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}
.new-menu__user .new-menu__item-wrap {
  position: static;
}
.new-menu__user .new-menu__item {
  padding: 0;
}
.new-menu__user .new-menu__item::before,
.new-menu__user .new-menu__item::after {
  display: none;
}
.new-menu__user .new-menu__item:hover,
.new-menu__user .new-menu__item.active {
  background: transparent;
}
.new-menu__user-avatar {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
 /* margin-right: 18px;*/
  margin-bottom: 15px;  
}
.new-menu__user-data-wrap {
  overflow: hidden;
  margin-bottom: 30px;
}
.new-menu__user-name {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: var(--color-text);
  margin-bottom: 4px;
  white-space: nowrap;
}
.new-menu__user-mail {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 14px;
  color: var(--color-email);
  /*opacity: 0.5;*/
  white-space: nowrap;
}
.new-menu__user-exit {
   display: none;
}

/* menu-items */
.new-menu__main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    scrollbar-width: none;
    /*
    overflow-y: auto;
    overflow-x: hidden;
    */
}
.new-menu__main::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}
.new-menu__item-wrap {
  position: relative;
  width: 100%;
}
.new-menu__item-wrap:nth-child(8) {
  margin-bottom: 20px;
}
.new-menu__item {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: var(--color-text);
  opacity: 0.95;
  padding: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
    position: relative;
}
.new-menu__item:hover,
.new-menu__item.active {
  background: var(--color-menu-item-hover);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
}
.new-menu__item:hover::after,
.new-menu__item.active::after {
  content: '';
  width: 16px;
  height: 16px;
  background: var(--url-item-after) no-repeat center/contain;
  flex-shrink: 0;
  margin-left: auto;
}
.new-menu__item::before {
  content: '';
  width: 24px;
  height: 24px;
  margin-right: 14px;
  flex-shrink: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}


.new-menu__item_profile + .new-menu__submenu {
  bottom: 0px;
  top: 0;
  height: fit-content;
  /*left: calc(100% + 58px);*/
}

/*Стили аватара и почты*/
.new-menu__item.new-menu__item_profile {
  display: flex;
  flex-direction: column;
  text-align: center;
}

/*Кнопка телеграм*/
.new-menu.minimized .new-menu__item.new-menu__item_telegram,
.new-menu.minimized .new-menu__item.new-menu__item_profile-page, .new-menu.minimized .new-menu__item_support {
  background-color: transparent;
}
.new-menu__item.new-menu__item_telegram {
  margin-bottom: 20px;
}
.new-menu__item.new-menu__item_profile-page {
  margin-bottom: 35px;
}
.new-menu__item.new-menu__item_telegram, 
.new-menu__item.new-menu__item_profile-page, .new-menu__item.new-menu__item_support {
  background: #FFFFFF;
  border-radius: 20px;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  color: #000000;
  display: block;
  text-align: center;
}


.new-menu__item_profile::after,
.new-menu__item_telegram::after {
  display: none;
}
.new-menu__item_profile-page::after {
  display: none;
}
.new-menu__item_support::after {
  display: none;
}
.new-menu__item_cms::before {
  background-image: var(--url-cms-icon);
}
.new-menu__item_teach::before {
  background-image: var(--url-teach-icon);
}
.new-menu__item_user::before {
  background-image: var(--url-user-icon);
}
.new-menu__item_tasks::before {
  background-image: var(--url-task-icon);
}
.new-menu__item_notifications::before {
  background-image: var(--url-notification-icon);
}
.new-menu__item_sales::before {
  background-image: var(--url-sales-icon);
}

.new-menu__item.new-menu__item_telegram::before,
.new-menu__item.new-menu__item_profile-page::before,
.new-menu__item.new-menu__item_support::before {
  display: none;
}

/* submenu */
.new-menu__submenu {
  display: none;
  position: absolute;
  left: calc(100% + 14px);
  top: -60px;
  background: var(--color-menu-bg);
  border-radius: 20px;
  padding: 8px;
  width: 268px;
}
.new-menu__submenu.js-visible {
  display: block;
}
.new-menu__submenu-item {
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: var(--color-text);
  opacity: 0.95;
  padding: 14px;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
    position: relative;
}
.new-menu__submenu-item:hover {
  background: var(--color-menu-item-hover);
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
}
.new-menu__submenu-item:active {
  text-decoration: none;
  color: var(--color-text);
}
.new-menu__submenu-item:visited {
  text-decoration: none;
  color: var(--color-text);
}
.new-menu__submenu-item:link {
  text-decoration: none;
  color: var(--color-text);
}

/* minimized */
.new-menu.minimized .new-menu__container {
  width: 70px;
  align-items: center;
  padding: 12px 12px 12px;
}


.new-menu.minimized .new-menu__item-wrap {
  width: 48px;
}
.new-menu.minimized .new-menu__item {
  font-size: 0px;
  justify-content: center;
}
.new-menu.minimized .new-menu__item:hover::after {
  display: none;
}
.new-menu.minimized .new-menu__item::before {
  margin-right: 0px;
}
.new-menu.minimized .new-menu__user {
  justify-content: center;
}
.new-menu.minimized .new-menu__user-avatar {
  margin-right: 0px;
}
.new-menu.minimized .new-menu__user-data-wrap,
.new-menu.minimized .new-menu__user-exit {
  display: none;
}

.new-burger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  z-index: 100010;
  cursor: pointer;
  display: none;
  border: none;
  background: var(--bg-burger);
}
.new-burger.change-icon {
  background-image: url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/109/h/91cb8a18df6cf7bdbfbcb9f7bbdab04b.svg);
}
.new-burger.js-close {
  background: #000000 url(https://fs.getcourse.ru/fileservice/file/download/a/136538/sc/329/h/51feb913ef09fc021c5a2fa5bf580b8c.svg) no-repeat center/50% ;
}
/* adaptive */
@media (max-width: 768px) {
  .new-menu {
    display: none;
    right: 0;
  padding-right: 0px;
  }
    .new-menu__container {
    width: 100%;
    border-radius: 0px;
    overflow-y: auto; 
    padding-bottom: 60px;
    }
  .new-menu.js-visible {
    display: flex;
      overflow-y: auto;
      max-height: 100vh;
  }
  .new-menu__item:hover::after,
  .new-menu__item.active::after {
    display: none;
  }
  .new-menu__item_profile + .new-menu__submenu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0px;
    margin-top: 0;
    border-radius: 0;
    width: 100%;
  }
  .new-menu__item.active::before {
    background-image: var(--url-back-link-icon);
  }
  .new-menu__submenu {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    margin-top: 20px;
      width: 100%;
  }
  .new-burger {
    display: block;
  }
   
}
@media (max-height: 1015px) and (min-width: 768px){
    .new-menu__item::before {
        width: 20px;
        height: 20px;
    }
}
@media (max-height: 980px) and (min-width: 768px) {
    .new-menu__item,
    .new-menu__submenu-item {
        font-size: 12px;
        line-height: 100%;
        padding: 10px;
    }
}
@media (max-height: 870px) and (min-width: 768px) {
  .new-menu .new-menu__container {
    padding-top: 20px;
  }
  .new-menu__logo {
    height: 50px;
  } 

  .new-menu__item {
    padding: 10px;
  }
  .new-menu__submenu-item {
    padding: 10px;
  }

  .new-menu__item-wrap:nth-child(8) {
    margin-bottom: 15px;
  }
  .new-menu__user {
    padding: 12px 20px 0px;
  }
}

.profile-backlink {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-menu-item-hover);
  background-image: var(--url-back-link-icon);
  background-repeat: no-repeat;
  background-position-y: center;
  background-position-x: 10px;
  padding: 10px;
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: var(--color-text);
  opacity: 0.95;
  display: flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  padding-left: 44px;
}

@media (min-width: 1366px) {
  .new-menu.minimized .new-menu__user-data-wrap {
      display: block;
      opacity: 0;
	}

	.new-menu.minimized .new-menu__item.new-menu__item_profile-page {
 	 margin-bottom: 66px;
	}
}

/* ------------- 
content finish - menu.css
------------- */
