/**
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
 */




body .elementor-5615 .elementor-element.elementor-element-7a83c48 .learndash-wrapper .ld-course-status.ld-course-status-not-enrolled .ld-course-status-segment.ld-course-status-seg-action .ld-course-status-action input#btn-join {
  background: #d09a40!important;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) .ld-quiz-question-item__status {
  display: none;
}
body .wpProQuiz_content .wpProQuiz_questionList[data-type=multiple] .wpProQuiz_questionListItem input, body .wpProQuiz_content .wpProQuiz_questionList[data-type=multiple] .wpProQuiz_questionListItem:last-child input, body .wpProQuiz_content .wpProQuiz_questionList[data-type=single] .wpProQuiz_questionListItem input, body .wpProQuiz_content .wpProQuiz_questionList[data-type=single] .wpProQuiz_questionListItem:last-child input {margin-right:1em}

.learndash-wrapper .ld-quiz-result-failed .wpProQuiz_questionListItem label:before {
  margin-left: 13px;
  margin-top: -1px;
}

header .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-button {font-size:18px;}
.logged-in .menu-item-6017, .logged-in .menu-item-1032, .logged-in .menu-item-6107, .logged-in .elementor-widget-wpml-language-switcher, .logged-in .hide-logged-in {
  display: none!important;
}

.logged-in .show-logged-in {
  display: flex!important;
}

.show-logged-in {
  display: none!important;
}


/* LearnDash Legacy Certificate Styles */
.text-center {text-align: center;}
body {pointer-events: initial!important;}
.sfwd-certificates body,
body.single-sfwd-certificates,
.learndash-wrapper .sfwd-certificates {
    margin: 0 !important;
    padding: 40px !important;
    font-family: 'Times New Roman', serif !important;
    text-align: center !important;
    color: #333 !important;
}

.sfwd-certificates .certificate-content,
body.single-sfwd-certificates .certificate-content {
    width: 100%;
    position: relative;
}

.sfwd-certificates .course-header,
body.single-sfwd-certificates .course-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.sfwd-certificates .main-title,
body.single-sfwd-certificates .main-title {
    font-size: 32px;
    font-weight: bold;
    margin: 40px 0 30px 0;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.sfwd-certificates .presentation-text,
body.single-sfwd-certificates .presentation-text {
    font-size: 18px;
    margin: 20px 0;
    font-style: italic;
}

.sfwd-certificates .student-name,
body.single-sfwd-certificates .student-name {
    font-size: 28px;
    font-weight: bold;
    margin: 30px 0;
    text-decoration: underline;
    color: #1a1a1a;
}

.sfwd-certificates .completion-text,
body.single-sfwd-certificates .completion-text {
    font-size: 18px;
    margin: 30px 0 20px 0;
    font-style: italic;
}

.sfwd-certificates .course-name,
body.single-sfwd-certificates .course-name {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 60px 0;
}

.sfwd-certificates .signatures,
body.single-sfwd-certificates .signatures {
    display: flex;
    justify-content: space-between;
    padding: 0 80px;
    margin-top: 60px;
}

.sfwd-certificates .signature-line,
body.single-sfwd-certificates .signature-line {
    text-align: center;
    width: 300px;
}

.sfwd-certificates .line,
body.single-sfwd-certificates .line {
    border-bottom: 1px solid #333;
    margin-bottom: 5px;
    height: 20px;
}

.sfwd-certificates .title,
body.single-sfwd-certificates .title {
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
















/* =========================
   MASTER VARIABLES
   ========================= */
:root {
    --primary-color: #007cba;
    --secondary-color: #666;
    --accent-color: #f0f0f0;
    --text-color: #333;
    --border-color: #ddd;
    --border-radius: 4px;
    --button-padding: 12px 24px;
    --input-padding: 10px 15px;
    --font-family: inherit;
    --transition: all 0.3s ease;
}

/* =========================
   UNIVERSAL BUTTONS - HIGH SPECIFICITY
   ========================= */

/* LearnDash Enrollment & Course Buttons */
.ld-course-status-action input[type="submit"],
.ld-course-status-action .btn-join,
.ld-course-status-action #btn-join,
input.btn-join,
input#btn-join,
.learndash-button-free,
.button-primary,
.button-large,
.wp-element-button,
form input[type="submit"].btn-join,
div.ld-course-status-action form input[type="submit"],

/* LearnDash General Buttons */
.learndash input[type="submit"],
.learndash .btn,
.learndash .ld-button,
.learndash-wrapper .ld-button,
.learndash .wpProQuiz_button,
.learndash .learndash_mark_complete_button,
#learndash_mark_complete_button,
#sfwd-mark-complete #learndash_mark_complete_button,
.learndash_checkout_button input[type="submit"],
.learndash_checkout_buttons input.btn-join,
.learndash_join_button .btn-join,
.learndash_join_button #btn-join,
.quiz_continue_link a#quiz_continue_link,
.learndash_course_certificate .btn-blue,
.wpProQuiz_content .wpProQuiz_button,
div.wpProQuiz_quiz .wpProQuiz_button,
.ld_course_grid .thumbnail.course a.btn-primary,
#learndash_next_prev_link a.next-link,
#learndash_next_prev_link a.prev-link,
#learndash_back_to_lesson a,

/* Gravity Forms Buttons */
.gform_wrapper input[type="submit"],
.gform_wrapper .gform_button,
.gform_wrapper .button,
.gform_footer input[type="submit"],
body .gform_wrapper .gform_footer input[type="submit"],

/* Elementor Buttons */
.elementor-button,
.elementor-widget-button .elementor-button,
.elementor-form input[type="submit"],
.elementor-form button[type="submit"],
.elementor-form .elementor-button,

/* WooCommerce Buttons */
.woocommerce input.button,
.woocommerce button.button,
.woocommerce a.button {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    padding: var(--button-padding) !important;
    font-family: var(--font-family) !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    /* display: inline-block !important; */
    cursor: pointer !important;
    transition: var(--transition) !important;
    text-align: center !important;
    line-height: 1.4 !important;
    min-height: auto !important;
    width: auto !important;
    box-sizing: border-box !important;
}

/* Button Hover States - HIGH SPECIFICITY */
.ld-course-status-action input[type="submit"]:hover,
.ld-course-status-action .btn-join:hover,
.ld-course-status-action #btn-join:hover,
input.btn-join:hover,
input#btn-join:hover,
.learndash-button-free:hover,
.button-primary:hover,
.button-large:hover,
.wp-element-button:hover,
form input[type="submit"].btn-join:hover,
div.ld-course-status-action form input[type="submit"]:hover,
.learndash input[type="submit"]:hover,
.learndash .btn:hover,
.learndash .ld-button:hover,
.learndash-wrapper .ld-button:hover,
.learndash .wpProQuiz_button:hover,
.learndash .learndash_mark_complete_button:hover,
#learndash_mark_complete_button:hover,
.learndash_checkout_button input[type="submit"]:hover,
.learndash_checkout_buttons input.btn-join:hover,
.learndash_join_button .btn-join:hover,
.learndash_join_button #btn-join:hover,
.quiz_continue_link a#quiz_continue_link:hover,
.learndash_course_certificate .btn-blue:hover,
.wpProQuiz_content .wpProQuiz_button:hover,
div.wpProQuiz_quiz .wpProQuiz_button:hover,
.ld_course_grid .thumbnail.course a.btn-primary:hover,
#learndash_next_prev_link a.next-link:hover,
#learndash_next_prev_link a.prev-link:hover,
#learndash_back_to_lesson a:hover,
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper .gform_button:hover,
.gform_wrapper .button:hover,
.gform_footer input[type="submit"]:hover,
body .gform_wrapper .gform_footer input[type="submit"]:hover,
.elementor-button:hover,
.elementor-widget-button .elementor-button:hover,
.elementor-form input[type="submit"]:hover,
.elementor-form button[type="submit"]:hover,
.elementor-form .elementor-button:hover,
.woocommerce input.button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* =========================
   UNIVERSAL FORM INPUTS
   ========================= */
/* High Specificity Input Styling */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="date"],
.gform_wrapper textarea,
.gform_wrapper select,
body .gform_wrapper input[type="text"],
body .gform_wrapper input[type="email"],
body .gform_wrapper textarea,
body .gform_wrapper select,
.learndash input[type="text"],
.learndash input[type="email"],
.learndash input[type="password"],
.learndash textarea,
.learndash select,
.wpProQuiz_content input[type="text"],
.wpProQuiz_content textarea,
.elementor-field-group input:not([type="submit"]):not([type="button"]),
.elementor-field-group textarea,
.elementor-field-group select,
.elementor-form input:not([type="submit"]):not([type="button"]),
.elementor-form textarea,
.elementor-form select {
    border: 1px solid var(--border-color) !important;
    border-radius: var(--border-radius) !important;
    padding: var(--input-padding) !important;
    font-family: var(--font-family) !important;
    font-size: 14px !important;
    transition: var(--transition) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    background: white !important;
}

/* Input Focus States */
.gform_wrapper input:not([type="submit"]):not([type="button"]):focus,
.gform_wrapper textarea:focus,
.gform_wrapper select:focus,
body .gform_wrapper input:not([type="submit"]):not([type="button"]):focus,
body .gform_wrapper textarea:focus,
body .gform_wrapper select:focus,
.learndash input:not([type="submit"]):not([type="button"]):focus,
.learndash textarea:focus,
.learndash select:focus,
.wpProQuiz_content input:not([type="submit"]):not([type="button"]):focus,
.wpProQuiz_content textarea:focus,
.elementor-field-group input:not([type="submit"]):not([type="button"]):focus,
.elementor-field-group textarea:focus,
.elementor-field-group select:focus,
.elementor-form input:not([type="submit"]):not([type="button"]):focus,
.elementor-form textarea:focus,
.elementor-form select:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 124, 186, 0.3) !important;
}

/* =========================
   LEARNDASH SPECIFIC OVERRIDES
   ========================= */
/* Course Navigation */
.ld-focus .ld-focus-sidebar .ld-course-navigation .ld-lesson-item {
    border-bottom: 1px solid var(--border-color) !important;
}

/* Progress Bars */
.learndash .ld-progress,
.ld-progress-bar .ld-progress-bar-percentage,
.learndash-wrapper .ld-progress-bar,
.learndash-wrapper .ld-progress-bar .ld-progress-bar-percentage {
    background-color: var(--primary-color) !important;
    border-radius: var(--border-radius) !important;
}

/* Quiz Styles */
.wpProQuiz_content,
.learndash .wpProQuiz_content,
.wpProQuiz_quiz {
    font-family: var(--font-family) !important;
}

/* Course Grid Ribbons */
.ld_course_grid .thumbnail .ld_course_grid_price.ribbon-enrolled,
.ld_course_grid .ld_course_grid_price {
    background-color: var(--accent-color) !important;
    color: var(--text-color) !important;
}

/* =========================
   GRAVITY FORMS SPECIFIC OVERRIDES
   ========================= */
/* Form Container */
.gform_wrapper {
    font-family: var(--font-family) !important;
}

/* Field Labels */
.gform_wrapper .gfield_label,
body .gform_wrapper .gfield_label {
    font-weight: 600 !important;
    color: var(--text-color) !important;
    margin-bottom: 5px !important;
}

/* Required Field Indicator */
.gform_wrapper .gfield_required,
body .gform_wrapper .gfield_required {
    color: #e74c3c !important;
}

/* Validation Errors */
.gform_wrapper .validation_error,
.gform_wrapper .gfield_validation_message,
body .gform_wrapper .validation_error,
body .gform_wrapper .gfield_validation_message {
    color: #e74c3c !important;
    font-size: 12px !important;
}

/* =========================
   ELEMENTOR SPECIFIC OVERRIDES
   ========================= */
/* Form Widgets */
.elementor-widget-form .elementor-field-group,
.elementor-form .elementor-field-group {
    margin-bottom: 15px !important;
}

.elementor-widget-form .elementor-field-label,
.elementor-form .elementor-field-label {
    font-weight: 600 !important;
    color: var(--text-color) !important;
    margin-bottom: 5px !important;
}

/* Elementor Form Messages */
.elementor-form .elementor-message {
    font-family: var(--font-family) !important;
    border-radius: var(--border-radius) !important;
}

/* =========================
   FORCE OVERRIDES FOR PROBLEMATIC ELEMENTS
   ========================= */
/* Nuclear option for LearnDash enrollment buttons */
input[class*="btn-join"],
input[id*="btn-join"],
[class*="learndash-button"],
[class*="button-primary"],
[class*="button-large"] {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
    padding: var(--button-padding) !important;
    font-weight: 600 !important;
}

/* =========================
   RESPONSIVE UTILITIES
   ========================= */
@media (max-width: 768px) {
    :root {
        --button-padding: 10px 20px;
        --input-padding: 8px 12px;
    }
}

/* =========================
   UTILITY CLASSES
   ========================= */
.btn-secondary {
    background-color: var(--secondary-color) !important;
}

.btn-accent {
    background-color: var(--accent-color) !important;
    color: var(--text-color) !important;
}

.btn-outline {
    background-color: transparent !important;
    border: 2px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
}

.btn-outline:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
}



/****    spanish things    ****/

.ld_course_category-spanish .ld-expand-button .ld-text {font-size: 0; }
.ld_course_category-spanish .ld-section-heading .ld-expand-button .ld-text:before {content: 'Expandir todo'; }
.ld_course_category-spanish .ld-expand-button .ld-text:before {content: 'Expandir'; font-size: 12px; margin-left: 12px; display: inline-block; vertical-align: top; }