/*
 Theme Name:   Hello Five Creative
 Theme URI:    https://fivecreative.com.au/
 Description:  A child theme of Hello Biz.
 Author:       Five Creative
 Author URI:   https://fivecreative.com.au/
 Template:     hello-biz
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  hello-biz-child
*/

/* You can add your custom CSS below */

:root {
    /* 
     * --content is used to set content width for header and footer containers
     * this value represents the content width + padding applied to 
     * the header and footer containers. 
    */
    --content: 1352px;
}

html {
    font-size: 10px;
}
@media screen and (min-width: 767px) {
    html {
        font-size: 14px;
    }
}
@media screen and (min-width: 992px) {
    html {
        font-size: 16px;
    }
}

body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Elementor fixes/QoL improvements */
/* // add to text widget to remove padding on last p element */
.elementor-widget-text-editor p:last-child,
.p-mb-0 p:last-child {
    margin-bottom: 0;
}
.no-underline a,
a.no-underline {
    text-decoration: none !important;
}
body .elementor-widget-text-editor a {
    color: inherit !important;
}
/* // Mobile menu styles */
@media screen and (max-width: 991px) {
    .elementor-nav-menu--dropdown .has-submenu {
        justify-content: space-between;
    }
    .elementor-nav-menu--dropdown .sub-arrow {
        padding-inline-end: 10px !important;
        margin-right: -10px;
    }
    .elementor-nav-menu--dropdown a.highlighted .sub-arrow {
        transform: rotate(180deg);
        transform-origin: center;
    }
    /* ul.elementor-nav-menu--dropdown {
        background-color: var( --e-global-color-6d65bc0 ) !important;
    } */
    ul.elementor-nav-menu--dropdown a {
        border-inline-start: 0 !important;
        font-size: 20px !important; /* Assumed 24px starting size */
    }
    /* ul.elementor-nav-menu--dropdown a.highlighted,
    ul.elementor-nav-menu--dropdown a:hover {
        background-color: var( --e-global-color-primary ) !important;
    } */
    /* ul.elementor-nav-menu--dropdown ul {
        background-color: var( --e-global-color-primary ) !important;
    } */
    /* ul.elementor-nav-menu--dropdown ul a.highlighted,
    ul.elementor-nav-menu--dropdown ul a:hover {
        background-color: var( --e-global-color-6d65bc0 ) !important;
    } */
}

.elementor-nav-menu ul ul a, 
.elementor-nav-menu ul ul a:active, 
.elementor-nav-menu ul ul a:focus, 
.elementor-nav-menu ul ul a:hover {
    border-left: none !important;
}

.reset-list,
.reset-list ul,
.reset-list ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Dynamic.ooo helpers */
/* // add to Dynamic.ooo repeater widget when using grid layout to force all tiles to be the same height */
.equal-height-repeater {
    .dce-acf-repeater-item {
        & > div[data-elementor-type="section"] {
            height: 100%;
            & > div[data-element_type="container"] {
                height: 100%;
            }
        }
    }
}
/* // add to Dynamic.ooo repeater widget when using slider layout to force all slides to be the same height */
.equal-height-repeater-slider {
    .swiper-wrapper {
        align-items: stretch;
        .swiper-slide {
            height: auto;
        }
    }
}

header .elementor-sticky--effects {
    /* background-color: var( --e-global-color-e8ae55c ) !important; */
}
header li.cta a {
    background-color: var(--e-global-color-primary) !important;
    color: white !important;
}
header li.cta a:hover {
    background-color: var(--e-global-color-secondary) !important;
    color: white !important;
}
@media screen and (min-width: 992px) {
    header li.cta a {
        padding: 10px 16px !important;
        border-radius: 100px !important;
    }
    
}

/* // Social Icon shortcode styles */
.social-icons svg {
    transition: all 0.3s;
}
.social-icons {
    display: flex;
}
.social-icons .social-icon {
    width: 20px;
    height: 20px;
}
.social-icons .social-icon svg {
    width: 100%;
    height: auto;
    display: block;
}

.faq-accordion .e-n-accordion {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var( --e-global-color-e8ae55c );
}

.faq-accordion  .e-n-accordion-item-title {
	border-bottom: 1px solid var( --e-global-color-e8ae55c ) !important;
}
.faq-accordion  .e-n-accordion-item-title + div {
    border-bottom: 1px solid var( --e-global-color-e8ae55c ) !important;
}

body footer a:not(.elementor-button) {
    color: white !important;
}
body footer a:not(.elementor-button):hover {
    color: var(--e-global-color-secondary) !important;
}

body a.service-tile {
    text-decoration: none !important;
}
body a.service-tile .elementor-heading-title {
    transition: all 0.3s;
}
body a.service-tile:hover .elementor-heading-title {
    color: var(--e-global-color-secondary) !important;
}

.testimonial-slider .elementor-testimonial__image img {
    width: auto !important;
}

body footer .elementor-widget-wp-widget-nav_menu ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Custom bullet points */
.elementor-widget-text-editor ul {
    list-style: none;
    padding-left: 0;
}

.elementor-widget-text-editor ul li {
    padding-left: 1.5em;
    position: relative;
    margin-bottom: 0.25em;
}
.elementor-widget-text-editor ul li:last-child {
    margin-bottom: 0;
}
.elementor-widget-text-editor ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1.2em;
    height: 1.2em;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIiBmaWxsPSJub25lIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEwIDE3QzEzLjg2NiAxNyAxNyAxMy44NjYgMTcgMTBDMTcgNi4xMzQwMSAxMy44NjYgMyAxMCAzQzYuMTM0MDEgMyAzIDYuMTM0MDEgMyAxMEMzIDEzLjg2NiA2LjEzNDAxIDE3IDEwIDE3Wk0xMy4yNDM3IDguODY4NzJDMTMuNTg1NCA4LjUyNzAxIDEzLjU4NTQgNy45NzI5OSAxMy4yNDM3IDcuNjMxMjhDMTIuOTAyIDcuMjg5NTcgMTIuMzQ4IDcuMjg5NTcgMTIuMDA2MyA3LjYzMTI4TDkuMTI1IDEwLjUxMjZMNy45OTM3MiA5LjM4MTI4QzcuNjUyMDEgOS4wMzk1NyA3LjA5Nzk5IDkuMDM5NTcgNi43NTYyOCA5LjM4MTI4QzYuNDE0NTcgOS43MjI5OSA2LjQxNDU3IDEwLjI3NyA2Ljc1NjI4IDEwLjYxODdMOC41MDYyOCAxMi4zNjg3QzguODQ3OTkgMTIuNzEwNCA5LjQwMjAxIDEyLjcxMDQgOS43NDM3MiAxMi4zNjg3TDEzLjI0MzcgOC44Njg3MloiIGZpbGw9IiNGMEE0MDAiLz4KPC9zdmc+');
    background-repeat: no-repeat;
    background-size: contain;
}

