/* 
Theme Name: WPR Hello Elementor Child
Description: Hello Elementor Child for WPR
Author: 48k/wpr
Template: hello-elementor
Version: 1.0.0
*/

/* force page body min height */

div[data-elementor-type="archive"],
div[data-elementor-type="wp-page"] {
    min-height: 60vh;
}
 
/* hide profile link when logged out */
body:not(.logged-in) .wpr-nav-profile.menu-item {
    display: none!important;
}
body.logged-in .wpr-nav-register {
    display: none!important;
}

/* nav menu underline */
.elementor .elementor-nav-menu--main a.elementor-item {
    transition: none!important;
}
.elementor .elementor-nav-menu--main a.elementor-item:hover,
.elementor .elementor-nav-menu--main .current-menu-item > a.elementor-item,
.elementor .elementor-nav-menu--main .current_page_parent > a.elementor-item {
    text-decoration: underline!important;
    text-decoration-color: #69ff87!important;
    text-decoration-thickness: 2px!important;
    text-underline-position: under!important;
}

/* Modal text styles */

.ld-modal-heading {
    font-family: gobold, sans-serif!important;
    text-transform: uppercase!important;
}

.ld-modal-text {
    font-family: poppins, sans-serif!important;
    font-size: 1rem!important;
    line-height: 1.5em!important;
}

.learndash-wrapper .ld-login-modal .ld-login-modal-form label {
    font-family: poppins, sans-serif!important;
    font-size: 1rem!important;
    line-height: 1.5em!important;
    font-weight: 500!important;
}

.learndash-wrapper .ld-login-modal .ld-login-modal-form .login-remember label {
    font-weight: 400!important;
}

.ld-login-modal-branding img {
    max-width: 200px!important;
}

/* learndash course statuts */

.learndash-wrapper .ld-course-status .ld-course-status-seg-price {
    display: none!important;
}

.learndash-wrapper .ld-course-status .ld-course-status-seg-action .btn-join,
.learndash-wrapper .ld-course-status .ld-course-status-seg-action .ld-button {
    font-size: 1.25rem!important;
    font-weight: 600!important;
    border-radius: 2px!important;
    padding: 0.5em 1em!important;
}

.learndash-wrapper .ld-course-status .ld-progress-stats {
    line-height: 1.3rem;
}

/** Registration form, forgot password form **/

#learndash-registration-wrapper {
    font-family: poppins, sans-serif!important;
    font-size: 1rem!important;
    max-width: 600px;
    margin: 0!important;
}

#learndash-registration-wrapper #learndash_registerform label,
.learndash-wrapper #learndash-reset-password-wrapper form label {
    display: block;    
    font-weight: 600;
    margin-bottom: 5px;
}

.learndash-wrapper #learndash-registration-wrapper form input, 
.learndash-wrapper #learndash-reset-password-wrapper form input {
    margin-bottom: 10px;
    display: block;
    float: none;
    font-size: 16px;
    font-family: inherit;
    border: 1px solid #ccc;
    border-radius: 0!important;
    padding: 6px 10px;
    height: 38px;
    width: 100%;
    line-height: 1.3;
}

.learndash-wrapper #learndash-registration-wrapper #wp-submit,
.learndash-wrapper #learndash-reset-password-wrapper input[type="submit"] {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    font-style: normal;
    text-decoration: none;
    line-height: 1em;
    color: #1B252F;
    background-color: #F8F812;
    border-style: none;
    border-radius: 0px;
    padding: 20px 55px 20px 55px;
    height: auto;
    width: auto;
}

.learndash-wrapper #learndash-registration-wrapper #wp-submit:hover,
.learndash-wrapper #learndash-reset-password-wrapper input[type="submit"]:hover {
    background-color: #1B252F;
    color: #ffffff;
}

/****** Fix course list ***********/
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-status-icon {
    margin-top: 0;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-course-title {
    line-height: 1.6rem;
}

/******** course grid ************/
.ld_course_grid .ribbon {
    display: none!important;
}

.ld_course_grid .entry-content {
    min-height: 180px;
}

.ld-focus-content h1 {
    font-family: gobold, sans-serif;
}

.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded .ld-progress {
    margin-bottom: 0px;
}




/* Course Archive Course Grid Description Text */
.elementor-60 .elementor-element.elementor-element-38bbd98b p  {
    font-family: poppins, sans-serif; 
    line-height: 1.5em;
}

/* Focus mode side bar heading */
.learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading h3 a {
	text-transform: capitalize;
}
