/**
 * Theme Name:     Astra Child
 * Author:         Brainstorm Force
 * Template:       astra
 * Text Domain:	   astra-child
 * Description:    The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
 */

/*
 * ─────────────────────────────────────────────────────────────────────────────
 * MIGRATION NOTE
 * Migrated from Reign Child Theme (wbcomdesigns.com).
 * The Reign Child theme had no custom CSS in style.css — all customizations
 * were handled via PHP (functions.php) and WooCommerce template overrides.
 *
 * Any custom CSS from the WordPress Customizer (Appearance → Customize →
 * Additional CSS) on the previous site must be pasted below manually.
 * ─────────────────────────────────────────────────────────────────────────────
 */

/* Add your custom CSS below this line */




.home .learndash-pager.learndash-pager-course_list {
    display: none;
}

/* Learndash course price display*/

.lmscoder-price-wrap {
    display: inline-flex;
}
 
.lmscoder-price-wrap__item:first-child {
    padding-right: 10px;
}
 
.lmscoder-price-wrap__item:last-child {
    padding-right: 10px;
}
 
.lmscoder-price-wrap__original {
    text-decoration: line-through;
}

/* END CHANGE */


/* Remove "this response will be reviewed and graded..." beneath 'assessment' questions in Learndash */
.learndash-wrapper .wpProQuiz_content .graded-disclaimer {
	display: none;
}

/*Changes colors of NZD course prices on the "course page" --> List option */
.lm-course-price.lm-course-list-view-data {
    color: #ff7300;
}

/*Changes colors of NZD course prices on the "course page" --> Grid option */
.lm-course-item-wrapper .lm-course-item .lm-course-content .lm-course-meta .lm-value {
    text-transform: uppercase;
    font-weight: 700;
    color: #ff7300;
}


/*Changes colors of course prices and adds "USD" to U.S. courses*/
.lm-course-price .lm-course-paid {
	color: #18a14e;
}
.lm-course-price .lm-course-paid::after {
  content: " USD";
}

/* Adjust all wide dividers on course pages */
.wp-block-separator.is-style-wide {
	border: solid 1.5px;
	color: rgba(0, 0, 0, 0.2);
}

/* Adjust divider between intro content and main content on course pages */
.wp-block-separator.main-content-separator {
	border: solid 2px !important;
	color: #019e7c !important
}

/* Adjust all narrow dividers in heading on course pages */
.wp-block-separator.narrow-heading-separator {
	border: solid 1.5px !important;
	color: rgba(1, 158, 124, 0.8) !important
	
}

/* Adjust all default narrow dividers (not heading dividers) on course pages */
.wp-block-separator.is-style-default
{
	border: solid 1.5px;
	color: rgba(0,0,0,0.2)  
	
}

/*make bold the text on woocommerce "Your Order" section of checkout page */
 .woocommerce-checkout #payment ul.payment_methods li {
    font-weight: 600;
}

/* make text on top of LD registration page red */
p.ld-registration__p {
    color: red !important;
}
 

/* show password strength meter on user profile page 
 
.buddypress-wrap #pass-strength-result.short {
    background-color: #ffa0a0;
    border-color: #f04040;
    color: #fff;
}

.buddypress-wrap #pass-strength-result.mismatch {
    background-color: #333;
    border-color: transparent;
    color: #fff;
}

.buddypress-wrap #pass-strength-result.error,
.buddypress-wrap #pass-strength-result.bad {
    background-color: #ffb78c;
    border-color: #ff853c;
    color: #fff;
}

.buddypress-wrap #pass-strength-result {
    background-color: #faf953;
    border-color: #ffd17d;
    color: #975501;
}

.buddypress-wrap #pass-strength-result.strong {
    background-color: #66d66e;
    border-color: #438c48;
    color: #fff;
}
*/

/* formats the date at the top of course certificates 
.completed_on {
	justify-content: center;
	color: #0c5ab2 !important;
	font-size: 16px;
	font-weight: bold;
}
*/

.social-links>p>a>br, .social-links>a.btn-linkedin {
    display: none;
}
.social-links {
    display: flex;
    column-gap: 20px;
}
.social-links p a svg {
    height: 20px;
    width: auto;
}

.elementor-page .ast-container {
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
body .site-primary-header-wrap.ast-container {
    max-width: 1300px !important;
    margin: auto;
    padding-left: 15px !important;
    padding-right: 15px !important;
}
.main-header-menu li {
    line-height: normal !important;
	padding: 35px 0;
}
.main-header-menu li a {
    position: relative;
}

/* Active menu item - always show underline */
.main-header-menu li.current-menu-item a:before,
/* Hover - show underline on any item */
.main-header-menu li a:hover:before {
    width: 100%;
    opacity: 1;
}

.main-header-menu li a:before {
    content: "";
    position: absolute;
    background-color: #428ce6;
    height: 3px;
    width: 0;
    opacity: 0;
    bottom: -10px;
    left: 0;
    transition: width 0.3s ease, opacity 0.3s ease;
}
.main-header-menu ul.sub-menu li {
    padding: 0;
}
.main-header-menu ul.sub-menu li {
    padding: 0;
}

.main-header-menu .sub-menu {
    border-radius: 12px;
    padding: 10px 10px;
    border: 1px solid #e3e3e3;
    top: 90px;
}

.main-header-menu .sub-menu li a {
    padding: 5px 5px !important;
    margin: 0px 0 5px 0;
	font-size: 15px;
}

.main-header-menu .sub-menu li:last-child a {margin: 0;}

.main-header-menu ul.sub-menu li a:before {
    display: none;
}
.main-header-menu .sub-menu li a:hover {
    background-color: #438ce612;
}
.footer-widget-area section h2 {
    position: relative;
    margin: 0;
    padding: 0 0 10px 0;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 22px;
    font-size: 20px;
}

h2.widget-title:after {
    content: "";
    min-width: 8%;
    height: 1px;
    background-color: #2538ea;
    position: absolute;
    bottom: 0;
    left: 0;
}

.footer-widget-area section p {
    font-size: 16px;
}

.footer-widget-area section .social-links p {margin-bottom: 0;padding-bottom: 0;}
span.reign-footer-site-title a {
    color: #334155;
}

span.reign-footer-site-title a:hover {
    color: #2538ea;
    transition: 1s ease all;
}

header.site-header .cs-btn-woo a{
  display: inline-block !important;
    background-color: #017bb1;
    color: #ffffff !important;
    padding: 10px 20px !important;
    border: 1px solid #017bb1;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 10px;
    text-transform: none;
    transition: all .3s;
    cursor: pointer;
    text-shadow: none;
}
header.site-header #ast-hf-mobile-menu .cs-btn-woo a{
    width: fit-content;
}
header.site-header.cs-btn-woo a:hover{
    opacity: .8;
}
header.site-header .cs-btn-woo a:before{
    display: none !important;
}
#ast-hf-menu-2 li{
    margin-right: 20px;
}
.ast-site-header-cart.ast-menu-cart-outline .ast-addon-cart-wrap{
        border: none;
    padding: 0;
}
.ast-builder-layout-element .ast-site-identity{
        padding: 0 !important;
}
.ast-desktop:not(:has(.ast-header-sticked)) .ast-primary-header-bar .main-header-menu > .menu-item{
        padding: 23px 0;
}

.ast-builder-menu-1 .menu-item > .menu-link{
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color: #153045;
}
body .rg-login-btn-wrap .button, body .rg-register-btn-wrap .button{
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
}

.ast-builder-menu-1 .menu-item > .menu-link{
    font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color: #153045;
}
.ast-builder-layout-element[data-section="title_tagline"]{
        padding-right: 30px;
}


.ast-footer-social-1-wrap .ast-social-color-type-custom .ast-builder-social-element[aria-label="linkedin"] svg{
        width: 100%;
}
.ast-footer-social-1-wrap .ast-social-color-type-custom .ast-builder-social-element[aria-label="linkedin"] {
        background: none !important;
}
.ast-footer-social-1-wrap .ast-social-color-type-custom .ast-builder-social-element[aria-label="instagram"] {
            width: 40px;
    height: 40px;
    padding: 0;
    display: inline-grid;
    border-radius: 5px;
}
.footer-widget-area section p{
        margin-bottom: 10px;
}
.ast-icon.icon-search svg{
        font-size: 23px;
    margin: 0;
    fill: #153045;
}
.ld-course-list-items .ld_course_grid .entry-title{
           font-size: 18px;
    text-align: center;
    color: #1b649c;
    font-weight: 500;
    line-height: 23px;
    padding: 20px 0 0px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 90px;
}
.ast-search-menu-icon.ast-dropdown-active{
    position: initial;
}
.ast-header-search .ast-search-menu-icon.slide-search .search-form{
        width: 100%;
    max-width: 1200px;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -110px;
    top: inherit;
    border-radius: 10px;
    box-shadow: 0 0 23px 0 #53535333;
    border: none;
}
.ast-header-search .ast-search-menu-icon.slide-search .search-form label{
        width: 100%;
        padding: 10px;
}
.ast-header-search .ast-search-menu-icon.slide-search .search-form label input{
        width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #eee;
     border-radius: 10px;
}
.ld-course-list-items .ld_course_grid .thumbnail .caption p{
       display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
}
.ld-course-list-items .ld_course_grid .thumbnail.course img{
        height: 180px;
    object-fit: cover;
}
.ld-course-list-items .ld_course_grid .thumbnail.course{
        border-radius: 12px;
        overflow: hidden;
}

.ld-course-list-items .ld_course_grid .thumbnail.course a.btn-primary{
    background: #017bb1;
}
.ld-course-list-items .ld_course_grid .thumbnail.course .ribbon.enrolled{
    background-color: #5cb85c;
    border-radius: 0 15px 15px 0;
    color: #fff;
    text-align: center;
    padding: 5px 12px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: .23px;
}

[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg{
        width: 30px;
    height: 30px;
    font-size: 30px;
}

.ast-header-break-point .main-navigation .stack-on-mobile li{
width: 100%;
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
}
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link{
    background: none;

}
.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item{
    background: #f0f5fa;
}
.ast-builder-menu-mobile .main-navigation .menu-item > .menu-link:before{
    display: none;
}
.ast-builder-menu-mobile .main-navigation .menu-item > .menu-link:hover{
     background: none !important;
}
.ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle{
            box-shadow: none;
}
.site-primary-footer-wrap[data-section="section-primary-footer-builder"]{
    padding-left: 10px;
    padding-right: 10px;
}


.woocommerce-page .site-main ul.products li.product{
    border: 1px solid #e3e3e3;
    background: #fff;
        border-radius: 10px;
    overflow: hidden;
}

.woocommerce-shop.woocommerce.woocommerce-page{
background-color: #fafbfd;
}
.woocommerce-js ul.products li.product a img{
        max-width: 240px;
    height: 200px;
    object-fit: contain;
    margin: 0 auto;
    padding: 20px;
}

.woocommerce-js ul.products li.product .woocommerce-loop-product__link, .woocommerce-page ul.products li.product .woocommerce-loop-product__link{
    border-bottom: 1px solid #e3e3e3;
}

.woocommerce-page .site-main ul.products li.product .astra-shop-summary-wrap{
    padding: 20px;
}
.woocommerce-page .site-main ul.products li.product .astra-shop-summary-wrap{
        padding: 10px 20px;
    font-size: 14px;
}



.show-on-res{
    display: none !important;
}
.woocommerce-js .woocommerce-ordering select{
        background-color: #fff;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 14px;
}

















@media(max-width: 922px){
    .show-on-res{
    display: block !important;
}
}