body {
  overflow-x: hidden;
}

thead,
tbody,
tfoot,
tr,
td,
th {
  border-width: inherit !important;
  border-style: inherit !important;
}
p:last-child {
  margin-bottom: 0;
}
.tox .tox-menubar {
  justify-content: space-around;
}
.footer__wrap {
  min-height: 70px;
  padding: 21px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: white;
  border-radius: 20px 20px 0px 0px;
}

.footer__copy {
  font-weight: 700;
}

@media (max-width: 767px) {
  .footer__copy {
    font-size: 12px;
  }
  .footer__wrap {
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .small-disable-480px {
    display: none !important;
    overflow: hidden;
  }
}

@media (min-width: 481px) {
  .lg-disable-481px {
    display: none !important;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .small-disable-767px {
    display: none !important;
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .lg-disable-768px {
    display: none !important;
    overflow: hidden;
  }
}

.main {
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .main {
    margin-bottom: 0;
  }
}

.task__sidebar {
  background: #ffffff;
  /* overflow: hidden; */
  border-radius: 20px;
  /* padding: 5px; */
  padding-left: 0;
  padding-right: 0;
  height: fit-content;
}

.task .button-wrap {
  text-align: center;
}

.block-bg {
  background-image: url(../img/block-bg.svg);
  background-position: center;
  background-repeat: no-repeat;
}

.sidebar-teachers__item-wrap {
  margin-right: 28px;
}

.sidebar-teachers__item {
  cursor: pointer;
  /* border-bottom: 1px solid #e6d2d2; */
  padding-top: 13px;
  padding-left: 35px;
  padding-bottom: 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
}
.sidebar-teachers__item:first-child.active,
.sidebar-teachers__item:first-child:hover {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.sidebar-teachers__item:last-child.active,
.sidebar-teachers__item:last-child:hover {
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.sidebar-teachers__item.active,
.sidebar-teachers__item:hover {
  background-color: #c3eafd;
  margin-right: -29px;
  border-bottom: 0px solid #e6d2d2;
  /* border-top: 1px solid #fff;
  top: -1px; */
}
@media (min-width: 768px) {
  .sidebar-teachers__item.active::after,
  .sidebar-teachers__item:hover::after {
    display: block;
    content: "";
    background-image: url(../img/polygon.svg);
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    position: absolute;
    right: -29px;
    top: calc(50% - 15px);
  }
}

.sidebar-teachers__image-wrap {
  position: relative;
  margin-right: 15px;
}
.sidebar-teachers__image-wrap > span {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  background-color: #ff9c1c;
  color: white;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 50%;
}

.sidebar-teachers__image {
  -o-object-fit: cover;
  object-fit: cover;
  width: 71px;
  border-radius: 50%;
  border: 4px solid #488dae;
}

.sidebar-teachers__item-description {
  padding-right: 10px;
}

.sidebar-teachers__item-name {
  color: #0f6b98;
  font-weight: 700;
  padding-bottom: 7px;
}

.sidebar-teachers__item-icon {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  width: 18px;
  height: auto;
  margin-right: 7px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.sidebar-teachers__item-icon:last-child {
  margin-right: 0px;
}
.sidebar-teachers__item-icon:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

@media (max-width: 767px) {
  .sidebar-teachers {
    margin-bottom: 30px;
  }
  .sidebar-teachers__item-wrap {
    margin-right: 0px;
  }

  .sidebar-teachers__item:last-child {
    border-bottom: 0px solid #e6d2d2;
  }
  .sidebar-teachers__item.active,
  .sidebar-teachers__item:hover {
    margin-right: 0;
  }
  .teacher-office .sidebar-teachers__item.active,
  .teacher-office .sidebar-teachers__item:hover {
    margin-right: 0;
  }
  .sidebar-teachers__item::after {
    right: -24px;
  }
}

.task-description__wrap {
  padding: 25px 35px;
  background: #ffffff;
  border-radius: 20px;
  margin-left: 30px;
  background-image: url(../img/block-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
}

.task-description__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid #d0cbcb;
}

.task-description__item-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.task-description__item-time {
  font-weight: 700;
  margin-right: 15px;
}

.task-description__item-task {
  color: #0f6b98;
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  font-weight: 700;
}
.task-description__item-task:hover {
  -webkit-text-decoration-line: none;
  text-decoration-line: none;
}

.task-description__item-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 15px;
}

.task-description__item-img {
  /* margin-right: 10px; */
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  display: none;
}

/* .task-description__item-img:last-of-type {
  margin-right: 15px;
} */
.student-office-tasks .materials__item-task {
  display: block;
  margin-right: auto;
}
.task-description__item-img.visible {
  display: block;
}
.task-description__item-img:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

@media (max-width: 767px) {
  .task-description.block {
    padding: 10px 0px 25px 0;
  }
  .task-description__wrap {
    padding: 25px 35px;
    background: #ffffff;
    border-radius: 20px;
    margin-left: 0;
  }
  .task-description__item {
    flex-wrap: wrap;
    /* -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column; */
  }
  .task-description__item-time {
    margin-right: 10px;
  }
  .task-description__item-left {
    margin-bottom: 20px;
  }
  .task-description__item-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 10px;
  }
  .task-description .button-wrap .btn {
    width: 100%;
  }
}
@media (max-width: 499px) {
  .task-description__wrap {
    padding: 15px 25px;
  }
}

.dialog__block {
  padding-left: 30px;
  margin-bottom: 30px;
}
.dialog__textarea {
  overflow-y: scroll;
  resize: none;
  scrollbar-width: thin;
  overflow: -moz-scrollbars-vertical;
}

.dialog__wrap {
  padding: 35px;
  background: #ffffff;
  border-radius: 20px;
}
.dialog__chat-wrapper {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid #c4c4c4;
}

.dialog__chat {
  background-color: rgba(244, 252, 255, 0.7);
  padding: 42px 28px 20px;
  border-radius: 20px;
  background-image: url(../img/chat-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  height: calc(100vh - 300px);
  overflow-y: auto;
  scrollbar-width: thin;

  /* scroll-behavior: smooth; */
}
@media (max-width: 767px) {
  .keyboard-open .dialog__chat {
    height: 20vh;
    padding: 10px;
  }
}

.dialog__message-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 35px;
  position: relative;
  gap: 10px;
}
@media (max-width: 991px) {
  .dialog__message-wrap {
    margin-bottom: 21.4px;
  }
}

.dialog__message-img {
  display: block;
  width: 74px;
  border-radius: 50%;
}

.dialog__message {
  border-radius: 30px;
  font-weight: 600;
  color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 17px 18px 16px 26px;
  position: relative;
}
.student .dialog__message {
  padding: 17px 26px 16px 18px;
}
@media (max-width: 767px) {
  .dialog__message {
    padding: 13.5px 15.4px 14.5px 22px;
    border-radius: 17px;
  }
  .student .dialog__message {
    padding: 13.5px 22px 14.5px 15.4px;
  }
}
/* Vector */

.dialog__message a {
  color: white;
  text-decoration: underline;
}
.dialog__message::after {
  display: block;
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  width: 25px;
  height: 25px;
  top: calc(50% - 12.5px);
}

.dialog__message-time {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.1;
  gap: 3px;
  display: flex;
  flex-direction: column;
}
.dialog__message-time > div:last-child {
  white-space: nowrap;
}

.dialog__card-wrap {
  display: block;
  border: 1px solid #cdcdcd;
  border-radius: 3px;
}

.dialog__card {
  background: #f6f6f6;
  color: #0f6b98;
  font-weight: 700;
  padding: 11px 7px;
}

.dialog__card-description {
  background: #fff;
  color: #000;
  font-weight: 700;
  padding: 9px 7px;
}

.dialog__write-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  order: 3;
}
.dialog__textarea-wrapper {
  border: 1px solid #e6e6e6;
  padding: 5px 0 5px 20px;
  border-radius: 20px 0px 0px 20px;
  width: calc(100% - 65px);
  display: flex;
  align-items: center;
}
.dialog__write-wrap textarea {
  border: none;

  background: #ffffff;
  overflow-y: auto;
  resize: none; /* Disables manual resizing by the user */
  height: 1.4em; /* Minimum height for a single line */
  max-height: calc(1.4em * 5); /* Max height equivalent to five lines */

  line-height: 1.4em;
  width: 100%;
  color: #0f6b98;
  font-weight: 600;
  padding-right: 5px;
}

.dialog__write-send {
  cursor: pointer;
  border-radius: 0px 20px 20px 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #0f6b98;
  width: 65px;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.dialog__write-send:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}

.dialog__write-arrow {
  width: 23px;
}

@media (max-width: 1199px) {
  .dialog__message-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  /* .dialog__message-wrap > * {
    margin-bottom: 15px;
  } */
}

@media (max-width: 767px) {
  .dialog__block {
    padding: 0;
    margin-bottom: 10px;
  }
  .dialog__wrap {
    padding: 20px;
  }
}

.teacher .dialog__card-wrap {
  border-right: 12px solid #ff9c1c;
}

.teacher .dialog__message-time {
  padding-right: 15px;
}

.teacher .dialog__card-wrap {
  margin-right: 15px;
}

.teacher .dialog__message-img {
  border: 3px solid #ff9c1c;
  margin-right: 25px;
}

@media (max-width: 991px) {
  .dialog__message-img {
    display: none;
  }
}

.teacher .dialog__message {
  background-color: #ff9c1c;
}
.teacher .dialog__message::after {
  background-image: url(../img/chat-arrow-orange.svg);
  left: -14px;
}

.teacher .dialog__message-time {
  color: #ff9c1c;
}

.student .dialog__card-wrap {
  border-left: 12px solid #0f6b98;
}

.student .dialog__card-wrap {
  margin-left: 15px;
}

.student.dialog__message-wrap {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.student .dialog__message-img {
  border: 3px solid #0f6b98;
  margin-left: 25px;
}

.student .dialog__message {
  background-color: #0f6b98;
  /* margin-left: 15px; */
}
.student .dialog__message::after {
  background-image: url(../img/chat-arrow-blue.svg);
  right: -18px;
}

.student .dialog__message-time {
  color: #0f6b98;
}

.collection__item {
  border-radius: 5px;
  margin-bottom: 25px;
}

.collection__item-inner {
  padding: 0px 10px 0px 20px;
  border: 0px solid #cdcdcd;
  border-radius: 0 0 5px 5px;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.collection__title {
  cursor: pointer;
  background-color: #0f6b98;
  padding: 16px 40px 20px 16px;
  border-radius: 5px;
  color: white;
  font-weight: 700;
  position: relative;
}
.collection__title.toggled {
  border-radius: 5px 5px 0 0;
}
.collection__title.toggled + .collection__item-inner {
  padding: 17px 10px 17px 20px;
  border: 1px solid #cdcdcd;
  max-height: unset;
}
.collection__title.toggled::after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.collection__title::after {
  display: block;
  content: "";
  position: absolute;
  background-image: url(../img/collection-arrow.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 23px;
  height: 14px;
  top: calc(50% - 7px);
  right: 20px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.collection__subitem-wrap {
  max-height: 1000px;
  overflow-y: auto;
  padding: 0px 10px 0px 0px;
}

.collection__subitem {
  background: #ffffff;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  margin-bottom: 26px;
}
.collection__subitem .collection__subitem-button path {
  fill: #bbbaba;
}
.collection__subitem.active .collection__subitem-button path,
.collection__subitem:hover .collection__subitem-button path {
  fill: #ff9c1c;
}
.collection__subitem.orange {
  border-left: 12px solid #ff9c1c;
}
.collection__subitem.blue {
  border-left: 12px solid #0f6b98;
}

.collection__subitem-top {
  background-color: #f6f6f6;
  padding: 12px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.collection__subitem-title-wrap,
.your-materials-page__subitem-title-wrap,
.your-materials .your-materials__subitem-title,
.create-collection .create-collection__subitem-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: flex-start;
  gap: 5px;
}

.collection__subitem-title-wrap > svg,
.your-materials-page__subitem-title-wrap svg,
.your-materials .your-materials__subitem-title svg,
.create-collection .create-collection__subitem-title svg {
  min-width: 21px;
  width: 1.8em;
  height: 1.8em;
}
.create-collection .create-collection__subitem-title svg {
  width: 2em;
  height: 2em;
}
@media (min-width: 400px) {
  .collection__subitem-title-wrap > svg,
  .your-materials-page__subitem-title-wrap svg,
  .your-materials .your-materials__subitem-title svg,
  .create-collection .create-collection__subitem-title svg {
    width: 1.4em;
    height: 1.4em;
    margin-right: 12px;
  }
}
@media (min-width: 768px) {
  .collection__subitem-title-wrap > svg,
  .your-materials-page__subitem-title-wrap svg,
  .your-materials .your-materials__subitem-title svg,
  .create-collection .create-collection__subitem-title svg {
    margin-right: 20px;
  }
}

.collection__subitem-title {
  color: #0f6b98;
  font-weight: 700;
}

.collection__subitem-button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.collection__subitem-button {
  display: block;
  margin-right: 12px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.collection__subitem-button path {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.collection__subitem-button:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}
.collection__subitem-button:last-child {
  margin-right: 0px;
}

.collection__subitem-bottom {
  padding: 12px 10px;
}

.collection__subitem-description {
  font-weight: 700;
  margin-bottom: 9px;
}

.collection__subitem-date {
  color: #9a9393;
  font-size: 13px;
}

.collection .button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
@media (max-width: 399px) {
  .collection__subitem-wrap .collection-subitem-button.button-wrap {
    flex-direction: column;
    gap: 10px;
  }
  .collection__subitem-wrap .collection-subitem-button.button-wrap .btn {
    margin-right: unset;
  }
}
.collection .button-wrap .btn {
  padding: 7.5px;
  margin-right: 20px;
  min-width: 145px;
}
.collection .button-wrap .btn:last-child {
  margin-right: 0;
}
.collection .button-wrap .btn.trash {
  padding: 5.8px 7.5px;
}
.collection .button-wrap .btn path {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.collection .button-wrap .btn:hover path {
  fill: white;
}
.collection .button-wrap .btn > svg {
  width: auto;
  max-width: 100%;
  height: 18px;
  margin-right: 7px;
}
/* refactored to styled-components */
.toggle-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  background-color: #0f6b98;
  padding: 16px 16px 20px 16px;
  border-radius: 5px;
  color: white;
  font-weight: 700;
  position: relative;
}
.toggle-title > span {
  max-width: 60%;
  cursor: auto;
  padding: 5px 50px 5px 10px;
}
.assembly__card-title.toggle-title > span {
  padding: unset;
}
/* end of refactored to styled-components */

.toggle-title.blue {
  background-color: #0f6b98;
}
.toggle-title.blue::after {
  background-image: url(../img/collection-arrow.svg);
}
.toggle-title.inherit {
  background-color: #f4f4f4;
  color: #0f6b98;
  /* padding: 20px 25px; */
  padding: 20px 16px;

  border-radius: 0;
}
.toggle-title.inherit.toggled {
  /*  background-color: inherit; */
  margin-bottom: 20px;
}
.toggle-title.inherit.toggled + .toggle-inner {
  border-radius: 5px;
  border: unset;
  padding: 0 22px 0 22px;
}
.toggle-title.inherit:not(
    .assembly__book-title,
    .assembly__module-title,
    .assembly__Модуль-title
  )::after {
  background-image: url(../img/arrow-blue.svg);
  right: 60px;
}
.assembly__module-title.toggle-title a path {
  fill: #0f6b98;
}
.assembly__module-title > .card-button-plus,
.assembly__Модуль-title > .card-button-plus,
.assembly__book-title > .card-button-plus {
  display: none;
}
/* refactored to styled-components */

.toggle-title.toggled {
  border-radius: 5px 5px 0 0;
}
.toggle-title.toggled + .toggle-inner {
  padding: 17px 10px 17px 20px;
  border: 1px solid #cdcdcd;
  max-height: 10000px;
}
.toggle-title.toggled::after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.toggle-title::after {
  display: block;
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 23px;
  height: 14px;
  top: calc(50% - 7px);
  right: 20px;
  -webkit-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}
/* end of refactored to styled-components */

.toggle-title-card {
  padding: 10px 14px;
  border-radius: 5px 5px 0px 0px;
}
.toggle-title-card::after {
  display: none;
}

/* refactored to styled-components */

.toggle-inner {
  padding: 0px 10px 0px 20px;
  border: 0px solid #cdcdcd;
  background-color: white;
  border-radius: 0 0 5px 5px;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
/* end of refactored to styled-components */

.toggle-inner-card {
  padding: 10px 15px;
  border: 1px solid #cdcdcd;
  max-height: unset;
  margin-bottom: 26px;
}
.toggle-inner-card:last-child {
  margin-bottom: 0;
}

.card-description {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-weight: 700;
  padding-bottom: 10px;
}

.card-date {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 13px;
  color: #9a9393;
}

.toggle-inner-wrap {
  padding: 0 21px 0 0;
}

/* .card-button {
  margin-right: 12px;
} */

.card-button > svg path {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  fill: white;
}
.assembly__Модуль-title.toggle-title .card-button svg path {
  fill: #0f6b98;
}

.card-button:hover > svg {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.card-button:last-child {
  margin-left: 30px;
  margin-right: 10px;
}
.card-button-view ~ .card-button {
  margin-left: 8px;
}

.card-wrap {
  margin-bottom: 26px;
}
.card-wrap:last-child {
  margin-bottom: 0;
}
.card-wrap .card-button-view > svg path {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.card-wrap.active .card-button-view > svg path,
.card-wrap:hover .card-button-view > svg path {
  fill: #ff9c1c;
}
.toggle-title:hover .card-button-plus > svg path,
.card-wrap.active .card-button-plus > svg path,
.card-wrap:hover .card-button-plus > svg path {
  fill: #5ed270;
}

@media (max-width: 992px) {
  .card-wrap {
    margin-bottom: 10px;
  }
}

.assembly__block-tab-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.assembly .block {
  margin-bottom: 30px;
}
.assembly .block:last-child:not(.create-collection__block) {
  margin-bottom: 0;
}

.assembly__inner {
  padding-right: 20px;
  min-height: 100%;
}

.assembly .materials {
  display: none;
}

.assembly .materials-visible {
  display: block;
}

.assembly__block-tab {
  font-weight: 700;
  padding: 17px 46px;
  color: #989898;
  background-color: #dbdada;
  border-radius: 10px 10px 0px 0px;
  margin-left: -15px;
  -webkit-transition: background-color 0.3s ease;
  -o-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}
.assembly__block-tab:first-child {
  margin-left: 0;
}
.assembly__block-tab.active,
.assembly__block-tab:hover {
  color: #0f6b98;
  background-color: white;
  z-index: 1;
}

.assembly__block-wrap {
  padding: 22px 22.5px 22px 22px;
  background: #ffffff;
  border-radius: 0px 0px 20px 20px;
}

.assembly__block-scrollbar-wrap {
  padding-right: 0px;
  max-height: 1500px;
  overflow-y: auto;
}
.assembly__block-scrollbar-wrap.scrollbarVisible {
  padding-right: 22.5px;
}

.assembly__book {
  margin-bottom: 26px;
}
.assembly__book:last-child {
  margin-bottom: 0;
}

.assembly__book-title.toggled + .toggle-inner {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 0 0 26px 0;
  max-height: unset;
}

.assembly__unit-title {
  margin-top: 26px;
}
.assembly__unit-title:first-child {
  margin-top: 0;
}
.assembly__unit-title.toggled + .toggle-inner {
  margin-bottom: 0;
}

.assembly__unit-inner {
  padding: 0 22px 0 36px;
  margin-bottom: 20px;
}
.assembly__unit-inner + .toggled {
  margin-top: 0;
}
.assembly__unit-inner:last-child {
  margin-bottom: 0;
}
.assembly__unit-inner.toggled {
  padding: 0 22px 26px 36px;
}

.assembly__module-inner {
  margin-bottom: 26px;
  padding-right: 21px !important;
}
.assembly__module-inner:last-child {
  margin-bottom: 0;
}

.assembly__module-inner-wrap {
  padding-right: 0;
  max-height: 310px;
  overflow-y: auto;
}
.assembly__module-inner-wrap.scrollbarVisible {
  padding-right: 21px;
}

@media (max-width: 992px) {
  .assembly__block-wrap {
    padding: 22px 22.5px 22px 22px;
  }
  .assembly__inner {
    padding-right: 0;
  }
  .assembly__unit-inner {
    padding: 0 !important;
    margin-bottom: 20px;
  }
  .assembly__module-inner-wrap {
    padding-right: 0;
  }
  .assembly__module-inner-wrap.scrollbarVisible {
    padding-right: 10px;
  }
  .assembly__block-scrollbar-wrap {
    padding-right: 0px;
    max-height: 1200px;
  }
  .assembly__block-scrollbar-wrap.scrollbarVisible {
    padding-right: 10px;
  }
  .assembly .block {
    padding: 0;
  }
  .assembly__module-inner {
    padding-right: 10px !important;
  }
  .assembly__module-inner:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 992px) {
  .toggle-title.inherit {
    background-color: #f4f4f4;
    color: #0f6b98;
    padding: 20px 45px;
  }
  .assembly__module-title.toggle-title.inherit,
  .assembly__Модуль-title.toggle-title.inherit {
    padding: 20px 16px;
  }
  .toggle-title.inherit.toggled {
    /*  background-color: inherit; */
    margin-bottom: 10px;
  }
  .toggle-title.inherit.toggled + .toggle-inner {
    border-radius: 5px;
    border: unset;
    padding: 0 10px 0 10px;
  }
  .toggle-title.inherit::after {
    background-image: url(../img/arrow-blue.svg);
    /* right: 20px; */
  }
  /* .toggle-title.toggled + .toggle-inner {
    padding: 10px;
  } */
  .assembly__unit-inner .toggle-inner-wrap {
    padding: 15px 10px 10px;
  }
}
@media (max-width: 499px) {
  .assembly__block-wrap {
    padding: 20px 10px;
  }
}
.subitem {
  border-top: 1px solid #cdcdcd;
  border-bottom: 1px solid #cdcdcd;
  border-right: 1px solid #cdcdcd;
  border-radius: 5px;
  position: relative;
  background: #ffffff;
  margin-bottom: 26px;
}

.subitem--solve {
  border-radius: 3px;
}
.subitem--solve.active,
.subitem--solve:hover {
  border-right: 1px solid #f0faff;
  border-bottom: 1px solid #f0faff;
  border-top: 1px solid #c3eafd;

  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.subitem:last-child,
.subitem:only-child {
  margin-top: 0;
}
.subitem.active .subitem-button path {
  fill: #ff9c1c;
}
.subitem.active .button-trash path {
  fill: #fb5f5f;
}
.subitem.active .button-plus path {
  fill: #5ed270;
}
.subitem .collection__subitem-button path {
  fill: #bbbaba;
}
.subitem.active .collection__subitem-button path,
.subitem:hover .collection__subitem-button path {
  fill: #ff9c1c;
}
.subitem.orange {
  border-left: 12px solid #ff9c1c;
}
.subitem.blue {
  border-left: 12px solid #0f6b98;
}

.subitem-top {
  background-color: #f6f6f6;
  padding: 12px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-top-right-radius: 5px;
  gap: 10px;
}

.teacher-tasks__cards.student-office .subitem {
  border: none;
  border-radius: 0;
  background-color: white;
}
.teacher-tasks__cards.student-office .subitem-top {
  background-color: transparent;
}
.teacher-tasks__cards.student-office
  .subitem
  > .teacher-tasks__card-link-cover {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 13px 12px;
  background-color: #f6f6f6;
  border-radius: 3px;
}
.teacher-tasks__cards.student-office
  .subitem
  > .teacher-tasks__card-link-cover
  svg {
  margin-right: 12px;
}
.teacher-tasks__cards.student-office
  .subitem
  > .teacher-tasks__card-link-cover {
  background-color: #f6f6f6;
}
.teacher-tasks__icon-wrapper {
  position: relative;
  display: inline-block;
  pointer-events: all;
}

.teacher-tasks__assignment-type {
  position: absolute;
  left: 10px;
  bottom: 103%;
  transform: translatex(-50%);
  background-color: #9da7ac;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
  z-index: 10;
}
.active .teacher-tasks__assignment-type {
  background-color: #0f6b98;
}
@media (min-width: 768px) {
  .teacher-tasks__cards.student-office
    .subitem
    > .teacher-tasks__card-link-cover
    svg {
    margin-right: 20px;
  }
}
@media (max-width: 992px) {
  .assembly__unit-inner-wrap .teacher-tasks__assignment-type {
    left: 13px;
    bottom: 101%;
  }
}
.teacher-tasks__assignment-type::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) rotate(270deg);
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-right-color: #9da7ac;
  z-index: 2;
}
.active .teacher-tasks__assignment-type::after {
  border-right-color: #0f6b98;
}
/* Pseudo-element underneath for white border illusion */
.assembly__unit-inner-wrap .teacher-tasks__assignment-type::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%) rotate(270deg);
  width: 0;
  height: 0;
  border: 7px solid transparent; /* 1px larger than the triangle */
  border-right-color: #fff; /* white border */
  z-index: 1;
}
@media (max-width: 767px) {
  .teacher-tasks__icon-wrapper.touch-show .teacher-tasks__assignment-type {
    opacity: 1;
    visibility: visible;
  }

  .assembly__unit-inner-wrap
    .teacher-tasks__icon-wrapper.touch-show
    .teacher-tasks__assignment-type {
    border: 1px solid white;
  }
}
@media (min-width: 768px) {
  .teacher-tasks__icon-wrapper:hover .teacher-tasks__assignment-type {
    opacity: 1;
    visibility: visible;
  }
  .assembly__unit-inner-wrap
    .teacher-tasks__icon-wrapper:hover
    .teacher-tasks__assignment-type {
    border: 1px solid white;
  }
}

.teacher-tasks__cards.student-office
  .subitem.active
  > .teacher-tasks__card-link-cover {
  background-color: #c3eafd;
}
.teacher-tasks__cards.student-office
  .subitem.teacher-here
  > .teacher-tasks__card-link-cover {
  background-color: #fff5e8;
}
.teacher-tasks__cards.student-office
  .subitem.student-here
  > .teacher-tasks__card-link-cover {
  background-color: #f0faff;
}
.teacher-tasks__cards.student-office
  .subitem
  > .teacher-tasks__card-link-cover
  svg {
  width: 1.5em;
  height: 1.5em;
}
.teacher-tasks__cards.student-office
  .subitem
  > .teacher-tasks__card-link-cover
  svg
  path {
  fill: #9da7ac;
}
.teacher-tasks__cards.student-office
  .subitem.active
  > .teacher-tasks__card-link-cover
  svg
  path {
  fill: #0f6b98;
}
.teacher-tasks__cards.student-office .subitem:not(:last-child) {
  margin-bottom: 20px;
}
.teacher-tasks__cards.student-office .subitem:last-child {
  margin-bottom: 0;
}
.teacher-tasks__cards.student-office .subitem-top {
  padding: 0;
}
.subitem-title {
  color: #0f6b98;
  font-weight: 700;
}
.teacher-tasks__cards.student-office .subitem-title {
  color: #2e434d;
}
.subitem-button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.subitem-button {
  display: block;
  margin-right: 12px;
  -webkit-transition: transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}
.subitem-button path {
  -webkit-transition: fill 0.3s ease;
  -o-transition: fill 0.3s ease;
  transition: fill 0.3s ease;
}
.subitem-button:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}
.subitem-button:last-child {
  margin-right: 0px;
}

.subitem-bottom {
  padding: 12px 10px;
}
.subitem-bottom--solve {
  padding: 0 27px 0 12px;
}

.subitem-description {
  font-weight: 700;
}
@media (min-width: 768px) {
  .subitem-description {
    margin-bottom: 9px;
  }
  .teacher-tasks__cards.student-office
    .subitem.active
    > .teacher-tasks__card-link-cover {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}
.teacher-tasks__subitem .subitem-description {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 27px 17px 10px;
  margin-bottom: 0;
}

.subitem-text {
  border: 1px solid #bbbaba;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 15px;
  padding: 10px;
}
.subitem-task-text-title {
  color: #0f6b98;
  margin-bottom: 10px;
}
.subitem-task-text {
  color: #474646;
}

.subitem-date {
  color: #9a9393;
  font-size: 13px;
}

.subitem-button path {
  fill: #bbbaba;
}

.subitem-button:hover path {
  fill: #ff9c1c;
}
.subitem-button:hover rect {
  stroke: #ff9c1c;
}

.button-trash {
  display: block;
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 20px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.button-trash > svg {
  display: block;
}
.button-trash:hover path {
  fill: #fb5f5f;
}

.button-plus:hover path {
  fill: #5ed270;
}

.your-materials {
  padding: 22px 22.5px 22px 22px;
}
.your-materials__inner {
  min-height: 100%;
}
.your-materials__scrollbar-wrap {
  padding-right: 0;
  max-height: 1500px;
  overflow-y: auto;
}
.your-materials__scrollbar-wrap.scrollbarVisible {
  padding-right: 22.5px;
}
.your-materials__subitem-text-scroll-wrap {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}
@media (max-width: 992px) {
  .your-materials__scrollbar-wrap {
    padding-right: 0;
    max-height: 500px;
    overflow-y: auto;
  }
  .your-materials__scrollbar-wrap.scrollbarVisible {
    padding-right: 10px;
  }
}

.combination-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
@media (min-width: 768px) {
  .combination-wrap {
    flex-direction: row;
    flex: 0 0 25%;
    justify-content: space-between;
    gap: unset;
  }
}

.combination-images-wrap {
  flex: 1;

  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(127px, calc(51% - 10px)));

  column-gap: 10px;
  row-gap: 10px;
}

.combination-image-item {
  position: relative;
  overflow: hidden;
}
.combination-images-wrap .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.combination-image-item .image-wrap__description-img {
  padding: 0;
  /* height: 28px; */
}
.combination-image-item .image-wrap__description-img-text {
  font-size: 12px;
  padding: 2px 3px;
  box-sizing: content-box;
  line-height: 1.2;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  @media (min-width: 1200px) {
    font-size: 14px;
  }
}

.combination-image-item--correct .image-wrap__description-img-text {
  background-color: #9ef8a7;
}

.combination-image-item--incorrect .image-wrap__description-img-text {
  background-color: #f89e9e;
}
.combination-images-wrap img {
  object-fit: contain;
  max-height: 100%;
}

.combination-images-wrap .image-wrap__description-img {
  justify-content: flex-start;
  border: none;
  padding-left: 0;
  border-radius: 0;
  font-weight: 700;
  font-size: 14px;
}

.combination-key-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-left: 5px;
}

.combination-key-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}
.custom-ghost {
  transition: transform 0.1s ease;
  transform: scale(1.1);
  position: absolute;
  pointer-events: none;
  z-index: 1000;
}

.combination-titles-wrap {
  display: block;
  height: fit-content;
  width: 100%;
  /* flex: 0 0 50%;
  min-width: 25%;
  max-width: 50%; */
  /* margin-right: 10px; */

  margin-bottom: 0;
  font-size: 14px;
  font-weight: 700;
  color: #0f6b98;
  padding: 10px 0;
  border: 1px solid rgba(15, 107, 152, 0.4);
  border-radius: 10px;
}

.combination-title-item {
  cursor: pointer;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.combination-title-item span {
  width: 80%;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  overflow-wrap: break-word;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.drag {
  width: 15px;
  height: 15px;
  fill: #bbbaba;
  display: block;
}
.teacher-remote-dragging {
  background-color: #fff5e8;
}
.student-remote-dragging {
  background-color: #f0faff;
}
@media (min-width: 390px) {
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(162px, calc(51% - 10px)));
  }
}
@media (min-width: 440px) {
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(122px, calc(36% - 20px)));
  }

  /* .combination-titles-wrap {
    flex: 0 0 30%;
    min-width: 25%;
    max-width: 30%;
  } */
}
@media (min-width: 517px) {
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(147px, calc(35% - 20px)));
  }

  /* .combination-titles-wrap {
    flex: 0 0 40%;
    min-width: 25%;
    max-width: 40%;
  } */
}
@media (min-width: 517px) {
  /* .combination-titles-wrap {
    flex: 0 0 45%;
    min-width: 25%;
    max-width: 45%;
  } */
}
@media (min-width: 560px) {
  /* .combination-titles-wrap {
    flex: 0 0 50%;
    min-width: 25%;
    max-width: 50%;
  } */
}
@media (min-width: 595px) {
  /* .combination-titles-wrap {
    flex: 0 0 30%;
    min-width: 25%;
    max-width: 30%;
  } */
}
@media (min-width: 612px) {
  .combination-titles-wrap {
    font-size: 14px;
  }
  .combination-title-item {
    padding: 7px 15px;
  }
}
@media (min-width: 768px) {
  .drag {
    width: 23px;
    height: 23px;
  }
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(110px, calc(33% - 20px)));
  }
  .combination-titles-wrap {
    font-size: 14px;
    flex: 0 0 40%;
    min-width: 25%;
    max-width: 40%;
  }
}
@media (min-width: 920px) {
  .combination-title-item {
    padding: 10px 15px;
  }
  .combination-titles-wrap {
    flex: 0 0 30%;
    min-width: 25%;
    max-width: 30%;
    font-size: 16px;
  }
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(147px, calc(33% - 20px)));
  }
  .combination-titles-wrap {
    flex: 0 0 40%;
    min-width: 25%;
    max-width: 40%;
  }
}
@media (min-width: 971px) {
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(120px, calc(33% - 20px)));
  }
  .combination-titles-wrap {
    flex: 0 0 30%;
    min-width: 25%;
    max-width: 30%;
  }
}
@media (min-width: 1110px) {
  .combination-titles-wrap {
    flex: 0 0 40%;
    min-width: 25%;
    max-width: 40%;
  }
}
@media (min-width: 1145px) {
  .combination-images-wrap {
    grid-template-columns: repeat(auto-fill, minmax(147px, calc(33% - 20px)));
  }
  .combination-titles-wrap {
    padding: 20px 0;
    flex: 0 0 30%;
    min-width: 25%;
    max-width: 30%;
  }
  .combination-title-item {
    padding: 10px 30px;
  }
  .combination-key-icon {
    width: 24px;
    height: 24px;
  }

  .combination-key-icon svg {
    width: 24px;
    height: 24px;
  }
}

@media (min-width: 1209px) {
  .combination-images-wrap {
    column-gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(147px, calc(33% - 40px)));
  }
  .combination-titles-wrap {
    margin-right: 20px;
  }
}

.combination-title-item.dropped {
  background-color: #ececec;
}

.combination-title-item:hover {
  background-color: #0f6b98;
  color: white;
}

.combination-title-item:hover .drag {
  fill: #ff9c1c;
}

.create-collection__block {
  padding-left: 20px;
  margin-bottom: 30px;
}

.create-collection__inner {
  padding: 30px 22px;
  background-color: white;
  border-radius: 20px;
  min-height: 100%;
}

.create-collection__title {
  color: #0f6b98;
  font-weight: 700;
  margin-bottom: 26px;
}

.create-collection__input-wrap,
.create-collection .profile-config__input-wrap {
  margin-bottom: 22px;
}
.create-collection__input-wrap.required label::after,
.create-collection .profile-config__input-wrap.required label::after {
  content: " *";
  color: #dc3232;
}
.create-collection__input-wrap label,
.create-collection .profile-config__input-wrap label,
.field-assignment_type label {
  display: block;
  color: #0f6b98;
  font-weight: 700;
  margin-bottom: 10px;
  padding-bottom: 0;
}
.field-assignment_type label {
  font-size: 12px;
}
.create-collection__input-wrap input,
.create-collection .profile-config__input-wrap input,
.create-collection .profile-config__input-wrap textarea,
select.assignment-type-dropdown {
  display: block;
  width: 100%;
  background: #fbfbfb;
  border: 1px solid #cdcdcd;
  padding: 4px 7px;
  font-weight: 700;
  border-radius: 5px;
}

.create-collection__card-list {
  border: 1px solid #cdcdcd;
  border-radius: 5px;
  margin-bottom: 35px;
}

.create-collection__card-list-title {
  color: #0f6b98;
  font-weight: 700;
  background: #f6f6f6;
  border-radius: 4px 4px 0px 0px;
  padding: 14px 20px;
  margin-bottom: 30px;
}

.create-collection__card-list-inner {
  padding: 0 23px 25px 23px;
}

.create-collection__card-list-scroll-wrap {
  padding-right: 0;
  max-height: 1500px;
  overflow-y: auto;
}
.create-collection__card-list-scroll-wrap.scrollbarVisible {
  padding-right: 23px;
}

.create-collection .button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 20px;
}

.create-collection .btn {
  margin-right: 13px;
}

.create-collection .btn:last-child {
  margin-right: 0;
}

@media (max-width: 992px) {
  .create-collection__block:last-child {
    margin-bottom: 30px !important;
  }
  .create-collection__inner {
    margin-left: 0;
    padding: 22px 22.5px 22px 22px;
  }
  .create-collection__card-list {
    margin-bottom: 22px;
  }
  .create-collection__card-list-inner {
    padding: 0 10px 25px 10px;
  }
  .create-collection__card-list-scroll-wrap {
    padding-right: 0;
    max-height: 1500px;
    overflow-y: auto;
  }
  .create-collection__card-list-scroll-wrap.scrollbarVisible {
    padding-right: 10px;
  }
}

@media (max-width: 767px) {
  .create-collection-button-wrap .btn {
    margin-right: 0;
  }
}

.your-materials-page__inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 35px 42px;
}

.your-materials-page__title {
  color: #0f6b98;
  font-weight: 700;
  margin-bottom: 30px;
}

.your-materials-page__scroll-wrap {
  padding-right: 0;
  max-height: 1500px;
  /* overflow-y: auto; */
  margin-bottom: 35px;
}
.your-materials-page__scroll-wrap.scrollbarVisible {
  padding-right: 22px;
}

.your-materials-page .button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.your-materials-page .btn {
  margin-right: 15px;
  padding: 7.5px 15px;
  min-width: 150px;
}
.your-materials-page .btn:last-child {
  margin-right: 0;
}

@media (max-width: 767px) {
  .your-materials-page .block {
    padding: 0;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .your-materials-page__inner {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px 10px;
    margin-bottom: 30px;
  }
  .your-materials-page__title {
    color: #0f6b98;
    margin-bottom: 10px;
  }
  .your-materials-page__scroll-wrap {
    margin-bottom: 25px;
  }
  .your-materials-page__scroll-wrap.scrollbarVisible {
    padding-right: 10px;
  }
  .notifications-page .your-materials-page__scroll-wrap.scrollbarVisible {
    padding-right: 0;
  }
}

.title {
  font-weight: 700;
  color: #0f6b98;
  margin-bottom: 25px;
}

.input-wrap {
  margin-bottom: 21px;
}
.input-wrap > label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #0f6b98;
  font-weight: 700;
  margin-bottom: 10px;
}
.input-wrap.error > input,
.input-wrap.error > textarea {
  border: 1px solid #dc3232;
  color: #dc3232 !important;
}
.input-wrap > input,
.input-wrap > textarea {
  background: #fbfbfb;
  border: 1px solid #cdcdcd;
  color: #000;
  font-weight: 700;
  border-radius: 5px;
  padding: 4px 7px;
  min-width: 100%;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

input[type="file"] {
  opacity: 0;
  width: 0;
  height: 0;
}

.section-white {
  padding: 30px;
}

.toggle-section {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 20px;
}
.toggle-section.active .toggle-title path,
.toggle-section:hover .toggle-title path {
  fill: #ff9c1c;
}
.toggle-section.active .toggle-title .section-button-trash path,
.toggle-section:hover .toggle-title .section-button-trash path {
  fill: #fb5f5f;
}

/* .toggle-title.active path,
.toggle-title:hover path {
  fill: #ff9c1c;
} */

.toggle-title.active .section-button-trash path,
.toggle-title:hover .section-button-trash path {
  fill: #fb5f5f;
}

.toggle-title.title-grey {
  color: #0f6b98;
  background-color: #ececec;
  padding: 11px 31px;
  border-radius: 20px;
  -webkit-transition: border-radius 0.3s ease;
  -o-transition: border-radius 0.3s ease;
  transition: border-radius 0.3s ease;
}
.toggle-title.title-grey + .disable-border {
  padding: 0 32px;
}
.toggle-title.title-grey.toggled {
  border-radius: 20px 20px 0 0;
}
.toggle-title.title-grey.toggled + .disable-border {
  padding: 27px 32px;
  overflow: visible;
}
.toggle-title.title-grey::after {
  right: 30px;
  background-image: url(../img/arrow-blue.svg);
}

.button-wrap-center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.image-wrap {
  cursor: pointer;
  /* margin-top: 20px; */

  /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px; */

  /* new styles 4.08.2023*/
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(auto-fit, minmax(45%, 1fr));
  gap: 20px;
}
.dynamic-grid {
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  gap: 20px;
}

.dynamic-grid.few-images,
.dynamic-grid.many-images {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.dynamic-grid.even {
  grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
  gap: 20px;
}
.image-inner:only-child {
  max-width: none; /* Remove the max-width constraint */
  width: auto; /* Allow the image to maintain its original size */
  justify-self: center; /* Center horizontally */
  align-self: center; /* Center vertically */
}
.dynamic-grid.few-images .image-inner,
.dynamic-grid.many-images .image-inner {
  width: calc(33% - 12px);
}

.dynamic-grid.few-images .image-inner:nth-last-child(-n + 2) {
  width: calc(50% - 12px);
}
.dynamic-grid.many-images .image-inner:nth-last-child(-n + 4) {
  width: calc(50% - 12px);
}
@media (max-width: 478px) {
  .dynamic-grid.few-images .image-inner,
  .dynamic-grid.many-images .image-inner,
  .dynamic-grid.few-images .image-inner:nth-last-child(-n + 2),
  .dynamic-grid.many-images .image-inner:nth-last-child(-n + 4) {
    width: calc(50% - 12px);
  }
}
.image-wrap iframe {
  display: block;
  width: 100%;
  /* max-width: 100%; */
  border-radius: 20px;
}
.image-wrap:not(.image-wrap-video) iframe {
  height: auto;
}
/* @media (min-width: 1099px) {
  .image-wrap iframe {
    min-height: 500px;
  }
} */
/* .image-wrap:last-child {
  margin-bottom: -20px;
} */
.image-wrap.image-wrap-video {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /* margin-left: -15px;
  margin-right: -15px; */

  margin-bottom: 0;
  margin-top: 0;
  position: relative;

  width: auto;
}

.image-not-choose {
  height: 100px;
  width: auto;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 22px;
}

.image-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  border-radius: 20px;
  position: relative;

  /* margin-bottom: 22px; */

  /* height: 221px;
  width: 345px; */
}
.image-inner .image-choose {
  border: 1px solid transparent;
  transition: border-color 0.5s ease;
}
.image-inner > span {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  border-radius: 20px;
  z-index: 2;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.image-inner > span > img {
  position: absolute;
  display: block;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.image-inner > span > img:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.image-inner > span .cross {
  width: 26px;
  height: 26px;
  right: 13px;
  top: 13px;
}
.image-inner > span .drag {
  width: 42px;
  height: 42px;
  right: calc(50% - 21px);
  top: calc(50% - 21px);
}
.create-task__section .image-inner:hover > span {
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 1;
}
.image-inner:hover > .image-choose:not(.create-task__section .image-choose) {
  border: 1px solid rgb(15, 107, 152, 0.8);
}

.image-choose {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 20px;
  z-index: 1;
}

.section-button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 30px;
}
/* .cards-wrap {
  padding-bottom: 30px;
} */
.cards-wrap > div:first-child {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}

.button-wrap-center {
  gap: 13px;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.teacher-tasks__cards.student-office .btn-drop-down {
  display: none;
}
.teacher-tasks__cards.student-office .button-wrap-center {
  margin-top: 40px;
}
@media (max-width: 767px) {
  .teacher-tasks__cards.student-office .btn-back-to-materials {
    display: none;
  }
  .teacher-tasks__cards.student-office .btn-drop-down {
    display: block;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A//www.w3.org/2000/svg'%20viewBox%3D'0%200%2022%2014'%20fill%3D'none'%3E%3Cpath%20fill%3D'%239DA7AC'%20stroke%3D'%239DA7AC'%20d%3D'M21.059%2010.426c.551.553.586%201.428.103%202.021l-.103.116-.116.103a1.509%201.509%200%200%201-2.02-.104L11%204.637l-7.924%207.926a1.508%201.508%200%200%201-2.135%200%201.513%201.513%200%200%201%200-2.135v-.001l8.992-8.994a1.518%201.518%200%200%201%202.134-.001l8.992%208.994Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-color: transparent;
    background-position: center;
    width: 100%;
    height: 14px;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }
  .teacher-tasks__cards.student-office .btn-drop-down.rotate {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }
  .teacher-tasks__cards:not(.open) .teacher-tasks__subitem:not(.active) {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scaleY(0.9);
    transition: all 0.3s ease;
    margin-bottom: 0;
    pointer-events: none;
  }
  .teacher-tasks__cards:not(.open) .teacher-tasks__subitem.active {
    max-height: 300px;
    opacity: 1;
    transform: scaleY(1);
  }
  .teacher-tasks__cards.open .teacher-tasks__subitem {
    max-height: 300px;
    opacity: 1;
    transform: scaleY(1);
    transition: all 0.3s ease;
  }
  .teacher-tasks__cards.student-office .subitem.active:not(:last-child) {
    margin-bottom: 0;
  }
  .teacher-tasks__cards.student-office.open .subitem.active:not(:last-child) {
    margin-bottom: 20px;
  }
  .teacher-tasks__cards.student-office .button-wrap-center {
    padding-top: 5px;
    padding-bottom: 5px;
    margin-top: 10px;
  }
  .teacher-tasks__cards.student-office.open .button-wrap-center {
    margin-top: 20px;
    margin-bottom: 10px;
  }
  .teacher-tasks__cards.student-office .teacher-tasks__item-teacher-wrap {
    max-height: 0;
    opacity: 0;
    transform: scaleY(0.9);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
  }
  .teacher-tasks__cards.student-office.open .teacher-tasks__item-teacher-wrap {
    max-height: 300px;
    transform: scaleY(1);
    transition: all 0.5s ease-in-out;
    pointer-events: all;

    opacity: 1;
  }
}
@media (max-width: 499px) {
  .from-card-wrap.button-wrap-center {
    flex-direction: column;
  }
}

.button-wrap-center.button-wrap-center--composition {
  padding-bottom: 40px;
  background-color: white;
}

.disable-border {
  border: none !important;
  border-radius: 0 0 20px 20px;
  padding: 27px 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.section-button-trash {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}
.section-button-trash:hover path {
  fill: #fb5f5f;
}

.trek-wrap {
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.trek-wrap > li {
  list-style: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  list-style-position: inside;
  font-weight: 700;
  color: #0f6b98;
  margin-bottom: 10px;
  width: 100%;
}
.trek-wrap > li:last-child {
  margin-bottom: 0px;
}
.trek-wrap > li > span {
  border: 1px solid #cdcdcd;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border-radius: 5px;
  padding: 2px 3px;
  /* max-width: 80%; */
  min-width: 30px;
}

.trek-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-left: 10px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.trek-button:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.trek-button > img {
  display: block;
}

.player-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 30px;
}

.player-inner {
  width: 100%;
}

.audio-player-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 46px;
  height: 46px;
  cursor: pointer;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-right: 15px;
}
.audio-player-button:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.audio-player-button .pause {
  display: none;
}

.audio-player-time {
  font-weight: 700;
  color: #838383;
  display: block;
  min-width: 100px;
  padding-left: 30px;
}
.audio-player-volume__wrap {
  display: flex;
  margin-top: 10px;
  align-items: center;
}
.audio-player-time__img {
  width: 26px;
  margin: 0 5px 0 0;
  display: block;
}
.audio-player-time__img path {
  fill: #0f6b98;
}

.audio-player-volume {
  background-color: #0f6b98;
  border-radius: 10px;
  cursor: pointer;
  height: 7px;

  display: flex;
  flex-basis: 100%;
}

.fill {
  background-color: #ff9c1c;
  width: 50%;
  height: 100%;
  border-radius: 10px 0 0 10px;
}

.text-button-wrap {
  margin-bottom: 25px;
  margin-right: 0;
}

.text-button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 6px 7px;
  color: #0f6b98;
  font-weight: 700;
  margin-right: 27px;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.text-button:only-child {
  margin-right: 0;
}
.text-button > svg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 5px;
}
.text-button > svg:last-child {
  margin-right: 0;
}
.text-button path {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  fill: #0f6b98;
}
.text-button.active,
.text-button:hover {
  background-color: #0f6b98;
  color: white;
}
.text-button.active path,
.text-button:hover path {
  fill: white;
}

.text-edit-field {
  background: #ffffff;
  /* border: 1px solid #d8d8d8; */
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 20px;
  min-height: 50px;
  position: relative;
  line-height: 1.5;
}
@media (min-width: 768px) {
  .text-edit-field {
    line-height: 1.8;
  }
}

.text-edit-field h1 {
  font-size: 24px;
  padding-bottom: 11px;
  margin: 0;
}
.text-edit-field h2 {
  font-size: 22px;
  padding-bottom: 10px;
}
.text-edit-field h3 {
  font-size: 18px;
  padding-bottom: 9px;
}
.text-edit-field h4 {
  font-weight: 400;
  font-size: 14px;
  padding-bottom: 7px;
}
.text-edit-field h5,
.text-edit-field h6 {
  font-weight: 400;
  font-size: 14px;
  padding-bottom: 7px;
}
.text-edit-field p {
  font-size: 14px;
  line-height: 1.5;
  padding-bottom: 7px;
}
@media (min-width: 768px) {
  .text-edit-field p {
    font-size: 16px;
    line-height: 1.8;
  }
}
.text-edit-field a {
  font-weight: 700;
  text-decoration: underline;
  color: #0f6b98;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.text-edit-field a:hover {
  text-decoration: none;
}
.text-edit-field ol {
  padding-bottom: 15px;
}
.text-edit-field ol > li {
  list-style: disc;
  padding-bottom: 10px;
  list-style-position: inside;
}
.text-edit-field ol > li:last-child {
  padding-bottom: 0;
}
.text-edit-field ol > li::marker {
  font-weight: 700;
}
.text-edit-field ol:last-child {
  padding-bottom: 0;
}
.text-edit-field ul {
  padding-bottom: 15px;
}
.text-edit-field ul > li {
  list-style: decimal;
  padding-bottom: 10px;
  list-style-position: inside;
}
.text-edit-field ul > li:last-child {
  padding-bottom: 0;
}
.text-edit-field ul > li::marker {
  font-weight: 700;
}
.text-edit-field ul:last-child {
  padding-bottom: 0;
}

.text-action {
  position: relative;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;

  padding: 3px 4px 3px 4px;
  text-align: center;
  border: 0.5px solid #d6d3d3;
  border-radius: 5px;
  cursor: auto;

  justify-content: center;
}

.text-action-option {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: absolute;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  max-height: 0;
  overflow-y: hidden;
  color: white;
  background-color: #0f6b98;
  padding: 0px 7px;
  border-radius: 5px;
}
.text-action-option.visible {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 3px 7px;
  max-height: 1000px;
  overflow-y: visible;
}
.text-action-option::after {
  display: block;
  position: absolute;
  content: "";
  background-image: url(../img/text-decor.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  left: calc(50% - 9px);
  bottom: -16px;
}
.text-action-option > span {
  font-weight: 600;
}

.text-action-button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-left: 5px;
}
.text-action-button-wrap > img {
  cursor: pointer;
  margin-right: 5px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.text-action-button-wrap > img:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.text-action-button-wrap > img:last-child {
  margin-right: 0;
}

.text-nav__current {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 1px 15px 1px 4px;
  position: relative;
  border: 0.5px solid #d6d3d3;
  border-radius: 5px;
  cursor: pointer;
}
.text-nav__current:hover::after,
.text-nav__current.active::after {
  -webkit-transform: scale(-1, -1);
  -ms-transform: scale(-1, -1);
  transform: scale(-1, -1);
}
.text-nav__current::after {
  top: calc(50% - 4px);
  right: 2px;
  position: absolute;
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  background-image: url(../img/text-nav-arrow.svg);
  background-repeat: no-repeat;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.text-nav {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  background-color: #0f6b98;
  border-radius: 20px;
  padding-bottom: 0 !important;
  position: absolute;
  max-height: 0;
  overflow: hidden;
  z-index: 10;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.text-nav.visible {
  max-height: fit-content;
  overflow: visible;
  min-width: 100px;
  min-height: 50px;
}
.text-nav::after {
  display: block;
  position: absolute;
  content: "";
  background-image: url(../img/text-decor.svg);
  background-repeat: no-repeat;
  width: 18px;
  height: 18px;
  left: calc(50% - 8px);
  bottom: -16px;
}
.text-nav > li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 700;
}
.text-nav > li:first-child {
  border-radius: 20px 20px 0px 0px;
}
.text-nav > li:last-child {
  border-radius: 0px 0px 20px 20px;
}
.text-nav > li:not(.plus) {
  padding: 8px 16px;
  color: white;
}
.text-nav > li:not(.plus):hover,
.text-nav > li:not(.plus).active {
  background-color: #ff9c1c;
}
.text-nav > li:not(.plus):hover .true,
.text-nav > li:not(.plus).active .true {
  visibility: visible;
}
.text-nav > li.plus {
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: #0f6b98;
  background: #e4e3e3;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.text-nav > li.plus.visible {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-top: auto;
  z-index: 10;
}
.text-nav > li.plus:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}
.text-nav__button-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: 5px;
}
.text-nav__button-wrap .true {
  width: 14px;
  height: 11px;
  display: block;
  visibility: hidden;
}
.text-nav__button-wrap .false {
  font-size: 18px;
  font-weight: 700;
}
.text-nav__button {
  margin-right: 10px;
  cursor: pointer;
}
.text-nav__button:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.text-nav__button:last-child {
  margin-right: 0;
}

.create-task__section {
  background: #ffffff;
  border-radius: 20px;
  margin-bottom: 42px;
}
.create-task__section[type="video"] .paste_video {
  margin-bottom: 15px;
}

.create-task__assembly-number {
  color: #0f6b98;
  font-weight: 700;
}
.create-task__inner ul {
  padding-left: 0;
}
.create-task .button-wrap-center .btn {
  margin-right: 25px;
}
.create-task .button-wrap-center .btn:last-child {
  margin-right: 0;
}

@media (max-width: 767px) {
  .create-task .block {
    padding: 10px 0.75rem 25px;
  }
}

.poly-image-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -15px -30px -15px;
}
.poly-image-wrap__inner {
  margin: 0 15px 30px 15px;
}
.poly-image-wrap__inner .wrap {
  position: relative;
}
.poly-image-wrap__inner .wrap > span {
  width: 100%;
  height: calc(100% - 20px);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0);
  padding: 10px;
  border-radius: 20px;
  z-index: 2;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.poly-image-wrap__inner .wrap .cross {
  margin-left: auto;
  display: block;
  transition: all 0.3s ease;
  cursor: pointer;
}
.poly-image-wrap__inner .wrap .cross:hover {
  transform: scale(1.1);
}
.poly-image-wrap__inner .wrap:hover > span {
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 1;
}
.poly-image-wrap__inner .button-wrap label {
  width: 100%;
}
.poly-image-wrap__inner .wrap > img {
  width: 196px;
  height: 196px;
  margin-bottom: 20px;
  border-radius: 20px;
  -o-object-fit: cover;
  object-fit: cover;
}

.image-wrap__description-img {
  padding: 5px 5px 5px 9px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid #cdcdcd;
  border-radius: 5px;
}
.image-wrap__description-img > svg {
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 23px;
  height: 23px;
  pointer-events: none;
}
.image-wrap__description-img svg:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.image-wrap__description-img svg:hover path {
  fill: #ff9c1c;
}

.create-task__add-field {
  position: relative;
  min-width: 217px;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
}
.create-task__add-field a {
  color: white;
}
.create-task__add-field:hover .create-task__add-field-nav {
  visibility: visible;
  max-height: 10000px;
  overflow: visible;
}
.create-task__add-field:hover .decor {
  visibility: visible;
}
.create-task__add-field > .decor {
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  visibility: hidden;
  display: block;
  position: absolute;
  bottom: calc(100% + 15px);
  width: 18px;
  height: 18px;
  left: calc(50% - 9px);
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.create-task__add-field-nav {
  position: absolute;
  bottom: calc(100% + 30px);
  background-color: #0f6b98;
  border-radius: 20px;
  visibility: hidden;
  overflow: hidden;
  max-height: 0;
  -webkit-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  z-index: 9999999;
  margin-bottom: 0;
}
.create-task__add-field-nav ul {
  background-color: #0f6b98;
  border-radius: 20px;
}
.create-task__add-field-nav li {
  margin-bottom: 0;
  padding: 7px 26px 7px 10px;
  position: relative;
  color: white;
}
.create-task__add-field-nav li.has-sub-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.create-task__add-field-nav li.has-sub-nav:hover .sub-nav {
  visibility: visible;
}
.create-task__add-field-nav li.has-sub-nav::after {
  position: absolute;
  content: "";
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background-image: url(../img/add-field.svg);
  background-repeat: no-repeat;
  right: 5px;
  top: calc(50% - 6.5px);
  width: 13px;
  height: 13px;
}
.create-task__add-field-nav li .sub-nav {
  position: absolute;
  left: calc(100% + 5px);
  top: 0;
  visibility: hidden;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.create-task__add-field-nav li .sub-nav::after {
  display: block;
  content: "";
  width: 5px;
  right: 100%;
  top: 0;
  height: 100%;
  position: absolute;
}
.create-task__add-field-nav li:first-child {
  border-radius: 20px 20px 0 0;
  padding: 13px 26px 7px 10px;
}
.create-task__add-field-nav li:last-child {
  border-radius: 0 0 20px 20px;
  padding: 7px 26px 13px 10px;
}
.create-task__add-field-nav li.active,
.create-task__add-field-nav li:hover {
  background-color: #ff9c1c;
  color: white;
}
.create-task__add-field-nav li:last-child {
  margin-bottom: 0;
}

.create-task .button-wrap-center .btn {
  min-width: 160px;
}

@media (max-width: 767px) {
  .section-white {
    padding: 20px;
  }
  .toggle-title.title-grey + .disable-border {
    padding: 0 32px;
  }
  .toggle-title.title-grey.toggled {
    border-radius: 20px 20px 0 0;
    padding: 11px 20px;
  }
  .toggle-title.title-grey.toggled + .disable-border {
    padding: 20px 20px;
    overflow: visible;
  }
  .toggle-title.title-grey::after {
    right: 20px;
  }
  .image-wrap {
    margin-top: 0;
  }
  .create-task .button-wrap-center .btn {
    min-width: 200px;
  }
  .create-task__add-field > .decor {
    top: unset;
    bottom: calc(100% + 30px);
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
  }
  .create-task__add-field-nav {
    top: unset;
    bottom: calc(100% + 45px);
  }
  .create-task__add-field-nav > li {
    position: relative;
  }
  .create-task__add-field-nav > li.has-sub-nav {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
  }
  .create-task__add-field-nav > li.has-sub-nav:first-child {
    padding-top: 5px;
  }
  .create-task__add-field-nav > li.has-sub-nav:last-child {
    padding-bottom: 5px;
  }
  .create-task__add-field-nav > li.has-sub-nav > ul > li {
    border-radius: 0;
  }
  .create-task__add-field-nav > li.has-sub-nav.active {
    padding-bottom: 5px;
  }
  .create-task__add-field-nav > li.has-sub-nav.active > ul {
    max-height: 10000px;
  }
  .create-task__add-field-nav > li.has-sub-nav.active > span::after {
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  .create-task__add-field-nav > li.has-sub-nav > span {
    display: block;
    position: relative;
    padding: 7px 26px 20px 10px;
  }
  .create-task__add-field-nav > li.has-sub-nav > span::after {
    position: absolute;
    content: "";
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    background-image: url(../img/add-field.svg);
    background-repeat: no-repeat;
    width: 13px;
    height: 13px;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    bottom: 3px;
    left: calc(50% - 6.5px);
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
  }
  .create-task__add-field-nav > li.has-sub-nav > li {
    border-radius: 0;
  }
  .create-task__add-field-nav > li.has-sub-nav::after {
    display: none;
  }
  .create-task__add-field-nav > li .sub-nav {
    position: relative;
    border-radius: 0;
    max-height: 0;
    width: 100%;
    top: unset;
    left: unset;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
    max-height: 0;
  }
  .create-task__add-field-nav > li .sub-nav::after {
    display: none;
  }
  .create-task__add-field-nav > li .sub-nav:hover {
    max-height: 0;
  }
  .image-wrap.image-wrap-video {
    max-width: 100%;
    margin: auto;
  }
  .text-button-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 0;
    margin-bottom: 15px;
  }
  .text-edit-field {
    padding: 20px;
  }
  .create-task__form > .button-wrap-center {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .create-task__form > .button-wrap-center .btn {
    display: inline-flex;
    width: fit-content;
    min-width: 200px;
    max-width: 100%;
    /*    min-width: calc(100% - 40px);
    width: calc(100% - 40px); */
    margin-right: 0;
    margin-bottom: 15px;
  }
  .player-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .audio-player-button {
    padding-top: 30px;
    margin: auto auto auto 0;
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
  }
  .audio-player-time {
    padding-top: 30px;
    margin: auto 0 auto auto;
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
  }
  .poly-image-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -15px -30px -15px;
  }
  .poly-image-wrap__inner {
    margin: 0 15px 30px 15px;
    width: calc(100% - 30px);
    position: relative;
  }

  .poly-image-wrap__inner .button-wrap label {
    width: 100%;
  }
  .poly-image-wrap__inner > img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    -o-object-fit: cover;
    object-fit: cover;
  }
}

.profile-config {
  /*   background: #ffffff; */
  border-radius: 20px;
  padding: 30px 30px;

  position: relative;
}
.profile-config-update {
  padding: 0 !important;
}
.profile-config-update__row {
  padding: 30px;
  background-color: #fff;
  /* box-shadow: 0px 11px 15px rgba(0, 0, 0, 0.1); */
  border-radius: 20px;
}
.profile-config-update__row:not(:last-child) {
  margin-bottom: 50px;
}
.profile-config--background {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0px 11px 15px rgb(0 0 0 / 10%);
}

.profile-config-info {
  display: grid;
  grid-template-columns: 184px auto;
  grid-column-gap: 30px;
  grid-row-gap: 30;
}
.change-btn {
  display: flex;
  position: absolute;
  right: 30px;
  bottom: 30px;
  min-width: unset !important;
}
.change-btn > img {
  width: 24px;
  height: 24px;
  display: block;
}
.profile-config__form-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 30px;
  align-content: end;
}
.profile-config-update .form-title {
  font-size: 18px;
  margin-bottom: 1.5rem;
}
.profile-config.small-form {
  width: 600px;
  max-width: 100%;
  margin: 0 auto;
}
.profile-config__title {
  color: #0f6b98;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.profile-config__title.black {
  color: #000;
}
.profile-config__img-section {
  display: grid;
  justify-items: center;
}

.field-profilechangeform-image {
  display: none;
  opacity: 0;
  overflow: hidden;
  max-height: 0;
  transition: all 0.3s ease;
  margin: 0;
}
.field-profilechangeform-image.visible {
  display: block;
  opacity: 1;
  max-height: 3000px;
  margin-bottom: 1rem;
}
.profile-config__img-section .image-cropper-wrap {
  margin: 0;
  position: absolute;
  top: -50px;
  visibility: hidden;
  border: 2px solid #ff9c1c;
  opacity: 0;

  max-height: 30vh;
  overflow: hidden;
  width: 100%;
}
.profile-config__img-section .image-cropper-wrap .profile-config__input-wrap {
  margin: 0;
}
.profile-config__img-section
  .image-cropper-wrap
  .profile-config__input-wrap
  .error-message {
  margin: 0;
}
.profile-config__img-section .image-cropper-wrap .cropper-view-box {
  border-radius: 50%;
}
.profile-config__img-section .image-cropper-wrap.visible {
  margin: 30px 0 30px;
  z-index: 1;
  opacity: 1;
  top: 0;
  visibility: visible;
  position: relative;
  transition: all 1s ease;
}
/* .profile-config__img-section .image-cropper-wrap.visible  */
#image-cropper-loader {
  /*  position: absolute;
  top: 0;
  left: calc(50% - 20px); */
  margin-top: 15px;
  color: #ff9c1c;
  z-index: 10;
}
.profile-config__img-section
  .image-cropper-wrap.visible
  #image-cropper-loader-inner {
  position: absolute;
  top: calc(50% - 20px);
  left: calc(50% - 20px);

  color: #ff9c1c;
  z-index: 10;
}
.profile-config__img-section .image-cropper-wrap.visible + * {
  margin-top: 30px;
}
.profile-config__img-wrap {
  position: relative;
  padding-top: 156px;

  width: 156px;
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 15px;

  opacity: 1;
}
.profile-config__img-wrap.hidden {
  height: 0 !important;
  max-height: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  overflow: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}
.profile-config__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  border: 3px solid #ff9c1c;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}
.profile-config__img-description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: flex-start;
  -ms-flex-align: flex-start;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.profile-config__img-description.one-child * {
  margin: 0;
}
.profile-config__img-description > a {
  margin-right: 15px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.profile-config__img-description > a:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}
.profile-config__img-description > a:last-child {
  margin-right: 0;
}
.profile-config__img-description-button {
  display: block;
}
.profile-config__double-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  max-width: 100%;
}
.profile-config__double-input > .profile-config__input-wrap:first-child {
  padding-right: 15px;
}
.profile-config__double-input > .profile-config__input-wrap:last-child {
  padding-left: 15px;
}
.profile-config__subtitle {
  font-weight: 700;
  color: #000;
  margin-bottom: 21px;
}
.profile-config__input-wrap {
  background: inherit;

  margin: 10px 0 15px;
  width: 100%;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  position: relative;
}
.profile-config__input-wrap > .btn {
  margin-top: 10px;
  margin-left: auto;
}
.profile-config__input-wrap.error > input,
.profile-config__input-wrap.error > textarea {
  border: 1px solid #dc3232;
  color: #dc3232 !important;
}
.profile-config__input-wrap > .eye {
  cursor: pointer;
  content: "";
  display: block;
  position: absolute;
  background-image: url(../img/eye-slash.svg);
  width: 30px;
  height: 16px;
  right: -4px;
  top: 27px;
  background-repeat: no-repeat;
  background-size: contain;
}
.profile-config__input-wrap > .error-message {
  display: block;
  color: #dc3232;
  font-size: 12px;
  margin-top: 5px;
}
.profile-config__input-wrap .eye.active {
  background-image: url(../img/eye.svg);
  right: 0;
  bottom: 6px;
  width: 26px;
  height: 14px;
}
.profile-config__input-wrap label {
  font-size: 12px;
  padding-bottom: 7px;
  color: #706d6d;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.profile-config__input-wrap .label {
  font-size: 14px;
  padding-bottom: 7px;
  color: #706d6d;
}
.profile-config__input-wrap .label::first-letter {
  text-transform: capitalize;
}
.profile-config__input-wrap input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background: #fbfbfb;
  border: 1px solid #cdcdcd;
  padding: 4px 7px;
  width: 100%;
  border-radius: 5px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  position: relative;
}

.profile-config-update .profile-config__input-wrap input {
  background-color: #fff;
}
.profile-config__input-wrap .iti__flag-container {
  display: grid;
  align-items: center;
  left: 7px;
}
.profile-config__input-wrap .iti__country-list {
  top: 100%;
  left: -6px;
}
.profile-config__input-wrap .iti__flag-container:hover .iti__selected-flag {
  background-color: inherit;
}
.profile-config__form {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-column-gap: 30px;
}
.full-width {
  grid-column: 1 / -1;
}
.profile-config-update .profile-config__form-section > .button-wrap {
  grid-column: 1 / -1;
  text-align: left;
  margin-top: 15px;
}
.profile-config-update .double-wrap .button-wrap {
  grid-column: 1 / -1;
  text-align: left;
  margin-top: 15px;
  height: 100%;
}

.profile-config-update .double-wrap .profile-config__form {
  /*  margin-top: 15px; */
  grid-template-columns: repeat(1, auto);
  align-content: space-between;

  margin-bottom: 0;
  align-content: end;
}

.profile-config-update .double-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 30px;
  padding: 30px;
}
.profile-config-update .double-wrap input {
  background-color: #fbfbfb;
}
.profile-config-update .double-wrap .wrap {
  display: grid;
}
.profile-config__input-wrap .text > a.change {
  position: absolute;
  width: 16px;
  height: 16px;
  top: calc(50% - 8px);
  right: 4px;
  transition: all 0.3s linear;
}
.profile-config__input-wrap .text > a.change:hover {
  transform: scale(1.05);
}
.profile-config__input-wrap > .text > a.change img {
  max-height: 100%;
  max-width: 100%;
}

.profile-config__input-wrap > input::-webkit-input-placeholder {
  font-weight: 400;
  font-size: 12px;
}
.profile-config__input-wrap > input::-moz-placeholder {
  font-weight: 400;
  font-size: 12px;
}
.profile-config__input-wrap > input:-ms-input-placeholder {
  font-weight: 400;
  font-size: 12px;
}
.profile-config__input-wrap > input::-ms-input-placeholder {
  font-weight: 400;
  font-size: 12px;
}
.profile-config__input-wrap > input::placeholder {
  font-weight: 400;
  font-size: 12px;
}
@media (max-width: 992px) {
  .profile-config__img-section {
    margin-bottom: 30px;
  }
  .profile-config-update__row {
    padding: 30px 15px;
  }
  .profile-config-update__row:not(:last-child) {
    margin-bottom: 30px;
  }
  .profile-config .button-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    align-items: center;
  }
  .profile-config .button-wrap > input {
    min-width: 50%;
  }
  .profile-config-update .double-wrap {
    padding: 30px 15px;
  }
}
@media (max-width: 767px) {
  .profile-config-update__row:not(:last-child) {
    margin-bottom: 10px;
  }

  .profile-config__img-section .image-cropper-wrap {
    max-height: 160px;
  }

  .profile-config__img-section .image-cropper-wrap.visible {
    margin: 1.5rem 0 0;
  }
  .profile-config-update .double-wrap {
    grid-template-columns: 1fr;
  }
  .profile-config-update .double-wrap .profile-config__form {
    align-content: flex-start;
  }
  .profile-config {
    padding: 30px 15px;

    margin-bottom: 10px;
  }
  .profile-config__form {
    grid-template-columns: auto;
  }
  .profile-config__form-section > .button-wrap > .btn,
  .profile-config-update .double-wrap .button-wrap > .btn {
    min-width: unset !important;
  }
  .profile-config-update .double-wrap .profile-config__form {
    position: relative;
    height: auto;
    margin-bottom: 15px;
  }
  .profile-config-update .profile-config__form-section > .button-wrap {
    /*   margin-top: 0; */
  }
  .profile-config-update .double-wrap .button-wrap {
    /*   margin-top: 0; */
  }
  .profile-config-update .double-wrap .profile-config__form:last-child {
    margin-bottom: 0;
  }

  .profile-config-info {
    grid-template-columns: auto;
  }
  .profile-config__form-section {
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: 30px !important;
  }
  .profile-config-update .profile-config__form-section {
    margin-bottom: 0 !important;
  }
  .profile-config__img-wrap {
    margin: 0 auto 0;
  }
  .profile-config-update .profile-config__img-wrap {
    margin-bottom: 15px;
  }
  .profile-config__form {
    margin-bottom: 0;
  }
  .profile-config__double-input {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
  }
  .profile-config__input-wrap {
    margin-bottom: 10px;
  }
  .profile-config__input-wrap:last-child {
    margin-bottom: 0;
  }
  .change-btn {
    position: static;
    margin: auto;
  }
  .profile-config__double-input > .profile-config__input-wrap {
    width: 100%;
  }
  .profile-config__double-input > .profile-config__input-wrap:first-child {
    padding-right: 0;
  }
  .profile-config__double-input > .profile-config__input-wrap:last-child {
    padding-left: 0;
  }
  .profile-config .button-wrap > input {
    min-width: 100%;
  }
}

.materials__teacher-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 30px;
}

.materials__item-teacher-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-right: 30px;
}

.materials__teacher-img {
  border: 3px solid #ff9c1c;
  display: block;
  width: 70px;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 15px;
}

.materials__teacher-item {
  width: 100%;
  margin-bottom: 35px;
}
.materials__teacher-item:last-child {
  margin-bottom: 0;
}

.materials__toggle {
  background: #ffffff;
  -webkit-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 20px 20px 0px 0px;
  min-width: 100%;
}
.materials__toggle.toggled + .materials__inner {
  overflow: visible;
}

.materials__teacher-description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  line-height: 1.4;
}

.materials__teacher-name {
  color: #0f6b98;
  font-weight: 700;
  margin-right: 15px;
}

.materials__teacher-status {
  color: #000;
  font-weight: 400;
}

.materials__item-actions-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.materials__item-icon {
  margin-right: 10px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.materials__item-icon > img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 18px;
}
.materials__item-icon:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.materials__item-icon:last-child {
  margin-right: 0;
}

.materials__inner {
  border: none !important;
  background: #ffffff;
  border-radius: 0px 0px 20px 20px;
  padding: 0;
}

.materials__item {
  border-bottom: 1px solid #d0cbcb;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 30px 36px;
  position: relative;
  align-items: flex-start;
}
@media (max-width: 899px) {
  .materials__item {
    padding: 20px 16px;
  }
}

.materials__item:last-child {
  border-radius: 0 0 20px 20px;
  margin-bottom: 0;
}
.materials__item:last-child:hover,
.materials__item:last-child.active {
  border-bottom: 0px solid #e6d2d2;
  border-top: 0px solid #fff;
  top: 0;
}
.materials__item:hover,
.materials__item.active {
  background-color: #c3eafd;
  border-bottom: 0px solid #e6d2d2;
  border-top: 1px solid #fff;
  top: 0;
}
.materials__item:hover::after,
.materials__item.active::after {
  display: block;
  content: "";
  background-image: url(../img/polygon.svg);
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  position: absolute;
  right: -29px;
  top: calc(50% - 15px);
}
.materials__item:last-child {
  border-bottom: 0px solid #d0cbcb;
}

.materials__item-left {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: 10px;
}

.materials__item-time {
  font-weight: 700;
  padding-right: 10px;
}
@media (min-width: 500px) {
  .materials__item-time {
    padding-right: 15px;
  }
}

.materials__item-task {
  font-weight: 700;
  text-decoration: underline;
  /* padding-right: 15px; */
  color: #0f6b98;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (max-width: 399px) {
  .materials__item-task {
    padding-right: 5px;
  }
}
.materials__item-task:hover {
  text-decoration: none;
}

.materials__card-wrap {
  background: #ffffff;
  border-radius: 20px;
  padding: 26px 24px;
  height: fit-content;
}

@media (max-width: 767px) {
  .materials__col {
    margin-bottom: 30px;
  }
  .materials__teacher-wrap {
    margin-right: 0;
  }
  .materials__item {
    padding: 16px;
  }
  .materials__teacher-description {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .materials__teacher-name {
    margin-bottom: 10px;
  }
  /* .materials .toggle-title::after {
    right: 16px;
  } */
}
@media (max-width: 380px) {
  .materials__item {
    padding: 16px 10px;
  }
  /* .materials .toggle-title::after {
    right: 16px;
  } */
}
.toggle-title.white {
  background-color: #fff;
  border-radius: 20px;
}
.toggle-title.white.toggled {
  border-radius: 20px 20px 0 0;
}
.toggle-title.white.toggled + .toggle-inner {
  padding: 0;
}

.toggle-title::after {
  background-image: url(../img/arrow-blue.svg);
  right: 60px;
}
.assembly__book-title::after,
.assembly__module-title::after,
.assembly__Модуль-title::after {
  right: 20px;
}
@media (max-width: 767px) {
  .teacher-item-header .toggle-title::after {
    right: 40px;
  }
}
@media (max-width: 399px) {
  .teacher-item-header .toggle-title::after {
    right: 25px;
  }
}

.payment {
  background: #ffffff;
  /* border: 1px solid #d8d8d8; */
  padding: 51px;
  border-radius: 20px;
}
.payment:not(:last-child) {
  margin-bottom: 50px;
}
.container .row {
  --bs-gutter-x: unset;
}
@media (max-width: 767px) {
  .container .card-content .row {
    gap: 30px;
  }
}
.payment .row {
  margin-bottom: -30px;
}
.payment .col-12 {
  padding: 0 15px;
  margin-bottom: 30px;
  min-height: 270px;
}
.payment__description {
  margin-bottom: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.payment__top-color {
  font-weight: 700;
  padding-right: 15px;
}
.payment__top-color:last-child {
  padding-right: 0;
}
.payment__top-color > span:first-child {
  color: #0f6b98;
}
.payment__top-color > span:last-child {
  color: #ff9c1c;
}
.payment__top-grey {
  margin-bottom: 40px;
  text-align: center;
  font-size: 11px;
  color: #cacaca;
}
.package-item:not(.chosen) {
  cursor: pointer;
}

.payment__item {
  background-position: center;
  background-repeat: no-repeat;
  background-color: #ffffff;
  background-image: url(../img/payment-bg.svg);
  -webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  min-height: 100%;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.payment__item:hover {
  -webkit-transform: scale(1.05, 1.05);
  -ms-transform: scale(1.05, 1.05);
  transform: scale(1.05, 1.05);
}
.payment__item-top {
  text-align: center;
  margin-bottom: 11px;
  pointer-events: none;
}
.payment__item-top-lessons {
  font-weight: 700;
  color: #ff9c1c;
  margin-bottom: 14px;
}
.payment__item-top-discount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 11px;
  min-height: 38px;
}
.payment__item-top-discount .percent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ff9c1c;
  color: white;
  font-weight: 700;
  margin-right: 10px;
}
.payment__item-middle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: center;
}
.payment__item-middle-sum {
  font-size: 36px;
  pointer-events: none;
}
.payment__item-middle-time {
  margin-bottom: 40px;
  pointer-events: none;
}
.payment__button {
  border: 1px solid #d3d3d3;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.payment .button-wrap-center .cart {
  max-width: 1000px;
  visibility: visible;
}
.payment .button-wrap-center img {
  display: block;
}
.payment .button-wrap-center .good {
  max-width: 0;
  visibility: hidden;
}
.payment .button-wrap-center.chosen .good,
.payment .button-wrap-center:hover .good {
  max-width: 1000px;
  visibility: visible;
}
.payment .button-wrap-center.chosen .good {
  cursor: unset;
}
.payment .button-wrap-center.chosen .cart,
.payment .button-wrap-center:hover .cart {
  max-width: 0;
  visibility: hidden;
}
@media (max-width: 992px) {
  .payment {
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 30px;
  }
  .payment .form {
    padding: 0;
  }
  .payment:not(:last-child) {
    margin-bottom: 30px;
  }
  .payment__top-color {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
  }
  .payment .row {
    margin-bottom: 0;
  }
  .payment .btn {
    min-width: 50%;
  }
}
@media (max-width: 767px) {
  .payment {
    margin-bottom: 10px;
  }
  .payment .row {
    margin-bottom: 0;
  }
  .payment .col-12 {
    padding: 0;
  }
  .payment .btn {
    min-width: 100%;
  }
  .payment__description {
    flex-direction: column;
    align-items: flex-start;
  }
  .payment__top-color {
    flex-direction: row;
    text-align: left;
  }
  .payment__top-color > span:first-child {
    padding-right: 5px;
  }
}

.teacher-tasks {
  /*  &__subitem-top{
        transition: $transition;
    } */
}
.teacher-tasks__cards {
  padding: 19px 16px 25px 16px;
  background-color: white;
  border-radius: 20px;
}
.teacher-tasks__cards-inner {
  background: #ffffff;
  border-radius: 20px;
  padding: 19px 17px;
}
@media (max-width: 767px) {
  .teacher-tasks__cards.student-office {
    padding-bottom: 10px;
    padding-left: 19px;
    padding-top: 17px;
  }
  .teacher-tasks__cards.student-office.open {
    padding-top: 21px;
  }
}
@media (min-width: 768px) {
  .teacher-tasks__cards-inner {
    margin-bottom: 20px;
  }
}
.teacher-tasks__item-teacher-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 25px;
}
.teacher-tasks__teacher-img,
.teacher-tasks__student-img {
  display: block;
  border-radius: 50%;
  border: 3px solid #ff9c1c;
  margin-right: 11px;
  width: 71px;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 10px;
}
.teacher-tasks__student-img {
  border: 3px solid #18678d;
}
.teacher-tasks__teacher-description {
  line-height: 1.4;
}
.teacher-tasks__teacher-name {
  font-weight: 700;
  color: #0f6b98;
}
.teacher-tasks__teacher-status {
  font-weight: 400;
  color: #000;
}
.teacher-tasks__subitem {
  cursor: pointer;
}
.teacher-tasks__subitem.active {
  margin-right: -16px;
}

@media (max-width: 767px) {
  .student-office .teacher-tasks__subitem.active,
  .student-office .teacher-tasks__subitem:hover {
    margin-right: 0;
  }
}
.teacher-tasks__subitem.active .teacher-tasks__subitem-top {
  background: #c3eafd;
  border-radius: 0px;
  /* padding-top: 13px; */
  /* margin-top: -1px;
  margin-bottom: 1px; */
  margin-right: -1px;
}
.teacher-tasks__subitem:hover .teacher-tasks__subitem-description--solve,
.teacher-tasks__subitem.active .teacher-tasks__subitem-description--solve {
  background: #f0faff;
  border-bottom-right-radius: 3px;
}
.teacher-tasks__cards.student-office
  .teacher-tasks__subitem:hover
  .teacher-tasks__subitem-description--solve,
.teacher-tasks__cards.student-office
  .teacher-tasks__subitem.active
  .teacher-tasks__subitem-description--solve {
  background: white;
  border-bottom-right-radius: 0;
}
.teacher-tasks__subitem-opys {
  font-size: 14px;
  font-weight: 700;
}
.teacher-tasks__cards.student-office .teacher-tasks__subitem.active a::after,
.teacher-tasks__cards.student-office
  .teacher-tasks__subitem:hover
  .teacher-tasks__subitem
  a::after {
  opacity: 1;
}
.teacher-tasks__subitem .teacher-tasks__subitem-bottom--solve {
  border-bottom-right-radius: 3px;
}
.teacher-tasks__subitem.active .teacher-tasks__subitem-bottom,
.teacher-tasks__subitem:hover .teacher-tasks__subitem-bottom {
  background: #f0faff;
  border-radius: 0px;
  /* margin-top: -1px; */
  padding-bottom: 12px;
}

.teacher-tasks__subitem:hover .teacher-tasks__subitem-bottom--solve {
  background: #f0faff;
  margin-top: 0;
  padding-bottom: 0;
}
.teacher-tasks__subitem.active .teacher-tasks__subitem-bottom--solve {
  padding-bottom: 19px;
  border-bottom-right-radius: 3px;
}

.teacher-tasks__subitem-top {
  position: relative;
}
.teacher-tasks__subitem-top--solve {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
.assembly__title-wrapper {
  display: flex;
}
.assembly__title-wrapper svg {
  display: none;
}
.assembly__unit-inner-wrap .assembly__title-wrapper svg {
  display: block;
}
.assembly__unit-inner-wrap .assembly__title-wrapper svg {
  width: 2em;
  height: 2em;
  margin-right: 12px;
}
.assembly__title-wrapper svg path {
  fill: white;
}
.assembly__card-button-wrap {
  display: flex;
}
.assembly__card-title.toggle-title {
  align-items: flex-start;
}
@media (min-width: 400px) {
  .assembly__unit-inner-wrap .assembly__title-wrapper svg {
    width: 1.5em;
    height: 1.5em;
  }
}
@media (min-width: 768px) {
  .teacher-tasks__subitem-top::after,
  .teacher-tasks__cards.student-office .teacher-tasks__subitem a:after {
    background-image: url(../img/subitem-decor.svg);
    background-repeat: no-repeat;
    display: block;
    opacity: 0;
    position: absolute;
    content: "";
    width: 29px;
    height: 26px;
    right: -26px;
    top: calc(50% - 13px);
  }
  .teacher-tasks__cards.student-office .teacher-tasks__subitem-top::after {
    display: none;
  }
  .assembly__title-wrapper svg {
    margin-right: 20px;
  }
}
.teacher-tasks__task-inner {
  background: #ffffff;
  -webkit-box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 20px;
  -webkit-transition: background 0.3s ease;
  -o-transition: background 0.3s ease;
  transition: background 0.3s ease;
}
.teacher-tasks__subtask {
  background-color: white;
}
.teacher-tasks__subtask:first-child {
  border-radius: 20px 20px 0px 0px;
}
.teacher-tasks__subtask:first-child .teacher-tasks__subtask-title {
  border-radius: 20px 20px 0px 0px;
}
.teacher-tasks__subtask:last-child {
  border-radius: 0px 0px 20px 20px;
  margin-bottom: 30px;
}
.teacher-tasks__subtask:only-child {
  border-radius: 20px;
}
.teacher-tasks__subtask .btn {
  padding: 10px 20px;
}
.teacher-tasks__subtask-inner {
  padding: 0 25px 35px 25px;
}
.teacher-tasks__subtask-inner:last-child {
  border-radius: 0px 0px 20px 20px;
}
.teacher-tasks__subtask-title {
  padding: 18px 24px;
  background: #f6f6f6;
  color: #0f6b98;
  font-weight: 700;
  margin-bottom: 30px;
}
.teacher-tasks__subtask-subtitle {
  color: #474646;
  font-weight: 700;
  margin-bottom: 25px;
}
.teacher-tasks__btn {
  text-transform: unset;
  font-size: 14px;
  text-align: center;
}
.teacher-tasks__cards.student-office .teacher-tasks__btn {
  box-shadow: 0px 4px 8px 0px #00000040;
}
.teacher-tasks__drag-col:first-child {
  padding-right: 30px;
}
.teacher-tasks__drag-wrap {
  background-color: #fffcfc;
  border: 1px solid rgba(15, 107, 152, 0.4);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 20px;
  min-height: 100%;
}
.teacher-tasks__drag-item {
  padding: 10px 0;
  color: #0f6b98;
  font-weight: 700;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10px 20px 10px 31px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.teacher-tasks__drag-item:first-child {
  padding-top: 20px;
  border-radius: 20px 20px 0 0;
}
.teacher-tasks__drag-item:last-child {
  padding-bottom: 20px;
  border-radius: 0 0 20px 20px;
}
.teacher-tasks__drag-item:hover,
.teacher-tasks__drag-item.active {
  background-color: #0f6b98;
  color: white;
}
.teacher-tasks__drag-item:hover path,
.teacher-tasks__drag-item.active path {
  fill: #ff9c1c;
}
.teacher-tasks__drag-item .drag {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 23px;
  height: 23px;
}
.teacher-tasks__image-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 0 -10px -20px -10px;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
.teacher-tasks__image-inner {
  padding: 0 10px;
  margin-bottom: 20px;
  width: 33%;
}
.teacher-tasks__image-inner.green .teacher-tasks__image-description > span {
  padding: 2px 5px 2px 5px;
  background-color: #9ef8a7;
}
.teacher-tasks__image-inner.red .teacher-tasks__image-description > span {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 3px 5px 1px 5px;
  background-color: #f89e9e;
  min-height: 100%;
}
.teacher-tasks__image-inner.red .teacher-tasks__image-description > img {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-left: 3px;
  width: 21px;
  max-height: 100%;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -o-object-fit: cover;
  object-fit: cover;
}
.teacher-tasks__image-inner.red .teacher-tasks__image-description > img:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.teacher-tasks__image-inner > img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin-bottom: 10px;
}
.teacher-tasks__image-description {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-weight: 700;
}
.teacher-tasks.teacher-tasks-image-wrap {
  padding: 0 -10px;
  margin-bottom: 25px;
}
/* .teacher-tasks .image-inner {
  width: calc(33% - 20px);
  margin: 0 10px;
  margin-bottom: 20px;
} */
.teacher-tasks .image-inner > img {
  width: 100%;
  height: 100%;
}
.teacher-tasks .audio-player wave {
  height: 70px !important;
}
.teacher-tasks .player-trek-name {
  font-weight: 700;
  color: #0f6b98;
  padding-left: 20px;
  margin-bottom: 20px;
}
.teacher-tasks .button-wrap-column {
  width: 100%;
  margin: auto;
}
.teacher-tasks .button-wrap-column > div {
  width: 100%;
}
/* .teacher-tasks .button-wrap-column > div:first-child {
  margin: 0 -2% 30px;
} */
.teacher-tasks .button-wrap-column > div:first-child .btn {
  width: 50%;
}
.teacher-tasks .button-wrap-column > div:first-child .btn {
  border-radius: 10px;
}

/* .teacher-tasks .button-wrap-column > div:last-child .btn {
  min-width: 100%;
} */
@media (max-width: 991px) {
  .teacher-tasks .button-wrap-column > div:first-child .btn {
    margin: 0;
  }
}
@media (max-width: 767px) {
  .teacher-tasks__cards {
    padding-right: 0;
  }
  .student-office.teacher-tasks__cards {
    padding-right: 16px;
  }
  .teacher-tasks__cards-inner {
    margin-bottom: 30px;
  }
  .teacher-tasks__item-teacher-wrap {
    margin-bottom: 10px;
  }
  .teacher-tasks__cards.student-office .teacher-tasks__item-teacher-wrap {
    margin-bottom: 0;
  }
  .teacher-tasks__cards.student-office.open .teacher-tasks__item-teacher-wrap {
    margin-bottom: 20px;
  }
  .teacher-tasks__drag-col:first-child {
    padding-right: 0;
    margin-bottom: 30px;
  }
  .teacher-tasks__image-inner {
    width: 100%;
  }
  .teacher-tasks__image-description {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .teacher-tasks__image-description > img {
    margin-left: 10px;
    width: 30px !important;
  }
  .teacher-tasks.teacher-tasks-image-wrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .teacher-tasks .image-inner {
    width: 100%;
    /* padding: 0 15px; */
    margin: 0;
    /* margin-bottom: 20px; */
  }
  .teacher-tasks .image-inner > img {
    width: 100%;
    height: 100%;
  }
  .teacher-tasks .button-wrap-column {
    margin-bottom: 30px;
  }
}

.subitem-description__text-title {
  font-weight: 700;
  color: #0f6b98;
  padding-bottom: 5px;
}

.subitem-description__text-subtitle {
  color: #474646;
  font-weight: 700;
}

.text-nav__choose-word {
  position: relative;
  border-radius: 7px;
  min-width: 40px;
  min-height: 18px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}
.text-nav__choose-word.active {
  overflow: visible;
  z-index: 10;
}
.text-nav__choose-word.active .text-nav__choose-current {
  border: 0.5px solid #0f6b98;
  border-radius: 7px 7px 0 0;
  border-bottom: 0.5px solid white;
}
.text-nav__choose-word.active .text-nav__choose-current::after {
  -webkit-transform: scale(-1, -1);
  -ms-transform: scale(-1, -1);
  transform: scale(-1, -1);
  top: calc(50% - 5px);
}
.text-nav__choose-word.active .text-nav__choose-nav {
  max-height: 10000px;
}

.text-nav__choose-current {
  border: 0.5px solid #eae9e9;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  position: relative;
  width: 100%;
  padding-bottom: 5px;
  padding: 1px 20px 3px 5px;
  cursor: pointer;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 7px;
  min-height: 22px;
}
.text-nav__choose-current::after {
  display: block;
  position: absolute;
  background-image: url(../img/choose-word-arrow.svg);
  background-repeat: no-repeat;
  content: "";
  width: 8px;
  height: 8px;
  top: calc(50% - 3px);
  right: 3px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.text-nav__choose-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  position: absolute;
  top: 100%;
  border: 0.5px solid #0f6b98;
  border-top: 0px solid #0f6b98;
  min-width: 100%;
  max-height: 0;
  border-radius: 0 0 7px 7px;
  background-color: white;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.text-nav__choose-nav > li {
  list-style: none !important;
  padding: 2px 5px !important;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.text-nav__choose-nav > li > a {
  color: #000;
  text-decoration: none;
  font-weight: 400;
}
.text-nav__choose-nav > li:hover {
  background-color: #0f6b98;
}
.text-nav__choose-nav > li:hover > a {
  color: white;
}
.text-nav__choose-nav > li:last-child {
  padding-bottom: 5px !important;
  border-radius: 0 0 6px 6px;
}

.fool-screen {
  max-width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
}
.fool-screen > iframe {
  display: block;
  min-width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  max-width: 100%;
}

.text-edit-field .green {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  padding: 0px 5px 0px 5px;
  background-color: #9ef8a7;
  font-weight: 700;
}

.text-edit-field .red {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.text-edit-field .red > span {
  background-color: #f89e9e;
  padding: 0px 5px 0px 5px;
  font-weight: 700;
}
.text-edit-field .red > img {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  margin-left: 3px;
  height: 20px;
  max-height: 100%;
  width: auto;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.text-edit-field .red > img:hover {
  -webkit-transform: scale(1.1, 1.1);
  -ms-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}

.button-wrap-column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@media (max-width: 480px) {
  .small-disable-480px {
    display: none !important;
    overflow: hidden;
  }
}

@media (min-width: 481px) {
  .lg-disable-481px {
    display: none !important;
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .small-disable-767px {
    display: none !important;
    overflow: hidden;
  }
}

@media (min-width: 768px) {
  .lg-disable-768px {
    display: none !important;
    overflow: hidden;
  }
}

/* стилі для селекту сформованого в реакті */

.nice-select-viewer__box {
  background-color: #fff;
  border-radius: 5px;
  border: solid 1px #e8e8e8;
  box-sizing: border-box;
  /* clear: both; */
  cursor: pointer;
  display: inline-block;
  /* float: left; */
  font-family: inherit;
  font-size: 14px;
  font-weight: normal;
  height: 26px;
  /* line-height: 40px; */
  outline: none;
  padding-left: 5px;
  padding-right: 15px;
  position: relative;
  text-align: left !important;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  min-width: 50px;
  width: auto;
}

.nice-select-viewer__box:hover {
  border-color: #dbdbdb;
}

.nice-select-viewer__box:active,
.nice-select-viewer__box:focus {
  border-color: #999;
}
.nice-select-viewer__box:after {
  content: "";
  display: block;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 6px solid #0f6b98;
  transition: transform 0.15s ease-in-out;
}
.nice-select-viewer__box :after {
  -webkit-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.nice-select-viewer__dropdown {
  opacity: 1;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
}
.nice-select-viewer.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}
.nice-select-viewer.disabled:after {
  border-color: #cccccc;
}

/**/
.nice-select {
  float: none;
  width: fit-content;
  background-color: #fbfbfb;
}

.nice-select .option:hover {
  color: #fff;
  background-color: #0f6b98;
}
.nice-select .option.selected.right-answer {
  background-color: #5ed270;
}
/*.nice-select .option.focus {
  color: #ff9c1c;
} */

.fit-content {
  width: fit-content;
}
.btn-mar {
  margin: 0 auto 10px !important;
}
.mar-auto {
  margin: 0 auto 10px !important;
}
.jcc {
  justify-content: center;
}

.viewer-card-main-info {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  padding: 27px 32px;
  border-radius: 20px;
  min-height: 50px;
  position: relative;
  line-height: 1.5;
  margin: 42px 0;
}

.viewer-card-main-info .main-text {
  color: #0f6b98;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 11px;
  margin-top: 0;
}

.viewer-card-main-info > p {
  color: #474646;
  text-align: justify;
  font-size: 14px;
  font-weight: 700;
}
@media (min-width: 768px) {
  .viewer-card-main-info {
    line-height: 1.8;
  }
  .viewer-card-main-info .main-text,
  .viewer-card-main-info > p {
    font-size: 16px;
  }
}

.task__sidebar.task__answer__wrapper ol li,
.react-card-flip ol li,
.react-card-flip ul li,
[data-type="input_text"] ol li,
[data-type="input_text"] ul li {
  list-style-type: unset;
}

/* .task__sidebar.task__answer__wrapper ol li em {
  display: inline-flex;
} */

div[data-type="table"] li,
div[data-type="tvir"] li {
  list-style: unset;
}

div[data-type="table"] .list-item-inner {
  display: flex;
  align-items: center;
}
.assembly__Книга-title.toggle-title:hover path {
  fill: white;
}

.table-paragraph {
  margin-bottom: 16px;
}
/* .materials__item-right {
  display: flex;
  align-items: center;
  gap: 15px;
} */

.student-office-tasks b {
  white-space: nowrap;
}
.student-office-tasks {
  align-items: center;
}

.task-description__item-percentage {
  white-space: nowrap;

  display: flex;
  align-items: center;
  margin-right: 15px;
}
.materials__item-percentage {
  margin-right: 15px;
}
@media (max-width: 499px) {
  .materials__item-percentage {
    margin-right: 0;
  }
}
.materials__item-done-icons {
  margin-left: auto;
}
@media (max-width: 767px) {
  .teacher-tasks.student-page .row {
    gap: 10px;
  }

  .task-description__item-left {
    flex: 0.9;

    margin-right: unset;
  }
  .task-description__item-right {
    flex: 100%;
  }
  .task-description__item-percentage {
    margin-right: unset;
  }
}
.task-description__item-percentage,
.materials__item-percentage {
  margin-left: 15px;
}
@media (max-width: 549px) {
  .task-description__item-percentage {
    margin-left: 10px;
  }
}
@media (max-width: 499px) {
  .student-office-tasks {
    flex-wrap: wrap;
  }

  .materials__item-right {
    flex: 100%;
    margin-top: 10px;
  }
  .materials__item-left {
    flex: 0.9;
  }
}
@media (max-width: 380px) {
  .materials__item-right {
    gap: 5px;
  }
}
.teacher-tasks.student-page .teacher-tasks__cards {
  height: fit-content;
}
.container.student-page {
  padding-left: unset;
  padding-right: unset;
}
.section.collection-main {
  min-height: calc(100vh - 240px - 70px - 60px);

  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .ml-17.tasks-right-block {
    margin-left: 17px;
    width: calc(66.66666667% - 17px);
  }
}
.iframe-container {
  min-height: 200px;
  width: 100%;
  height: auto;
}
.image-wrap-w-iframe {
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-wrap-w-iframe iframe {
  height: auto;
  width: 100%;
  min-height: 200px;
}
@media (min-width: 600px) {
  .image-wrap-w-iframe iframe {
    min-height: 350px;
  }
  .iframe-container {
    min-height: 350px;
  }
}
.notifications-page__inner .your-materials-page__subitem-date a {
  margin-top: 5px;
}
@media (min-width: 768px) {
  .notifications-page__inner .your-materials-page__subitem-date {
    display: flex;
    justify-content: space-between;
  }
  .notifications-page__inner .your-materials-page__subitem-date a {
    margin-top: 0;
  }
}
.disable-scroll {
  overflow: hidden; /* Prevents scrolling */
  touch-action: none; /* Disables touch scroll */
}

/*dropdown for assinment categories*/

.form-control.assignment-type-dropdown {
  -webkit-appearance: none; /* Remove default styling in Safari/Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none;
  background: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%204%205%27%3E%3Cpath%20fill%3D%27%23000%27%20d%3D%27M2%205L0%200h4z%27/%3E%3C/svg%3E")
    no-repeat right 0.75rem center;
  background-size: 10px 8px;
  background-color: #fbfbfb;
  line-height: 1;

  cursor: pointer;
}
