/*
Theme Name: USGA Astra Child
Theme URI: https://learning-templates.com
Template: astra
Author: Dennis Hall
Author URI: https://learning-templates.com
Description: This child theme was built to carry the templates required to customize the LeanrDash LMS plugin custom post template modifications. You can add any other modifications to this child theme if you wish by editing the included style.css, functions.php and js/script.js files. All LearnDash template files bor both LD30 and Legacy themes are located in the learndash folder.
Version: 1.1.0
Updated: 2021-08-10 00:00:01
*/

a.ld-profile-edit-link {
    display: none !important;
}

.hide-field {
    display: none;
}

.wpProQuiz_content .wpProQuiz_addToplistMessage {
    border: 1px solid #a0a0a0;
    background-color: #fcffb3;
    margin-bottom: 5px;
    border-radius: 5px;
    padding: 5px;
    font-weight: 700;
    color: #696969;
    min-width: fit-content;
    white-space: nowrap;
    top: -7px;
}

.quiz_continue_link.quiz-continue-custom {
    float: right;
}

.wpProQuiz_addBox .wpProQuiz_button2 {
    float: right !important;
    top: -46px !important;
}

.course-message {
    font-family: 'NationalWeb-Medium';
}

/* LD Profile changes */
.ld-profile-stat-certificates,
.ld-profile-stat-points {
    display: none;
}

.ld-profile-stat-completed {
    border-right: 0 !important;
}

/*.wpProQuiz_addToplist div {
    width: auto !important;
}*/

/* Course featured image */
.wp-post-image {
    width: 100%;
    height: 300px;
}

.sfwd-courses-template-default .h-section-global-spacing {
    padding-top: 60px;
}

.sfwd-courses-template-default .colibri-post-content table thead th {
    text-align: center;
}

/* Fix Vimeo video size */
.learndash-wrapper .wp-block-embed-vimeo.wp-embed-aspect-16-9.wp-has-aspect-ratio {
    width: 100%;
}

/* Fix course catalog page */
.page-id-4404 div#content {
    margin-top: 70px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* LearnDash Course Grid */
.ld-course-list-items .ld_course_grid .thumbnail.course {
    border-radius: 8px;
}

img.attachment-course-thumb.size-course-thumb.wp-post-image {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

body .ld-course-list-items .ld_course_grid .thumbnail.course,
body .ld-course-list-items .ld_course_grid .thumbnail .caption {
    display: flex;
    flex-direction: column;
    height: 100%;
}

div#ld-course-list-content-51a0d6b4971f0b951ef9afd5315977c5 {
    width: 60vw;
    margin-left: auto;
    margin-right: auto;
}

/* LearnDash Profile changes */
.ld-table-list-column.ld-column-certificate {
    display: none;
}

.ld-table-list-column.ld-table-list-column-certificate {
    display: none;
}

.ld-table-list-title {
    min-width: 40vw;
}

/* Lesson Navigation */
.learndash-wrapper .ld-content-actions .ld-content-action {
    margin-left: 10%;
}

/** Statistics modal **/
.wpProQuiz_modal_window .wp-list-table.widefat thead th:nth-child(3),
.wpProQuiz_modal_window .wp-list-table.widefat thead th:nth-child(6),
.wpProQuiz_modal_window .wp-list-table.widefat thead th:nth-child(7),
.wpProQuiz_modal_window .wp-list-table.widefat thead th:nth-child(9) {
    display: none;
}

.wpProQuiz_modal_window .wp-list-table.widefat tbody tr:not(.categoryTr) th:nth-child(3),
.wpProQuiz_modal_window .wp-list-table.widefat tbody tr:not(.categoryTr) th:nth-child(6),
.wpProQuiz_modal_window .wp-list-table.widefat tbody tr:not(.categoryTr) th:nth-child(7),
.wpProQuiz_modal_window .wp-list-table.widefat tbody tr:not(.categoryTr) th:nth-child(9) {
    display: none;
}

.wpProQuiz_modal_window .wp-list-table.widefat tbody tr#wpProQuiz_ctr_222 th:nth-child(2),
.wpProQuiz_modal_window .wp-list-table.widefat tbody tr#wpProQuiz_ctr_222 th:nth-child(5),
.wpProQuiz_modal_window .wp-list-table.widefat tbody tr#wpProQuiz_ctr_222 th:nth-child(6),
.wpProQuiz_modal_window .wp-list-table.widefat tbody tr#wpProQuiz_ctr_222 th:nth-child(8) {
    display: none;
}

.wpProQuiz_modal_window .wp-list-table.widefat tfoot th:nth-child(3),
.wpProQuiz_modal_window .wp-list-table.widefat tfoot th:nth-child(6),
.wpProQuiz_modal_window .wp-list-table.widefat tfoot th:nth-child(7),
.wpProQuiz_modal_window .wp-list-table.widefat tfoot th:nth-child(9) {
    display: none;
}

#wpProQuiz_user_content .ld-icon-checkmark:before,
.ld-icon-complete:before,
#wpProQuiz_user_content .ld-icon-delete:before,
.ld-icon-remove:before {
    font-size: 2em;
}

.wpProQuiz_modal_window .wp-list-table.widefat tbody tr:not(.categoryTr) th:nth-child(8) {
    font-size: 1.5em !important;
}

/** End Statistics modal **/

/* Mobile */
@media only screen and (max-width: 900px) {
    .wp-post-image {
        width: 100%;
        height: unset;
    }

    .ld-focus-content {
        text-align: left;
    }

    .ld-focus-content h1 {
        text-align: center;
    }

    .learndash-wrapper #ld-profile .ld-item-list .ld-section-heading h3 {
        width: 100vw;
        text-align: center;
    }

    .learndash-wrapper #ld-profile .ld-section-heading .ld-item-list-actions {
        max-width: 60vw;
        margin-left: auto;
        margin-right: auto;
    }

    .learndash-wrapper .wpProQuiz_content .wpProQuiz_startOnlyRegisteredUser {
        padding-left: unset;
        padding-right: unset;
    }

    .learndash-wrapper .ld-content-actions .ld-content-action {
        margin-left: unset;
    }

    .learndash-wrapper .wpProQuiz_content a#quiz_continue_link {
        /*width: 250px !important;
        position: relative;
        top: 85px;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: unset;*/
    }

    .learndash-wrapper .wpProQuiz_content .wpProQuiz_addToplist {
        /*height: 75px !important;
        line-height: 1.5em !important;*/
    }

    .learndash-wrapper .wpProQuiz_content .wpProQuiz_button,
    .learndash-wrapper .wpProQuiz_content .wpProQuiz_button2 {
        /*min-width: 250px !important;*/
    }

    .quiz_continue_link.quiz-continue-custom {
        /* float: unset;*/
    }

    .ld-profile-avatar {
        top: 0;
        width: 49px !important;
    }

}

/*Events List Padding*/
.em-search-wrapper,
.css-events-list {
    padding-left: 10px;
    padding-right: 10px;
}

/*My Account Padding*/
.woocommerce-MyAccount-content {
    padding-right: 50px;
    padding-left: 50px;
}

#my-account-menu-tab {
    padding-top: 30px;
    margin-left: 50px;
    margin-right: 50px;
}

/*LearnDash Profile Navigation Bar Settings*/

/*Change Hello 'User Name' font size*/
.ld-text.ld-user-welcome-text {
    font-size: 1rem !important;
    position: relative;
    right: 1.2rem;
    font-weight: 700;
}

/*Fixes Events Page search button from being too large on safari*/
.em-search-submit.loading {
    height: 35px !important;
    width: 35px !important;
    top: 182px !important;
}

@media screen and (min-width: 1024px) and (max-width: 1920px) {
    .em-search-submit.loading {
        top: 173px !important
    }
}

/*User Avatar Styling*/
.ld-profile-avatar {
    width: 55px !important;
    height: 66px !important;
    position: relative;
    top: 6px !important;
    right: 33px !important;
    overflow: inherit !important;
}

/* My Subscription */
.go-to-vrs-btn {
    background-color: #61ce70 !important;
    border-radius: 15px !important;
}

.go-to-vrs-btn:hover {
    background-color: #3a3a3a !important;
}

/* Event : Workshops and Exams */
.event-title-section>div {
    justify-content: center;
    max-width: none !important;
}

.event-title-txt-container {
    width: auto !important;
}

.event-title-btn-container {
    padding: 20px 0;
    position: absolute !important;
    right: 30px;
    width: fit-content !important;
}

.event-title-btn-container a {
    border-radius: 15px;
    font-weight: 600 !important;
}

.event-title-btn-container a:hover {
    background-color: black;
}

@media screen and (max-width: 1200px) {
    .event-title-section>div {
        flex-wrap: wrap;
    }

    .event-title-btn-container {
        padding: 0;
        position: relative !important;
        right: 0;
        width: 100% !important;
    }
}

/* My Account -> Tab Tables */
.my_account_subscriptions,
.my-orders-tab-content table,
.woocommerce-MyAccount-content #dbem-bookings-table {
    font-size: 16px !important;
}


#tab-2 .ldgr-group-report-box{
    display: flex !important;
    flex-direction: column !important;
    height: 120px !important;
    width: 291px !important;
    background-color: white !important;
}

#tab-2 .ldgr-group-report-row{
    display: flex !important;
    flex-direction: row !important;
    height: 40px !important;
    justify-content: center !important;
    align-items: center !important;
}

#tab-2 .ldgr-group-report-row-stats{
    display: flex !important;
    flex-direction: row !important;
    height: 40px !important;
    align-items: right !important;
}

#tab-2 .ldgr-group-report-item{
    width: 120px !important;
    height: 7px !important;
    margin-left: 20px !important;
    border-radius: 15px !important;
    background-color: #E0E0E0 !important;
}

#tab-2 .ldgr-course-progress-bar{
    height: 7px !important;
    border-radius: 15px !important;
}
#tab-2 .course-progress{
    vertical-align: middle !important;
}
#tab-2 .course-progress > span {
    display: flex !important;
    align-items: center !important;
}

#tab-2 .course-progress > span .ldgr-course-lesson-progress {
    margin-left: 26px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 45px !important;
}

.ldgr-btn.ldgr-bg-color {
    width: fit-content !important;
    margin-left: 10px !important;
    margin-top: 10px !important;
}

.ld-add-group-seats {
    padding: 0 !important;
}

.ld-add-group-seats a {
    display: block;
    height: 50px;
    width: 160px;
    padding-top: 15px;
    text-align: center;
}

/* /events page filter styling for desktop, tablet, and widescreen devices*/

/* Style reset for input/select fields */
.em-search-legacy div {
    display: block;
}

.em-events-search-form.em-search-form {
    flex-direction: column;
    justify-content: space-between;
}


.em-search-text.em-search-field.input input {
    width: 250px;
}

.em-search-advanced {
    display: flex !important;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}

/* Filter form container */
.em-events-search.em-search.em-search-legacy.has-search-term.has-search-main.has-advanced.advanced-visible {
    padding-bottom: 30px;
}

/* Dates, State, Country Input Fields*/
input.em-date-input.em-search-scope.form-control.input,
input.em-date-input.em-search-scope.form-control.input.active,
.selectize-control.em-search-state.em-selectize.single,
.em-search-town.em-search-field {
    width: 250px !important;
}

.selectize-control.single .selectize-input::after {
    display: inline-flex !important;
    content: '';
    position: absolute;
    border: 0 !important;
    background-image: url("https://cdn-icons-png.flaticon.com/512/2985/2985150.png");
    background-size: 16px 16px;
    height: 16px;
    width: 16px;
    margin-top: calc(16px/2 * -1);
    right: 8px;
    top: 50%;
}

.selectize-input.items.full.has-options.has-items.focus.input-active.dropdown-active::after {
    margin-top: -8px;
    transform: rotate(180deg);
}

.em .selectize-control.em-selectize:not(.always-open) .selectize-input::after,
.em .selectize-control.em-selectize-autocomplete:not(.always-open) .selectize-input::after {
    background-image: url("https://cdn-icons-png.flaticon.com/512/2985/2985150.png");

}

.selectize-input.items.full.has-options.has-items {
    height: 37px;
}

.em-search-location-meta {
    display: flex !important;
    flex-direction: column;
}


/* Filter Container  */
.em-events-search-form.em-search-form {
    background-color: white;
    width: 500px;
    padding: 25px;
    height: 335px;
}

.em-events-search.em-search.em-search-legacy.has-search-term.has-search-main.has-advanced.advanced-visible {
    display: flex;
    justify-content: center;
}

.selectize-dropdown.form-control,
.selectize-input,
.selectize-input.full {
    background-color: #ccc2;
}




.em-search-text.em-search-field.input input {
    align-content: end;
    justify-content: center;
}



.em-search-text.em-search-field.input {
    display: flex;
    justify-content: center;
}

.em-search-scope.em-search-field.em-datepicker.em-datepicker-range.input {
    margin-top: 8px;
}

.selectize-control.em-search-state.em-selectize.single {
    margin-top: 8px;
}


/* Fix for broken plugin styling on the /events page -- these changes are required because of the removal of the /events-manager/templates folder found in the child theme*/
.em-search-form,
.em-search.has-search-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.em-search-form {
    background-color: white;
    width: 500px;
    padding: 25px;
}

.em-search.has-search-main {
    padding-bottom: 25px;

}

.em-search-main.em-search-main-bar {
    display: none;

}

.em-modal.em-search.em-search-advanced .em-modal-popup header,
.em-search-advanced-sections section header,
.em-search-section-categories.em-search-advanced-section,
.selectize-control.em-search-tag .selectize-input.items.not-full.has-options {
    display: none !important;
}

.em-submit-section.input{
    display: flex;
    flex-direction: column;
    gap:15px;
    padding-top: 15px;
    align-items: center;
}


@media only screen and (max-width:992px) {
    .em-search-scope.em-search-field.em-datepicker.em-datepicker-range.input {
        padding-top: 10px;
    }

    /* Search Bar*/

    .em-search-main {
        flex-basis: 0%;
    }

    .em-search-wrapper {
        padding-top: 3em;
    }

    .em-search-text.em-search-field.input input {
        width: 250px;
    }

    /* Dates, State, Country Input Fields*/
    input.em-date-input.em-search-scope.form-control.input,
    input.em-date-input.em-search-scope.form-control.input.active,
    .selectize-control.em-search-state.em-selectize.single,
    .em-search-town.em-search-field {
        width: 250px !important;
    }

    .em-search-scope.em-search-field.em-datepicker.em-datepicker-range.input {
        margin-top: 0px;
    }


    /* related to the events-manager styling fixes above */
    .em-search-form {
        max-width: 325px;
    }

}

/* Refund Request Page Styling */

/* Remove the duplicate header */
#masthead {
    display: none;
}

/*add padding to the form*/
.site-content .ast-container {
    justify-content: center;
    padding: 25px 0 25px;
}



/* Remove the duplicate header - MOBILE */
@media only screen and (max-width: 922px) {
    .ast-mobile-header-wrap {
        display: none;
    }
}

.product-type-simple .woocommerce-tabs .tabs {
    display: none;
}

.ldgr-group-single, #wdm_groups_tab{
    padding: 40px;
}

select[name="wdm_group_length"]{
    width: 80px !important;
}

.css-events-list table.events-table th { 
    text-align:center; 
}

.product-type-simple .summary {
    display: none;
}

.elementor-section-full_width {
	max-width: 100% !important;
}
