.courses-navbar {
  .nav-item {
    margin-right: 2.313rem;
    @media(max-width: 575px) {
      margin-right: 1.2rem;
    }
    .nav-link{
      font-size: .75rem;
      &:hover {
        color: var(--#{$database-prefix}top-header-bg);
      }
      &.active {
        color: var(--#{$database-prefix}main-header-tc);
        border-color: var(--#{$database-prefix}top-header-bg);
      }
    }
  }
}
.course-thumbnail {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  border-radius: 6px;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  a {
    position: absolute;
    top: 50%;
    left: 50%;
    transition: 0.3s all ease;
    transform: translate(-50%, -50%);
    svg {
      width: 65px;
      height: 65px;
    }
    &:hover {
      transform: translate(-50%, -50%) scale(1.1);
    }
  }
  &::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background: #13171f;
    opacity: 0.4;
  }
}

.course-description {
  h1 {
    font-size: 16px;
    font-weight: 700;
    color: var(--#{$variable-prefix}eerie-black);
  }
  p {
    color: var(--#{$variable-prefix}light-text-color);
  }
  .progress-chapter {
    p {
      font-size: 10px;
      font-weight: 600;
      color: var(--#{$variable-prefix}light-text-color);
    }
    .progress {
      display: flex;
      .progress-bar {
        background-color: #72a6fd;
      }
    }
  }
}

.icon-teacher-expiry {
  font-weight: 600;
  svg {
    color: #a4a7ad;
  }
  p {
    color: #a4a7ad;
  }
  a {
    color: var(--#{$variable-prefix}toolbox-blue);
  }
}

.tab-course-contents {
  //background: var(--#{$variable-prefix}light-gray-background);
  border-radius: 6px;
  padding: .6rem 0 0 !important;
  .course-short-info {
    color: var(--#{$variable-prefix}light-text-color);
  }
  .accordion .accordion-button:not(.collapsed) {
    background: var(--#{$variable-prefix}accordion-body-bg);
    border: var(--#{$variable-prefix}accordion-body-bg);
    box-shadow: none;
  }
  @media(max-width: 767px) {
    .accordion-button > span {
      font-weight: 600;
    }
    .course-details {
      a {
        font-weight: 600;
      }
    }
  }

  .accordion-item:first-of-type {
    @media(max-width: 767px) {
      border-radius: 6px;
    }
  }
  .accordion-item:first-of-type .accordion-button {
    @media(max-width: 767px) {
      border-radius: 6px;
    }
  }
  .accordion-item {
    @media(max-width: 767px) {
      border-radius: 6px;
    }
  }
  .accordion-item:not(:first-of-type) {
    @media(max-width: 767px) {
      border-top: 1px solid var(--#{$variable-prefix}accordion-border);
    }
  }
}

.tab-bundle-contents {
  background: var(--#{$variable-prefix}light-gray-background);
  border-radius: 6px;
  @media(max-width: 767px) {
    background-color: transparent;
    padding: 0 !important;
  }
  .course-short-info {
    color: var(--#{$variable-prefix}light-text-color);
  }
  .accordion .accordion-button:not(.collapsed) {
    background: var(--#{$variable-prefix}accordion-body-bg);
    border: var(--#{$variable-prefix}accordion-body-bg);
    box-shadow: none;
  }
}
/* stylelint-disable */
.course-icon-title {
  span {
    display: flex;
    width: 12px;
    height: 12px;
    // svg {
    //   circle {
    //     fill: var(--#{$variable-prefix}--#{$variable-prefix}eerie-black);
    //   }
    //   path {
    //     fill: var(--#{$variable-prefix}primary-btn-text-color);
    //   }
    // }
  }
  p {
    color: var(--#{$variable-prefix}eerie-black);
  }
}

.course-list {
  span {
    color: var(--#{$variable-prefix}eerie-black);
  }
}

.courses-time-dropdown {
  position: absolute;
  top: 0;
  right: 0;
  width: 268px;
  @media (max-width: 769px) {
    width: 100%;
    margin: 50px 0 0;
  }
  .form-floating {
    & > .form-control {
      padding-left: 0.875rem;
      padding-right: 2.4rem;
    }
  }
}

.courses-categories {
  @media (max-width: 769px) {
    .tab-content {
      margin-top: 50px;
    }
  }
}
/* stylelint-enable */

.screen-match-height {
  min-height: calc(100vh - 210px);
}

.auto-scroll {
  .card-body > .row {
    max-height: calc(100vh - 275px);
    overflow: auto;
    &::-webkit-scrollbar {
      display: none;
    }
  }
}

.no-result {
  display: block;
  font-size: 27px;
  color: #a1a1a1;
  font-weight: lighter;
  padding: 30px 0;
  text-align: center;
}

.separator-price-set {
  height: 40px;
  background: #f5f5f6;
  width: 1px;
}

.event-block-wrapper{
  .icon-teacher-expiry{
    svg{
      width: .625rem;
    }
  }
}
