/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/

.iw-extra-fields-43 .input-radio,
.iw-extra-fields-43 label.radio {
    display: none!important
}
#iw-extra-fields-43_field{
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
}
#iw-extra-fields-43_field > label{
    padding-left: 10px;
}
.disabled-date {
    cursor: not-allowed;
    background-color: grey;
    pointer-events: none; /* This ensures that hover effects are disabled */
}
.disabled-date:not(.is-today){
    opacity: 0.6;
}


/* Audio Player */

.mejs-container.wp-audio-shortcode{
    height: 61px!important;
    margin-top: 10px!important;
    position: relative
}
.mejs-container, .mejs-container .mejs-controls{
    padding-left: 0;
    padding-right: 24px
}
.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body{
    background: unset!important;
    height: 100%
}
.mejs-container .mejs-controls{
    display: flex;
    align-items: center;
    justify-content: center
}
.mejs-time-rail {
    position: relative!important;
    height: 100%!important
}
.mejs-time-total.mejs-time-slider{
    height: 100%;
    opacity: 0
}
.soundwave-greyscale, .soundwave-color {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Ensures they don't interfere with the slider's functionality */
    background-image: url("/wp-content/themes/hello-theme-child-master/assets/images/sound-wave.png");
    background-repeat: repeat-x
}
.soundwave-greyscale{
    filter: invert(0.4);
}
.soundwave-color {
    clip-path: inset(0 100% 0 0);
    filter: invert(100%) sepia(95%) saturate(21%) hue-rotate(19deg) brightness(105%) contrast(105%);
}
.soundwave-color::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: var(--hovered-opacity-position, 100%); /* Start from right */
    left: 100%; /* Stretch to the end */
    background-color: rgba(0, 0, 0, 0.2); /* Introducing opacity effect */
    pointer-events: none; /* Ensures it doesn't interfere with user interactions */
    z-index: 1
}

.mejs-button.mejs-playpause-button{
    width: 60px;
    height: 60px;
    margin-right: 11px!important;
    background-size: contain
}
.mejs-button.mejs-playpause-button.mejs-play{
    background-image: url("/wp-content/themes/hello-theme-child-master/assets/images/play-btn-blue.png")
}
.mejs-button.mejs-playpause-button.mejs-pause{
    background-image: url("/wp-content/themes/hello-theme-child-master/assets/images/pause-btn.png")
}
.mejs-button.mejs-playpause-button button{
    display: none
}
.mejs-time.mejs-currenttime-container,
.mejs-time.mejs-duration-container{
    /*position: absolute;*/
    /*top: -30px;*/
    /*line-height: 17px!important;*/
    /*font-weight: bold!important;*/
    /*display: flex;*/
    /*height: unset*/
    display: none
}
.mejs-time.mejs-currenttime-container{
    left: 5px
}
.mejs-time.mejs-duration-container{
    right: 5px
}
.mejs-button.mejs-volume-button,
.mejs-horizontal-volume-slider{
    display: none!important
}

.wp-grid-builder .wpgb-card [class*="wpgb-block-"]{
    white-space: normal!important
}
/* Checkout shipping price */
.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-totals.shipping{
    display: flex;
    flex-direction: column;
    width: 100% !important
}
.shop_table.woocommerce-checkout-review-order-table .woocommerce-shipping-totals td{
    width: 100% !important;
    max-width: 100%
}
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals #shipping_method li{
    display: flex;
    min-height: 51px;
    align-items: center
}

.woocommerce-checkout-review-order-table .woocommerce-shipping-totals #shipping_method li label{
    display: flex;
    width: 100%
}
.woocommerce-checkout-review-order-table .amount{
    margin-left: auto;
    margin-right: -60px
}




/* Cart page fix */
@media screen and (max-width: 768px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr{
        padding-top: 0!important;
    }
    .elementor-widget-woocommerce-cart .woocommerce table.cart td.product-remove{
        position: relative!important;
        padding: 0!important;
    }
    .woocommerce-cart-form__cart-item.cart_item .product-remove .remove{
        position: absolute;
        right: 5px;
        top: 10px;
        z-index: 2;
    }
    .woocommerce-page table.cart .product-thumbnail{
        padding-top: 0!important
    }
}

.elementor-widget-woocommerce-cart .woocommerce table.cart img{
    margin-top: 0!important;
}
body .elementor-widget-image{
    background: transparent;
}

.woocommerce-remove-coupon{
    display: block!important;
}
.cart-discount > td > small{
    display: none!important;
}
