/*
Theme Name: Helpo Child
Theme URI: https://helpocharity.artureanec.com/
Author: Artureanec
Author URI: demo.artureanec.com
Template: helpo
Description: Meet WordPress Theme by Artureanec - really amazing, powerful, clean and ultramodern product, that created with love and attention to details. We know it's difficult to represent yourself on the web in the right way, that's why we spent a lot of time trying to make our Theme more effective. It's flexible, easy customizable, high-quality and really easy to use! So everyone can make awesome website with it. Hope you'll like it. Enjoy!
Version: 1.5
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: helpo-child
*/

@import url("../helpo/style.css");

/* Add your custom styles here */

/*
==================================================
TABLE OF CONTENTS
==================================================
- Global
- Header
- Menu
- Footer
- 404 Page
- Page Title
- Cards Button (used fox example in Featured News Widget and Three Cards Widget)
- Text Editor Widget
- Icon Box Widget
- Content Slider Widget
- Blog Listing Widget
- Testimonials Widget
- Custom Widget - Cards Slider Widget
- Custom Widget - Cards Listing Widget
- Custom Widgets - Featured News Widget and Three Cards Widget
- Custom Widget - Three Cards Widget
- Section "Text + Image"
- Section "Image + Text"
- Section "Text + Graphic" and "Graphic + Text"
- Section "3 Boxes"
- WooCommerce
- WPCF7 and MC4WP
- reCAPTCHA
*/

:root {
    --color-white: #FFFFFF; /* rgb(0, 0, 0) */
    --color-black: #000000; /* rgb(255, 255, 255) */

    --color-grey: #363636; /* rgb(54, 54, 54) */
    --color-snow: #F9F7F6; /* rgb(249, 247, 246) */

    --color-magenta: #E71984; /* rgb(231, 25, 132) */
    --color-yellow: #FFED00; /* rgb(255, 237, 0) */
    --color-lightblue: #00A7E7; /* rgb(0, 167, 231) */
    --color-grey-full: #181021; /* rgb(24, 16, 33) */

    --color-success: #1E7E34; /* rgb(70, 180, 80) */
    --color-error: #DC3232; /* rgb(220, 50, 50) */

    --font: var(--helpo-main-font-family);

    --h1: clamp(55px, 3.65dvw, 70px);
    --h2: clamp(35px, 2.6dvw, 50px);
    --h3: clamp(25px, 2.08dvw, 40px);
    --h4: clamp(22px, 1.5625dvw, 30px);
    --h5: clamp(20px, 1.3dvw, 25px);
    --h6: clamp(18px, 1.04dvw, 20px);
}

.headings {
    display: block !important;
    line-height: 1.2 !important;
    word-break: break-word !important;
}

.headings-font-family {
    font-family: var(--helpo-headings-font-family) !important;
}

.headings-font-weight {
    font-weight: var(--helpo-headings-font-weight) !important;
}

.headings-color {
    color: var(--helpo-headings-color) !important;
}

.h1-font-size {
    font-size: var(--h1) !important;
}

.h2-font-size {
    font-size: var(--h2) !important;
}

.h3-font-size {
    font-size: var(--h3) !important;
}

.h4-font-size {
    font-size: var(--h4) !important;
}

.h5-font-size {
    font-size: var(--h5) !important;
}

.h6-font-size {
    font-size: var(--h6) !important;
}

/*
==================================================
Header
==================================================
 */
@media (min-width: 1200px) {
    header.helpo_header > .container-fluid > .row.no-gutters.justify-content-between {
        align-items: stretch !important;
        gap: 15px !important;
        max-width: 1920px !important;
        margin: 0 auto !important;
    }

    header.helpo_header .helpo_header_menu_container {
        flex-shrink: 1 !important;
    }

    header.helpo_header .helpo_header_menu_container .helpo_main-menu {
        align-items: center !important;
    }

    header.helpo_header .helpo_header_button_container {
        flex-grow: 0 !important;
        flex-shrink: 0 !important;
    }

    header.helpo_header .helpo_header_button_container .helpo_button {
        width: auto !important;
    }
}

header.helpo_header .helpo_header-logo__link {
    width: 39.61px !important;
    height: 44px !important;
    background-size: contain !important;
    transition: width 0.3s ease, height 0.3s ease;
}

header.helpo_header:not(.helpo_transparent_header_with_color) .helpo_header-logo__link {
    width: 72.05px !important;
    height: 80px !important;
    background-size: contain !important;
}

@media only screen and (max-width: 569px) {
    header .helpo_dropdown-trigger.d-sm-none {
        display: flex !important;
    }
}

@media only screen and (min-width: 576px) and (max-width: 1199px) {
    header .helpo_side_panel_off .helpo_dropdown-trigger.d-none {
        display: flex !important;
    }
}

header button.helpo_dropdown-trigger__item {
    border: none !important;
    background: var(--color-white) !important;
}

/*
==================================================
Menu
==================================================
 */
.helpo_main-menu > li.menu-item {
    position: relative !important;
    margin: 0 0 15px !important;
    padding: 0 !important;
}

@media (max-width: 1199px) {
    .helpo_main-menu > li.menu-item:before {
        content: none !important;
    }

    .helpo_main-menu > li.menu-item.current-menu-item > a,
    .helpo_main-menu > li.menu-item.current-menu-ancestor > a,
    .helpo_main-menu > li.menu-item:has(.current-menu-item) > a,
    .helpo_main-menu > li.menu-item:has(.current_page_parent) > a {
        color: var(--color-lightblue) !important;
    }

    .helpo_main-menu > li.menu-item > ul.sub-menu {
        position: static !important;
        width: auto !important;
        margin: 10px 0 !important;
        padding: 0 0 0 15px !important;
        background: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .helpo_main-menu > li.menu-item > ul.sub-menu:before {
        content: none !important;
    }

    .helpo_main-menu > li.menu-item > ul.sub-menu > li {
        margin: 0 0 10px !important;
        padding: 0 !important;
    }

    .helpo_main-menu > li.menu-item > ul.sub-menu > li > a {
        color: #777777 !important;
    }
}

@media (min-width: 1200px) {
    .helpo_main-menu {
        gap: clamp(15px, 1.5625dvw, 30px) !important
    }

    .helpo_main-menu > li.menu-item {
        margin: 0 !important;
    }

    .helpo_main-menu > li.menu-item.current-menu-item:before,
    .helpo_main-menu > li.menu-item.current-menu-ancestor:before,
    .helpo_main-menu > li.menu-item:has(.current-menu-item):before,
    .helpo_main-menu > li.menu-item:has(.current_page_parent):before {
        width: 100% !important;
        background: var(--color-lightblue) !important;
    }

    .helpo_main-menu > li.menu-item > a {
        padding: 24px 0 !important;
    }
}

.helpo_mobile_menu_container.d-lg-none {
    display: block !important;
    padding: 0 30px !important;
}

.helpo_mobile_menu_container.d-lg-none .helpo_main-menu {
    display: block !important;
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.helpo_button.helpo_button--squared {
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.helpo_button.helpo_button--squared a {
    padding: 15px;
    font-weight: 700;
    color: var(--color-grey-full);
}

.helpo_header_menu_container .helpo_main-menu > .menu-item.helpo_button.helpo_button--squared {
    display: none !important;
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > a,
.helpo_header_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > a:before,
.helpo_header_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > a:before {
    content: none !important;
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > .helpo_submenu_trigger {
    display: none !important;
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > a:after,
.helpo_header_menu_container .helpo_main-menu > .menu-item.menu-item-has-children > a:after {
    content: '\f107' !important;
    position: relative !important;
    top: unset !important;
    right: unset !important;
    bottom: unset !important;
    left: unset !important;
    transform: none !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    font-family: FontAwesome, sans-serif !important;
    font-size: 14px !important;
    line-height: 1 !important;
    background: none !important;
}

/* Desktop: disable CSS hover on submenu, use .open class via JS instead */
.helpo_header_menu_container .helpo_main-menu > li:hover > ul.sub-menu {
    opacity: 0 !important;
    visibility: hidden !important;
}

.helpo_header_menu_container .helpo_main-menu > li.open > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
}

.helpo_header_menu_container .helpo_main-menu > .menu-item.menu-item-has-children.open > a:after {
    transform: rotate(180deg) !important;
}

/* Mobile: submenu controlled by JS via .child-open class */
.helpo_mobile_menu_container .helpo_main-menu > li.menu-item-has-children > .sub-menu {
    display: none !important;
}

.helpo_mobile_menu_container .helpo_main-menu > li.menu-item-has-children.child-open > .sub-menu {
    display: block !important;
}

.helpo_mobile_menu_container .helpo_main-menu > .menu-item.menu-item-has-children.child-open > a:after {
    transform: rotate(180deg) !important;
}

/*
==================================================
Footer
==================================================
 */
.helpo_prefooter_container .helpo_socials_widget_logo {
    width: 100px !important;
    height: auto !important;
}

.helpo_footer-socials .fa, .fas {
    font-family: "Font Awesome 5 Brands" !important;
}

/*
==================================================
404 Page
==================================================
 */
.helpo_404_error_container {
    height: 100dvh !important;
}

/*
==================================================
Page Title
==================================================
 */
.helpo_page_title_container {
    overflow: visible !important;
}

.helpo_page_title_container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 16, 33, 0.5); /* var(--color-grey-full); */
}

.helpo_page_title_container .helpo_site_title_container {
    position: relative;
}

.helpo_page_title_container .helpo_page_title {
    line-height: 1.2 !important;
}

/*
==================================================
Cards Button (used fox example in Featured News Widget and Three Cards Widget)
==================================================
 */
.card-button {
    line-height: 1.2 !important;
}

/*
==================================================
Text Editor Widget
==================================================
 */
.elementor-widget-text-editor > * {
    margin: 0 !important;
}

.elementor-widget-text-editor > * + * {
    margin-top: 1em !important;
}

/*
==================================================
Icon Box Widget
==================================================
 */
.elementor-widget-helpo_icon_box .helpo_info_container a {
    text-decoration: underline !important;
}

/*
==================================================
Content Slider Widget
==================================================
 */
.elementor-widget-helpo_content_slider .helpo_content_slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 16, 33, 0.5); /* var(--color-grey-full); */
}

/*
==================================================
Blog Listing Widget
==================================================
 */
.helpo_blog_listing_widget .helpo_blog_listing_item.helpo_blog_item_2 .helpo_post_title, .helpo_blog_listing_widget .helpo_blog_listing_item.helpo_blog_item_3 .helpo_post_title {
    font-size: 30px !important;
}

@media (min-width: 738px) {
    .helpo_blog_listing_widget .helpo_blog_listing_row {
        margin: 0 !important;
    }

    .helpo_blog_listing_widget .helpo_blog_listing_row + .helpo_blog_listing_row {
        margin-top: 30px !important;
    }
}

/*
==================================================
Testimonials Widget
==================================================
 */
.helpo_testimonials_widget .helpo_slider_arrows .slick-hidden {
    display: none !important;
}

/*
==================================================
Custom Widget - Cards Slider Widget
==================================================
 */
.helpo_cards_slider_widget .slick-slide .helpo_info_container {
    padding: 30px 15px !important;
    box-shadow: 0 0 15px rgba(24, 16, 33, .15) !important; /* var(--color-grey-full) */
}

.helpo_cards_slider_widget .slick-slide .helpo_info_container .helpo_causes_list_content_container {
    padding: 0 !important;
}

.helpo_cards_slider_widget .slick-slide .helpo_info_container .helpo_post_excerpt {
    margin-bottom: 20px !important;
}

.helpo_cards_slider_widget .slick-slide .helpo_featured_image_container {
    margin: 0 !important;
}

.helpo_cards_slider_widget .slick-slide .helpo_featured_image_container img {
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
}

.helpo_cards_slider_widget .slick-slide .helpo_donate_button_container {
    margin-top: 20px !important;
    padding: 0 !important;
}

/*
==================================================
Custom Widget - Cards Listing Widget
==================================================
 */
.helpo_cards_listing_widget .helpo_post_info_container {
    display: flex !important;
    flex-direction: column !important;
    align-items: start !important;
    height: 100%;
    padding: 16px 12px !important;
}

.helpo_cards_listing_widget .helpo_button {
    margin-top: auto !important;
}

/*
==================================================
Custom Widgets - Featured News Widget and Three Cards Widget
==================================================
 */
.helpo_featured_news_widget .helpo_events_wrapper.helpo_view_type_1,
.helpo_three_cards_widget .helpo_events_wrapper.helpo_view_type_1 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}

.helpo_featured_news_widget .helpo_event_item_wrapper,
.helpo_three_cards_widget .helpo_event_item_wrapper {
    height: calc(100% - 50px) !important;
}

/*
==================================================
Custom Widget - Three Cards Widget
==================================================
 */
.helpo_three_cards_widget .helpo_event_item_wrapper {
    display: flex !important;
    flex-direction: column !important;
}

.helpo_three_cards_widget .helpo_event_content_container {
    flex-grow: 1 !important;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 20px 12px !important;
}

.helpo_three_cards_widget .helpo_event_content_container {
    gap: 15px !important;
}

.helpo_three_cards_widget .helpo_button {
    margin-top: auto !important;
}

/*
==================================================
Section "Text + Image"
==================================================
 */
.section-text-image--image .elementor-widget-wrap {
    aspect-ratio: 3/4;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.section-text-image--image .elementor-widget-wrap:has(div)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(24, 16, 33, 0.75); /* var(--color-grey-full); */
}

/*
==================================================
Section "Image + Text"
==================================================
 */
.section-image-text--image .helpo_image_widget_main_image {
    aspect-ratio: 3/4;
    object-fit: cover;
}

/*
==================================================
Section "Text + Graphic" and "Graphic + Text"
==================================================
 */
.section-text-graphic .helpo_heading,
.section-graphic-text .helpo_heading {
    font-size: var(--h4) !important;
}

/*
==================================================
Section "3 Boxes"
==================================================
 */
.section-3-boxes .elementor-widget-helpo_linked_item,
.section-3-boxes .elementor-widget-helpo_linked_item .elementor-widget-container,
.section-3-boxes .elementor-widget-helpo_linked_item .elementor-widget-container .helpo_linked_item_widget,
.section-3-boxes .elementor-widget-helpo_linked_item .elementor-widget-container .helpo_linked_item_widget .helpo_linked_item,
.section-3-boxes .elementor-widget-helpo_linked_item .elementor-widget-container .helpo_linked_item_widget .helpo_linked_item .helpo_linked_item_wrapper {
    height: 100% !important;
}

.section-3-boxes .helpo_linked_item_wrapper {
    display: flex !important;
    flex-direction: column !important;
    padding: clamp(60px, 6.25dvw, 120px) clamp(20px, 3.125dvw, 60px) !important;
}

.section-3-boxes .helpo_linked_item_wrapper .helpo_button_container {
    margin-top: auto !important;
}

/*
==================================================
WooCommerce
==================================================
 */
.helpo_page_content_wrapper.helpo_woocommerce_wrapper {
    background: var(--color-snow) !important;
}

.helpo_page_content_wrapper.helpo_woocommerce_wrapper .wooсommerce_widget.widget_product_categories li a {
    margin: 0 !important;
}

.helpo_page_content_wrapper.helpo_woocommerce_wrapper .wooсommerce_widget.widget_product_categories li:not(:last-child) {
    margin-bottom: 16px !important;
}

.helpo_page_content_wrapper.helpo_woocommerce_wrapper .wooсommerce_widget.widget_product_categories li.cat-parent ul.children {
    margin-top: 8px !important;
}

.helpo_page_content_wrapper.helpo_woocommerce_wrapper .wooсommerce_widget.widget_product_categories li.cat-parent ul.children li:not(:last-child) {
    margin-bottom: 8px !important;
}

body.single-product div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between;
}

/*body.single-product div[data-elementor-id="3121"],*/
/*body.single-product div[data-elementor-id="3434"],*/
body.single-product section.up-sells.upsells.products.related {
    width: 100% !important;
}

body.single-product section.up-sells.upsells.products.related {
    padding-bottom: 0 !important;
    padding-top: 32px !important;
}

@media (min-width: 768px) {
    body.single-product section.up-sells.upsells.products.related {
        padding-top: 68px !important;
    }
}

@media (min-width: 1025px) {
    body.single-product section.up-sells.upsells.products.related {
        padding-top: 100px !important;
    }
}

/*
==================================================
WPCF7 and MC4WP
==================================================
 */

/*.wpcf7 .col-12,*/
/*.wpcf7 .col-6 {*/
/*    display: flex !important;*/
/*    flex-direction: column !important;*/
/*    justify-content: flex-end !important;*/
/*}*/

div[data-class="wpcf7cf_group"] {
    width: 100% !important;
}

.wpcf7 fieldset {
    margin-bottom: 1rem !important;
    padding: 10px !important;
    border: 1px solid var(--color-grey-full) !important;
}

.wpcf7 fieldset > legend {
    padding-left: 10px !important;
}

.wpcf7 legend {
    font-size: 14px;
    line-height: 2;
    font-weight: 700;
}

.mc4wp-form-fields {
    gap: 30px !important;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 1rem;
}

.mc4wp-form-fields input[type="email"] {
    max-width: 100% !important;
    margin: 0 !important;
}

.wpcf7 input[type="number"] {
    width: 100%;
    height: 50px;
    padding: 0 30px;
    background: var(--color-snow);
    font-size: 14px;
    line-height: 50px;
    font-weight: 700;
    color: var(--color-grey-full);
    border: 2px solid;
    border-color: var(--color-snow);
    border-radius: 50px;
    box-shadow: none;
    -webkit-transition: background .3s;
    -o-transition: background .3s;
    transition: background .3s;
    outline: 0;
}

.wpcf7 input[type="number"]:focus {
    background: var(--color-white);
    border-color: var(--color-snow);
}

.wpcf7-not-valid-tip {
    text-align: center;
    margin-top: 0.25rem;
}

.wpcf7-list-item {
    display: block;
    margin: 0;
}

.mc4wp-checkbox-contact-form-7 {
    display: block !important;
    margin: 0 0 1rem 0 !important;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"],
.mc4wp-checkbox-contact-form-7 input[type="checkbox"],
.mc4wp-form-fields input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.wpcf7-list-item label,
.mc4wp-checkbox-contact-form-7 label,
.mc4wp-form-fields label {
    display: flex;
    align-items: center;
}

.mc4wp-form-fields label {
    margin-top: 15px;
}

.mc4wp-form-fields label,
.mc4wp-form-fields label a {
    color: var(--color-white) !important;
}

.mc4wp-form-fields label a {
    text-decoration: underline !important;
}

.wpcf7-list-item label:has( > input[type="radio"]):before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid var(--color-grey-full);
    border-radius: 50%;
    background-color: var(--color-white);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.wpcf7-list-item label:has( > input[type="checkbox"]):before,
.mc4wp-checkbox-contact-form-7 label:has( > input[type="checkbox"]):before,
.mc4wp-form-fields label:has( > input[type="checkbox"]):before {
    content: "";
    display: inline-block;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 2px solid var(--color-grey-full);
    border-radius: 5px;
    background-color: var(--color-white);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.wpcf7-list-item label:has( > input[type="radio"]),
.wpcf7-list-item label:has( > input[type="checkbox"]),
.mc4wp-checkbox-contact-form-7 label:has( > input[type="checkbox"]),
.mc4wp-form-fields label:has( > input[type="checkbox"]) {
    position: relative;
}

.wpcf7-list-item label:has( > input[type="radio"]):after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.wpcf7-list-item label:has( > input[type="radio"]:checked):after {
    background-color: var(--color-grey-full);
}

.wpcf7-list-item label:has( > input[type="checkbox"]):after,
.mc4wp-checkbox-contact-form-7 label:has( > input[type="checkbox"]):after,
.mc4wp-form-fields label:has( > input[type="checkbox"]):after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 3px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.wpcf7-list-item label:has( > input[type="checkbox"]:checked):after,
.mc4wp-checkbox-contact-form-7 label:has( > input[type="checkbox"]:checked):after,
.mc4wp-form-fields label:has( > input[type="checkbox"]:checked):after {
    background-color: var(--color-grey-full);
}

.wpcf7-list-item-label {
    cursor: pointer;
}

.wpcf7-list-item-label a {
    margin: 0 4px;
}

.mc4wp-form-fields input[type="submit"] {
    flex-shrink: 0;
    margin-top: 0 !important;
}

.mc4wp-response {
    margin-top: 30px !important;
    padding: 0 !important;
}

.mc4wp-response p {
    margin: 0 !important;
    padding: 20px !important;
    background: var(--color-white) !important;
}

.mc4wp-response .mc4wp-success {
    color: var(--color-success) !important;
}

.mc4wp-response .mc4wp-error {
    color: var(--color-error) !important;
}

/*
==================================================
reCAPTCHA
==================================================
 */
.grecaptcha-badge {
    visibility: hidden;
}