/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

::root {
  --primary-color: #020d80;
  --orange-color: #f86300;
}

.course-card-category,
.vector-event-cat {
  display: flex;
  padding: 4px 12px;
  align-items: flex-start;
  gap: 10px;
  border-radius: 4px;
  background: var(--Orange-Carrot-orange, #f59009);
  color: var(--White, #fff);
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px;
  text-transform: uppercase;
  transition: filter 0.2s ease;
}

.course-card-category:hover,
.vector-event-cat:hover {
  filter: brightness(0.9);
}

.course-card-categories {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-height: 98px;
  overflow: auto;
}

.course-card-content {
  gap: 24px;
  border-radius: 16px;
  border: none;
  background: var(--Gray-Card-Gray, #f8f7ff);
  padding: 24px;
}

.tutor-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blue-text {
  color: #020d80;
}

.tutor-course-card .tutor-course-name a {
  color: var(--Blue-Dark-Blue, #020d80);
  font-family: Lexend;
  font-size: 28px;
  font-style: normal;
  font-weight: 600;
  line-height: 36px;
}

.course-card-content .course-card-info-tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.course-card-info-tags .course-card-info-tag {
  display: flex;
  padding: 4px 8px;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  background: white;
  color: var(--Blue-Eerie-Black, #161422);
  font-family: Onest, sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 18px; /* 128.571% */
  text-transform: capitalize;
}

.instructor-name {
  color: var(--Blue-Eerie-Black, #161422);
  font-family: Onest;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 120%; /* 19.2px */
}

.instructor-image-wrapper {
  display: flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--White, #fff);
}

.instructor-image-wrapper img {
  max-height: 64px;
}

.tutor-course-card .intructor-position {
  color: var(--Blue-Eerie-Black, #161422);
  font-family: Onest, sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.tutor-course-excerpt {
  color: #666;
  font-family: Onest;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px;
  /* max 3 lines clamp */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wc-block-components-button:not(.is-link) {
  padding: 12px 24px;
  border-radius: 4px;
  background: #020d80;
  color: #fff;
  font-family: Onest;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  transition: all 0.2s ease;
}

.wc-block-cart__submit-button:hover {
  filter: brightness(1.2);
}

.wc-block-cart-items__header-image,
.woocommerce-cart .wc-block-cart-item__image,
.woocommerce-cart .wc-block-cart-item__image img {
  display: none !important;
}

/* Hide product images on the checkout page */
.woocommerce-checkout .wc-block-components-order-summary-item__image,
.woocommerce-checkout .wc-block-cart-item__image,
.woocommerce-checkout .wc-block-cart-item__image img {
  display: none !important;
}

.woocommerce-checkout
  .wc-block-components-order-summary
  .wc-block-components-order-summary-item__description {
  padding-left: 0;
}

.tutor-card .course-card-footer .list-item-button {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: end;
}

.tutor-card .course-card-footer .tutor-btn {
  width: fit-content;
  text-wrap: nowrap;
}

.tutor-course-card .tutor-course-excerpt {
  text-align: left;
}

.tutor-course-card .tutor-course-name,
.tutor-course-card .tutor-course-name a {
  text-align: left;
}

.tutor-course-single-content-wrapper {
  background: #f8f7ff;
  border-radius: 16px;
  overflow: hidden;
}

.tutor-course-single-sidebar-wrapper {
  background-color: unset;
}

.tutor-avatar {
  width: 48px;
  height: 48px;
}
#tutor-single-entry-content {
  overflow: hidden;
  background: none;
}

.tutor-lesson-sidebar .tutor-course-topic .tutor-accordion-item-header,
.tutor-course-single-sidebar-title {
  background-color: unset;
}

.tutor-course-single-sidebar-wrapper
  .tutor-accordion-item-header:hover
  .tutor-course-topic-summary,
.tutor-course-single-sidebar-wrapper
  .tutor-accordion-item-header.is-active
  .tutor-course-topic-summary,
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover:after,
.tutor-course-single-sidebar-wrapper
  .tutor-accordion-item-header.is-active:after {
  color: white;
}

.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header:hover,
.tutor-course-single-sidebar-wrapper .tutor-accordion-item-header.is-active {
  color: white;
  background-color: #354cbc;
}

.tutor-course-single-sidebar-wrapper
  .tutor-accordion-item-header.is-active:after {
  color: white;
}

.card-pricing-box {
  padding-top: 4px;
  padding-bottom: 4px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
  background-color: white;
}

.vector-color-orange {
  color: var(--orange-color, #f86300);
}

.card-pricing-box ins {
  color: var(--orange-color, #f86300);
  font-family: Onest;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.card-pricing-box .price {
  color: var(--orange-color, #f86300);
  font-family: Onest;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

.card-pricing-box del {
  font-family: Onest;
  font-size: 14px;
  color: #161422;
  text-decoration: line-through;
  font-weight: 400;
}

.tutor-sticky-progress {
  min-width: 200px;
  max-width: 300px;
  width: 100%;
}

.tutor-widget.tutor-widget-course-levels.tutor-mt-48 ul li:nth-child(1) {
  display: none;
}

#tutor-pro-social-authentication #tutor-pro-google-authentication {
  width: 400px;
}

.loader.small {
  width: 12px;
  height: 12px;

  border-top: 1px solid #fff;
  border-right: 1px solid transparent;
}

.loader {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-block;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid transparent;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

.tutor-course-single-content-wrapper
  #tutor-single-entry-content
  .tutor-quiz-wrapper
  .tutor-quiz-wrap {
  padding-inline: 1.5rem;
  width: 100% !important;
}

.primary-button {
  text-wrap: nowrap;
}

#tutor-course-spotlight-overview img {
  width: 100%;
  height: auto;
}

.course-card-footer {
  gap: 16px;
}

.tutor-d-contents {
  display: contents;
}

.tutor-btn-light {
  background-color: white;
  color: var(--tutor-color-primary);
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  border: 1px solid white;
}

.tutor-btn-light:hover {
  background-color: transparent;
  color: white;
  border: 1px solid white;
}

.single-course-sticky-bar {
  transform: translateY(100%);
  transition: all 0.3s ease;
}

.single-course-sticky-bar.show {
  transform: translateY(0);
}

.oxel_back_to_top_container.spaced {
  bottom: 80px;
}

.sticky-button-list .tutor-btn-view-certificate {
  margin-bottom: 0;
  text-wrap: nowrap;
  width: 100%;
}

.sticky-button-list .tutor-course-retake-button {
  padding: 0;
  border: none;
  background: none;
  color: var(--tutor-color-primary);
  font-family: Onest;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.single-course-sticky-entry .vector-sale {
  display: none;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 992px) {
  .course-card-footer .primary-button {
    width: 100%;
  }

  .tutor-course-progress-wrapper {
    width: 100%;
    min-width: 0px;
  }

  .course-card-footer {
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .tutor-card .course-card-footer .tutor-btn {
    width: 100%;
  }
  .oxel_back_to_top_container.spaced {
    bottom: 95px;
  }

  .single-course-sticky-bar .primary-button .tutor-icon-next {
    display: none;
  }

  .sticky-button-list {
    flex-direction: column !important;
  }
}

@media (min-width: 1200px) {
  .tutor-course-single-content-wrapper #tutor-single-entry-content {
    min-height: 50vh;
  }
}
