
/*-----------------------
  course list start
-------------------------*/
.course__list-section{
  padding: 30px 0 80px;
}


.list__sidebar-select {
    position: relative;
    margin-bottom: 20px;
  }
  .list__sidebar-select select {
    display: none; 
  }
  .select-selected {
    height: 54px;
    width: 100%;
    border: 1px solid #E4E5E7;
    padding: 0 20px;
    display: flex;
    align-items: center;
  }
  
  .select-selected:after {
    position: absolute;
    content: "";
    top: 20px;
    right: 24px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid #171100;
    border-left: 2px solid #171100;
    transform: rotate(-45deg);
  }
  
  .select-selected.select-arrow-active:after {
    top: 24px;
    transform: rotate(135deg);
  }
  
  .select-selected {
    color: #262626;
    padding: 0 24px;
    cursor: pointer;
    color: #000;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
  }
  .select-items div{
    color: #262626;
    padding: 4px 24px;
    cursor: pointer;
    color: #000;
    font-size: 16px;
    font-weight: 500;
    border-radius: 4px;
  }
  
  .select-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: #fff;
    width: 100%;
    border: 1px solid #E4E5E7;
    border-radius: 4px;
    padding: 12px 0;
  }
  
  .select-hide {
    display: none;
  }
  
  .select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
  }
  /* ------------------------ */
  
  
  .filter__rating-item{
    display: flex;
    align-items: start;
    gap: 10px;
    margin-bottom: 10px;
  }
  .filter__rating-item:last-child{
    margin-bottom: 0;
  }
  .filter__rating {
    display: flex;
    align-items: center;
    grid-column-gap: 10px;
    margin-top: -1.5px;
  }
  
  .filter__rating-star {
    display: flex;
    align-items: center;
    grid-column-gap: 2px;
  }
  
  .filter__rating-star-icon {
    margin-top: -4px;
  }
  
  .filter__rating-rat {
    color: #262626;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
  }
  
  .filter__rating-user {
    color: #959CA3;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2
  }
  .filter__checkbox-item{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
  }
  .filter__checkbox-item:last-child{
    margin-bottom: 0;
  }
  .filter__checkbox-item input{
    margin-top: -5px;
  }
  
  .list__sidebar .accordion-button:focus{
    border: 0.5px solid #E4E5E7;
    box-shadow: none;
  }
  .list__sidebar .accordion-button:not(.collapsed) {
    color: #000000;
    border: 0.5px solid #E4E5E7;
    background:  #fff;
  }
  .list__sidebar .accordion-button{
    outline: none;
    border-radius: 4px;
    border: 0.5px solid #E4E5E7;
    background:  #fff;
    color:  #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .list__sidebar .accordion-item{
    margin-bottom: 8px;
  }
  .list__sidebar .accordion-item:last-child{
    margin-bottom: 0;
  }
  .list__sidebar .accordion-body{
    border-bottom: 0.5px solid #E4E5E7;
  }
  .list__sidebar .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
  }
  .list__sidebar{
    margin-bottom: 30px;
  }

.courses__list-main.row > * {
  padding-right: 8px;
  padding-left: 8px;
}
  /* course card */

  .trend__card {
    border-radius: 8px;
    overflow: hidden;
    display: block;
    border: 1px solid #ddd;
    margin-bottom: 16px;
  }
  
  .trend__card-thumb {
    position: relative;
  }
  
  .trend__card-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    transition: all .2s ease-in-out;
  }
  
  .trend__card-thumb:hover::before {
    background-color: rgba(0, 13, 26, 0.281);
  }
  
  .trend__card .card__thumb-img {
    width: 100%;
    object-fit: cover;
    background-color: #00A34A;
    object-position: center;
    aspect-ratio: 4/3.2;
  }
  
  .trend__card .card__thumb-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    outline: none;
    border: none;
    background-color: #00A34A;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all .2s ease-in-out;
    opacity: 0;
    visibility: hidden;
  }
  
  .trend__card .card__thumb-btn:hover {
    background-color: #19b65f;
  }
  
  .trend__card-thumb:hover .card__thumb-btn {
    opacity: 1;
    visibility: visible;
  }
  
  .trend__card-body {
    padding: 16px 14px;
  }
  
  .trend__card-title {
    color: #171100;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }
  
  .trend__card-rat-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    grid-gap: 5px;
    margin-bottom: 12px;
  }
  
  .trend__card-rating {
    display: flex;
    align-items: center;
    grid-column-gap: 10px;
  }
  
  .trend__card .card__rating-star {
    display: flex;
    align-items: center;
    grid-column-gap: 2px;
  }

  .trend__card .card__rating-star i{
    color: #F99D18;
  }
  
  .trend__card .card__rating-star-icon {
    margin-top: -4px;
  }
  
  .trend__card .card__rating-rat {
    color: #262626;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
  }
  
  .trend__card .card__rating-user {
    color: #959CA3;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2
  }
  
  .trend__card-price {
    color: #00A34A;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }
  
  .trend__card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    grid-gap: 5px;
  }
  
  .trend__card-lesson {
    display: flex;
    align-items: center;
    color: #262626;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    grid-gap: 10px;
  }
  
  .trend__card-lesson-icon {
    width: 22px;
    height: 22px;
    background-color: #c3d5e2;
    border-radius: 50%;
    margin-top: -4px;
    justify-content: center;
    display: flex;
    align-items: center;
  }
  /*-----------------------
    course list end
  -------------------------*/
  .list__sidebar-filter-btn{
    display: none;
    align-items: center;
    gap: 8px;
    height: 54px;
    border: 1px solid #E4E5E7;
    padding: 0 14px;
    margin-bottom: 20px;
    margin-right: 12px;
    border-radius: 4px;
  }
  .list__sidebar-filter-btn .icon svg{
    width: 20px;
    height: 20px;
  }
  .list__sidebar-filter-btn .text{
    color: #000;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
  }
  @media only screen and (max-width: 991px) {  
    .list__sidebar-filter-btn{
      display: flex;
    }
    .list__sidebar-top{
      display: flex;
      align-items: start;
    }
    .list__sidebar{
      position: relative;
      width: calc(100% + 10px);
      margin-left: -5px;
    }
    .list__sidebar-top{
      position: relative;
      z-index: 10;
    }
    .course__list-wrap{
      position: absolute;
      top: 64px;
      left: 0;
      right: 0;
      width: 100%;
      overflow: hidden;
      height: 100vh;
      overflow-y: scroll;
    }
    .course__list-filters{
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      z-index: 9;
      background: #fff;
      transition: all .3s ease;
    }
    .course__list-wrap.active .course__list-filters{
      left: 0;
      right: 0;
    }
    .list__sidebar-select {
      flex-grow: 1;
    }
    .list__sidebar {
      margin-bottom: 0;
    }

  }