:root {
  --main: #109CF1;
  --danger: #DC3545;
  --warning: #F7B422;
  --success: #56BD5B;
  --light: #707683;
  --sidebar-width: 256px;
  --header-height: 60px;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #F2F3F5 !important;
  color: #192A3E !important;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI",
  "Helvetica Neue", Arial, "Noto Sans", sans-serif,
  "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" !important;
  font-size: 14px !important;
}

a:hover {
  text-decoration: none !important;
}

small {
  font-size: 12px !important;
}

/** components */

.btn {
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.02em !important;
  padding: .5rem 1rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.btn.btn-sm {
  padding: .25rem .5rem !important;
  font-size: .875rem !important;
  line-height: 1.5 !important;
  border-radius: .2rem !important;
}

.btn.btn-main {
  box-shadow: 0 4px 10px rgba(16, 156, 241, 0.25);
  background-color: var(--main);
  color: #fff;
}

.btn.btn-main:hover {
  box-shadow: none;
  color: #fff;
}

.btn.btn-main-outline {
  border: 1px solid var(--main);
  color: var(--main);
}

.btn.btn-main-outline:hover {
  background-color: var(--main);
  color: #fff;
}

.alert:not(.alert-old) {
  color: #192A3E !important;
  padding: 1rem 1rem 1rem 4rem !important;
}

.alert > * {
  margin: 0;
}

.alert:not(.alert-old):before {
  content: '';
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3rem;
}

.alert:last-of-type {
  margin-bottom: 0;
}

.alert.alert-danger {
  background-color: rgba(220, 53, 69, 0.05);
  border: 1px solid var(--danger);
}

.alert.alert-danger:before {
  background-image: url('../images/icons/warning.svg');
  background-color: var(--danger);
}

.alert.alert-warning {
  background-color: rgba(247, 180, 34, 0.05);
  border: 1px solid var(--warning);
}

.alert.alert-warning:before {
  background-image: url('../images/icons/warning.svg');
  background-color: var(--warning);
}

.alert.alert-success {
  background-color: rgba(86, 189, 91, 0.05);
  border: 1px solid var(--success);
}

.alert.alert-success:before {
  background-image: url('../images/icons/success.svg');
  background-color: var(--success);
}

.alert.alert-info {
  background-color: rgba(16, 156, 241, 0.1);
  border: 1px solid var(--main);
}

.alert.alert-info:before {
  background-image: url('../images/icons/question.svg');
  background-color: var(--main);
}

.card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.card-header,
.card-footer {
  padding: .75rem 1.5rem;
}
.base-test-item{
  display: flex!important;
  padding: 0px 24px 0px 16px!important;
  margin-top: 16px!important;
  height: 72px;
  justify-content: center;
}

.testBtnCustom .nav-link{
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.01em;
  font-weight: 500;
}

.testHeader h4{
  font-weight: normal!important;
  font-size: 16px;
  line-height: 20px;
}
.testHeader .fa-clock-o{
  font-size: 10px;
  color:  #90A0B7;
  margin-right: 7px;
}
.testHeader .d-block {
  display: flex!important;
  align-items: center;
}
.testHeader .d-block .span{
  font-weight: normal!important;
  font-size: 14px;
  line-height: 16px;
  color: #707683;
}

.testContainerMain{
  padding: 24px;
  background: #F7F7F7;
}

.testContainerMain .card {
  background: #FFFFFF!important;
  border: 1px solid rgba(194, 207, 224, 0.5)!important;
  box-sizing: border-box!important;
  border-radius: 4px!important;
  padding: 16px 40px 16px 24px!important;
  box-shadow: none!important;
}
.shortDescription{
  font-size: 12px!important;
}
.mainTestContainer{
    position: relative;
    height: 100%;
    margin-left: -154px;
}
.lineOfLesson{
    position: absolute;
    height: 100%;
    margin-left: 38px;
}
.addLine{
  border-left: 2px dashed #E0E0E0;
  position: initial;
  margin-left: 11px;
  height: 100%;
}
.addLineLeft{
  border-right: 2px dashed #E0E0E0;
  position: absolute;
  height: 98%;
  margin-top: 24px;
  margin-left: 4%;
}
.testMain{
  position: relative;
}
.mainTestContainer{
  position: relative;
  height: 100%;
  margin-left: -154px;
}
.lineOfLesson{
  position: absolute;
  height: 100%;
  margin-left: 38px;
}
.addLineLeft{
  border-right: 2px dashed #E0E0E0;
  position: absolute;
  height: 98%;
  margin-top: 24px;
  margin-left: 4%;
}
.testMain{
  position: relative;
}
.assignedIcons{
  /* border-left: 2px solid #E0E0E0; */
  /* height: 100%; */
  z-index: 1;
  position: absolute;
  left: -17%;
  /* margin-left: -120px; */
}
.assignedIcons span{
  position: absolute;
  top: -52px;
}
@media (min-width: 1600px) {
  .assignedIcons{
    left: -12%;
  }
  .addLineLeft{
    margin-left: 43px;
  }
}
.assignedIcons .warning{
  background: #F7B422;
  height: 24px;
  width: 24px;
  color: white;
  padding: 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.assignedIcons .success{
  background: #2ECC71;
  height: 24px;
  width: 24px;
  padding: 5px;
  color: white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.assignedIcons .info{
  background: #90A0B7;
  height: 24px;
  width: 24px;
  color: white;
  padding: 8px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tasksArr{
  padding: 8px 24px 24px 24px;
  background: #F7F7F7;
}

.card-assigned-body{
  padding: 16px 40px 16px 24px!important;
}

.card .card-body,
.card.card-body {
  padding: 1rem;
}

@media (min-width: 576px) {
  .card .card-body,
  .card.card-body {
    padding: 1.5rem;
  }
}

.title {
  color: #232735;
  font-weight: bold;
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 0;
}

.date-text {
  font-size: 12px;
  line-height: 16px;
  color: #90A0B7;
}

.header {
  color: #232735;
  font-weight: bold;
  font-size: 18px;
  /*line-height: 32px;*/
  margin-bottom: 0;
}

.sub-header {
  color: #334D6E;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 0;
}

.form-control {
  border-color: rgba(194, 207, 224, 0.5) !important;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  line-height: 20px;
}

.input-group.input-group-lg .form-control {
  height: calc(1.5em + .75rem + 6px);
}

.form-control::placeholder {
  color: #90A0B7 !important;
}

hr {
  background: rgba(194, 207, 224, 0.5);
}

.text-main {
  color: var(--main);
}

.text-light {
  color: var(--light) !important;
}

.user-profile {
  color: inherit;
  display: flex;
  align-items: center;
}

.user-profile:hover {
  color: inherit;
}

.user-profile .user-profile-info {
  display: flex;
  flex-direction: column;
}

.user-profile.profile-sm .avatar {
  height: 28px;
  width: 28px;
}

.user-profile.profile-sm .user-profile-info {
  line-height: 1.25;
}

.user-profile .user-profile-info small {
  color: #707683;
}

.user-profile.rtl .avatar {
  order: 1;
}

.user-profile.rtl .user-profile-info {
  text-align: right;
  margin-left: 0;
}

.user-profile.ltr.profile-md .user-profile-info {
  margin-left: 1rem;
}

.user-profile.rtl.profile-md .user-profile-info {
  margin-right: 1rem;
}

.user-profile.rtl.profile-sm .user-profile-info {
  margin-right: 0.75rem;
}

.user-profile.ltr.profile-sm .user-profile-info {
  margin-left: 0.75rem;
}

.new-count {
  color: #FFFFFF;
  background-color: var(--main);
  border-radius: 50%;
  font-size: 12px;
  margin-left: 0.5rem;
  text-align: center;
  height: 20px;
  width: 20px;
}

.search-input {
  background: url('../images/icons/search.svg') no-repeat 12px;
  padding-left: 40px !important;
}

.modal .modal-content {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 70px rgba(0, 0, 0, 0.09);
}

.modal .modal-header {
  background-color: #FFFFFF;
  padding: 1.5rem;
}

.modal .modal-title {
  font-size: 18px;
}

.modal .modal-body {
  background: #F7F7F7;
  padding: 1rem 1.5rem;
}

.modal-backdrop {
  background: rgba(45, 58, 93, 0.2) !important;
  /*backdrop-filter: blur(8px) !important;*/
}

.modal-backdrop.show {
  opacity: 1 !important;
}

.accordion .card-header {
  padding-right: 3rem;
  position: relative;
}

.accordion .card-header:after {
  content: '';
  background-image: url('../images/icons/chevron-down.svg');
  position: absolute;
  transform: rotate(180deg);
  transition: transform .3s;
  top: 12px;
  right: 12px;
  height: 24px;
  width: 24px;
  will-change: transform;
}

.accordion .card-header.collapsed:after {
  transform: rotate(0deg);
}

/** end components */

/** header */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid rgba(194, 207, 224, 0.5);
  padding: 0 !important;
  height: var(--header-height);
}

.navbar .brand {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

@media (min-width: 576px) {
  .navbar .brand {
    width: var(--sidebar-width);
  }
}

.navbar .organization {
  display: none;
}

@media (min-width: 576px) {
  .navbar .organization {
    padding-left: 2rem;
    display: inline;
  }
}

.navbar span {
  color: #334D6E;
  display: inline-block;
  font-weight: 500;
}

.navbar .languages-switch {
  padding: 1rem;
  border-left: 1px solid rgba(194, 207, 224, 0.5);
  border-right: 1px solid rgba(194, 207, 224, 0.5);
}

.navbar .show-menu {
  border-left: 1px solid rgba(194, 207, 224, 0.5);
  padding: 1rem !important;
}

@media (min-width: 576px) {
  .navbar .show-menu {
    display: none !important;
  }
}

.navbar .languages-switch a {
  color: #90A0B7;
  font-weight: 500;
}

.navbar .languages-switch a + a {
  margin-left: 1rem;
}

.navbar .languages-switch a.active {
  color: var(--main);
}

.navbar .notifications,
.navbar .login,
.navbar .logout {
  background-position: center;
  background-repeat: no-repeat;
  text-indent: -9999px;
  margin: 1rem;
  height: 1.5rem;
  width: 1.5rem;
}

.navbar .notifications {
  background-image: url('../images/icons/notifications.svg');
}

.navbar .notifications.new {
  background-image: url('../images/icons/notifications-new.svg');
}

.navbar .login {
  background-image: url('../images/icons/login.svg');
}

.navbar .logout {
  background-image: url('../images/icons/logout.svg');
}
/** end header */

/** sidebar */
.side-menu {
  background: #414550;
  box-shadow: 6px 0 18px rgba(0, 0, 0, 0.06);
  position: fixed;
  top: 0;
  left: calc(-1 * var(--sidebar-width));
  height: calc(1000vh - 60px);
  width: var(--sidebar-width);
  z-index: 1031;
  transition: all .3s;
}

.side-menu.show {
  left: 0;
}

@media (min-width: 576px) {
  .side-menu {
    left: 0;
  }
}

.side-menu header {
  background-color: #CABE2E;
  border-bottom: 1px solid rgba(194, 207, 224, 0.5);
  display: none;
  align-items: center;
  padding: 1rem 1.5rem;
  height: var(--header-height);
}

@media (min-width: 576px) {
  .side-menu header {
    display: flex;
  }
}

.side-menu header span,
.side-menu header a {
  color: #FFFFFF;
  display: inline-block;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.5;
}

.side-menu .user-info {
  display: flex;
  align-items: center;
  padding: 1.5rem;
}

.side-menu .user-info .info-container {
  display: flex;
  flex-direction: column;
}

.side-menu .user-info .info-container .username {
  color: #FFFFFF;
  font-weight: 500;
}

.side-menu .user-info .info-container .post {
  color: #FFFFFF;
}

.side-menu .menu {
  height: calc(100vh - 96px - 60px - 42px);
}

.side-menu .menu-list {
  margin-bottom: 1rem;
}

.side-menu .menu-item {
  color: #FFFFFF;
  display: flex;
  align-items: center;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.5rem;
}

.side-menu .menu-item .icon {
  color: #90A0B7;
  font-size: 1.25rem;
  margin-right: 1rem;
}

.side-menu .menu-list hr {
  background: rgba(194, 207, 224, 0.1);
}

.side-menu .menu-item[href*="mailto"] {
  background-color: #414550;
  border-top: 1px solid rgba(194, 207, 224, 0.1);
  color: #90A0B7;
}

.side-menu .menu-item:hover,
.side-menu .menu-item.current,
.side-menu .menu-item:hover .icon,
.side-menu .menu-item.current .icon {
  color: var(--main);
}

.side-menu .poll-question {
  padding: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.side-menu .poll-question h6 {
  color: #FFFFFF;
}
/** end sidebar */

/** footer */
.footer {
  display: none;
}
/** end footer */

/** main */
.controller {
  padding-top: 60px !important;
}

.content {
  padding: 1rem;
}

@media (min-width: 576px) {
  .content {
    padding: 1rem 2rem 1rem calc(var(--sidebar-width) + 2rem);
  }
}

.page-head .btn {
  width: 100%;
}

.page-head .btn + .btn {
  margin-top: 0.5rem;
}

@media (min-width: 576px) {
  .page-head .btn {
    width: auto;
  }

  .page-head .btn + .btn {
    margin-top: 0;
  }
}
/** main */

/** messages */
.chat-header {
  background-color: #fff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
}

.chat-header .back {
  color: #707683;
  position: relative;
  padding-left: 2rem;
}

.chat-header .back:before {
  content: '';
  background: url('../images/icons/chevron-left.svg') no-repeat center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 18px;
  width: 12px;
}

.chat-body {
  background-color: #E4E8F0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.chat-body .chat-container {
  display: flex;
  flex-direction: column;
}

.chat-footer {
  background-color: #fff !important;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.16);
  border-radius: 0.25rem !important;
}

.message-item {
  align-self: flex-start;
  margin-bottom: 1.5rem;
  position: relative;
}

.message-item:after {
  content: '';
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 20px solid #FFFFFF;
  position: absolute;
  right: auto;
  left: -6px;
  transform: rotate(30deg);
  bottom: -13px;
}

.message-item.from-me {
  align-self: flex-end;
}

.message-item.from-me:after {
  border-top-color: #00AEEF;
  right: -6px;
  left: auto;
  transform: rotate(-30deg);
}

.message-item .username {
  color: #90A0B7;
  font-size: 14px;
}

.message-item .message-content {
  background-color: #FFFFFF;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 1rem 1rem 0.5rem;
}

.message-item.from-me .message-content {
  background-color: #00AEEF;
  color: #FFFFFF;
}

.message-item.from-me .message-content footer {
  align-self: flex-end;
}

/** end messages */

/** events */
.calendar-new .card-header .dropdown + .dropdown,
.calendar-filter .card-header .dropdown + .dropdown {
  border-left: 1px solid #C2CFE0;
  margin-left: 1rem;
  padding-left: 1rem;
}

.calendar-input {
  cursor: pointer;
}

.calendar-input .input-group-text {
  background-color: #F7F7F7;
  border-color: rgba(194, 207, 224, 0.5);
  padding: .375rem;
}

.calendar-input .form-control {
  background-color: transparent;
  height: calc(1.5em + .75rem + 6px);
}

.calendar-input .form-control:focus {
  box-shadow: none;
}

.calendar-input.focused .input-group-text,
.calendar-input.focused .form-control {
  border-color: var(--main) !important;
}

.card-tabs > .card-header {
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: auto;
}

.card-tabs .card-header .nav-link {
  padding: 1rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.card-tabs .card-header .nav-link.nav-active {
  border-bottom-color: var(--primary);
  color: var(--primary);
}

.card-tabs > .card-body {
  background: #F7F7F7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

.card-tabs > .card-body .card {
  box-shadow: none;
}

.calendar-icon {
  background-image: url('../images/icons/calendar-colored.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  width: 20px;
  height: 22px;
}

.events-card > .card-body .card-footer {
  background-color: #FFFFFF;
}

.course-icon {
  background-image: url('../images/icons/course-icon.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  width: 20px;
  height: 22px;
}

#sticky-wrapper{
  position: sticky;
  z-index: 3;
}


@media (max-width: 568px) {
  #sticky-wrapper .items{
    display: flex;
    overflow: auto;
  }
}

.task-border{
  margin-left: 115px;
}

/** end events */

/** cabinet */
.cabinet .uploader {
  position: relative;
  margin: auto;
  width: 75%;
}

.cabinet .uploader img {
  width: 100%;
}

.cabinet .uploader .upload-button {
  background: #00AEEF;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 5%;
  right: 5%;
  height: 32px;
  width: 32px;
}

.cabinet #accordion .chart-table th {
  font-weight: normal;
  border-bottom: none;
  border-top: none;
}

.cabinet #accordion .chart-table td {
  border-color: #E7E9EA;
  white-space: nowrap;
}

.cabinet .status {
  border-radius: 50%;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.cabinet .materials .materials-item .icon {
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
}

.cabinet .materials .materials-item .progress {
  height: 0.5rem;
}

.cabinet .materials .materials-item .progress .progress-bar {
  border-radius: 10px;
}

.cabinet .materials .materials-item .progress-label {
  color: #707683;
  font-size: 14px;
}

.cabinet .materials .materials-item strong {
  color: #707683;
  font-size: 18px;
}

.cabinet .materials .materials-item.videos .icon {
  background-color: #FFEADA;
}

.cabinet .materials .materials-item.videos .progress .progress-bar {
  background-color: #F79042;
}

.cabinet .materials .materials-item.links .icon {
  background-color: #E4F0FF;
}

.cabinet .materials .materials-item.links .progress .progress-bar {
  background-color: #70A6E8;
}

.cabinet .materials .materials-item.docs .icon {
  background-color: #DDF9E4;
}

.cabinet .materials .materials-item.docs .progress .progress-bar {
  background-color: #2BC255;
}

.cabinet .card h6 {
  color: #192A3E;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.cabinet .card .table th {
  background-color: rgba(16, 156, 241, 0.1);
  border-bottom: 0;
  border-top: 0;
  font-weight: normal;
}

.cabinet .card .table td {
  padding: 0.5rem;
}

.course-accordion .progress {
  display: flex;
  align-items: center;
  height: 4px;
  overflow: visible;
}

.course-accordion .progress .progress-bar {
  border-radius: 10px;
  height: 6px;
}

.course-accordion .progress.lessons .progress-bar {
  background-color: #CABE2E;
}

.course-accordion .progress.tasks .progress-bar {
  background-color: #29CB97;
}

.course-accordion .progress.tests .progress-bar {
  background-color: #4072EE;
}

.course-accordion .course-meta {
  margin-bottom: 12px;
}

.course-accordion .course-meta .views,
.course-accordion .course-meta .date {
  color: #A0A4A8;
  font-size: 12px;
}

.course-accordion .course-meta .views {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.course-accordion .course-meta .views:after {
  content: '';
  background-image: url('../images/icons/eye.svg');
  margin-left: 2px;
  height: 16px;
  width: 16px;
}

canvas#tasks {
  max-height: 250px;
}

canvas#graphic,
canvas#tests {
  max-height: 200px;
}

.certificate {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.certificate:after {
  content: '';
  background: url('../images/icons/certificate.svg') no-repeat center;
  margin-left: 8px;
  height: 16px;
  width: 24px;
}

.certificate-item {
  color: inherit;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  flex-direction: row;
  padding: .75rem;
}

.certificate-item:before {
  content: '';
  background: url('../images/icons/certificate.svg') no-repeat center;
  margin-right: 16px;
  height: 20px;
  width: 28px;
}

.certificate-item:after {
  content: '';
  background: url('../images/icons/download-2.svg') no-repeat center;
  margin-left: auto;
  height: 24px;
  width: 24px;
}
/** end cabinet */