

.fancybox__content>.f-button.is-close-btn {
  background: none;
  color: #000;
  --f-button-svg-width: 22px;
  --f-button-svg-height: 22px;
  top: 8px;
  right: 8px;
}

.fancybox__content {
  min-height: 600px;
  border-radius: 18px;
  align-self: flex-end;
  right: 15px;
}

.content-toggle-button {
  font-size: 14px;
  color: #000000;
  border: none !important;
  border-radius: 20px !important;
  background: #f2f2f2 !important;
  outline: none !important;
  padding-left: 30px;
  position: relative;
  display: none;
}

.content-toggle-button::after {
  content: '';
  width: 20px;
  height: 20px;
  max-height: 20px;
  background: #757575;
  mask-image: url("/fileservice/file/download/a/447724/sc/285/h/eacdca1611a26789cad418d7574a9dc1.svg");
  -webkit-mask-image: url("/fileservice/file/download/a/447724/sc/285/h/eacdca1611a26789cad418d7574a9dc1.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center right;
  -webkit-mask-position: center right;
  top: 50%;
  transform: translateY(-50%);
  left: 6px;
  position: absolute;
}

.content-toggle-button:hover {
  background: #e6e4e4 !important;
}

.lesson-content .lesson-content__title {
  font-family: var(--font-family-1) !important;
  font-size: 20px;
  font-weight: bold !important;
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 0 10px;
}

.lesson-content .lesson-content__schedule {
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  list-style-type: none;
  background: none;
  color: #000000;
  padding: 0;
  padding-left: 0;
  margin-bottom: 0 !important;
  position: relative;
  display: flex;
  flex-direction: column;
}

.lesson-content .lesson-content__schedule a {
  padding: 15px 30px 15px 15px;
  color: #000000 !important;
  text-decoration: none !important;
  position: relative;
}

.lesson-content .lesson-content__schedule a.active {
  background: #F6F6F6;
  border-left: 3px solid #000000;
  cursor: default;
  pointer-events: none;
}

.lesson-content .lesson-content__schedule a:hover {
  background: #F6F6F6;
}

.lesson-content .lesson-content__schedule a:hover,
.lesson-content .lesson-content__schedule a:not(:hover) {
  transition: All .2s ease;
}

.lesson-content .lesson-content__schedule a.exercise::after {
  content: '';
  width: 20px;
  height: 20px;
  max-height: 20px;
  background: #bf3939;
  mask-image: url("/fileservice/file/download/a/22153/sc/148/h/2fa1833be34d3e609335e77a21b9db97.svg");
  -webkit-mask-image: url("/fileservice/file/download/a/22153/sc/148/h/2fa1833be34d3e609335e77a21b9db97.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center right;
  -webkit-mask-position: center right;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  position: absolute;
}

.lesson-content .lesson-content__schedule a.completed::after {
  content: '';
  width: 20px;
  height: 20px;
  max-height: 20px;
  background: #1ba602;
  mask-image: url("/fileservice/file/download/a/22153/sc/257/h/a848e4d3c597db02ef461bdfc36b9748.svg");
  -webkit-mask-image: url("/fileservice/file/download/a/22153/sc/257/h/a848e4d3c597db02ef461bdfc36b9748.svg");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center right;
  -webkit-mask-position: center right;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  position: absolute;
}

/* Фиксы в меню */

#gcAccountUserMenu .gc-account-user-menu > li.menu-item-content > a:after {
  mask-image: url("/fileservice/file/download/a/447724/sc/285/h/eacdca1611a26789cad418d7574a9dc1.svg");
  -webkit-mask-image: url("/fileservice/file/download/a/447724/sc/285/h/eacdca1611a26789cad418d7574a9dc1.svg");
}

#gcAccountUserMenu .gc-account-user-menu .menu-item-content .lesson-content__schedule {
  padding: 0 10px;
}

#gcAccountUserMenu .gc-account-user-menu .menu-item-content .lesson-content__schedule a {
  width: 100%;
  display: block;
  font-size: 14px;
  text-align: left;
  vertical-align: initial;
  height: initial;
  padding: 15px 30px 15px 15px;
  background: none !important;
  line-height: 1.2;
}

#gcAccountUserMenu .gc-account-user-menu .menu-item-content .lesson-content__schedule a.active {
  background: #F6F6F6 !important;
}

body.compact-menu #gcAccountUserMenu .gc-account-user-menu > li.menu-item-content > a:before {
  min-width: unset;
  font-size: 10px;
}

@media all and (max-width: 768px) {
  .fancybox__content {
    right: initial;
    align-self: center;
    padding: 20px 15px;
  }

  .content-toggle-button {
    display: block;
  }

  .header-box {
    padding-bottom: 20px;
  }
}
