/*!
Theme Name: Acadia
Theme URI: https://wp.themepure.net/acadia/
Author: Theme_Pure
Author URI: https://themeforest.net/user/theme_pure/
Description: Acadia - University & Online Course WordPress Theme
Version: 1.3.2
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: acadia
Tested up to: 6.6
Requires PHP: 7.4 or later
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

body.single-lesson.tutor-lms .breadcrumb__area,
body.single-lesson.tutor-lms footer {
    display: none !important;
}

html,
body.learnpress-page{
    overflow: initial !important;
}

.ti-rating.ti-rating-large {
    display:none !important;
    }
    
    
    /*Temporary measure to hide save bookmark button as it's currently broken*/  
    .acadia-course-card-header-right .save-bookmark-btn {
        display: none !important;
    }

/* Hide Elementor cart counter when zero */
.elementor-button-icon-qty[data-counter="0"] {
    display: none !important;
}

.woocommerce .return-to-shop a {
    background: #7653A3 !important;
    color: white !important;
    border: none !important;
    padding: 14px 30px !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    margin-bottom: 30px !important;
    text-decoration: none !important;
}
.woocommerce .return-to-shop a:hover {  
    background: #4A2159 !important;
}

.acadia-course-list-card-wrapper .tp-course-filter-item {
    max-height: max-content !important;
}

.tp-course-btn {
    margin-top: 10px !important;
}

/* Add to cart button disabled state */
.tutor-btn.tutor-btn-outline-primary.disabled {
    opacity: 0.6 !important;
    background-color: #f0f0f0 !important;
    cursor: not-allowed !important;
    border-color: #ddd !important;
    color: #666 !important;
    margin-top: 30px !important;
    position: relative !important;
    overflow: visible !important;
}

.tutor-btn.tutor-btn-outline-primary.disabled:before {
    content: "Please select a class time";
    display: block;
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    font-size: 14px;
    text-align: center;
    color: #e01313;
    font-size: 14px;
    text-align: center;
}

/* Class selection message */
.class-selection-message {
    display: none;
    color: #856404;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 12px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 14px;
}

.class-selection-message.show {
    display: block;
}


.post-type-archive-courses .breadcrumb__area a,
.post-type-archive-courses .breadcrumb__area h3,
.post-type-archive-courses .breadcrumb__area h1,
.post-type-archive-courses .breadcrumb__area .color,
.blog .breadcrumb__area a,
.blog .breadcrumb__area h3,
.blog .breadcrumb__area h1,
.blog .breadcrumb__area .color,
.post-type-archive-product .breadcrumb__area a,
.post-type-archive-product .breadcrumb__area h3,
.post-type-archive-product .breadcrumb__area .color
{
	 color:#fff !important
}

.post-type-archive-courses .breadcrumb__area,
.blog .breadcrumb__area,
.post-type-archive-product .breadcrumb__area, 
.tax-course-category .breadcrumb__area{
	background-image: url(https://thehonestmidwife.co.uk/app/uploads/2025/02/hero-classes@2x.png) !important;
}

/* Hide scrollbar but keep scrolling functionality */
@media (max-width: 767px) {
    /* Hide scrollbar for Chrome, Safari and Opera */
    ::-webkit-scrollbar {
        display: none;
    }
  
    /* Hide scrollbar for IE, Edge and Firefox */
    * {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
    }
}


/* Hide Stripe express checkout buttons except on checkout page */
body:not(.woocommerce-checkout) #wc-stripe-express-checkout-element {
    display: none !important;
}

/* Cart totals styling */
.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
    padding: 1em !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    vertical-align: top !important;
    color: #000 !important;
}

.cart_totals table.shop_table th {
    text-align: left !important;
}

.cart_totals table.shop_table td strong,
.cart_totals table.shop_table td .woocommerce-Price-amount {
    font-weight: 400 !important;
    color: #000 !important;
}

.cart_totals table.shop_table td small,
.cart_totals table.shop_table td small .woocommerce-Price-amount {
    font-size: 14px !important;
    color: #666 !important;
}

/* Keep total row aligned with price */
.order-total th {
    vertical-align: top !important;
}

/* Checkout page shipping methods header */
.woocommerce-checkout .woocommerce-shipping-methods th {
    text-align: left !important;
    color: #000 !important;
    font-weight: 400 !important;
}

.woocommerce-checkout .tp-page-area .order-review-wrapper table.woocommerce-checkout-review-order-table .cart-subtotal td .woocommerce-Price-amount.amount {
    color: var(--tp-common-black) !important;
}

.woocommerce-checkout  .wc_payment_method.payment_method_stripe{
    margin-left: 0 !important;
}

/* Privacy notice styling */
.privacy-notice {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.privacy-notice a {
    color: #7653A3;
    text-decoration: none;
}

.privacy-notice a:hover {
    text-decoration: underline;
}

.fc-event-mobile .fc-event-time,
.fc-event-mobile .fc-event-title {
    padding-left: 0 !important;
}
.fc-listMonth-view  a{
    text-decoration: none !important;
}

.tp-login-form .tp-login-btn-wrapper button.tp-login-btn{
    background: #7653A3 !important;
    color: white !important;
    border: none !important;
    padding: 14px 30px !important;
    
}   
.tp-login-form .tp-login-btn-wrapper button.tp-login-btn:hover{
    background: #4A2159 !important;
}

.profile__tab .nav-tabs .nav-link {
    margin-left: 0;
    padding: 1rem;
}

.wc_payment_method.payment_method_stripe_klarna {
    margin-left: 0 !important;
}
.woocommerce-cart .product-thumbnail img {
    max-height: 100px;
    width: auto;
}
.woocommerce-cart .product-thumbnail  {
    display: flex;
    align-items: center;
    justify-content: center;
}

#due_date {
    padding:1rem !important
}

.elementor-menu-cart__product {
    display: block;
}
.elementor-menu-cart__product-image .product-thumbnail{

    max-width: 70px;
    max-height: 70px;
    width: auto;
    float: left;
}
.elementor-menu-cart__product .variation{
    display: flex;
    flex-direction: column;
    width: 100%;
}
.elementor-menu-cart__product-name .product-name:hover{
   text-decoration: none !important;
}

.woocommerce-cart-form__cart-item.cart_item .product-quantity {
    text-align: center !important;
}

.acuity-filters-section, 
.mobile-filter-toggle {
}

.tutor-avatar {
    display: none !important;
}
.elementor-menu-cart__products  .variation-IncludedClasses {
    display: none !important;
}

.elementor-menu-cart__product-price.product-price {
    display: flex !important;
    justify-content: flex-start !important;
}
.elementor-menu-cart__product-price.product-price .quantity {
    display: flex !important;
}


.link-to-select .fc-event{
cursor: pointer !important;
}

.tp-product-details-area {
    overflow:hidden !important;
}


button.tp-return-customer-btn.tp-checkout-btn.button{
    background: #7653A3 !important;
text-decoration: none !important;
color: #FFFFFF !important;
font-size: 16px !important;
font-weight: 700 !important;
line-height: 19px !important;
background: #7653A3 !important;
border-radius: 6px !important;
text-decoration: none !important;
border: none !important;
margin: 0 !important;
}


button.tp-return-customer-btn.tp-checkout-btn.button:hover{
background: #4A2159 !important;
    color: #FFFFFF !important;
}

.tp-return-customer-input input:focus {
    border-color: #7653A3 !important;
}

.tp-blog-area .tp-postbox-wrapper .basic-pagination ul {
    justify-content: center;
    gap: 20px;
}

.tp-blog-area .tp-postbox-wrapper .basic-pagination ul li {
    margin: 0px !important;
}

@media (max-width: 767px) {
    .tp-blog-area .tp-postbox-wrapper .basic-pagination ul {
        gap: 5px;
    }
    
    .tp-blog-area .tp-postbox-wrapper .basic-pagination ul li a,
    .tp-blog-area .tp-postbox-wrapper .basic-pagination ul li span {
        width: 35px;
        height: 35px;
        font-size: 12px;
        line-height: 35px;
    }
}


.tp-course-title  {
display:block !important;
}