/**
 * Template: ms-lms-starter-theme
 * Theme Name: MasterStudy Templates Child
 * Theme URI: https://starter.stylemixthemes.com/
 * Author: StylemixThemes
 * Author URI: https://stylemixthemes.com/
 * Description: MasterStudy Templates Child Theme is the child theme for the MasterStudy Templates. With this child theme, you can customize your eLearning website appearance without changing the original templates.
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: classes, courses, Education, education center, e-commerce, learning center, tutoring, teaching, study, studying, learning, lessons, instructor, teacher, mentor
 * Text Domain: starter-text-domain
 * Version: 1.0.1
 */

@import url("./assets/css/autocomplete.css");

body {
  --primary: #6d69fa;
  --accent-color: #6d69fa;
  --accent-hover: #4945d0;
  --text: #1a1a2d;
  --border-radius: 200px;
  --btn-padding: 15px 25px;

  /* lms variables */
  --e-global-color-primary: #6d69fa;
  --e-global-color-secondary: #4945d0;
}

/* BUTTONS */
.btn-default {
  font-weight: 500 !important;
}

body .masterstudy-buy-button,
.wc-block-cart__submit-button,
a.masterstudy-button,
.wc-block-checkout__actions_row,
.wc-block-components-checkout-place-order-button,
.wc-block-components-totals-coupon__form
  .wc-block-components-totals-coupon__button,
.ms_lms_courses_archive__filter_actions input[type="submit"],
.ms_lms_courses_card.card-style-2 .ms_lms_courses_card_item_popup_button,
.masterstudy-single-course-share-button-modal__link {
  border-radius: var(--border-radius) !important;
  font-size: 16px !important;
}

/* FORM FIELDS FONT */
.mc4wp-form-fields label {
  font-family: "Poppins", Sans-serif !important;
}

.masterstudy__login-page-form {
  max-width: 455px !important;
}

.ms_lms_courses_card {
  justify-content: center;
}

.stm_lms_courses_categories .stm_lms_courses_category {
  background-color: var(--text) !important;
}

@media (max-width: 768px) {
  .masterstudy-authorization__wrapper,
  .masterstudy-authorization__switch {
    padding: 0 !important;
  }
}

/* HOME PAGE */

@media (max-width: 568px) {
  .theme-intensywna .home-categories .stm_lms_courses_categories {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
  }
  .theme-intensywna
    .home-categories
    .stm_lms_courses_categories
    .stm_lms_courses_category {
    margin: 0 15px;
  }
}

@media (min-width: 569px) and (max-width: 769px) {
  .theme-intensywna
    .home-categories
    .stm_lms_courses_categories
    .stm_lms_courses_category {
    width: calc(33% - 20px);
  }
}

/* MENU */
span.ms-lms-authorization-title {
  font-family: "Poppins" !important;
  font-weight: 600 !important;
}

/* MOBILE MENU  */
.mobile-site-auth-links-column .elementor-widget:nth-child(2) {
  margin-bottom: 0;
  height: 40px;
}

.mobile-site-auth-links-column .elementor-widget:nth-child(3) {
  margin-bottom: 0;
}

/* TABLET MENU */
body .ms-lms-authorization-icon {
  background-color: var(--primary) !important;
}

/* COURSE PAGE */

/* Verified Review Badge */
.masterstudy-single-course-reviews__verified {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 500;
}

.masterstudy-single-course-reviews__verified .fa-check-circle {
  color: var(--primary, #6d69fa);
  font-size: 12px;
}

.masterstudy-curriculum-list__container-wrapper
  .masterstudy-curriculum-list__meta {
  color: var(--primary) !important;
}

.masterstudy-buy-button__title,
.masterstudy-buy-button__price {
  font-size: 16px !important;
  font-weight: 500 !important;
}

.masterstudy-single-course-wishlist:hover
  .masterstudy-single-course-wishlist__title:before {
  color: var(--primary) !important;
}

.masterstudy-single-course-wishlist__title.masterstudy-single-course-wishlist_added::before {
  color: var(--primary) !important;
}

.masterstudy-curriculum-list__toggler {
  background-color: transparent !important;
  border: 1px solid var(--primary);
  border-radius: 100%;
  color: var(--primary) !important;
}

.masterstudy-curriculum-list__toggler::after {
  color: var(--primary) !important;
  font-size: 8px !important;
  position: relative;
  top: 1px;
}

.masterstudy-curriculum-list__wrapper.masterstudy-curriculum-list__wrapper_opened
  .masterstudy-curriculum-list__toggler::after {
  transform: translateY(-2px) rotate(180deg) !important;
}

.masterstudy-curriculum-list__excerpt-toggler {
  background: var(--primary) !important;
}

.masterstudy-curriculum-list__excerpt-toggler::after {
  color: white !important;
}

.masterstudy-single-course-modern-curriculum__sidebar
  .masterstudy-curriculum-list__title {
  font-size: 16px !important;
  font-weight: 600 !important;
}

.masterstudy-single-course-excerpt {
  font-size: 18px !important;
  line-height: 28px !important;
}

h1.masterstudy-single-course-title {
  font-weight: 600 !important;
  font-size: 40px !important;
}

.masterstudy-single-course-categories__item {
  color: var(--accent-color) !important;
  font-size: 16px !important;
}

.masterstudy-orders-course-info__button {
  background-color: var(--primary) !important;
}

.masterstudy-orders-course-info__button .masterstudy-button__title {
  color: white !important;
}

.masterstudy-single-course-modern-curriculum__sidebar {
  margin-top: 0px !important;
}

@media (max-width: 1023.98px) {
  .masterstudy-single-course-modern-curriculum__sidebar {
    margin-top: 50px !important;
  }
}

.theme-intensywna
  .masterstudy-single-course-reviews__form-message.masterstudy-single-course-reviews__form-message_success {
  background: #f2faed;
  color: #81c258;
}

/* hiding course owner */
.theme-intensywna
  .masterstudy-related-courses
  a.masterstudy-related-courses__instructor {
  display: none;
}

.masterstudy-single-course-modern-curriculum__info
  .masterstudy-single-course-modern-curriculum__info-block:first-child {
  display: none;
}

body.theme-intensywna .masterstudy-file-attachment {
  border-radius: 5px;
}

body.theme-intensywna .masterstudy-file-attachment__link {
  background-color: var(--primary);
  border-radius: 250px;
  color: white !important;
  padding: 5px 30px;
}

body.theme-intensywna .masterstudy-file-attachment__link:hover {
  background-color: var(--accent-hover);
}

body.theme-intensywna
  .masterstudy-file-attachment
  a.masterstudy-file-attachment__link:before {
  color: white;
}

.theme-intensywna
  .masterstudy-single-course-details.masterstudy-single-course-details_row
  .masterstudy-single-course-details__quantity {
  word-break: break-all;
}

.theme-intensywna .masterstudy-single-course-details__info {
  align-items: center;
}

/*  END COURSE PAGE */

/*  COURSES PAGE  */
body.theme-intensywna
  .ms_lms_course_search_box__search_input
  .autocomplete
  ul
  li.focus-list
  a {
  color: var(--text) !important;
}

body.theme-intensywna .masterstudy-enrolled-courses__toggle {
  display: none !important;
}

.theme-intensywna
  .ms_lms_courses_card.card-style-2
  .ms_lms_courses_card_item_popup_author {
  display: none;
}

/* ACCOUNT DROPDOWN */
.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__logout {
  text-align: left !important;
}

.stm_lms_account_dropdown .dropdown .masterstudy-dropdown-menu__logout a span {
  color: #ffffff !important;
}

.stm_lms_logout {
  font-size: 12px;
  line-height: 20px;
  padding: 10px 20px;
  font-family: "Poppins", Sans-serif;
  font-weight: 500;
  background-color: var(--e-global-color-primary);
  border-style: solid;
  border-color: var(--e-global-color-primary);
  border-radius: 200px !important;
}

.masterstudy-single-course-modern-curriculum
  .masterstudy-single-course-widgets {
  margin-top: 0px !important;
}

@media (max-width: 1023.98px) {
  .masterstudy-single-course-modern-curriculum__buttons {
    margin-top: 15px !important;
  }
}

/* MAILCHIMP signup input field */

body .elementor-widget-ms_lms_mailchimp .mc4wp-form-fields input[type="email"],
body
  .elementor-widget-ms_lms_mailchimp
  .mc4wp-form-fields
  input[type="submit"] {
  border-radius: 200px !important;
}

body .elementor-widget-ms_lms_mailchimp .mc4wp-form-fields label {
  line-height: 26px !important;
  font-size: 20px !important;
}

/* USER PROFILE */
.masterstudy-orders div.multiseparator:after {
  background-color: var(--primary) !important;
}

.theme-intensywna
  .stm_lms_become_instructor
  a.btn-default.btn.lms_become_instructor_btn {
  background-color: var(--primary) !important;
  border-radius: 200px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.masterstudy-orders-course-info__button .masterstudy-button__title {
  color: white !important;
}

.masterstudy-enrolled-quizzes .stm_lms_user_info_top h3 span {
  color: var(--primary) !important;
}

.masterstudy-orders-button .masterstudy-button {
  background-color: var(--primary) !important;
}

.theme-intensywna
  .masterstudy-orders
  .masterstudy-orders-button
  .masterstudy-button
  span {
  color: white !important;
  font-weight: 500 !important;
}

.theme-intensywna .masterstudy-enrolled-quizzes-no-found__info-icon {
  margin-bottom: 35px;
}

/*  NO QUIZZES FOUND */
.theme-intensywna
  .masterstudy-enrolled-quizzes-no-found__info-icon
  .stmlms-order:before {
  background: url('data:image/svg+xml,<svg width="1256" height="1256" viewBox="0 0 1256 1256" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="628" cy="628" r="628" fill="%23F0F0FE"/><path d="M483.076 468.439C352.024 507.909 296.003 637.262 361.405 738.777L347.442 850.492L435.221 806.603C503.277 844.578 589.188 847.434 658.85 818.148C605.721 811.376 556.438 790.576 517.227 757.901C421.642 678.249 414.814 554.317 483.076 468.439Z" fill="%236D69FA"/><path d="M854.98 460.203C767.48 387.287 626.895 387.266 539.369 460.203C449.946 534.725 449.956 656.822 539.369 731.331C616.561 795.658 734.379 802.937 820.784 754.725L908.563 798.615L894.599 686.897C940.772 615.265 929.259 522.104 854.98 460.203ZM714.467 716.818H679.881V682.232H714.467V716.818ZM738.618 599.273C723.269 610.773 714.467 627.828 714.467 646.063V647.646H679.881C680.086 646.789 676.481 602.614 717.881 571.593C726.988 564.772 732.166 553.904 731.734 542.524C731.053 524.59 716.473 510.01 698.539 509.328C678.779 508.584 662.588 524.317 662.588 543.888H628.002C628.002 504.779 660.366 473.287 699.851 474.767C735.746 476.131 764.931 505.316 766.295 541.211C767.158 563.937 756.811 585.643 738.618 599.273Z" fill="%236D69FA"/></svg>');
  width: 120px;
  display: block;
  height: 120px;
  background-size: contain;
  content: "";
}

.theme-intensywna .masterstudy-enrolled-quizzes-no-found__info-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 10px;
}

.theme-intensywna .masterstudy-enrolled-quizzes-no-found__info-description {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  line-height: 34px;
}

/*  END NO QUIZZES FOUND */

/* MAILCHIMP cart icon */
.menu-cart-icon {
  position: relative;

  .cart-count {
    top: -5px;
    right: -5px;
    position: absolute;
    background-color: var(--primary);
    width: 18px;
    height: 18px;
    border-radius: 100%;
    color: white;
    text-align: center;
    border: 1px solid white;
    font-size: 10px;
    font-weight: semibold;
    font-family: "Poppins";
    padding: 1px;
  }
}

@media (min-width: 768px) {
  .elementor-widget-stm_lms_pro_site_authorization_links {
    margin-bottom: 0 !important;
  }
}

/* Account dropdown */

/* MAILCHIMP ON TOP PAGE */
#top-page-newsletter-form #mailchimp-email {
  border: 2px solid var(--accent-hover) !important;
}

/* Courses grid */

.ms_lms_courses_carousel__title h2,
.ms_lms_courses_grid__title h2 {
  font-size: 40px !important;
}

.masterstudy-curriculum-list__container-wrapper
  .masterstudy-curriculum-list__meta {
  display: none;
}

/* Disable course counter timer */
.coming-soon-card-countdown-container {
  display: none !important;
}

.coming-soon-countdown-container {
  display: none !important;
}

/*.masterstudy-countdown {
  display: none !important;
}

.coming-soon-card-details span {
  display: none;
}*/

.masterstudy-single-course-share-button-modal__link-wrapper:last-child {
  width: 50% !important;
}

/* Cart Counter Animation Styles */
.cart-count {
  transition: all 0.3s ease;
}

.cart-count.updated {
  transform: scale(1.2);
}

.custom-cart-icon {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
}

.custom-cart-icon.has-items {
  animation: cartPulse 0.6s ease-in-out;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Hide cart count when empty */
.cart-count:empty {
  display: none !important;
}

/*  RESET PASSWORD PAGE */
.theme-intensywna .masterstudy-authorization__send-mail-icon-wrapper {
  width: 120px;
  height: 120px;
  margin-bottom: 15px;
}

.theme-intensywna .masterstudy-authorization__send-mail-content-title,
.masterstudy-authorization__send-mail-title {
  font-weight: 400;
  line-height: 34px;
}

.theme-intensywna .masterstudy-authorization__send-mail-content-subtitle {
  margin-top: 10px;
  font-weight: 700;
  color: #000;
  font-size: 20px;
}

/*  CHECKOUT PAGE */
label[for="billing_invoice_ask"] .wc-block-components-checkbox__label {
  display: none;
}

label[for="billing_invoice_ask"]::after {
  content: "Chcę fakturę";
  font-size: 14px;
  margin-top: 2px;
}

/* DELETE ACCOUNT BUTTON */
.btn-delete-account {
  position: relative;
  border-radius: var(--border-radius);
  border: 0;
  padding: var(--btn-padding);
  text-transform: uppercase;
  font-weight: 500;
  margin-top: -15px;
  letter-spacing: 1px;
}

.btn-delete-account.loading {
  min-height: unset;
}

.btn-delete-account.loading::before {
  top: 9px;
}

.btn-delete-account.loading .btn-text {
  opacity: 0;
}

.delete-account-message-wrapper {
  display: none;
}

.delete-account-message-wrapper.show {
  display: block;
}

.page-content p {
  margin-bottom: 10px;
}

.cmplz-links,
.cmplz-description a,
.cmplz-cookiebanner .cmplz-link {
  display: none !important;
}
