/*
 Theme Name:   Edura Child  
 Theme URI:    https://themeholy.com/wordpress/edura
 Description:  This is a child theme for Edura - WordPress Theme
 Author:       Themeholy
 Author URI:   https://themeforest.net/user/themeholy 
 Template:     edura
 Version:      1.0
 Tags:         two-columns, three-columns, left-sidebar, right-sidebar, flexible-header, custom-background, custom-colors, custom-header, custom-menu, theme-options, editor-style, featured-images, microformats, post-formats,  sticky-post, threaded-comments, translation-ready
 Text Domain:  edura-child
*/

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */ 

.th-btn:hover::before, .th-btn.active::before {
    height: 300px;
}
.th-btn::before {
    width: 100%;
}


.team-card {overflow: visible;}
.team-card .team-img-wrap .team-shape path {
    fill: #ec1d28 !important;
}
.team-card.style2:hover {
    --theme-color: #ec1d28 !important;
}
.team-card.style2:hover .team-img-wrap .data-info {
    opacity: 1;
}
.team-img-wrap .data-info {
    transition: 1s opacity;
    color: white;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0f2239cf;
    border-radius: 100%;
    border: 25px solid white;
    font-size: 18px;
    font-weight: 500;
    a {
        color: white;
    }
}
.team-img-wrap .data-info ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    z-index: 9999;
    position: relative;
}
.team-img-wrap .data-info ul li {
    margin-bottom: 15px;
}
.team-img-wrap .data-info ul li:last-child {
    margin: 0px;
}

.course-archive-page {
    .woocommerce-result-count {
        display: none;
    }
    #tab-course-grid {
        margin-left: 0px;
    }
}

.course-box, .course-box2 {
    .course-img {
        margin: 0px;
    }
    .course-content {
        position: relative;
    }
    .add-to-cart {
        position: absolute;
        right: 10px;
        top: -25px;
        a {
            background: #ec1d28;
            display: block;
            width: 50px;
            height: 50px;
            text-align: center;
            line-height: 52px;
            border-radius: 100%;
        }
        a:hover {
            background: red;
        }
        i {
            color: white;
        }
    }
}
.course-box2 {
    .course-author {
        margin: 0px !important;
    }
    .course-content {
        padding: 25px 40px 0 40px !important;
    }
}

.tutor-course-details-page {
    padding: 0px;
    .course-price .sale-price {
        font-size: 17px;
        vertical-align: center;
        text-decoration: line-through;
    }
    .course-single-bottom {
        margin-top: 40px;
        margin-bottom: 0px;
    }
}
.tutor-wrap {
    padding: 50px 0px;
}
.breadcumb-content {
    margin: 80px 0px -50px 0px;
}
.header-logo img {
    max-width: 250px !important;
}
.header-logo {
    padding: 0px;
}
.header-layout12 .header-top {
    background-color: #0F2239;
}

.woocommerce-terms-and-conditions {
    background: #ecf0f1;
    padding: 10px;
    border: 1px solid #d8d8d8;
    border-radius: 5px;
}
ul#shipping_method label {
    margin: 0px;
}
a.checkout-button, button#place_order {
    padding: 30px 50px;
    font-size: 20px;
}
body.page-id-4150, body.page-id-4151 {
    footer {
        display: none;
    }
}
form.woocommerce-checkout {
    margin-top: 20px;
}
.cart_totals {
    border: 0px;
}
button#place_order {
    padding: 25px 60px;
    margin-top: 20px;
}

.elementor-widget-eduracontactform {
    .contact-form-wrap {
        margin-right: 0px;
    }
}

.elementor-widget-edurasectiontitle {
    .mb-25 {
        margin: 0px;
    }
    p.desc-selector {
        margin: 0px;
    }
}

select#billing_country, select#shipping_country {
    margin-bottom: 5px;
}
p.checkout-inline-error-message {
    font-size: 13px;
    color: red;
    margin-bottom: 0px;
}
ul.woocommerce-error a {
    color: white;
}
#billing_company_field, #shipping_email_field, #shipping_company_field, #billing_address_2_field, #shipping_address_2, .woocommerce-shipping-destination {
  display: none !important;
}

.category-list2_title {
    font-size: 21px;
}
.category-list2_icon {
  width: 100px;
  height: 100px;
  line-height: 100px;
  min-width: 100px;
}
.category-list2_icon img {
    max-height: 50px;
}

.newsletter-form-footer {
    .form-group {
        display: flex;
        gap: 10px;
    }
    input.wpcf7-email {
        width: 395px;
    }
    label.checkbox {
        color: white;
        font-size: 13px;
    }
}
input[type="checkbox"] ~ label::before {
    display: none;
}
input[type="checkbox"] ~ label {
    display: inline-block;
    padding: 0px;
    margin: 0px;
}
input[type="checkbox"] {
    visibility: visible;
    opacity: 1;
    width: 18px;
    height: 18px;
    display: inline-block;
}
label.checkbox {
    cursor: pointer;
    display: inline-block;
}
.wpcf7 {
    label.checkbox .wpcf7-list-item {
        margin: 0px;
    }
    .rodo {
        margin-top: 5px;
        label {
            cursor: pointer;
            font-size: 13px;
        }
        .wpcf7-list-item {
            margin: 0px;
        }
        .wpcf7-not-valid-tip {
            margin-left: 5px;
            display: inline;
        }
    }
    .wpcf7-not-valid-tip {
        position: absolute;
        bottom: -13px;
        background: white;
        border-radius: 10px;
        font-size: 13px;
        padding: 0px 10px;
        left: 10px;
        border: 1px solid #c9c9c9;
        width: max-content;
        z-index: 9999;
    }
    .wpcf7-response-output {
        background: white;
        padding: 10px !important;
        font-size: 13px;
        text-align: center;
        margin: 10px 0px 0px 0px !important;
    }
}

.th-menu-wrapper .mobile-logo {
    padding: 20px;
    background: #0f2239;
}
.th-mobile-menu {
    padding: 0px;
    margin: 0px;
}

@media (max-width:1024px) {
    .newsletter-form-footer {
        text-align: center;
        .form-group {
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
        input.wpcf7-email {
            width: 100%;
        }
    }
}

.course-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    background: #fff;
    box-shadow: 0 -8px 24px rgba(15, 34, 57, 0.12);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0.25s ease;
    padding-bottom: env(safe-area-inset-bottom);
}
.course-sticky-cta.is-visible {
    transform: translateY(0);
    visibility: visible;
}
.course-sticky-cta__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 24px;
}
.course-sticky-cta__thumb {
    width: 72px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
}
.course-sticky-cta__info {
    flex: 1 1 auto;
    min-width: 0;
}
.course-sticky-cta__title {
    margin: 0 0 2px;
    font-family: var(--title-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--title-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.course-sticky-cta .course-price {
    display: block;
    margin: 0;
    font-family: var(--title-font);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--title-color);
}
.course-sticky-cta .course-price .sale-price {
    font-size: 14px;
    font-weight: 500;
    text-decoration: line-through;
    opacity: 0.55;
    margin-right: 4px;
}
.course-sticky-cta .course-price .tag {
    display: inline-block;
    background-color: var(--theme-color2);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--white-color);
    border-radius: 99px;
    padding: 2px 10px;
    vertical-align: middle;
    margin-left: 4px;
}
.course-sticky-cta__action {
    flex: 0 0 auto;
}
.course-sticky-cta__action form,
.course-sticky-cta__action .tutor-enrol-course-form {
    margin: 0;
}
.course-sticky-cta__action .th-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    white-space: nowrap;
    padding: 16px 22px;
}
body.course-sticky-cta-visible {
    padding-bottom: var(--course-sticky-cta-height, 80px);
}
body.course-sticky-cta-visible .scroll-top {
    bottom: calc(var(--course-sticky-cta-height, 80px) + 16px);
}

@media (max-width: 767px) {
    .course-sticky-cta__inner {
        gap: 10px;
        padding: 10px 14px;
    }
    .course-sticky-cta__thumb {
        width: 56px;
        height: 40px;
    }
    .course-sticky-cta__title {
        font-size: 14px;
    }
    .course-sticky-cta .course-price {
        font-size: 15px;
    }
    .course-sticky-cta__action .th-btn {
        padding: 12px 14px;
        font-size: 12px;
    }
}

@media print {
    .course-sticky-cta {
        display: none !important;
    }
}

@media (max-width:992px) {
    .tutor-course-details-page {
        .row {
            margin: 0px;
            flex-direction: column-reverse;
        }
        .sidebar-area {
            padding-top: 0px;
            padding-bottom: 30px;
        }
    }
    .header-top {
        display: none;
    }
    .breadcumb-content {
        margin: 40px 0px -50px 0px;
    }
    /*.header-layout12  {
        .header-top {
            .header-links {
                display: none;
            }
            .d-none {
                text-align: center;
                display: block !important;
            }
            ul.counter-list {
                margin: 0px;
            }
        }
    }*/
    
}

.qty-discount {
    margin: 0 0 18px;
    padding: 14px 14px 12px;
    border-radius: 16px;
    background: #f4f7fb;
    text-align: left;
}

.qty-discount__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.qty-discount__emoji {
    font-size: 28px;
    line-height: 1;
}

.qty-discount__kicker {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--theme-color);
}

.qty-discount__count,
.qty-discount__save,
.qty-discount__next {
    margin: 0;
    color: var(--title-color);
}

.qty-discount__count {
    font-size: 15px;
    font-weight: 700;
}

.qty-discount-bar {
    height: 10px;
    margin: 0 0 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #d9e3ef;
}

.qty-discount-bar__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--theme-color);
}

.qty-discount__save {
    font-size: 14px;
    font-weight: 700;
}

.qty-discount__next {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 500;
    color: var(--body-color, #555);
}

.qty-discount--popup {
    margin-top: 16px;
    margin-bottom: 0;
}

.qty-discount--cart,
.qty-discount--checkout {
    margin: 0 0 28px;
    padding: 18px 20px 16px;
}

.qty-discount--cart .qty-discount__emoji,
.qty-discount--checkout .qty-discount__emoji {
    font-size: 36px;
}

.qty-discount--cart .qty-discount-bar,
.qty-discount--checkout .qty-discount-bar {
    height: 12px;
}

.qty-discount--cart .qty-discount__actions,
.qty-discount--checkout .qty-discount__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.qty-discount--cart .qty-discount__cta,
.qty-discount--checkout .qty-discount__cta {
    display: inline-flex;
    margin-top: 0;
}

.cart_totals .course-group-note {
    display: flex;
    align-items: center;
    margin: 0;
}

.course-group-note__box {
    height: auto;
    width: 100%;
    padding: 18px 20px 20px;
    border-radius: 16px;
    background: #f4f7fb;
}

.course-group-note__title {
    margin-bottom: 10px;
}

.course-group-note__text {
    margin: 0 0 10px;
    color: var(--title-color);
    font-size: 15px;
    line-height: 1.5;
}

.course-group-note__cta {
    display: inline-flex;
    margin-top: 6px;
}

.widget_shopping_cart .woocommerce-mini-cart__buttons .th-btn {
    display: flex;
    width: 100%;
    margin-right: 0;
    justify-content: center;
    box-sizing: border-box;
}

.qty-discount-mini-rows {
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 34, 57, 0.12);
}

.qty-discount-mini-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    font-size: 14px;
    font-weight: 600;
}

.qty-discount-mini-row--due {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
}

.qty-discount-mini-row__amount {
    white-space: nowrap;
}

.qty-discount-popup {
    position: fixed;
    inset: 0;
    z-index: 100050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.qty-discount-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 34, 57, 0.55);
}

.qty-discount-popup__dialog {
    position: relative;
    width: min(440px, 100%);
    max-height: calc(100vh - 32px);
    overflow: auto;
    padding: 28px 24px 22px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 34, 57, 0.2);
    text-align: center;
}

.qty-discount-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f4f7fb;
    color: var(--title-color);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.qty-discount-popup__emoji {
    margin: 0 0 8px;
    line-height: 1;
}

.qty-discount-popup__emoji img {
    display: block;
    width: 160px;
    height: auto;
    margin: 0 auto;
}

.qty-discount-popup__title {
    margin: 0 0 8px;
    color: var(--title-color);
    font-size: 28px;
}

.qty-discount-popup__lead {
    margin: 0;
    color: var(--body-color, #444);
    font-size: 16px;
    line-height: 1.5;
}

.qty-discount-popup__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.qty-discount-popup__cta {
    display: inline-flex;
    justify-content: center;
    min-width: 220px;
}

.qty-discount-popup__later {
    border: 0;
    background: transparent;
    color: var(--title-color);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}