/* 
Theme Name: IONYX Digital - Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: WordPress theme by IONYX Digital. Based on the Hello Elementor Child theme.
Author: IONYX Digital, Elementor Team
Author URI: https://ionyxdigital.com.au/
Template: hello-elementor
Version: 2.0.0
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
*/

/* --------------------------------------------------------
   BASE STYLES
--------------------------------------------------------- */

/* Elementor Colour Variables:
var(--e-global-color-primary);
var(--e-global-color-secondary);
var(--e-global-color-text);
var(--e-global-color-accent);
var(--e-global-color-058574c);
var(--e-global-color-4f9f4bf);
var(--e-global-color-084321b);
var(--e-global-color-65a6e9a);
var(--e-global-color-425b0ef);
var(--e-global-color-ceab239);
var(--e-global-color-0eb5bad);
*/

:root {
    --theme-border-radius: 4px;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    -webkit-margin-before: 1rem;
    margin-block-start: 1rem;
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
}

h1:first-child, .elementor-widget-heading h1,
h2:first-child, .elementor-widget-heading h2,
h3:first-child, .elementor-widget-heading h3,
h4:first-child, .elementor-widget-heading h4,
h5:first-child, .elementor-widget-heading h5,
h6:first-child, .elementor-widget-heading h6 {
    -webkit-margin-before: 0rem;
    margin-block-start: 0rem;
}

/* Outline text stroke */
.font-outline-stroke {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--e-global-color-secondary);
}

/* Lists */
ul, ol {
    margin: 30px 0;
}
ul li, ol li {
    margin: 0 0 5px 0;
}

/* Tables */
table td, table th {
    border: 1px solid var(--e-global-color-058574c);
}
table tbody tr:hover > td,
table tbody tr:hover > th {
    background-color: unset;
}
table caption+thead tr:first-child td,
table caption+thead tr:first-child th,
table colgroup+thead tr:first-child td,
table colgroup+thead tr:first-child th,
table thead:first-child tr:first-child td,
table thead:first-child tr:first-child th {
    -webkit-border-before: 0;
    border-block-start: 0;
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
    background-color: transparent;
}

/* --------------------------------------------------------
   FORMINATOR
--------------------------------------------------------- */

.forminator-ui.forminator-design--default .forminator-button-submit {
    font-size: 16px !important;
    box-shadow: none !important;
    padding-right: 16px;
    padding-left: 16px;
}

.forminator-edit-module {
    display: none;
}

.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form[data-design=default] .forminator-label,
.forminator-ui.forminator-custom-form[data-design=default] .forminator-label {
    display: none !important;
}

.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form[data-design=default] input.forminator-input,
.forminator-ui.forminator-custom-form[data-design=default] input.forminator-input {
    padding: 18px;
}

.et-db #et-boc .et_pb_module .forminator-ui.forminator-custom-form[data-design=default] textarea.forminator-textarea,
.forminator-ui.forminator-custom-form[data-design=default] textarea.forminator-textarea {
    padding: 18px;
}

/* --------------------------------------------------------
   HEADER
--------------------------------------------------------- */

#header-nav.elementor-sticky--active {
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.05);
}

.elementor-nav-menu .menu-item .sub-arrow {
    padding: 0 0 0 5px;
}

#header-top a {
    color: inherit;
    text-decoration: inherit;
    transition: color 0.3s;
}
#header-top a:hover {
    color: var(--e-global-color-primary);
}

/* --------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

#footer-cols .footer-menu p {
    -webkit-margin-after: .6rem;
    margin-block-end: .6rem;
}

#footer-cols .footer-menu a {
    color: inherit;
    text-decoration: inherit;
    transition: color 0.3s;
}

#footer-cols .footer-menu a:hover {
    color: var(--e-global-color-secondary);
}

/* --------------------------------------------------------
   ELEMENTOR BLOCKS
--------------------------------------------------------- */

a.e-con {
    color: inherit;
    text-decoration: inherit;
}

.elementor-widget-heading .elementor-heading-title a {
    text-decoration: inherit;
}

.elementor-widget .elementor-icon-list-item a {
    text-decoration: none;
}

/* Flip Box */
.elementor-widget-flip-box .elementor-flip-box__layer {
    text-decoration: inherit;
}
.elementor-widget-flip-box.elementor-flip-box--effect-fade .elementor-flip-box__layer {
    transition: all .3s ease-in-out;
}

/* Image Carousel – vertically center */
.elementor-widget-image-carousel .elementor-image-carousel {
    align-items: center;
}

/* Image Carousel – adjust arrow spacing */
.elementor-element.elementor-arrows-position-outside .swiper,
.elementor-element.elementor-arrows-position-outside .swiper-container,
.elementor-lightbox.elementor-arrows-position-outside .swiper,
.elementor-lightbox.elementor-arrows-position-outside .swiper-container {
    width: calc(100% - 140px);
}

/* Equal-height logos */
.logo-carousel-equal-height.elementor-widget-image-carousel .swiper-slide img {
    max-height: 70px;
}

/* Caption over image */
.caption-over-image.elementor-widget-image-carousel .elementor-image-carousel {
    align-items: center;
}
.caption-over-image.elementor-widget-image-carousel .swiper-slide-inner {
    display: flex;
    position: relative;
    justify-content: center;
}
.caption-over-image.elementor-widget-image-carousel .swiper-slide-inner:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    background: rgb(5,5,23);
    background: linear-gradient(180deg, rgba(5,5,23,0.2) 50%, rgba(5,5,23,1) 100%);
}
.caption-over-image.elementor-widget-image-carousel .elementor-image-carousel-caption {
    position: absolute;
    top: 80%;
    width: 100%;
    max-width: 250px;
    z-index: 1;
}
.caption-over-image.elementor-widget-image-carousel .swiper .elementor-swiper-button {
    top: 80%;
    margin-top: 10px;
}
.caption-over-image.elementor-widget-image-carousel .swiper .elementor-swiper-button-prev {
    left: 20px;
}
.caption-over-image.elementor-widget-image-carousel .swiper .elementor-swiper-button-next {
    right: 20px;
}

/* Max height option */
.max-height.elementor-widget-image-carousel .elementor-image-carousel {
    align-items: center;
}
.max-height.elementor-widget-image-carousel .swiper-slide img {
    max-height: 130px;
}

/* Jet Carousel disabled arrows */
.jet-carousel .jet-arrow.slick-disabled {
    pointer-events: none;
    opacity: .5;
}

/* Popup close button */
.elementor-popup-modal .dialog-close-button {
    border-radius: 18px;
    padding: 10px 20px;
}
.elementor-popup-modal .dialog-close-button::after {
    content: 'Close';
    margin-left: 5px;
    color: #fff;
    font-weight: 600;
}

/* Anchor offset */
body:not(.elementor-editor-active) .elementor-menu-anchor {
    margin: -130px 0 0;
}

/* Vertical menu borders */
.vertical-menu-dividers.elementor-widget-nav-menu li {
    border-top: 1px solid #F2F2F3;
}
.vertical-menu-dividers.elementor-widget-nav-menu li:last-of-type {
    border-bottom: 1px solid #F2F2F3;
}

/* --------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (min-width: 881px) {
    .hidden-show-mobile-only {
        display: none !important;
    }
}

/* --------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------- */

.fadeInUp {
    animation-name: fadeInUpShort !important;
}
@keyframes fadeInUpShort {
    from {
        opacity: 0;
        transform: translate3d(0, 50px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDownShort !important;
}
@keyframes fadeInDownShort {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInLeft {
    animation-name: fadeInLeftShort !important;
}
@keyframes fadeInLeftShort {
    from {
        opacity: 0;
        transform: translate3d(-50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.fadeInRight {
    animation-name: fadeInRightShort !important;
}
@keyframes fadeInRightShort {
    from {
        opacity: 0;
        transform: translate3d(50px, 0, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------
   GRID WITH HOVER
--------------------------------------------------------- */

.grid-item-hover .show-on-hover {
    opacity: 0;
    transition: opacity .3s;
}
.grid-item-hover:hover .show-on-hover {
    opacity: 1;
}

/* --------------------------------------------------------
   WOOCOMMERCE
--------------------------------------------------------- */

.woocommerce a.button.alt,
.woocommerce button.button.alt {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    color: var(--e-global-color-text);
    background-color: var(--e-global-color-primary);
    border-radius: var(--theme-border-radius);
    padding: 10px 25px;
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    color: var(--e-global-color-text);
    background-color: #ffd1ab;
}

/* Long disabled button selectors remain unchanged... */

/* Product card button */
.woocommerce ul.products li.product .button {
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background-color: var(--e-global-color-secondary);
    border-radius: var(--theme-border-radius);
    padding: 5px 15px;
}

.woocommerce ul.products li.product .button:hover {
    color: #fff;
    background-color: var(--e-global-color-primary);
}

/* Product card */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    text-align: center;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--e-global-color-084321b);
}

.woocommerce ul.products li.product a.woocommerce-loop-product__link:hover .woocommerce-loop-product__title {
    color: var(--e-global-color-primary);
}

.woocommerce ul.products li.product .price {
    font-size: 20px;
    color: var(--e-global-color-084321b);
}

/* Shop table styles unchanged... */

/* Cart product thumbnail */
#add_payment_method table.cart img,
.woocommerce-cart table.cart img,
.woocommerce-checkout table.cart img {
    width: 50px;
}

/* Quantity */
.woocommerce .quantity .qty {
    padding: 10px 15px !important;
}

/* Coupon input */
.woocommerce #content table.cart td.actions .input-text {
    padding: 10px 15px !important;
    width: 135px;
}

/* Checkout payment background */
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    background-color: var(--e-global-color-058574c);
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box {
    background-color: var(--e-global-color-4f9f4bf);
}

/* Select2 */
.select2-container {
    width: 100% !important;
}
.select2-container .selection .select2-selection {
    height: 42px;
    padding: 0 !important;
    border: 1px solid var(--e-global-color-4f9f4bf);
    border-radius: 0;
}
.select2-container .selection .select2-selection__arrow {
    height: 100%;
    right: 10px;
}
.select2-container .selection .select2-selection__rendered {
    display: flex;
    align-items: center;
    padding-left: 15px;
}

/* My Account */
.woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 0 20px 0 0;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin: 0;
    padding: 10px;
    border-top: 1px solid var(--e-global-color-058574c);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-of-type {
    border-bottom: 1px solid var(--e-global-color-058574c);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    color: var(--e-global-color-secondary);
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--e-global-color-primary);
}

.woocommerce-account .woocommerce-MyAccount-content {
    padding: 0 0 0 20px;
}

/* Breadcrumb */
.woocommerce .woocommerce-breadcrumb a {
    text-decoration: none;
}

/* Notices */
.woocommerce-notices-wrapper {
    max-width: 1250px;
}

/* Variation table */
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
    text-align: left;
}
.woocommerce div.product form.cart .variations th {
    font-size: 18px;
    padding-left: 0;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background-color: var(--e-global-color-4f9f4bf);
    border: 0 !important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background-color: var(--e-global-color-058574c);
}
.woocommerce div.product.elementor .woocommerce-tabs .panel {
    background-color: var(--e-global-color-058574c);
    padding: 40px !important;
    border: 0 !important;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
    padding: 8px;
    vertical-align: middle;
}

/* --------------------------------------------------------
   CUSTOM ADDITIONS
--------------------------------------------------------- */

.navScrolled {
    height:130px !important;
    background:#005A70 !important;
}

.content-shown {
    display:flex !important;
}

.dnone {
    display:none;
}

.accordion-content {
    display:flex;
}

input:focus {
    border:none;
    border-bottom:solid 2px #C45434 !important;
}

.forminator-checkbox-box {
    border-radius:0px !important;
}

.forminator-input {
    border:none !important;
}

.custom-button::after {
    content:url(/wp-content/uploads/2024/04/arrowcustombutton.svg);
    margin-left:8px;
    width:32px;
    height:32px;
    transition:all 300ms ease;
    display:flex;
    justify-content:center;
    align-items:center;
}

.custom-button {
    height:48px !important;
    line-height:0px !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    transition:all 300ms ease;
}

.custom-button:hover::after {
    content:url(/wp-content/uploads/2024/04/arrowcustombuttonhover.svg);
    margin-left:8px;
    width:32px;
    height:32px;
    display:flex;
    justify-content:center;
    align-items:center;
    transition:all 300ms ease;
}

.toggle-button p::after {
    content:url(/wp-content/uploads/2024/04/arroworange.svg);
    margin-left:8px;
}

.toggle-button:hover p::after {
    content:url(/wp-content/uploads/2024/04/buttonrot.svg);
    margin-left:8px;
}
