/* SAM STYLING */

#hidden {
    display: none;
}

/* ========== HEADER ========== */
#top #header.header-scrolled .logo,
#top #header.header-scrolled .logo a {
    padding: 3px;
}
/*
.logo,
.logo a {
    padding: 10px;
}

@media only screen and (max-width: 767px) {
  .av-logo-container .logo svg {
    height: 10vw !important;
    max-height: 60px !important;
  }
}
*/
/* ========== MAIN MENU DESKTOP ========== */
.av-main-nav > li > a {
    display: block;
    padding: 0 13px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out, border-color 0.4s ease-in-out;
}

.menu-item .avia-menu-text {
    text-transform: uppercase;
}

/* Main menu text white on homepage, excluding dropdowns and active items */
.home .main_menu > div > ul > li > a {
    color: #FFF !important;
}

/* Set only the first menu item to white, leaving dropdowns unaffected */
.home .main_menu > div > ul > li:first-child > a {
    color: #FFF !important;
}

/* Remove white color from dropdowns, active items, and parent menu items */
.home .main_menu .sub-menu li a,
.home .main_menu ul li.current-menu-item > a,
.home .main_menu ul li.current-menu-parent > a {
    color: inherit !important;
}

/* Set only the current WPML language in the main menu to white */
.home .wpml-ls-current-language > a .wpml-ls-native {
    color: #FFF !important;
}

/* Ensure WPML dropdown items retain their default color */
.home .wpml-ls-item a .wpml-ls-native {
    color: inherit !important;
}

.avia-menu-text .wpml-ls-native {
    color: #999999;
}

/* Specific colors for WPML dropdown items */
.home .wpml-ls-item.wpml-ls-item-en .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-es .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-fr .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-ar .wpml-ls-native,
.home .wpml-ls-item.wpml-ls-item-zh-hans .wpml-ls-native {
    color: #999999 !important;
}

/* Revert to default colors when header is scrolled */
#top #header.header-scrolled .main_menu > div > ul > li > a,
#top #header.header-scrolled .wpml-ls-current-language > a .wpml-ls-native,
#top #header.header-scrolled .main_menu .sub-menu li a {
    color: #999999 !important;
}

#top #header.header-scrolled .main_menu ul li.current-menu-item > a,
#top #header.header-scrolled .main_menu ul li.current-menu-parent > a {
    color: inherit !important;

}

/* ========== MAIN MENU CONDITIONAL STYLING ========== */
/* Hide logged-in items by default */
.menulogged-in {
    display: none;
}

/* Show logged-out items by default */
.menulogged-out {
    display: inline-block;
}

/* Display only if the user is logged in */
body.logged-in .menulogged-in {
    display: inline-block;
}

body.logged-in .menulogged-out {
    display: none;
}

/* Hide .menucart-full items by default */
.menucart-full {
    display: none;
}

/* Show .menucart-full items only when the cart is visible */
html.html_visible_cart .menucart-full {
    display: inline-block !important;
}

/* Mobile-specific rules for menu visibility */
@media (max-width: 768px) {
    .responsive #top .av-main-nav li.menulogged-out:not(.av-active-burger-items) {
        display: none;
    }
    body.logged-in .menulogged-in,
    html.html_visible_cart .menucart-full,
    body:not(.logged-in) .menulogged-out {
        display: inline;
    }
}

/* ========== MENU MOBILE ========== */
.html_av-overlay-side-classic #top .av-burger-overlay li li .avia-bullet,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::before,
.html_av-overlay-side.av-burger-overlay-active #top .av-hamburger-inner::after {
    background-color: var(--enfold-header-color-color) !important;
}

#av-burger-menu-ul .wpml-ls-item a {
    color: #666 !important;
    font-size: 12px;
}

.bold span.avia-menu-text {
    font-weight: 700;
}

.bold a .avia-menu-text {
    font-weight: 700 !important;
}

/* ========== BODY ========== */

#main, 
.avia-msie-8 .av_header_sticky_disabled#header {
    background-color: var(--enfold-body-color-bg) !important;
}

.content {
    padding-top: 0;
}

blockquote {
    border-style: solid;
    border-width: 1px;
    padding: 16px;
    margin-bottom: 0;
    margin-right: 0;
    font-size: 12px;
    line-height: 1em;
    width: 30%;
    min-width: 250px;
}


/* ========== TYPOGRAPHY ========== */

h1,
h2,
h3,
h4 {
    font-weight: 300 !important;
}

.wpb_text_column p {
    line-height: 1.8;
}

#top .title_container .main-title {
    font-size: 34px;
}


/* ========== HIDE ELEMENTS ========== */
/* HIDE FEATURED IMAGE FROM PAGE */
.entry-content-header .page-thumb {
    display: none;
}

/* HIDE PAGE TITLES */
.woocommerce-account .title_container,
.woocommerce-cart .title_container,
.woocommerce-checkout .title_container {
    display: none;
}

.woocommerce-account .content,
.woocommerce-cart .content,
.woocommerce-checkout .content {
    padding-top: 50px;
}

/* HIDE SECOND COUPON LIST */
#generated_coupon_data_container {
    display: none;
}

/* HIDE PRODUCT META */
.single-product .product_meta {
    display: none;
}

/* HIDE THE QUANTITY FIELD ON PRODUCT PAGES */
.woocommerce div.quantity {
    display: none;
}

/* HIDE SUGGESTED PRODUCTS IN CART */
.woocommerce-cart .wt-related-products,
.woocommerce-checkout .wt-related-products,
.woocommerce-cart .cross-sells,
.woocommerce-checkout .cross-sells {
    display: none !important;
}

/* HIDE UPDATE CART BUTTON */
.woocommerce-cart button[name="update_cart"] {
    display: none !important;
}

/* HIDE HOURS MINUTES IN COUPON DATEPICKER  */
.ui_tpicker_hour_label, .ui_tpicker_hour, .ui_tpicker_minute_label, .ui_tpicker_minute {
    display: none;
}

.additional-text {
    margin-bottom: 24px;
}

.wpfooterbar {
    display: none !important;  
}



/* ========== IMAGES ========== */
/* IMAGES ON TOP ON MOBILE PEOPLE PAGE */
.col-imgright .wpb_column h3,
.col-imgright .wpb_column p {
    /* text-align: right !important; */
}

.col-imgright .vc_icon_element {
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .col-imgright .wpb_column:nth-child(1) {
        order: 2;
        /* TEXT COLUMN */
    }

    .col-imgright .wpb_column:nth-child(2) {
        order: 1;
        /* IMAGE COLUMN */
    }

    .col-imgright .wpb_column h3,
    .col-imgright .wpb_column p {
        /* text-align: left !important; */
    }
}

/* NEWSLETTER */

/* === Home > Newsletter Signup === */

div.newsletter-block {
    display: flex;
    justify-content: center; /* centers child horizontally */
}
.newsletter-signup.grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start; 
    margin: 3rem 0;
}
.newsletter-signup img {
    max-width: 180px;
    vertical-align: top;
    display: inline-block;
}
.newsletter-signup .text-block {
    display: flex;
    align-items: flex-start;
}
.blurred-bg {
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    position: relative;
}
@media (max-width: 768px) {
    .newsletter-signup.grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto auto;
    }

    .newsletter-signup .text-block {
        order: 1;
    }

    .newsletter-signup .form-block {
        order: 2;
    }
}

/* === Home > Newsletter as tilted letter on paper === */
body section.newsletter-signup {
    background-color: #f6f4f0;
    background-image: linear-gradient(178deg, rgba(255, 255, 255, 1) 19%, transparent 100%),
        linear-gradient(90deg, rgba(255, 255, 255, 1) 3%, transparent 100%),
        linear-gradient(358deg, rgba(102, 102, 102, 0.5) 3%, transparent 40%);
    background-blend-mode: soft-light;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    border: 1px solid #fff;
    padding: 10px 30px;
}

.newsletter-signup {
    background: white;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    transform: rotate(-2deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-radius: 2px;
    gap: 40px;
    transition: transform 0.3s ease;
}
.newsletter-signup:hover {
    transform: rotate(-0.8deg);
}

/* Adjust heading */
.newsletter-signup h4 {
    margin: 10px 0 20px 0;
    font-size: 2em;
    font-weight: 600;
}

/* Form layout cleanup */
.newsletter-signup .inf-main {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

/* Input styling */
.newsletter-signup input[type="text"],
.newsletter-signup input[type="email"] {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1em;
    border-radius: 5px;
    width: 100%;
}

/* Submit button style */
.newsletter-signup .inf-submit input[type="submit"] {
    background-color: #feb502;
    color: white;
    font-weight: 600;
    border: none;
    padding: 10px 24px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.newsletter-signup .inf-submit input[type="submit"]:hover {
    background-color: color-mix(in srgb, #feb502 90%, black);
}

/* RGPD styling */
.newsletter-signup .inf-rgpd {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
}

.newsletter-signup .inf-rgpd a {
    color: #333 !important;
    text-decoration: underline;
}
@media (max-width: 768px) {
    .newsletter-signup {
        width: 90%;
        transform: none;
        padding: 20px 0 0;
        gap: 20px;
        transition: transform 0.3s ease;
    }
    .newsletter-signup:hover {
        transform: none;
    }
}

/* ============ CF7 FORM STYLES ============ */

/* Input Fields */
#top .wpcf7 input[type="text"],
#top .wpcf7 input[type="email"] {
    margin-bottom: 0;
}

#top .wpcf7 .wpcf7-list-item {
    display: inline-block;
    margin: 0 !important;
}

/* Labels and Legends */
#top .wpcf7 label span,
#top .wpcf7 legend span {
    font-weight: normal;
    font-size: 13px !important;
    color: #444;
}

#top .wpcf7 span.wpcf7-list-item-label {
    font-weight: normal;
    font-size: 16px !important;
    color: #444;
}

/* Submit Button */
#top .wpcf7 .wpcf7-submit {
    margin: 20px 0;
    padding: 15px 30px;
    font-weight: 700;
    font-size: 16px !important;
}

/* Placeholder Text */
.wpcf7-form-control::placeholder {
    color: #333 !important;
    opacity: 1;
}

/* Input Field Text */
.wpcf7-form-control {
    color: #000 !important;
}

/* Error Styling */
.wpcf7-form-control.wpcf7-not-valid {
    position: relative;
}

.wpcf7-not-valid-tip {
    position: absolute;
    top: -58px;
    left: 7px;
    color: #c32830;
    font-size: 14px;
    width: 300px;
}

/* Response Output */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #ebe8e8;
    border: none;
    color: #666;
    border-radius: 3px;
    margin: 0;
    padding: 10px 20px;
    font-size: 18px;
    text-align: center;
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #0073aa;
    color: #FFF;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #c32830;
    color: #FFF;
}

.wpcf7 form.spam .wpcf7-response-output {
    background-color: #f56e28;
    color: #FFF;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    background-color: #ffb900;
    color: #FFF;
}

/* Hide Form After Sent */
.wpcf7-form.sent p {
    display: none;
}

/* Align Error Messages */
.wpcf7-form-control-wrap {
    position: relative;
}



/* ========== FOOTER ========== */

#footer {
    padding: 0;
}
/* remove stupid cookie settings tab */
.cmplz-manage-consent {
    display: none;
}

/* beautify newsletter sign up form in footer */
.widget_text form.inf-form div h4,
.widget_text form.inf-form div span {
    display: none;
}
.widget_text form.inf-form label {
    font-weight: 400 !important;
}
.widget_text form.inf-form .inf-submit {
    text-align: left;
}
/* Reset the default font-based icon */
/* Disable transition for the main anchor */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a,
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a {
    transition: none;
}

/* General styles for custom social icons */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a::before,
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: url('https://theta-music.com/wp-content/themes/theta-child/custom-icons/theta_social_icons.png') no-repeat;
    background-size: 122px 60px; /* Adjust for @2x sprite dimensions */
    vertical-align: middle;
    border-radius: 50%; /* Makes the icon round */
    transition: none; /* Disable transition for background-position */
}

/* Default state - Bluesky */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a::before {
    background-position: 0 0;
}

/* Hover state - Bluesky */
#top #wrap_all .social_bookmarks .av-social-link-bluesky a:hover::before {
    background-position: 0 -30px; /* Move to the hover state in the sprite */
}

/* Default state - Insight Timer */
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a::before {
    background-position: -33px 0;
}

/* Hover state - Insight Timer */
#top #wrap_all .social_bookmarks .av-social-link-insighttimer a:hover::before {
    background-position: -33px -33px;
}

/* Ensure proper alignment and padding around the icons */
.socket_color .social_bookmarks li {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Matches the icon shape */
    text-align: center;
    line-height: 30px; /* Center the icon vertically */
}