/*
Theme Name: BeatMove Child
Theme URI: https://beatmove.qodeinteractive.com
Description: A child theme of BeatMove
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: beatmove
Template: beatmove
*/

body{
    font-family: Sora, sans-serif;
}

body .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-button{
    background-color: #000 !important;
    color: white;
}

.elementor-widget-ld-course-infobar .ld-breadcrumbs{
    display: none !important;
}

.learndash_mark_complete_button{
    background-color: #000000 !important;
    color: white !important;
    padding: 15px 30px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    width: auto !important;
    cursor: pointer !important;
    margin-bottom: 10px !important;
    font-family: sans-serif !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    text-align: center !important;
    line-height: normal !important;
    display: block !important;
}
.learndash_mark_complete_button:hover{
    background-color: #D1492E !important;
}

.sfwd-mark-complete:after{
    display: none !important;
}

.learndash-wrapper .ld-progress .ld-progress-bar .ld-progress-bar-percentage{
    background: #000 !important;
}

.learndash-wrapper .ld-progress .ld-progress-heading .ld-progress-stats .ld-progress-percentage{
    color:#000 !important;;
}

.learndash-wrapper .ld-status-complete{
    background-color: #000 !important;;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-button{
    border-radius: 10px !important;
}

#cat-corso .ldcs-course-category{
    border: 2px solid #CD4F27;
    border-radius: 10px;
    padding: 10px 20px;
}

.qodef-svg--menu-arrow{
    display: none;
}

.custommenu .sub-menu{
    padding: 10px 0;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-button.ld-button-reverse{
    background-color: #fff !important;
}

.learndash-virtual-instructor .ld-virtual-instructor-chatbox__header{
    background-color:#CD4F27;
    border:1px solid #CD4F27
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output{
    border-color: #CD4F27 !important;
}

.wpcf7 .qodef-contact-form-subscribe .qodef-submit-holder button{
    margin: 0 0 0px 180px !important;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions .ld-content-action{
    flex-basis: 280px !important;
    text-align: center;
}

.ld-button .ld-text{
    border: none !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    width: auto !important;
    cursor: pointer !important;
    font-family: sans-serif !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    text-align: center !important;
    line-height: normal !important;
    display: block !important;
}

.learndash-wrapper .ld-alert-warning{
    background-color: #c9d900 !important;
    border-color: #c9d900 !important;
}

.learndash-wrapper .ld-alert-warning .ld-alert-icon{
    background-color: #c9d900 !important;
}

#ld-profile .ld-course-list{
    margin: 130px 130px;
}

.elementor-nav-menu .sub-menu{
    padding: 10px 20px !important;
}

.ld-course-step-back{
    font-weight: 500;
    text-transform: uppercase;
}

.wppb-default-username{
    display:none;
}

/* CSS con scope limitato alla classe custom */
.elementor-widget-text-editor.testoconelenco {
    padding: 0;
}

/* Contenitore per la lista con icona */
.testoconelenco .list-container {
    margin: 15px 0;
    padding-left: 20px;
}

/* Ogni elemento della lista */
.testoconelenco .list-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    display: block;
}

/* Posizionamento icona FontAwesome */
.testoconelenco .list-item i.fa-chevron-right {
    position: absolute;
    left: -5px;
    top: 4px;
    font-size: 14px;
}

.custom-login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
}

.custom-login-form .form-group {
    margin-bottom: 20px;
}

.custom-login-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.custom-login-form input[type="email"],
.custom-login-form input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.custom-login-form .login-submit {
    width: 100%;
    padding: 12px;
    background-color: #2271b1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.custom-login-form .login-submit:hover {
    background-color: #135e96;
}

.custom-login-form .login-error {
    color: #dc3232;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #dc3232;
    border-radius: 4px;
}

.custom-login-form .login-links {
    margin-top: 20px;
    text-align: center;
}

.custom-login-form .login-links a {
    display: block;
    margin: 10px 0;
    color: #2271b1;
    text-decoration: none;
}

.qodef-accordion-content-inner p{
    font-weight: 500;
}

.elementor-sub-item{
    font-weight: 600;
}

.sub-menu .current_page_item{
    text-decoration: underline;
    text-decoration-color: white;
    background-color: transparent;
}

.sub-menu .current_page_item .elementor-item-active{
    background-color: transparent !important;
}

#reg_passmail {
    margin: 15px 0;
    font-size: 0.9em;
    color: #fff;
}

.required-field::after {
    content: "*";
    color: white;
    margin-left: 4px;
}

.registration-error-message {
    font-weight: 500;
    text-shadow: 0 0 2px rgba(0,0,0,0.3);
}

.elementor-widget-loop-carousel.elementor-pagination-position-outside>.elementor-widget-container>.swiper, .elementor-widget-loop-carousel.elementor-pagination-position-outside>.elementor-widget-container>.swiper-container{
    padding-bottom: 0 !important;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions .ld-content-action .ld-course-step-back{
    width: 100% !important;
    text-align: center !important;
}

#qodef-back-to-top{
    bottom: 85px !important;
}

.learndash-wrapper .ld-alert-warning .ld-alert-icon{
    background-color: #CD4F27 !important;
}

.learndash-wrapper .ld-alert-warning{
    background-color: #CD4F27 !important;
    border-color: #CD4F27 !important;
}

.ld-alert-messages{
    color:white !important;
}

.single-sfwd-lessons .thelofjournal,
.single-sfwd-lessons .newsletter{
    display: none;
}

.ld-icon.ld-icon-quiz{
    color: #cfdd00 !important;
}

.wppb-success {
    box-sizing: border-box !important;
    background: #cfdd00 !important;
    border: 1px solid #cfdd00 !important;
}

@media (max-width: 768px) {
    .wpcf7 .qodef-contact-form-subscribe .qodef-submit-holder button{
        margin: 20px 0px 0px 180px !important;
    }

    #ld-profile .ld-course-list{
        margin: 30px 20px;
    }

    .custommenu.elementor-widget:not(:last-child){
        margin-block-end: 0px !important;
        margin-bottom: 0px !important;
    }
    .qodef-svg--menu-arrow{
        display: block;
    }

    .qodef-m-content-inner{
        font-size: 34px;
    }

    .titlelof span.qodef--line span{
        margin-left: 0px !important;
    }

    .buttoncorsi .qodef-m-text {
        font-size: 17px;
    }

    .nopulsante{
        display: none !important;
    }

    .pulsantecentrato{
        margin: 0 110px !important;
    }

    .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions .ld-content-action .ld-course-step-back{
        padding: 0px 0px 0px 0px !important;
        width: 100% !important;
        word-wrap: break-word;
    }

    .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions div:nth-child(2){
        order:2 !important;
    }

    .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions div:first-child, .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions div:nth-child(3){
        order:2 !important;
    }

    .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions .ld-content-action{
        flex-basis: 80px !important;
    }

   .elementor-location-footer .qodef-custom-font{
        font-size: 36px !important;
        font-weight: 400 !important;
    }

   .docentiscritta p {
       font-size: 75px !important;
       font-weight: 400 !important;
   }

   .formazionescritta p {
       font-size: 45px !important;
       font-weight: 400 !important;
   }

   .knowhowscritta p{
       font-size: 55px !important;
       font-weight: 400 !important;
   }

   .elementor-nav-menu{
       margin: 1.8em 0 1.8em !important;
   }
}

/* Fix specifico per il pulsante Completato su Safari mobile */
.ld-content-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.completato-button {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

#respond .logged-in-as{
    display:none;
}

.custom-quiz-actions{
    align-items: center;
    border-top: 2px solid #f0f3f6;
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    margin: 20px 0;
    padding-top: 30px;
}


.learndash-wrapper .wpProQuiz_content .wpProQuiz_button{
    background-color: #019e7c !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button{
    background: #495255 !important;;
}

/* Fix specifico per Safari */
@supports (-webkit-touch-callout: none) {
    .completato-button {
        display: block !important;
        width: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
        -webkit-backface-visibility: hidden !important;
        backface-visibility: hidden !important;
    }

    .ld-content-action {
        overflow: visible !important;
        margin: 10px 0 !important;
    }
}

/* Fix mobile generale */
@media (max-width: 768px) {
    .completato-button {
        font-size: 14px !important;
        padding: 12px 25px !important;
        width: 100% !important;
        min-width: 180px !important;
        display:block !important;
    }
    .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions .ld-content-action .ld-course-step-back{
        order: 2 !important;
    }

    .learndash-wrapper:not(.ld-registration__outer-wrapper) .ld-content-actions .ld-content-action{
        display: block !important;
    }

    .learndash-wrapper .ld-quiz-actions,
    .learndash-wrapper .custom-quiz-actions {
        display: block !important;
    }
}

.hidden-button {
    display: none !important;
}

.quiz_continue_link{
    display:none !important;
}