/* BEGIN : general css */

*:not(i){
    font-family: "IBM Plex Mono", Sans-serif !important;
}

/* END : general css */

/* BEGIN : login and sign up button logic */
/** not logged in **/
body .show-when-logged-in.display-inline-block {
    visibility: hidden;
    display: none;
}

body .hide-when-logged-in {

    visibility: visible;
    display: inline-block;
}

/** logged in **/
body.logged-in .show-when-logged-in.display-inline-block {
    visibility: visible;
    display: inline-block;
}

body.logged-in .hide-when-logged-in.display-inline-block {
    visibility: hidden;
    display: inline-block;
}

/* login and sign up button logic : pseudo selector */
/** not logged in **/
body header#site-header ul li:has(a[href*="profile"]),
body header#site-header ul li:has(a[href*="logout"]) {
    visibility: hidden;
    display: none;
}

body header#site-header ul li:has(a[href*="login"]),
body header#site-header ul li:has(a[href*="signup"]),
body header#site-header ul li:has(a[href*="registration"]) {
    visibility: visible;
    display: flex;
}

/** logged in **/
body.logged-in header#site-header ul li:has(a[href*="profile"]),
body.logged-in header#site-header ul li:has(a[href*="logout"]) {
    visibility: visible;
    display: flex;
}

body.logged-in header#site-header ul li:has(a[href*="login"]),
body.logged-in header#site-header ul li:has(a[href*="signup"]),
body.logged-in header#site-header ul li:has(a[href*="registration"]) {
    visibility: hidden;
    display: none;
}

/* END : login and sign up button logic */


/* BEGIN : CSS PLUGINS */
.button-min-width-210px a {
    min-width: 210px;
}

.display-block {}

.display-inline-block {}

.display-inline {}



/* END : CSS PLUGINS */




/* BEGIN : RESPONSIVE CSS */

/* Tablet styles (768px to 1024px) */
@media screen and (max-width: 1024px) {
    header#site-header .site-navigation-dropdown ul li {
        text-align: center;
    }

    /* login and sign up button logic : pseudo selector */
    /** not logged in **/
    body header#site-header ul li:has(a[href*="profile"]),
    body.header#site-header ul li:has(a[href*="logout"]) {
        visibility: hidden;
        display: none;
    }

    body header#site-header ul li:has(a[href*="login"]),
    body header#site-header ul li:has(a[href*="signup"]),
    body header#site-header ul li:has(a[href*="registration"]) {
        visibility: visible;
        display: block;
    }

    /** logged in **/
    body.logged-in header#site-header ul li:has(a[href*="profile"]),
    body.logged-in header#site-header ul li:has(a[href*="logout"]) {
        visibility: visible;
        display: block;
    }

    body.logged-in header#site-header ul li:has(a[href*="login"]),
    body.logged-in header#site-header ul li:has(a[href*="signup"]),
    body.logged-in header#site-header ul li:has(a[href*="registration"]) {
        visibility: hidden;
        display: none;
    }

    /* END : login and sign up button logic */
}

/* Mobile styles (up to 767px) */
@media screen and (max-width: 767px) {}

/* END : RESPONSIVE CSS */




/* BEGIN : page-login : login-form css */

body.page-login .page-content>div>div {
    min-height: 75vh;
}

/* Close Button */
body.page-login .ld-modal-closer {
    display: none;
}

/* Login Section */
body.page-login .ld-login-modal-login {
    display: block;
    padding: 10px;
}

body.page-login .ld-login-modal-login .ld-modal-heading {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-login .ld-login-modal-form label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-login .ld-login-modal-form input[type="text"],
body.page-login .ld-login-modal-form input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-login .ld-login-modal-form input[type="text"]:active,
body.page-login .ld-login-modal-form input[type="text"]:focus,
body.page-login .ld-login-modal-form input[type="password"]:active,
body.page-login .ld-login-modal-form input[type="password"]:focus {}

body.page-login .ld-login-modal-form .login-remember {
    text-align: center;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-login .ld-login-modal-form input[type="checkbox"] {
    margin-right: 10px;
}

body.page-login .ld-login-modal-form .login-submit {
    text-align: center;
}

body.page-login .ld-login-modal-form .button {
    background-color: var(--e-global-color-89538cb);
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-login .ld-login-modal-form .button:hover {
    background-color: var(--e-global-color-9528530);
}

body.page-login .ld-forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #e5bd1f;
    text-decoration: none;
    font-family: "IBM Plex Mono", Sans-serif;
    font-weight: bold;
}

body.page-login .ld-forgot-password-link:hover {
    text-decoration: underline;
}



/* Register Section */
body.page-login .ld-login-modal-register {
    display: block;
    padding: 10px;
}

body.page-login .ld-login-modal-register .ld-modal-heading {
    display: none;
}

body.page-login .ld-login-modal-register .ld-modal-text {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #333;
    text-decoration: none;
    font-family: "IBM Plex Mono", Sans-serif;
    margin-bottom: 15px;
}

body.page-login .ld-login-modal-register a.ld-button {
    display: block;
    text-align: center;
    color: #e5bd1f;
    text-decoration: none;
    font-family: "IBM Plex Mono", Sans-serif;
    font-weight: bold;
    margin-bottom: 35px;
}

body.page-login .ld-login-modal-register a.ld-button:hover {
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    body.page-login .page-content>div>div {
        min-height: 70vh;
    }
}


/* END : page-login : login-form css */


/* BEGIN : page-registration : registration-form css */

body.page-registration .ld-registration__form {}

body.page-registration .ld-registration__form {}

body.page-registration .ld-registration__form .ld-registration__register h2 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-registration label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-registration .ld-registration__form .ld-registration__register .ld-registration__p {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #333;
    text-decoration: none;
    font-family: "IBM Plex Mono", Sans-serif;
    margin-bottom: 15px;
    ;
}

body.page-registration .ld-registration__form .ld-registration__register .ld-registration__p a {
    color: #e5bd1f;
    font-weight: bold;
}

body.page-registration .ld-registration__form .ld-registration__register .ld-registration__p a:hover {
    text-decoration: underline;
}

body.page-registration .ld-registration__register-submit-wrapper {
    text-align: right;
}


body.page-registration .ld-registration__register-submit-wrapper #wp-submit-register {
    background-color: var(--e-global-color-89538cb);
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-registration .ld-registration__register-submit-wrapper #wp-submit-register:hover {
    background-color: var(--e-global-color-9528530);
}

body.page-registration p>input {
    color: var(--ld-color-field-text);
    line-height: 2rem;
}

body.page-registration p>input:active,
body.page-registration p>input:focus,
body.page-registration .ld-form .ld-form__field:active,
body.page-registration .ld-form .ld-form__field:focus {
    border-color: var(--e-global-color-89538cb) !important;
    box-shadow: inset 0 0 0 2px var(--e-global-color-89538cb) !important;
    outline: 0 !important;
}

body.page-registration .ld-form__field--error+.ld-form__field-error-message {
    display: block !important;
    color: red;
    font-size: 14px;

}

.ld-form__field-wrapper+.ld-form__field-error-message {
    display: none !important;
}

/* Hide the error message by default */
body.page-registration .ld-form__field-error-message {
    display: none !important;
    margin-top: 10px;
}

@media screen and (max-width: 767px) {
    body.page-registration .ld-registration__form {
        max-width: calc(100% - 20px);
    }
}

/* END : page-registration : registration-form css */





/* BEGIN : forgot password css */

body.page-reset-password {}

body.page-reset-password .ld-registration__heading {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-reset-password label {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-reset-password .ld-form__field-wrapper input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: "IBM Plex Mono", Sans-serif;
    max-width: 100%;
    width: 400px;
}

body.page-reset-password .ld-form__field-wrapper input:active,
body.page-reset-password .ld-form__field-wrapper input:focus {
    border-color: var(--e-global-color-89538cb) !important;
    box-shadow: inset 0 0 0 2px var(--e-global-color-89538cb) !important;
    outline: 0 !important;
}

body.page-reset-password .ld-registration__forgot-password-form {
    text-align: center;
    max-width: 400px;
}

body.page-reset-password .ld-registration__forgot-password-form label {
    text-align: left;
}

body.page-reset-password .ld-registration__forgot-password-form .button {
    background-color: var(--e-global-color-89538cb);
    color: #333;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-family: "IBM Plex Mono", Sans-serif;
}

body.page-login .ld-registration__forgot-password-form .button:hover {
    background-color: var(--e-global-color-9528530);
}

@media screen and (max-width: 767px) {
    body.page-reset-password .ld-registration__forgot-password-form {
        max-width: calc(100% - 20px);
    }
}

/* END : forgot password css */


.ld-item-list-item-preview .ld-course-title {
    line-height: 34px !important;
}

.ld-item-list-item-preview .ld-item-name {
    position: relative;
}

.take-the-quiz-button {
    display: block;
    padding: 7px 14px;
    background-color: #00a2e8;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 13px;
    font-family: "IBM Plex Mono", Sans-serif;

    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    transition: background-color 0.3s ease-in-out;
}

.take-the-quiz-button-mobile {
    display: none;
}

.ld-item-list-item-preview .ld-item-name .take-the-quiz-button:hover {
    background-color: #0073aa;
    transition: all 0.2s ease-in-out;
}

@media screen and (max-width: 640px) {

    .ld-item-list-item-preview {
        align-items: center !important;
        flex-direction: row !important;
        position: relative;
        padding-bottom: 70px !important;
    }

    .learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-preview .ld-item-details {
        margin-left: 0 !important;
    }

    .take-the-quiz-button {
        display: none;
    }

    .take-the-quiz-button-mobile {
        display: block;
        top: auto;
        bottom: 15px;
        right: 0;
        left: 0;
        max-width: 150px;
        margin: auto;
    }

    .ld-progress{
        margin-bottom: 0px !important;
    }
}


@media screen and (max-width: 1px) {}