/*
Theme Name: LMSMart Child
Author: Pixelcurve
Author URI: http://thepixelcurve.com
Description: -
Version: 1.0.0
Template: lmsmart
Text Domain: lmsmart-child
*/

.AnC-iFrame {
    height: 550px !important;
}

input[type='text'], input[type='url'], input[type='search'], input[type='email'], input[type='password'], input[type='tel'], input[type='time'], select, textarea { 
    background-color: #F6F7F9 !important;
}

/* course div min height */
div.cb_courses_home > div > section.tpc-courses article.tpc-course > div.course__container {
    min-height: 300px !important;
}

/*  content info min height*/
div.cb_courses_home > div > section.tpc-courses article.tpc-course > div.course__container div.course__content--info {
    min-height: 260px !important;
}

/*  course title div min height*/
div.cb_courses_home > div > section.tpc-courses article.tpc-course > div.course__container div.course__content--info .course__title {
    min-height: 60px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Related course min height */
div.related-post-wrap h4.entry-title {
    min-height: 80px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* Header increase height */
.tpc-header-row_wrapper {
    height: 76px !important;
}

/* Logo mobile css */
div.logo-mobile{
    margin-right: 80px;
}

/* Hamburger close icon */
.tpc-menu_outer .mobile-hamburger-close {
    background-color: #ffffff !important;
}


/* ------ popup ------ */
body.disableScroll{
    overflow: hidden;
}
.learndash-wrapper-login-modal{
    background: rgba(0,0,0,0.9);
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
}

.lmsCardbox .elementor-widget-wrap{
    border: 0;
    background: #efefef;
}
/*.lmsCardbox .elementor-image-box-img{
     position: absolute;
    left: 0;
    top: -62px;
    margin: 0;
    border-radius: 70px 70px 0 0;
    background: #efefef;
    padding: 20px;
    border-top: 0px solid #CCC;
    width: 80px !important;
    box-sizing: border-box;
    height: 80px; 
}
.lmsCardbox .elementor-image-box-img img{ 
    width: auto;
    max-height: 32px;
    transform: scale(1) !important;
}*/
body .lmsmart-learndash-header{    min-height: 200px;}
/* body .learndash-single-course-sidebar{margin-top: -172px;} */

body .learndash-wrapper .ld-modal .ld-modal-closer{    font-size: 32px;}

@media only screen and (min-width: 1300px) {
    body .learndash-wrapper .ld-modal .ld-modal-closer{padding: 17px 8px; margin-right: 0.25em;}
}
@media only screen and (max-width: 1000px) {
    .hamburger-box{ position: relative; z-index: 100;}
    .learndash-wrapper-login-modal{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .learndash-wrapper .ld-login-modal{
        top: 0;
    }
    body .learndash-wrapper .ld-modal{
        min-height: inherit;
        height: 450px;
        position: relative;
        transform: inherit !important;
        margin: 0 !important;
        top: 0;
    }
    body .learndash-wrapper .ld-login-modal .ld-modal-heading{
        margin: 0;
        line-height: normal;
    }
    body .learndash-wrapper .ld-modal .ld-modal-closer{
        top: 20px;
        padding: 0;
    }
}

@media only screen and (min-width: 1000px){
    .learndash-wrapper-login-modal{
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .learndash-wrapper .ld-login-modal{
        top: 0;
    }
    body .learndash-wrapper .ld-modal{
        min-height: inherit;
        position: relative;
        transform: inherit !important;
        margin: 0 !important;
        top: 0;
    }
}

/* Jaydeep CSS */

/* White color to button */
#wdm_ldgr_show_report {
   color: white !important;
}

/* width full */
.ldgr-group-listing .list .ldgr-group-subgroups>.ldgr-sub-group-item {
    width: auto !important;
}

/* correct select fields */
.select__field select {
    padding: 0px 0px 0px 10px !important;
}

/* search icon fix */
#ld-dashboard-course-report div#ld-dashboard-course-report-table_filter label:after {
    top: 3px !important;
}

#ld-dashboard-report .dataTables_wrapper .dataTables_filter input {
    height: 50px !important;
}

/* Row reverse mobile menu fix */
.ld-dashboard-mobile-wrap {
    flex-flow: row-reverse !important;
}

.select2-dropdown.select2-dropdown {
    margin-top: 0px !important;
}

/* Select sub group */
.select2-dropdown.select2-dropdown:has(span):has(#select2-create-sub-group-courses-mt-results) {
    /* margin-top: -36px !important; */
}


.select__field:before {
    padding-top: 0px !important;
}

/* Tickmark sign */
.learndash-wrapper .ld-status-icon .ld-icon:before {
    left: 40% !important;
}

.ld-dashboard-profile-form-field.field-full-width textarea{
    border: 1px solid #d5d5d5 !important;
    background-color: white !important;
}

form.ld-dashboard-profile-form input[type="text"] {
    background-color: white !important;
}

.ld-dashboard-content select {
    background-color: white !important;
}

/* Remove extra mark */
.select__field {
    display: inline !important;
}

/* warning sign */
.learndash-wrapper .ld-alert .ld-alert-icon.ld-icon-alert {
    font-size: 28px !important;
}

/* hided the add course button */
.ld-dashboard-header-button {
    display: none;
}

/* responsive select2 container */
.select2-container {
    width: calc(100% - 1px) !important;
}

/* Remove extra arrow */
.tclr .select2-container--default .select2-selection--single .select2-selection__arrow b:before {
    content: '';
}

/* Orders */
nav.woocommerce-MyAccount-navigation {
    display: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
}

td.woocommerce-orders-table__cell-order-actions {
    padding-left: 20px !important;
}


td.woocommerce-orders-table__cell-order-actions a {
    margin-left: 10px !important;
}

th.woocommerce-orders-table__header-order-number {
    padding: 10px !important;
}

.mobile-menu-link img {
    max-width: 25px !important;
    display: inline-block;
}

#wdm_groups_tab div.wdm-tabs-inner-links ul.tabs > a > li.tab-link > a {
    display: none !important;
    /* visibility: hidden; */
}

.ldgr-create-new-sg .ldgr-search-list-wrap .ldgr-listing-alphabets {
    border-top: 1px !important;
}
/* END */


.elementor-14699 .elementor-element.elementor-element-ca21e5d {
    padding: 43px 0px 0px 0px;
}

mark.order-number, mark.order-date, mark.order-status {
    color: black !important;
    background: #fbfbfb !important;
}

.learndash-wrapper .ld-login-modal .ld-login-modal-form .login-username:before {
    line-height: unset !important
}

.learndash-wrapper .ld-login-modal .ld-login-modal-form .login-password:before {
    line-height: unset !important
}

.country-select.inside {
    width: 100% !important;
}

.wpcf7 select {
    color: #00000099 !important;
}

/* Additional data yellow mark */
.elementor-widget-tpc-double-headings .shape-bg>.shape__bg {
    width: 190px !important;
    left: -22px !important;
    height: 31px !important;
    top: 7px !important;
}

/* Login yellow mark */
.cb-login .shape-bg>.shape__bg {
    width: 105px !important;
    left: -5px !important;
}

/* Remove unwanted color */
#wdm_groups_tab .tabs .current a {
    border-bottom: 1px red !important
}


#wdm_groups_tab .tabs .current a[href$='#'] {
    border-bottom: 4px solid #3951a3 !important;
}


@media only screen and (min-width: 1025px) and (max-width: 1180px) {
    .elementor-section .elementor-container {
        flex-wrap: wrap !important;
	}
	
	body.elementor-default .elementor-section-boxed .elementor-container.elementor-column-gap-default {
		width: unset !important
	}

    .elementor-21866 .elementor-element.elementor-element-a550756 {
        width: 30%;
    }

    .elementor-21866 .elementor-element.elementor-element-4ca29f1 > .elementor-widget-container {
        margin: 0px 222px 0px 424px;
        padding: 0px 0px 0px 0px;
    }

    .elementor-21866 .elementor-element.elementor-element-a550756 {
        width: 80%;
    }

    /* Width of container */
    .elementor-21866 .elementor-element.elementor-element-fa8857b {
        width: 80.001%;
    }
}


@media only screen and (min-width: 535px) and (max-width: 767px) {
    .elementor-21866 .elementor-element.elementor-element-db45cea {
        width: 69% !important;
    }

    .tpc-double_heading {
        width: 490px !important;
    }
}


@media only screen and (min-width: 440px) and (max-width: 534px) {
    .tpc-double_heading {
        width: 370px !important;
    }
}

/* ====== Fixes CSS 31-07-2024 ====== */

/* Fix: Clicking on Show Reports Buttons Turns the Table div Black in Color */
.ldgr-black-screen {
    background: transparent !important;
}

/* Fix: Groups Dashboard - Enrolled Users Tab */
#wdm_groups_tab.wdm-tabs-wrapper table td.ldgr-actions {
    display: flex;
    gap: 5px;
}

#wdm_groups_tab.wdm-tabs-wrapper table td.ldgr-actions a.wdm_remove.button {
    display: flex;
    align-items: center;
}

#wdm_groups_tab.wdm-tabs-wrapper table td.ldgr-actions .wdm-reinvite.button:hover {
    background-color: transparent;
    color: #3d51a3;
}

#wdm_groups_tab.wdm-tabs-wrapper #wdm_group_wrapper #bulk_remove {
    cursor: pointer;
}

/* Fix: Reports Table Styling Issues */
#wdm_ldgr_group_report_wrapper #wdm_ldgr_group_report thead th {
    border-top: 1px solid #ebebee !important;
}

/* Fix: Reports Button Styling */
#wdm_ldgr_show_report.ldgr-bg-color {
    margin-left: 0px !important;
    padding: 14px 22px;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
    border: 1px solid;
    border-radius: 3px;
    background-color: #3951a3 !important;
    cursor: pointer;
}

/* Fix: Additonal Arrow Icons Appears on some places */
.select__field:before {
    content: "" !important;
}

form.cart .select__field:before {
    content: '\f078' !important;
}

.woocommerce-ordering .select__field:before {
    content: '\f078' !important;
    right: -250px !important;
}

.tclr .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b:before {
    content: '';
}

/* Fix: Create New Sub Group - Search field had additional margin */
.ldgr-field .ldgr-search-list-wrap input[type="search"] {
    margin: 0px;
}

/* Fix: Checkboxes and Labels are Not Aligned Properly */
.ldgr-field .ldgr-listing-alphabets .ldgr-chk-item input[type="checkbox"] {
    margin: 0px !important;
}

.ldgr-field .ldgr-listing-alphabets .ldgr-chk-item label {
    margin-bottom: 0px !important;
}

/* Fix: Groups Dashboard Responsive Behaviour */
.ldgr-group-listing {
    margin-top: 40px;
}

.ldgr-group-single {
    margin-top: 10px;
}

@media screen and (max-width: 600px) {
    .ldgr-group-listing .list .gr-title {
        margin-left: 0px !important;
        margin-top: 10px !important;
        width: 100%;
        line-height: 1.5;
    }
}

@media screen and (max-width: 767px) {
    .ldgr-group-listing .list .gr-left {
        width: 100%;
    }
}

/* Fix: Header Shadow Effect */
header.tpc-theme-header section.elementor-section {
    box-shadow: 0 3px 6px rgb(128 128 128 / 10%);
}

/* Fix - Tincanny Frontend - Show Enteries Fields Alignment */
.reporting-datatable__bottom .dataTables_length label {
    margin: 0px !important;
}

.reporting-datatable__bottom .dataTables_length label select {
    margin: 0px 10px !important;
}

/* Fix - Export to CSV and Excel Button Hover Color */
.reporting-datatable__buttons button.dt-button:hover {
    color: #6c757d !important;
}

/* Checkout Page - Fixes */
#gamipress-wc-partial-payments:has( > .gamipress-wc-partial-payments-form-toggle .woocommerce-info) {
    background: white;
    box-shadow: 6px 5px 20px 0 rgba(0, 0, 0, 0.08);
    border-radius: 5px;
    margin-bottom: 30px;
}

#gamipress-wc-partial-payments:has( > .gamipress-wc-partial-payments-form-toggle .woocommerce-info) .gamipress-wc-partial-payments-form-toggle .woocommerce-info {
    padding: 20px !important;
    margin-bottom: 0px !important;
    font-size: 14px;
}

#gamipress-wc-partial-payments:has( > .gamipress-wc-partial-payments-form-toggle ) > form.gamipress-wc-partial-payments-form {
    padding: 20px !important;
}

/* Fix: Cart Page Product Quantity Counter */
.woocommerce-cart-form table.shop_table tbody td.product-quantity input.qty {
    width: 50px !important;
}

/* Fix: Edit Sub Group Select 2 Field border right showing */
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: none !important;
}

/* Fix: Contact Page - Textarea gets resized horizontally by using the resize button */

/* Note: Add "class:cb-contact-form-comment" to the textarea section */
.wpcf7-form textarea.cb-contact-form-comment {
    width: 100%;
    min-width: 100%;
    min-height: 120px;
}

.wpcf7-form textarea.cb-contact-form-comment::placeholder {
    color: #525252 !important;
}

/* Fix: Sub Menu Gets Overlapped by Select 2 Fields */
.cb-sub-menu ul.sub-menu.tpc-submenu-position-default {
    z-index: 1000000;
}

.wbcom-ld-dashboard .select2-container {
    z-index: 0 !important;
}


.ld-dashboard-group-leader .ld-dashboard-student-status-block  .ld-dashboard-student-lists {
    display: flex;
    flex-direction: column;
    gap: 0px !important;
}


section.cb-loader-section {
    position: absolute;
    top: 0;
    background: #f7f7f7;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    animation: fadeOut 0.5s ease forwards 2.5s;
}

section.cb-loader-section .cb-learndash-dashboard-svg {
    margin-top: 300px;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        visibility: visible;
        display: block;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        display: none;
    }
}

/* Product Cart Page - Add More Courses List */
#add-more-courses-original-conatiner .wdm-courses-checkbox > .ldgr-course-tile-row {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 5px;
}

/* Scrollbar Design */
/* width */
#add-more-courses-original-conatiner .wdm-courses-checkbox > .ldgr-course-tile-row::-webkit-scrollbar {
    width: 5px;
}

/* Track */
#add-more-courses-original-conatiner .wdm-courses-checkbox > .ldgr-course-tile-row::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey; 
}

/* Handle */
#add-more-courses-original-conatiner .wdm-courses-checkbox > .ldgr-course-tile-row::-webkit-scrollbar-thumb {
    background: #3D51A2; 
}

/* Handle on hover */
#add-more-courses-original-conatiner .wdm-courses-checkbox > .ldgr-course-tile-row::-webkit-scrollbar-thumb:hover {
    cursor: grabbing;
}

#add-more-courses-original-conatiner .wdm-courses-checkbox .ldgr-course-tile-row > .ldgr-course-tile {
    margin: 0px !important;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
}

#add-more-courses-original-conatiner .wdm-courses-checkbox .ldgr-course-tile-row > .ldgr-course-tile img {
    display: none !important;
}

#add-more-courses-original-conatiner .wdm-courses-checkbox .ldgr-course-tile-row > .ldgr-course-tile input {
    position: relative !important;
    right: auto;
    top: auto;
    margin: 0px;
}

#add-more-courses-original-conatiner .wdm-courses-checkbox .ldgr-course-tile-row > .ldgr-course-tile label {
    margin: 0px !important;
}

#add-more-courses-original-conatiner .wdm-courses-checkbox .ldgr-course-tile-row > .ldgr-course-tile > p:nth-of-type(2) {
    margin-left: auto !important;
}


.cb_add_more_courses_custom_title {
    font-size: 20px;
    font-weight: 600;
}


@media only screen and (min-width: 769px) {
    
    .cb_add_more_courses_custom_title {
        display:block
    }
   
    .ldgr_dynamic_course_title {
        display:none;
    }

    #add-more-courses-original-conatiner .wdm-courses-checkbox > .ldgr-course-tile-row {
        padding: 10px;
        height: 400px;
        overflow: auto;
    }
}

html {
    scroll-behavior: smooth;
}