/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Custom LearnDash Course Styles */
article.sfwd-courses .wp-block-columns a.uagb-buttons-repeater {
    background-color: var(--ast-global-color-1) !important;
    color: #FFFFFF !important;
    border-radius: 5px !important;
    padding: 0.6em 1.2em !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

article.sfwd-courses .wp-block-columns a.uagb-buttons-repeater:hover,
.primary-button .uagb-button__wrapper:hover {
    background-color: var(--ast-global-color-7) !important;
	color: #FFFFFF !important;
}

.primary-button a:hover {
    background-color: var(--ast-global-color-7) !important;
	color: #FFFFFF !important;
}

.secondary-button a:hover {
    background-color: var(--ast-global-color-7) !important;
    color: var(--ast-global-color-0) !important;
}

/* Teachers button: targets the button in the second column of the .wp-block-columns */
article.sfwd-courses .wp-block-columns > .wp-block-column:last-of-type a.uagb-buttons-repeater, article.sfwd-courses .uagb-block-c1ec835b a.uagb-buttons-repeater {
    background-color: var(--ast-global-color-2) !important;
    color: var(--ast-global-color-0) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
article.sfwd-courses .wp-block-columns > .wp-block-column:last-of-type a.uagb-buttons-repeater:hover, article.sfwd-courses .uagb-block-c1ec835b a.uagb-buttons-repeater:hover {
    background-color: var(--ast-global-color-7) !important;
}


.primary-button .uagb-button__wrapper {
    background-color: var(--ast-global-color-1) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
	margin-right: 10px;
}

.secondary-button .uagb-button__wrapper {
    background-color: var(--ast-global-color-2) !important;
    color: var(--ast-global-color-0) !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

article.sfwd-courses .wp-block-uagb-buttons-child a.uagb-buttons-repeater {
    background-color: var(--ast-global-color-0);
    color: #FFFFFF !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    text-decoration: none !important;
    padding: 0.6em 1.2em !important;
}

article.sfwd-courses .wp-block-uagb-buttons-child a.uagb-buttons-repeater:hover {
    background-color: var(--ast-global-color-6) !important; /* Change background on hover */
}


article.sfwd-courses .uagb-button__link {
    display: inline-block !important;
    white-space: nowrap !important;
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
	font-size: 18px;
}
article.sfwd-courses .uagb-buttons-repeater,
article.sfwd-courses .uagb-cta__link-content-inner {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    color: #FFFFFF !important;
}
article.sfwd-courses .uagb-button__icon {
    display: flex !important;
    align-items: center !important;
}

/* == LEARNDASH SETTINGS == */

article.sfwd-courses .entry-header {
	display: none !important;
}

/* LD: Hide progress bar */
.ld-course-status.ld-course-status-enrolled {
	display: none !important;
}

/* LD: Hide course price segment for unenrolled courses */
.learndash-wrapper
  .ld-course-status.ld-course-status-not-enrolled
  .ld-course-status-segment.ld-course-status-seg-price {
  display: none;
}

/* LD: Hide all lesson content in navigation */
.learndash-wrapper
  .ld-focus
  .ld-focus-sidebar
  .ld-course-navigation
  .ld-lesson-item {
  display: none;
}

/* LD: Show only current lesson */
.learndash-wrapper
  .ld-focus
  .ld-focus-sidebar
  .ld-course-navigation
  .ld-lesson-item.ld-is-current-lesson {
  display: block;
}

/* LD: Hide scroll bar when course navigation is collapsed */
.learndash-wrapper
  .ld-focus-sidebar-collapsed
  .ld-focus-sidebar
  .ld-focus-sidebar-wrapper {
  overflow-y: hidden;
}

/* LD: Highlight expand/collapse button */
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-icon {
  background-color: #e93761 !important;
}

/* Hide course content table on course pages */
.single-sfwd-courses .ld-lesson-list {
  display: none;
}

/* LD: Course grid headings */
.ld_course_grid .thumbnail .caption .entry-title {
  font-size: 20px;
	color: #27336b !important;
}