body {
  font-family: "Exo 2", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
  background-color: #fff;
}

body.lock {
  overflow: hidden;
}

a,
button,
div,
label {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: #000;
  text-decoration: none;
  transition: 0.2s;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}

u {
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.site {
  flex-grow: 1;
  padding-bottom: 80px;
  box-sizing: border-box;
}

.button {
  color: #fff;
  background-color: #0071BC;
  height: 40px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  font-weight: 400;
  padding: 0 12px;
  box-sizing: border-box;
  gap: 10px;
}

.button.outline {
  background-color: transparent;
  border: 1px solid #0071BC;
  color: #0071BC;
}

.header {
  border-bottom: 1px solid #F6F6F6;
}

.header-container {
  display: flex;
  max-width: 1640px;
  padding: 0 8px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  position: relative;
}

.header-logo img {
  max-width: 212px;
  display: block;
}

.header-user img {
  width: 32px;
  height: 32px;
  display: block;
}

.header-user-dropdown {
  position: absolute;
  top: 100%;
  right: 8px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 7px 17px 0px rgba(0, 0, 0, 0.12);
  width: 280px;
  z-index: 4;
  transition: 0.2s;
}

.header-user-dropdown:not(.active) {
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  top: calc(100% + 10px);
}

.header-user-dropdown-main {
  display: flex;
  gap: 10px;
  padding: 16px;
}

.header-user-photo img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.header-user-info {
  line-height: 1.5;
}

.header-user-position {
  font-size: 12px;
  color: #858585;
  font-weight: 400;
}

.header-user-name {
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

.header-user-dropdown-bottom {
  border-top: 1px solid #F6F6F6;
  padding: 16px;
}

.header-user-log-out {
  display: inline-block;
  color: #0071BC;
  padding-right: 24px;
  line-height: 1.5;
  font-weight: 600;
  background: url(../images/log-out.svg) right center/16px 16px no-repeat;
}

.page-header {
  display: flex;
  max-width: 1640px;
  padding: 32px 8px 0;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
}

.page-header-left {
  flex-grow: 1;
}

.page-header-right {
  flex-basis: 255px;
}

.page-manager {
  background-color: #F6F6F6;
  border-radius: 8px;
  padding: 16px 20px;
}

.page-manager-label {
  font-size: 14px;
  color: #858585;
  line-height: 1.5;
  margin-bottom: 4px;
}

.page-manager-name {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  font-weight: 600;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 0;
  margin: 0 0 46px;
  list-style: none;
  -moz-column-gap: 26px;
       column-gap: 26px;
  line-height: 1.5;
}

.breadcrumbs-item {
  position: relative;
}

.breadcrumbs-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -17px;
  width: 9px;
  height: 6px;
  background: url(../images/breadcrumbs-arrow.svg) center/contain no-repeat;
}

.breadcrumbs-link {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0071BC;
}

.breadcrumbs-text {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #858585;
}

.section-container {
  max-width: 1640px;
  padding: 0 8px;
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  margin-top: 0;
  font-size: 32px;
  font-weight: 500;
  color: #000;
  display: inline-flex;
  align-items: center;
}

.section-title .back {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: url(../images/back.svg) center/contain no-repeat;
  margin-right: 6px;
  flex-shrink: 0;
}

.section-media {
  max-width: 100%;
}

.section-media-content {
  width: 100%;
  padding-bottom: 51%;
  position: relative;
}

.section-media-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.section-media-content video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-media-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.section-button {
  margin-bottom: 24px;
}

.section-buttons {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.courses-item {
  display: flex;
  -moz-column-gap: 32px;
       column-gap: 32px;
  align-items: center;
  border: 1px solid #CBCBCB;
  border-radius: 10px;
  padding: 18px 24px;
}

.courses-item:not(:last-child) {
  margin-bottom: 10px;
}

.courses-title {
  flex-grow: 1;
}

.courses-title a {
  display: inline-block;
  font-size: 20px;
  font-weight: 600;
  padding-left: 26px;
  background: url(../images/courses-arrow.svg) left center/16px 16px no-repeat;
}

.courses-status {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  border-radius: 4px;
}

.courses-status.grey {
  background-color: #858585;
  color: #fff;
}

.courses-status.green {
  background-color: #6DD077;
  color: #fff;
}

.courses-date {
  flex-shrink: 0;
}

.courses-date-label {
  color: #858585;
  font-size: 12px;
  line-height: 1.2;
}

.courses-date-value {
  font-size: 16px;
  color: #000;
  font-weight: 600;
  line-height: 1.2;
}

.courses-button {
  flex-basis: 180px;
  flex-shrink: 0;
}

.courses-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-basis: 180px;
  flex-shrink: 0;
}

.courses-actions-button {
  width: 24px;
  height: 24px;
  background-position: center;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  border-radius: 4px;
}

.courses-actions-button.remove {
  background-image: url(../images/remove.svg);
  background-color: #ED1C24;
}

.courses-actions-button.edit {
  background-image: url(../images/edit.svg);
  background-color: #0071BC;
}

.tabs {
  max-width: 900px;
}

.tabs-nav {
  display: flex;
  border-bottom: 1px solid #F6F6F6;
  overflow-x: auto;
}

.tabs-nav-item {
  height: 48px;
  color: #858585;
  border: none;
  background-color: transparent;
  padding: 0 8px;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  trasition: 0.2s;
  white-space: nowrap;
}

.tabs-nav-item.active {
  color: #0071BC;
  border-color: #0071BC;
}

.tabs-content-item {
  padding: 32px 0;
}

.tabs-content-item:not(.active) {
  display: none;
}

.form-title {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 24px;
}

.form-input label {
  font-size: 16px;
  font-weight: 600;
  color: #858585;
  margin-bottom: 16px;
  display: inline-block;
}

.form-input input {
  display: block;
  height: 56px;
  border: 1px solid #CBCBCB;
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
  padding: 0 12px;
  box-sizing: border-box;
  outline: none;
}

.form-input:not(:last-child) {
  margin-bottom: 16px;
}

.form-file {
  background-color: #FAFAFA;
  border: 1px dashed rgba(0, 0, 0, 0.16);
  border-radius: 10px;
  height: 170px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.form-file-text {
  margin-top: 8px;
  font-size: 12px;
  color: #858585;
}

.form-file-text a {
  color: #0071BC;
}

.form-file-text label {
  cursor: pointer;
  color: #0071BC;
}

.form-multiselect {
  position: relative;
}

.form-multiselect input {
  cursor: pointer;
}

.form-multiselect .form-multiselect-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  z-index: 6;
  box-shadow: 0px 25px 63px rgba(0, 0, 0, 0.1);
  border: 1px solid #CBCBCB;
}

.form-multiselect .form-multiselect-dropdown li:not(:last-child) {
  border-bottom: 1px solid #CBCBCB;
}

.form-multiselect .form-multiselect-dropdown li button {
  width: 100%;
  padding-left: 44px;
}

.form-multiselect .form-multiselect-dropdown li button::before {
  left: 10px;
}

.form-multiselect .form-multiselect-dropdown:not(.active) {
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  top: calc(100% - 16px);
}

.form-multiselect-dropdown {
  background-color: #fff;
  border-radius: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  transition: 0.2s;
}

.form-multiselect-dropdown li button {
  background-color: transparent;
  border: none;
  height: 40px;
  box-sizing: border-box;
  display: block;
  width: auto;
  text-align: left;
  padding-left: 34px;
  cursor: pointer;
  position: relative;
  background-color: transparent;
}

.form-multiselect-dropdown li button::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
  background: url(../images/minus.svg) center/contain no-repeat;
  box-shadow: none;
}

.form-multiselect-dropdown li button.active {
  background-color: #EBF7FF;
}

.form-multiselect-dropdown li button.active::before {
  box-shadow: 0px 4px 7px 0px rgba(0, 133, 255, 0.25);
  background-image: url(../images/plus.svg);
}

.form-attachments {
  list-style: none;
  padding: 0;
  margin: 0;
}

.form-attachments-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.form-attachments-item:not(:last-child) {
  margin-bottom: 16px;
}

.form-attachments-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0071BC;
  text-decoration: underline;
}

.form-attachments-link img {
  width: 40px;
  height: 40px;
  display: block;
}

.form-attachments-remove {
  width: 24px;
  height: 24px;
  background: transparent url(../images/close.svg) center/contain no-repeat;
  border: none;
  box-sizing: border-box;
  cursor: pointer;
}

.form-add {
  margin-top: 20px;
  background: transparent url(../images/add.svg) left center/16px 16px no-repeat;
  font-size: 16px;
  color: #0071BC;
  padding: 0 0 0 24px;
  cursor: pointer;
  border: none;
}

@media (min-width: 1024px) {
  .desktop-hidden {
    display: none !important;
  }
}

@media (max-width: 1640px) {
  .header-container {
    max-width: 1170px;
    height: 64px;
  }

  .page-header {
    max-width: 1170px;
  }

  .section-container {
    max-width: 1170px;
  }
}

@media (max-width: 1023.98px) {
  .courses-item {
    -moz-column-gap: 10px;
         column-gap: 10px;
  }

  .courses-title a {
    font-size: 16px;
  }
}

@media (max-width: 767.98px) {
  .mobile-hidden {
    display: none !important;
  }

  .header-logo img {
    max-width: 170px;
  }

  .page-header {
    flex-direction: column;
  }

  .page-header-right {
    flex-basis: auto;
    margin-bottom: 24px;
  }

  .page-manager {
    display: inline-block;
  }

  .breadcrumbs {
    margin-bottom: 20px;
  }

  .section-title .back {
    align-self: flex-start;
  }

  .section-title {
    font-size: 24px;
  }

  .courses-item {
    flex-wrap: wrap;
  }

  .courses-title {
    flex-basis: 100%;
    margin-bottom: 20px;
  }

  .courses-date {
    flex-grow: 1;
    text-align: right;
  }

  .courses-button {
    flex-basis: auto;
  }

  .courses-actions {
    flex-basis: auto;
  }

  .tabs-nav {
    padding-bottom: 16px;
    margin-bottom: -16px;
  }

  .form-multiselect-dropdown li button {
    font-size: 14px;
  }
}

@media (max-width: 560px) {
  .courses-item {
    flex-direction: column;
    align-items: flex-start;
    row-gap: 16px;
  }

  .courses-title {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .tablet-hidden {
    display: none !important;
  }
}