/*--------------------------------------------------------------
This is your custom stylesheet.

Add your own styles here to make theme updates easier.
To override any styles from other stylesheets, simply copy them into here and edit away.

Make sure to respect the media queries! Otherwise you may
accidentally add desktop styles to the mobile layout.
https://www.w3schools.com/css/css_rwd_mediaqueries.asp
--------------------------------------------------------------*/

body.rtl .llms-donut svg path {
  transform: translate(100px, 0px);
}

body.rtl .lifterlms_next_prev_link .next-link::after,
body.rtl .lifterlms_next_prev_link .prev-link::before {
  transform: scaleX(-1);
}


/* fix the height of our elementor cards */
.elementor-cta__content .elementor-cta__title {
  text-overflow: ellipsis;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}
.elementor-cta__content .elementor-cta__description {
  height: 130px;
  overflow: hidden;
}

/* Woocommerce overwrites */
.woocommerce-additional-fields {
  display: none;
}
.woocommerce-order-details .product-name > a {
  display: none;
}
.woocommerce-cart-form .product-name > a {
  cursor: default;
  pointer-events: none;
  text-decoration: none;
  color: grey !important;
}

/* add icon for social account tab in woocommerce my-account page */
.woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--social-accounts
  a:before {
  content: "\E8EE";
}

/* increase the line height to fix part of some words are hidden */
.bb-card-course-details .bb-course-title,
.searchandfilter select.sf-input-select {
  line-height: 2 !important;
}

/* hide the footer in those pages */
.single.single-llms_certificate .elementor.elementor-location-footer,
.single.single-llms_my_certificate .elementor.elementor-location-footer,
.page.activate .elementor.elementor-location-footer {
  display: none;
}

#llms_phone {
  direction: ltr;
  text-align: right;
}

.llms-field-button,
.llms-field-button:hover,
.llms-button-action,
.llms-button-action:hover {
  color: #ffff;
}

.side-panel-menu a {
  letter-spacing: initial;
  line-height: initial;
}
.buddypanel ul.buddypanel-menu li a span:not(.count) {
  line-height: inherit;
}

body.logged-in .hide-for-users {
  display: none !important;
}

/* change the icon on profile side bar */
.woocommerce
  .woocommerce-MyAccount-navigation
  ul
  li.woocommerce-MyAccount-navigation-link--my-memberships
  a:before {
  content: "\e86f";
}


/* this fix after enable lifterLMS lab */
.llms-access-plan-title, .llms-access-plan .stamp {
	background-color: transparent !important;
	color: #317ca0 !important;
}


/* certificate style fix  */
.llms-certificate-container .llms_certificate,
.llms-certificate-container .llms_my_certificate {
	margin: 10vw;
}

.llms-certificate-container .llms-summary {
  height: 100%;
}
.llms-certificate-container .llms-summary h1 {
  font-size: 4vw !important;
  margin-bottom: 1.5em !important;
}

.llms-certificate-container .llms-summary p {
  margin-top: 0 !important;
  font-size: 2.2vw !important;
  margin-bottom: 1em !important;
}

@media screen and (min-width: 800px) {
  .llms-certificate-container .llms_certificate,
  .llms-certificate-container .llms_my_certificate {
    margin: 80px !important;
  }
  .llms-certificate-container .llms-summary h1 {
    font-size: 32px !important;
  }
  .llms-certificate-container .llms-summary p {
    font-size: 1em !important;
  }
}

/* for searhcandfilter fix the spaces */
/* add this to buddyboss custom code    */
.searchandfilter li[data-sf-field-input-type="checkbox"] label,
.searchandfilter li[data-sf-field-input-type="radio"] label,
.searchandfilter li[data-sf-field-input-type="range-radio"] label,
.searchandfilter li[data-sf-field-input-type="range-checkbox"] label {
  padding-right: 10px;
}

.searchandfilter .sf-count,
.searchandfilter .sf-date-postfix {
  padding-right: 5px;
}

.llms-meta a {
	margin-right: 5px;
}

.bb-llms-content-wrap ul {
	list-style-type: initial;
}
