/*added by shah fayez ali*/
.foy-cat-img {
  width: 36px;
  height: 36px;
}
#buddypress .widget ul li a.foy-cat-title {
  color: #000000 !important;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  overflow: hidden;
}
li.foy-current-cat {
  background: #7b5294;
  border-radius: 5px;
}
#buddypress .widget ul li.foy-current-cat a.foy-cat-title {
  color: #ffffff !important;
}
.foy-cat-widget-main .widget ul li {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px 16px;
  margin: 10px 0px;
}
.foy-cat-widget-main .widget ul li:first-child {
  margin-top: 0px;
}
#buddypress #pag-bottom.pagination {
  padding-bottom: 0;
  margin-bottom: 30px;
}

@media only screen and (max-width: 1200px) {
  .foy-cat-widget-main .widget ul li {
    padding: 10px 10px;
  }
  #buddypress .widget ul li a.foy-cat-title {
    font-size: 14px;
  }
  .foy-cat-img {
    width: 30px;
    height: 30px;
  }
  .foy-cat-widget-main .wp-block-image {
    text-align: center;
  }
}
@media only screen and (max-width: 767px) {
  .foy-cat-widget-main .textwidget {
    text-align: center;
  }
}
section#health-course {
  background: #fdf9ff;
}
#buddypress .dir-list {
  background: none !important;
}
#buddypress .item-list-tabs#subnav {
  background: none !important;
}
#buddypress .dir-list {
  padding: 0px !important;
}
#buddypress .widget {
  margin-top: 0px;
  padding: 0px 10px;
}
#buddypress .widget:not(:first-child) {
  margin-top: 30px;
}
#buddypress .item-list-tabs .dir-search input[type="text"] {
  border: 1px solid rgba(91, 54, 113, 0.2);
  border-radius: 5px;
  height: 45px;
  background: transparent;
}
#buddypress .item-list-tabs .dir-search label:after {
  top: 16px;
}
#course-order-select select#course-order-by {
  height: 42px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px !important;
}
#buddypress div.pagination .pag-count {
  margin-left: 0px;
}
.pagination-links a:last-child {
  margin-right: 0px;
}
#buddypress #pag-top.pagination {
  margin: 20px 0px;
}
.directory #buddypress .item-list.grid {
  margin: 0px;
  padding: 0px;
}
/*#health-course-list-view #course-list li.course_single_item{*/
/*    margin-bottom: 10px;*/
/*}*/
.new-all-course-price-btns .price-div del {
  font-size: 14px;
  font-weight: 500;
  line-height: 25px;
}
del span.woocommerce-Price-amount.amount,
del span.woocommerce-Price-currencySymbol,
.new-all-course-price-btns .price-div del {
  color: #000 !important;
}
.new-all-course-price-btns .price-div span,
.price-div span.amount {
  color: #7b5294;
}
.page-numbers.current,
.pagination .page-numbers.current,
.pagination span.current,
#buddypress div.item-list-tabs#subnav ul li.switch_view a.active,
.widget .course_cat_nav ul li.current-cat > a,
.widget .course_cat_nav ul li a span,
.pagination .page-numbers.current,
.pagination span.current {
  background-color: #7b5294 !important;
  border-color: #7b5294 !important;
}
.price-div span.amount {
  font-size: 28px;
  font-style: normal;
  font-weight: 800;
}
.foy-content-head h4 {
  color: #2b354e;
  font-family: Poppins, serif;
  font-size: 34px;
  font-style: normal;
  font-weight: 400;
}
.foy-content-head p {
  color: #64748b;
  font-family: Poppins, serif;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}
.coure-dynamic-rating-and-students {
  margin: 10px 0px 10px 0px;
}
section.container.foy-content-head {
  padding: 50px 20px;
}
.coure-dynamic-rating-and-students li.students {
  text-align: end !important;
}
.item-list.grid .coure-dynamic-rating-and-students ul li {
  margin-right: 0px !important;
}
/*to change order in grid*/
.item-list.grid .new-all-course-single-des {
  display: flex;
  flex-direction: column;
}
.item-list.grid .coure-dynamic-rating-and-students {
  order: 2 !important;
}
#buddypress ul.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.directory
  #buddypress
  #health-course-list-view
  .item-list.grid
  li.course_single_item {
  /*width: 31.6%;*/
  width: calc(33.333% - (16px));
}
/*.course-dynamic-des {*/
/*    order: 1; !* This moves it above course-dynamic-rating-and-students *!*/
/*}*/
@media only screen and (max-width: 991px) {
  section.container.foy-content-head {
    padding: 20px 20px;
  }
  .foy-content-head h4 {
    font-size: 23px;
  }
  .foy-content-head p {
    font-size: 14px;
    line-height: 26px;
  }
}
@media only screen and (max-width: 500px) {
  section.container.foy-content-head {
    padding: 20px 20px 0px;
  }
  .foy-content-head h4 {
    font-size: 19px;
  }
  .foy-content-head p {
    font-size: 13px;
    line-height: 25px;
  }
}
/*added by shah fayez ali*/
@media only screen and (min-width: 768px) and (max-width: 1023px) {
  /*.course-dynamic-title h2 {*/
  /*    line-height: 28px;*/
  /*    font-size: 18px;*/
  /*}*/

  .course-dynamic-des p {
    font-size: 12px;
    line-height: 20px;
    font-weight: 400;
    color: #50617b;
    padding-right: 10px;
  }

  .new-all-course-single-des {
    margin-right: 30px;
  }

  /*.new-all-course-price-btns .price-div del {*/
  /*    font-size: 18px;*/
  /*    line-height: 18px;*/
  /*}*/
  .new-all-course-price-btns .price-div span {
    line-height: 28px;
    font-size: 23px;
  }

  /*.new-all-course-price-btns .price-div del {*/
  /*    font-size: 16px;*/
  /*    line-height: 16px;*/
  /*}*/

  .new-all-courses-single-block {
    grid-template-columns: 0.5fr 2fr 1fr;
  }

  /*.new-all-courses-single-block .the-actual-img img {*/
  /*    max-width: 200px;*/
  /*    height: 150px;*/
  /*}*/

  .course-dynamic-tags ul li {
    font-size: 12px !important;
  }
}
@media only screen and (max-width: 600px) {
  .directory
    #buddypress
    #health-course-list-view
    #course-list.item-list
    li.course_single_item {
    width: 100% !important;
  }
}
@media only screen and (min-width: 320px) and (max-width: 1200px) {
  .new-all-courses-single-block .the-actual-img img {
    border-radius: 5px;
  }
  .new-all-courses-single-block {
    border: none !important;
  }
  .directory
    #buddypress
    #health-course-list-view
    .item-list
    li.course_single_item {
    width: calc(50% - 12px) !important;
  }
  /*body.directory.course ul#course-list {*/
  /*    display: flex;*/
  /*    gap: 10px;*/
  /*    flex-wrap: wrap;*/
  /*}*/

  .course-dynamic-des p {
    padding-right: 0px !important;
  }
  .new-all-course-single-des {
    display: flex;
    flex-direction: column;
  }
  .coure-dynamic-rating-and-students {
    order: 2 !important;
  }
  .add_to_cart_button.ajax_add_to_cart.add-to-cart-btn {
    display: none;
  }
  .new-all-course-price-btns .btn-div a {
    /*min-width: 120px;*/
    width: 100%;
    background: #7b5294;
    color: #fff;
  }
  .course-dynamic-des p {
    text-align: left !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .coure-dynamic-rating-and-students ul li.students {
    margin-right: 0px !important;
  }
  /*.course-dynamic-title h2 {*/
  /*    line-height: 25px;*/
  /*    font-size: 14px;*/
  /*}*/
  .course-dynamic-tags ul li {
    font-size: 10px !important;
    line-height: 17px;
    padding: 5px;
    margin-right: 0px;
  }

  .new-all-courses-single-block {
    display: flex !important;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
    position: relative;
    padding: 0px !important;
  }
  .the-actual-img {
    margin-left: 0;
  }

  .new-all-course-single-des {
    margin: 0 !important;
    border-bottom: 1px solid #efefef;
    border-right: 0;
    width: 100%;
    padding: 0px 15px;
  }

  .course-dynamic-tags ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  /*.course-dynamic-title h2 {*/
  /*    margin-left: 15px;*/
  /*}*/

  .coure-dynamic-rating-and-students ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    justify-content: space-between;
  }

  .course-dynamic-des p {
    padding-right: 0;
    text-align: center;
  }

  .price-div {
    display: flex;
    align-items: baseline;
    margin-top: 10px;
    flex-direction: row;
    padding: 0px !important;
    margin: 0 auto;
    padding: 10px 10px 0px !important;
  }

  .new-all-course-price-btns {
    flex-direction: column;
    /* align-items: center; */
    width: 100%;
    flex-direction: row;
    padding: 0px 15px 10px;
  }

  .new-all-courses-single-block .the-actual-img img {
    max-width: 100% !important;
    height: 100%;
  }
  .btn-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%;
    margin: 0;
  }

  .new-all-course-price-btns .price-div del {
    /*margin-left: 10px;*/
    /*margin-right: 10px;*/
    color: #bfc3ca;
  }

  /*.course-dynamic-des {*/
  /*    display: none;*/
  /*}*/

  li.if-featured-or-highlited {
    position: absolute;
    top: 20px;
    padding: 5px 10px !important;
  }
  li.if-featured-or-highlited {
    position: absolute !important;
    top: 20px;
    padding: 5px 10px !important;
  }

  li.only-for-specific-offers {
    margin-left: auto !important;
    margin-right: 0px !important;
    margin-top: -25px !important;
  }

  /*.coure-dynamic-rating-and-students ul li {*/
  /*    margin: 0 10px;*/
  /*}*/

  /*.new-all-course-price-btns .btn-div a {*/
  /*    margin: 10px;*/
  /*}*/

  .course-dynamic-title h2 {
    line-height: 26px !important;
    font-size: 18px !important;
    display: block;
    display: -webkit-box;
    width: 100%;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 55px;
    /*margin-bottom: 25px !important;*/
  }

  .new-all-course-price-btns .price-div a {
    width: 200px;
    margin: 0 !important;
    font-size: 25px;
    line-height: 21px;
    padding-left: 15px;
  }

  .price-div a {
    width: 175px;
    margin: 0 !important;
    font-size: 35px;
    line-height: 21px;
  }

  .coure-dynamic-rating-and-students {
    padding: 0px;
    margin-top: 20px;
  }

  .course-dynamic-tags ul li {
    margin-right: 0 !important;
  }

  /* .new-all-course-price-btns .btn-div a {
        margin-left: auto !important;
    } */

  .new-all-course-price-btns .btn-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    width: 100%;
    margin: 0 auto !important;
  }
  /*.new-all-course-price-btns .price-div strong span {*/
  /*    padding: 0 3px !important;*/
  /*}*/

  /*.new-all-course-price-btns .btn-div a {*/
  /*    min-width: 145px;*/
  /*}*/
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  /*.item-list.grid .new-all-course-price-btns .btn-div a {*/
  /*    font-size: 11px;*/
  /*    min-width: 92px !important;*/
  /*    letter-spacing: 0px;*/
  /*}*/
}
.containers-manual {
  max-width: 1027px;
  margin: 0 auto;
}
.new-all-courses-single-block {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(91, 54, 113, 0.2);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 3fr 0.6fr;
  padding: 20px;
}
.item-list.grid .new-all-courses-single-block {
  border: none;
}
.new-all-courses-single-block .the-actual-img img {
  /* transform: scale(0.6, 0.9); */
  border-radius: 8px;
  max-width: 238px;
  height: 200px;
  object-fit: cover;
}
.coure-dynamic-rating-and-students ul li {
  display: inline-block !important;
  margin-right: 20px !important;
  color: #50617b;
  line-height: 21px;
  font-size: 14px !important;
  font-weight: 400;
  padding: 0 !important;
}
.item-list.grid .coure-dynamic-rating-and-students ul li {
  margin-right: 0px !important;
}
.new-all-course-price-btns {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* align-items: baseline; */
  align-content: center;
}
.price-div {
  display: flex;
  flex-direction: column;
  /*width: 88%;*/
  text-align: right;
  padding: 0px 10px;
}
.btn-div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  margin: 0 10px;
}
.course-dynamic-title h2 {
  font-family: Poppins, serif;
  font-weight: 600;
  line-height: 37px;
  font-size: 24px;
  padding: 0;
  margin: 0;
}
.course-dynamic-tags ul li {
  font-size: 14px !important;
  line-height: 21px;
  font-weight: 500;
  padding: 6px !important;
  color: #313b3d;
  display: inline-block !important;
  margin-right: 15px !important;
}
li.if-featured-or-highlited {
  background: #f3f4f6;
}
li.only-for-specific-offers {
  background: #222222;
  color: #fff !important;
  /* border: 2px dotted #c6b5c9 !important; */
  font-weight: 600 !important;
}
.course-dynamic-des p {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #50617b;
}
.new-all-course-price-btns .price-div span {
  line-height: 35px;
  font-weight: 700;
  font-size: 34px;
}
.new-all-course-price-btns .btn-div a {
  padding: 12px 0px;
  border: 1px solid #7b5294;
  border-radius: 50px;
  margin: 10px 0;
  font-weight: 600;
  font-size: 14px;
  min-width: 164px;
  text-align: center;
  height: 45px;
  line-height: 20px;
  letter-spacing: 0;
}
a.view-btn {
  color: #64748b;
}
a.add-to-cart-btn {
  color: #fff;
  background: #f84874;
}
.new-all-course-single-des {
  margin: 0 10px;
}
.course-dynamic-des p {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  color: #50617b;
  padding-right: 30px;
}
.course-dynamic-tags {
  margin-top: 10px;
}
body.directory.course .pagetitle {
  padding: 0 !important;
}
body.directory.course div#subnav {
  padding: 0 !important;
  border: none !important;
}

body.directory.course ul#course-list {
  border: none !important;
}

body.directory.course div#pag-top {
  padding: 0 !important;
}
/* Sakib */
body.directory.course #buddypress ul.item-list li {
  border: navajowhite;
  margin: 0;
  padding: 0px;
  /*margin-bottom: 12px;*/
}
.ks-star-rating {
  width: 70px;
}
.ks-star-rating .rating__background {
  fill: #bfc3ca;
  stroke: red;
  stroke-width: 1;
  height: 100%;
  width: 100%;
}
.ks-star-rating .rating__value {
  fill: #7b5294;
  height: 100%;
}
.price-div a strong {
  font-size: 12px;
  line-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.price-div a strong span {
  font-size: 16px !important;
  line-height: 16px;
  margin-left: 5px !important;
  /*margin-bottom: 5px;*/
}
/* for grid view */
.item-list.grid .course-dynamic-title h2 {
  line-height: 25px;
  font-size: 14px;
}
.item-list.grid .course-dynamic-tags ul li {
  font-size: 10px !important;
  line-height: 17px;
  padding: 5px;
  margin-right: 0px;
}
.item-list.grid .new-all-courses-single-block {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-content: center;
  align-items: center;
  padding: 0px;
}
.item-list.grid .the-actual-img {
  margin-left: 0;
}
.item-list.grid .new-all-course-single-des {
  margin: 0 !important;
  border-bottom: 1px solid #efefef;
  border-right: 0;
  padding: 0px 15px;
}
/*.item-list.grid .new-all-course-single-des {*/
/*    width: 100%;*/
/*}*/
.item-list.grid .course-dynamic-tags ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.item-list.grid .course-dynamic-title h2 {
  margin-left: 15px;
}
.item-list.grid .coure-dynamic-rating-and-students ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-content: center;
  justify-content: space-between;
}
.item-list.grid .course-dynamic-des p {
  padding-right: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-list.grid .price-div {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr;
  align-items: baseline;
  margin-top: 10px;
}
.item-list.grid .new-all-course-price-btns {
  flex-direction: row;
}
.item-list.grid .new-all-course-price-btns {
  flex-direction: column;
  /* align-items: center; */
}
.item-list.grid .new-all-courses-single-block .the-actual-img img {
  max-width: 100%;
  height: 100%;
  border-radius: 5px;
}
.item-list.grid .btn-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  width: 100%;
  margin: 0 auto !important;
}
.item-list.grid .new-all-course-price-btns {
  width: 100%;
  padding: 0px 15px;
}

.item-list.grid .new-all-course-price-btns .price-div del {
  /*margin-left: 10px;*/
  /*margin-right: 10px;*/
  color: #bfc3ca;
}
/*.item-list.grid .course-dynamic-des {*/
/*    display: none;*/
/*}*/
.item-list.grid .new-all-courses-single-block {
  position: relative;
}
.item-list.grid li.if-featured-or-highlited {
  position: absolute;
  top: 20px;
  padding: 5px 10px !important;
}
.item-list.grid li.if-featured-or-highlited {
  position: absolute;
  top: 20px;
  padding: 5px 10px !important;
}
.item-list.grid li.only-for-specific-offers {
  margin-left: auto;
  margin-right: 0px !important;
  margin-top: -25px;
}
.item-list.grid .coure-dynamic-rating-and-students ul li {
  margin: 0 10px;
}
.item-list.grid .new-all-course-price-btns .btn-div a {
  margin: 10px 0px;
}
.item-list.grid .course-dynamic-title h2 {
  line-height: 26px;
  font-size: 18px;
  display: block;
  display: -webkit-box;
  width: 100%;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Pagination  */
div#course-dir-pag-bottom a,
div#course-dir-pag-bottom span {
  height: 25px !important;
  display: inline-block;
  width: 40px;
  text-align: center;
}
div#course-dir-count-bottom {
  display: none;
}
div#course-dir-pag-bottom {
  clear: both;
  margin: 0 auto;
  text-align: center;
}
/* Shoive bhai */
.item-list.grid .course-dynamic-title h2 {
  margin-left: 0;
}
.item-list.grid .new-all-course-price-btns .btn-div a {
  min-width: 120px;
  width: 100%;
  background: #7b5294;
  color: #fff;
}
.item-list.grid .add_to_cart_button.ajax_add_to_cart.add-to-cart-btn {
  display: none;
}
.item-list.grid .course-dynamic-tags ul li {
  text-align: left !important;
  margin-bottom: 0 !important;
}
.item-list.grid .course-dynamic-tags ul li {
  padding: 5px !important;
  margin-right: 0px !important;
}
.item-list.grid li.only-for-specific-offers {
  margin-left: auto !important;
  margin-right: 0px !important;
  margin-top: -25px !important;
}
.item-list.grid li.if-featured-or-highlited {
  position: absolute !important;
  top: 20px;
  /* padding: 5px 10px !important; */
}
.item-list.grid li.only-for-specific-offers {
  width: 130px !important;
}
/*.item-list.grid .new-all-courses-single-section {*/
/*    margin: 0 5px;*/
/*}*/

.item-list.grid .course-dynamic-title h2 {
  text-align: left;
  margin: 0 !important;
  /*padding: 0 10px;*/
}
/*.item-list.grid .coure-dynamic-rating-and-students {*/
/*    padding: 0 10px;*/
/*    margin-top: 20px;*/
/*}*/
.item-list.grid .price-div a {
  width: 180px;
  margin: 0 !important;
  font-size: 35px;
  line-height: 15px;
}
.new-all-course-price-btns .price-div strong del span {
  font-size: 14px !important;
}
.item-list.grid .price-div {
  display: flex !important;
  align-items: center !important;
  margin-top: 10px;
  align-content: center;
  padding: 0px !important;
}
.item-list.grid .course-dynamic-title {
  min-height: 55px;
}
.new-all-course-price-btns .btn-div .add-to-cart-btn {
  background: #7b5294 !important;
  color: #fff !important;
  border-color: transparent !important;
}
.item-list.grid .price-div {
  display: flex !important;
  flex-direction: row;
  width: 100%;
  text-align: justify;
  justify-content: center;
}
.item-list.grid .price-div a strong {
  font-size: 18px;
  /*line-height: 42px;*/
  /* margin-top: 2px !important; */
}
/* Profile Page */
body.bp-user.my-account.course.buddypress .price-div .button,
body.bp-user.my-account.course.buddypress .price-div span {
  font-size: 14px !important;
}
body.bp-user.my-account.course.buddypress .price-div .button {
  padding: 5px;
  margin: 0;
}
body.bp-user.my-account.course.buddypress .new-all-course-price-btns {
  width: 200px;
}
